O4WMarkedOptions routine
Description
Sets the "marked" flag for various controls.
Syntax
options = O4WMarkedOptions( bIsMarked, currentValues )
Parameters
The function has the following parameters:
Parameter | Description | |
---|---|---|
bIsMarked | Boolean. See the table below. | |
currentValues | A delimited list of values that should be marked as selected. The list may be @fm, @vm or @svm delimited. Can be set to the value (or @VM-delimited values) that the checkbox, listbox, and radio button set should use as the currently selected value (note that the currentValues values should be the “code” values, rather than the display text, for the element). |
Remarks
The following table details the controls and boolean settings for the marked styles.
Control | True | False |
---|---|---|
Button | When set to true, the button is marked as SUBMIT button | When set to false, the button is marked as a non-SUBMIT button. |
Section | When set to true, the section is marked as containing a form for submission to the host. | When set to false, the section is marked as not containing a form. |
Checkbox Select List Radio Button | When set to true, the specified control is checked or selected. | When set to false, the specified control is not checked or selected. |
Returns
Returns the option information to use immediately with a display element or input control.
See Also
O4WMarkedStyle routine