BBjBatch::addCtrl
In BBj 3.02 and higher, the BBjBatch object is deprecated and replaced with BBjAPI::getConfig().suppressUIAckBack(1), which is no-op'd in BBj 5.00 and higher.
Description
This method adds the selected CTRL() function to the specified SysGui batch.
Syntax
|
Return Value |
Method |
|---|---|
|
void |
addCtrl(int controlID, int functionID) addCtrl(int controlID, int functionID, int context) |
Parameters
|
Variable |
Description |
|---|---|
|
controlID |
Specifies the ID of the control. A value of 0 may be used to get information about a context's window or dialog rather than an individual control or child window (as defined in the CTRL() function). |
|
functionID |
Specifies the function, numbered 0-16, as indicated in the following list (CTRL() function). If not specified, it is the default is set according to the type of object in question. The following types behave as though function=2 (Get value) was requested: radio buttons, check boxes, list boxes, list buttons, scroll bars, menu items, and tool buttons. All others behave as though function=1 (Get text) was requested. |
|
context |
Specifies the context. If omitted, the current context is used. |
Return Value
None.
Remarks
The arguments are identical to those of the CTRL() function except that the first CTRL() argument (SysGui channel) is not used.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.