![]() Chapter Contents |
![]() Previous |
![]() Next |
| Frame Class: _winfo |
| Syntax | |
| Details |
Syntax |
| objectName._winfo( windowItem, arg1 ); |
| objectName._winfo( windowItem, arg1, arg2 ); |
| Argument | Type | Use | Description |
|---|---|---|---|
| windowItem | Character | Input | specifies a characteristic of the window or an action |
| arg1 | Numeric | Update | returns the value of windowItem |
| arg2 | Numeric | Output | returns the value of windowItem |
| Details |
infoItem can be one of the following:
| 'BACKCOLOR' | 'BATCH' | 'COMMAND' | 'CURSCREEN' | 'CURSORCOL' | 'CURSORROW' | 'GRAPHICS' | 'ICON' | 'LOGON' | 'MAXCOL' | 'MAXROW' | 'MONO' | 'NSCREEN' | 'NUMCOLS' | 'NUMROWS' | 'NUMXINCH' | 'NUMXPIXEL' | 'NUMYINCH' | 'NUMYPIXEL' | 'PANECCOL' | 'PANECOL' | 'PANECROW' | 'PANEROW' | 'PMENU' | 'PMENUGRAY' | 'PMENUSTATE' | 'POPUP' | 'STARTCOL' | 'STARTROW' | 'UICON' | 'XPIXCELL' | 'XPIXEL' | 'YPIXCELL' | 'YPIXEL' |
Because _init runs before a display is created, you cannot use 'PMENUGRAY' and 'PMENUSTATE'.
If a frame's method is overridden and points to an SCL entry, using the WINFO function within the overridden method returns information about the SCL entry rather than the frame. To get information about the frame, use _winfo.
If _winfo is invoked from the _init method of the frame, not all infoItems can be queried. The _init method of the frame runs before the display is created, so many of the infoItems that return information about the display cannot return valid values.
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.