guides:o4w:o4w_api:o4wlistboxoptions

O4WListBoxOptions routine

Applies a style based on the specified multiple flag (1=multiple selections allowed) and the specified <size> (number of rows to display) and <width> (width of rows).

O4WListBoxOptions(multipleFlag, size, width, selectAllFlag, listBoxId,isCombo)

The function has the following parameters:

ParameterDescription
multipleFlagBoolean. If True, the list box is multiselect.
sizeThe number of rows to display in the list box.
widthThe width of rows in pixels.
selectAllFlagBoolean. If True and multipleflag is True then the entire contents of the list box is selected.
listBoxIdThe id of the list box. This allows for the explicit setting of the list box id.
isComboInteger. If the value is 1, the listbox is transformed into a case-sensitive combo box.

If the value is -1, the listbox is transformed into a case-insensitive combo box.

Returns the style information (to use immediately with a display element or input control).

  • guides/o4w/o4w_api/o4wlistboxoptions.txt
  • Last modified: 2024/06/19 20:19
  • by 127.0.0.1