Finds out the size and position of an existing panel.
Parameters:
PPB-First-Visible-Col
|
pic 9(4) comp-x.
|
PPB-First-Visible-Row
|
pic 9(4) comp-x.
|
PPB-Panel-Height
|
pic 9(4) comp-x.
|
PPB-Panel-ID
|
pic 9(4) comp-x.
|
PPB-Panel-Start-Column
|
pic 9(4) comp-x.
|
PPB-Panel-Start-Row
|
pic 9(4) comp-x.
|
PPB-Panel-Width
|
pic 9(4) comp-x.
|
PPB-Visible-Height
|
pic 9(4) comp-x.
|
PPB-Visible-Width
|
pic 9(4) comp-x.
|
On Entry:
PPB-Panel-ID
|
The handle of the panel whose information you want returned. This value is returned from a call to PF-Create-Panel.
|
On Exit:
PPB-First-Visible-Col
|
The horizontal position of the visible window on the specified panel.
|
PPB-First-Visible-Row
|
The vertical position of the visible window on the specified panel.
|
PPB-Panel-Height
|
The height of the specified panel.
|
PPB-Panel-Start-Column
|
The horizontal position of the specified panel on the screen.
|
PPB-Panel-Start-Row
|
The vertical position of the specified panel on the screen.
|
PPB-Panel-Width
|
The width of the specified panel.
|
PPB-Visible-Height
|
The height of the visible window in the specified panel.
|
PPB-Visible-Width
|
The width of the visible window in the specified panel.
|
Example:
This example returns information about the panel whose panel identifier is saved in the variable ws-save-panel-id.
move ws-save-panel-id to ppb-panel-id.
move pf-get-panel-info to ppb-function.
call "PANELS" using panels-parameter-block.
if ppb-status not = zero
* (code to abort)