guides:o4w:o4w_api:o4winputstyle

O4WInputStyle routine

(Deprecated in O4W 1.1) Creates a style based on the specified flags and alignments. Refer to O4WInputOptions routine for new routine to use instead of O4WInputStyle.

O4WInputStyle(stylename, enabled, readonly, align, selected)

The function has the following parameters:

ParameterDescription
stylenameThe name of the style.
enabledBoolean. True is enabled, false is disabled.
readonlyBoolean. True is readonly, false is not readonly.
alignA numeric value.

0 (Left)
1 (Center)
2 (Right)
-1 (Justified)
selectedBoolean. True to select, false to be unselected. Radio buttons and checkbox items will be checked, listbox items will be selected, and buttons will be marked as the 'default' button.

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.

O4WInputOptions routine.

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