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} |
{ Screen-Loc [CELL ] [CELLS ] [PIXEL ] [PIXELS] LINE NUMBER Line-Num [CELL ] [CELLS ] [PIXEL ] [PIXELS] {COLUMN } NUMBER Col-Num [CELL ] {COL } [CELLS ] {POSITION} [PIXEL ] {POS } [PIXELS] } |
INQUIRE { window-handle } { Property-Name [IN] Property-Value } { WINDOW [generic-handle] } { STATUS [IN] Control-Status } |
Control Type | Properties Affected |
List Box | QUERY-INDEX |
Grid | Y, X |
Tree View | ITEM |
78 ctl-label value 1. 78 ctl-entry-field value 2. 78 ctl-push-button value 3. 78 ctl-check-box value 4. 78 ctl-radio-button value 5. 78 ctl-scroll-bar value 6. 78 ctl-list-box value 7. 78 ctl-combo-box value 8. 78 ctl-frame value 9. 78 ctl-tab value 10. 78 ctl-bar value 11. 78 ctl-grid value 12. 78 ctl-bitmap value 13. 78 ctl-tree-view value 14. 78 ctl-web-browser value 15. 78 ctl-status-bar value 17. 78 ctl-date-entry value 18. 78 ctl-slider value 21. 78 ctl-java-bean value 22. |
STATUS | Meaning |
---|---|
0 | the handle is valid, the control or window is currently on video |
1 | the handle is not valid |
2 | the control or window isn't yet created or has been destroyed by destroy verb |
3 | the control or window has been destroyed internally by the framework (like it happens with temporary controls, for example) and not by a destroy verb |
inquire scr-cust-code value ws-cust-code |
inquire scr-cust-label size ws-lbl-size |
inquire mywin-handle size ws-win-size lines ws-win-lines |