phoPanes - cStatusBar
Stores the object-handle of the internal cCollection object that holds the object-handles of the child cStatusPane objects
Type: Property
Access: Read/Write
Data Type: Handle
Parameters: None
Syntax
Property Handle phoPanes
| Access Type | Syntax |
|---|---|
| Read Access: | Get phoPanes to HandleVariable |
| Write Access: | Set phoPanes to HandleVariable/Value |
Description
phoPanes stores the object-handle of the internal cCollection object that holds the object-handles of the child cStatusPane objects.
As you create or destroy cStatusPane objects, the cStatusBar maintains the list in an internal cCollection object. The phoPanes property is set automatically, but you can read it if you want to traverse the list of panes. For example, this is how you might display the labels of all the panes:
Get NumberOfPanes To icPane
For iPane from 0 To (icPane -1)
Get ObjectFromIndex of (phoPanes(self)) iPane To hoPane
Get psLabel of hoPane To sLabel
ShowLn `Pane ` iPane ` has a label of: ` sLabel
Loop