Table of Contents

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:

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

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.