GUI ScreenIO for Windows |
Conditional statements determine whether the associated imperative statement(s) will be executed.
??IF:condition value !!imperative-statement
where value is optional data.
??IF:condition value !!THEN:
!!END-IF:
This format allows you to include more than one statement within a condition. The scope of the condition is terminated when it encounters the !!END-IF (or ??END-IF) statement.
You may include both code-generator statements and COBOL code within the scope of this format, as shown in this example:
??IF:HOTFIELDS !!THEN:
|
Conditional | Description |
BUTTONSWITCH | Tests if the panel contains buttons which can
be enabled or disabled by your program.
|
CONTROLNAME control-name | Tests if the panel contains a control with the
COBOL name control-name.
If control-name is not specified, the condition will be TRUE for all controls on the panel.
|
CONTROLTYPE control-type | Tests if the panel contains a control of the
specified type; legal values are: COMBOBOX, LISTBOX, LISTVIEW, or
TREEVIEW.
|
HOTFIELDS | Tests if the panel contains hot
fields.
|
IMAGECLICK | Tests if the panel contains image fields which
may return an event.
|
MENUEVENTS | Tests if the panel can return menu events;
these can be returned by menus or by pushbuttons.
|
MENUSWITCHES | Tests if the panel has a menu with items that
can be enabled, disabled, checked, or unchecked by your program.
|
PANELTYPE panel-type | Tests for a specific type of panel. Legal
values for panel-type are: MAIN, BASE, POPUP, PROPERTYSHEET,
or WIZARD
|
SELCHG | Tests if the panel can return selection-changed
events.
|
SELECTORS | Tests if the panel contains selector
fields.
|
© 2000-2019 Norcom, all rights reserved |