4D v16.3LISTBOX GET OBJECTS |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
LISTBOX GET OBJECTS
LISTBOX GET OBJECTS
The LISTBOX GET OBJECTS command returns an array containing the names of each object making up the list box designated by the object and * parameters. 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 the object parameter is a variable. In this case, you pass a variable reference instead of a string. In arrObjectNames, you pass a text array that is automatically filled in by the command. Object names are returned in their display order, with the following sequence:
The array returns the object names for all the columns (including column footers), regardless of whether or not they are visible. This command is useful in the context of the parsing of a form using the FORM LOAD, FORM GET OBJECTS and OBJECT Get type commands. You can use it, when needed, to obtain the names of list box sub-objects. You want to load a form and get a list of all the objects of list boxes that it contains. FORM LOAD("MyForm")
See also
|
PROPERTIES
Product: 4D
HISTORY
Created: 4D v14 ARTICLE USAGE
4D Language Reference ( 4D v16) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||