4D v14.3LISTBOX SET ARRAY |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
LISTBOX SET ARRAY
LISTBOX SET ARRAY
Note: This command only works with array type list boxes. The LISTBOX SET ARRAY command associates a style or color array with the list box or list box column designated by the object and * parameters. Note: Arrays of styles, colors or background colors can also be associated with array type list boxes using the Property list in the Design mode. Passing the optional * parameter indicates that the object parameter is an object name (string). If you do not pass this parameter, it indicates that the object parameter is a variable. In this case, you pass a variable reference instead of a string. You can designate a list box or a list box column in the object parameter. In arrType, pass the type of array to associate with the list box or column. You can use one of the following constants, available in the "List Box" theme:
In the arrPtr parameter, you pass a pointer to the array to use to support the property type (font color, background color or font style). You want to reuse the font color array of the 4th column for the 10th column: // retrieve a pointer to the array for column 4 |
PROPERTIES
Product: 4D
HISTORY
SEE ALSO ARTICLE USAGE
4D Language Reference ( 4D v14 R2) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||