INQUIRE {Control-Item } [ ( {Index-1} ... ) ]{CONTROL AT Location}{ { Property-Name } [IN] { [MULTIPLE] Property-Value [ LENGTH {IN} Length-1 ] } } ...{ PROPERTY Property-Type } { [TABLE ] {= } }{ CLASS [IN] Control-Class}{ STATUS [IN] Control-Status}
7. Property-name is the name of a property specific to the type of control being inquired. If control-item refers to a generic handle, or if the CONTROL option is specified, then property-name cannot be used. Use the PROPERTY phrase instead. Refer to Graphical Control List for the list of properties supported by a specific control type.
1. The INQUIRE statement retrieves some or all of a control's current properties, and stores them as data items. Control-item identifies the control to inquire. If the CONTROL phrase is used instead, the runtime inquires the control located at the screen position specified by the AT, LINE, and COLUMN phrases in the current window. A list of controls is maintained for each window. This list is kept in the order that controls are created.
2. If control-item does not refer to a valid control, or if the runtime cannot locate a control at the specified screen location, the INQUIRE statement returns the “Invalid Hanlde” error or has no effect if iscobol.ignore_invalid_handle is set to true.
inquire scr-cust-code value ws-cust-code
inquire scr-cust-label size ws-lbl-size
inquire mywin-handle size ws-win-size
| Copyright (c) 2017 Veryant |
| Contact us |
|
Please share your comments on this manual or on any Veryant product documentation with the email button at the top left |