The COMBO BOX Adelia Web object uses a method whose syntax varies according to whether or not the object is placed in a list or in a table list.
The object is placed in a list or table list
SET_FOCUS
Places the focus on the object.
Syntax | ||
CALL_METHOD ComboBoxObjectName SET_FOCUS RowNum FormName |
||
Parameters | ||
NUM_BIN_4 RowNum |
Number of the row that defines the object's cell in the list or list table. |
|
ALPHA(128) FormName |
Name of the form that contains the ComboBoxObjectName object to be considered. This parameter is optional. If it is not specified, the first form in the page is taken into account. If the page is part of a page layout that contains other forms, specify a name for the form in order to avoid any ambiguity. |
|
Conditions for use | None. |
STOP_PERIODIC_EVT
Stops a periodic Adelia Web AJAX event from being triggered. This event must be an AJAX event (:AJAX parameter) with a defined timer (:TIMER parameter). If any identical processes are also pending processing (in the browser queue), they will be canceled.
Syntax | ||
CALL_METHOD ComboBoxObjectName STOP_PERIODIC_EVT JSEvtName LineNo FormName |
||
Parameters | ||
ALPHA(128) JSEvtName |
Name of the Javascript event that triggered the Adelia event. E.g. ONCLICK, ONMOUSEOVER, ONKEYDOWN, etc. |
|
NUM_BIN_4 LineNo |
Number of the line that defines the object's cell in the list or table list. This number begins at 1. A value of –1 is interpreted as including all lines in the list. |
|
ALPHA(128) FormName |
Name of the form that contains the object named ButtonObjectName to be taken into account. This parameter is optional. If it is not specified, the first form on the page is used. If the page is part of a page layout that also contains other forms, you must specify a form name in order to avoid any ambiguity. |
|
Conditions for use | None. |
The object is not placed in a list or table list
SET_FOCUS
Places the focus on the object.
Syntax | ||
CALL_METHOD ComboBoxObjectName SET_FOCUS Index FormName |
||
Parameters | ||
NUM_BIN_4 Index |
Number of the ComboBoxObjectName object in the order in which objects in the page are created. This parameter is used to distinguish between two or more objects with the same name in a form (objects having the same associated variable). This parameter is optional. If it is not specified, the first ComboBoxObjectName object is taken into account. |
|
ALPHA(128) FormName |
Name of the form that contains the ComboBoxObjectName object to be considered. This parameter is optional. If it is not specified, the first form in the page is taken into account. If the page is part of a canvas that contains other forms, specify a name for the form in order to avoid any ambiguity. |
|
Conditions for use | None. |
STOP_PERIODIC_EVT
Stops a periodic Adelia Web AJAX event from being triggered. This event must be an AJAX event (:AJAX parameter) with a defined timer (:TIMER parameter). If any identical processes are also pending processing (in the browser queue), they will be canceled.
Syntax | ||
CALL_METHOD ComboBoxObjectName STOP_PERIODIC_EVT JSEvtName FormName |
||
Parameters | ||
ALPHA(128) JSEvtName |
Name of the Javascript event that triggered the Adelia event. E.g. ONCLICK, ONMOUSEOVER, ONKEYDOWN, etc. |
|
ALPHA(128) FormName |
Name of the form that contains the object named ButtonObjectName to be taken into account. This parameter is optional. If it is not specified, the first form on the page is used. If the page is part of a page layout that also contains other forms, you must specify a form name in order to avoid any ambiguity. |
|
Conditions for use | None. |