Style Property (AStatusBarPane)

Returns or sets the style of the object.

Syntax

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.

Where

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
(ATEasy v.6)
 

11

Progress Bar. Displays the progress bar.

Comments

Any text set with the Text property will not display unless the Style property is set to asbrpStyleText.

Example

The following statement changes the style of the pane to be text:

sbrp1.Panes("Prompt").Style=asbrpStyleText

Applies to

AStatusBarPane

See Also

Alignment, AutoSize, BorderStyle