Returns or sets the style of the object.
Object.Style [ = enStyle ]
The Style property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
AStatusBarPane |
AStatusBarPane object |
|
enStyle |
enumAStatusBarPaneStyle |
An integer specifying the style of the object. |
enumAStatusBarPaneStyle can be one of the following:
|
Name |
Value |
Description |
|
asbrpStyleText |
0 * |
Text and/or a bitmap. Set text with the Text property. |
|
asbrpStyleExtended |
1 |
Extended. Displays the letters EXT in bold when the Extended indicator is enabled, and dims the letters when disabled. |
|
asbrpStyleCapsLock |
2 |
Caps Lock. Displays the letters CAPS in bold when Caps Lock is enabled, and dims the letters when disabled. |
|
asbrpStyleNumLock |
3 |
Num Lock. Displays the letters NUM in bold when the number lock key is enabled, and dims the letters when disabled. |
|
asbrpStyleScrollLock |
4 |
Scroll Lock. Displays the letters SCRL in bold when scroll lock is enabled, and dims the letters when disabled. |
|
asbrpStyleOverStrike |
5 |
Over Strike. Displays the letters OVR in bold when the insert key is disabled, and dims the letters when disabled. |
|
asbrpStyleRecording |
6 |
Recording. Displays the letters REC in bold when Recording indicator is enabled, and dimmed when disabled. |
|
asbrpStyleKana |
7 |
Kana. Displays the letters KANA in bold when scroll lock is enabled, and dims the letters when disabled. |
|
asbrpStyleTime |
8 |
Time. Displays the current time in the system format. |
|
asbrpStyleDate |
9 |
Date. Displays the current date in the system format. |
|
asbrpStylePrompt |
10 |
Prompt. Displays the Prompt dialogue box for the style. |
|
asbrpStyleProgress |
11 |
Progress Bar. Displays the progress bar. |
Any text set with the Text property will not display unless the Style property is set to asbrpStyleText.
The following statement changes the style of the pane to be text:
sbrp1.Panes("Prompt").Style=asbrpStyleText