guides:o4w:o4w_api:o4wmarkedoptions

O4WMarkedOptions routine

Sets the "marked" flag for various controls.

options = O4WMarkedOptions( bIsMarked, currentValues )

The function has the following parameters:

ParameterDescription
bIsMarkedBoolean. See the table below.
currentValuesA 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).

The following table details the controls and boolean settings for the marked styles.

ControlTrueFalse
ButtonWhen set to true, the button is marked as SUBMIT buttonWhen set to false, the button is marked as a non-SUBMIT button.
SectionWhen 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 the option information to use immediately with a display element or input control.

O4WMarkedStyle routine

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