4D v16.3SET LIST PROPERTIES |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
SET LIST PROPERTIES
SET LIST PROPERTIES
The SET LIST PROPERTIES command sets the line height and selection properties of the hierarchical list whose list reference you pass in list. Compatibility note: appearance and icon parameters are deprecated, you must pass 0 for them. Note: If you want to customize the icon of each item in the list, use the command SET LIST ITEM PROPERTIES. If you do not pass the parameter lineHeight, the line height of a hierarchical list is determined by the font and font size used for the object. You can also pass in the parameter lineHeight the minimal line height of the hierarchical list. If the value you pass is greater than the line height derived from the font and font size used, the line height of the hierarchical list will be forced to the value you pass. Pass 0 to set the default height. The optional parameter doubleClick allows you to define that a double-click on a parent list item will not provoke the sublist to expand or to collapse. By default, a double-click on a parent list item provokes its child list to expand or to collapse. However, some user interfaces may need to deactivate this behavior. To do this, the doubleClick parameter should be set to 1. The optional multiSelections parameter lets you indicate whether the list must accept multiple selections.
The optional editable parameter lets you indicate whether the list must be editable by the user when it is displayed as a choice list associated with a field or a variable during data entry. When the list is editable, a Modify button is added in the choice list window and the user can add, delete and sort the values through a specific editor. You want to disallow the expand/collapse sublist on double-click. You can write in the form method:
See also
GET LIST ITEM PROPERTIES
|
PROPERTIES
Product: 4D
HISTORY
Modified: 4D 2004 ARTICLE USAGE
4D Language Reference ( 4D v16) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||