SetPaneStyle Method
Description
Set the style of a pane in the custom status bar.
Syntax
Public Sub SetPaneStyle( _
ByVal [Index](#) As Long, _
ByVal [Style](#) As XTPStatusPaneStyle _
)
Parameters
- Index: Index of the pane.
- Style: The style of the pane.
| Value | Description |
|---|---|
| SBPS_NOBORDERS | When this flag is applied, the border will be removed from the indicated status bar pane. |
| SBPS_DISABLED | When this flag is applied, the indicated status bar pane will be disabled. The text in the pane will appear "disabled" based on the DrawDisabledText setting. |
| SBPS_STRETCH | The pane will be stretched; it will not have a static width. So the pane's width can be only more or equal to its Width property. |
See Also
Example
Refer to the StatusBar Object for examples.
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.