BBjWindow::getControl
Description
Returns a BBjControl object in the BBjWindow.
Syntax
Return Value |
Method |
getControl(int ID) |
|
getControl(string name) |
Parameters
Variable |
Description |
---|---|
ID |
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). |
name |
In BBj 8.00 and higher, specifies the name of the control. |
Return Value
Returns a BBjControl object.
Remarks
The getControl(string name) version throws an exception if there are no controls, or if there is more than one control, with the specified name.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.