4D v13.4LISTBOX SET HIERARCHY |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
LISTBOX SET HIERARCHY
LISTBOX SET HIERARCHY
The LISTBOX SET HIERARCHY command lets you configure the list box object designated by the object and * parameters in hierarchical or non-hierarchical mode. Note: This command only functions with list boxes based on arrays. When this command is used with a list box based on selections, it does nothing. If you pass the optional * parameter, you indicate that the object parameter is an object name (string). If you do not pass this parameter, you indicate that the object parameter is a variable. In this case, you pass a variable reference instead of a string. The Boolean hierarchical parameter lets you specify the list box mode:
When you pass a list box in hierarchical mode, certain properties are automatically restricted. For more information, please refer to the Managing Hierarchical List Boxes section. The hierarchy parameter is used to designate the arrays of the list box to be used to construct the hierarchy (see example). If you display the list box in hierarchical mode and omit this parameter:
Definition of the aCountry, aRegion and aCity arrays as the hierarchy of a list box: ARRAY POINTER($ArrHierarch;3) |
PROPERTIES
Product: 4D
INDEX HISTORY
Created: 4D v12 SEE ALSO
LISTBOX GET HIERARCHY |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||