Returns the number of panes in the object.
[ lPaneCount = ] Object.PaneCount
The PaneCount property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
AStatusBar |
AStatusBar object |
|
lPaneCount |
Long |
An integer specifying the number of panes in the object. |
The following statement disable all panes:
lPaneCount=sbr.PaneCount
for lPane=0 To (lPaneCount-1)
sbr.Panes(lPane).Enabled=False
Next