4D v14.3LISTBOX COLLAPSE |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
LISTBOX COLLAPSE
LISTBOX COLLAPSE
The LISTBOX COLLAPSE command is used to collapse the break rows of the list box object designated by the object and * parameters. 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. If the list box is not configured in hierarchical mode, the command does nothing. For more information about hierarchical list boxes, please refer to the Managing Hierarchical List Boxes section. The optional recursive parameter is used to configure the collapsing of the hierarchical sublevels of the list box. Pass True or omit this parameter for the command to collapse all the levels and all the sublevels. If you pass False, only the first level will be collapsed. The optional selector parameter is used to specify the scope of the command. You can pass one of the following constants, found in the List Box theme, in this parameter:
If the selection or list box does not contain a break row or if all the break rows are already collapsed, the command does nothing. This example collapses the first level of the break rows of the selection in the list box: LISTBOX COLLAPSE(*;"MyListbox";False;Listbox selection) |
PROPERTIES
Product: 4D
HISTORY
Created: 4D v12 SEE ALSO ARTICLE USAGE
4D Language Reference ( 4D v14 R2) Parent of : LISTBOX COLLAPSE ( 4D v12.4) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||