phoViewPane - cCJStatusBar
Designates the object handle of the statusbar pane that is used to display view name information
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
Property Integer phoViewPane
| Access Type | Syntax |
|---|---|
| Read Access: | Get phoViewPane to IntegerVariable |
| Write Access: | Set phoViewPane to IntegerVariable/Value |
Description
phoViewPane is object handle of the cCJStatusbarPane that is used to display the name of the current view. Within the framework, giving a view the focus causes the message Show_View_Name to be sent to the statusbar. This message is used to set the view's name into the phoViewPane pane.
You must set phoViewPane so that Show_View_Name will know where to set the name.
The easiest way to set the property is to set it, via delegation, within the actual view pane. The following sample shows a statusbar with two panes, an idle-pane and a view pane.
Object oStatusBar is a cCJStatusBar
Object oStatusPane1 is a cCJStatusBarPane
// designate as the idle pane
Set piId to sbpIDIdlePane
Set pbStyleStretch to True
End_Object
Object oStatusPane2 is a cCJStatusBarPane
// designate as the view pane
Delegate Set phoViewPane to Self
Set pbStyleStretch to True
End_Object
End_Object