window_info
Returns basic information about a window.
Available in:
Apps (win) |
Apps (char) |
Reportwriter |
RPC |
Standalone PL |
X |
|
|
|
|
Syntax
group window_info(window_name | value)
ident window-name
int value
Description
Window_info takes a single parameter, either the window name or id, and
returns information about that window. The values are returned using the
TRIMpl group format. The window does not have to be opened before calling
window_info.
window-name | specifies the window by name.
|
value | specifies the window by sequence number.
|
Currently there are four return values:
- Rows per row
- Row count
- Number of fields
- Window attributes
Example
{
int rpr,rct,nfl,wat;
[rpr,rct,nfl,wat] = window_info(W1);
[rpr] = window_info(W2);
}