guides:o4w:o4w_api:o4wlistboxstyle

O4WListBoxStyle routine

(Deprecated in O4W 1.1) Creates 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).

O4WLISTBOXSTYLE(stylename, multipleflag, size, width, selectAllFlag)

The function has the following parameters:

ParameterDescription
stylenameThe name of the style.
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.

Returns the style information (to use immediately with a display element or input control), and (if <stylename> is not null) defines the style by the stylename for use with one or more elements and input controls.

This routine has been deprecated, see O4WListBoxOptions routine.

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