O4WInputStyle routine
Description
(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.
Syntax
O4WInputStyle(stylename, enabled, readonly, align, selected)
Parameters
The function has the following parameters:
Parameter | Description | |
---|---|---|
stylename | The name of the style. | |
enabled | Boolean. True is enabled, false is disabled. | |
readonly | Boolean. True is readonly, false is not readonly. | |
align | A numeric value. 0 (Left) 1 (Center) 2 (Right) -1 (Justified) | |
selected | Boolean. 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
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.
See Also
O4WInputOptions routine.