Returns or sets how the object appears.
Object.Style [ = enStyle ]
The Style property syntax has the following parts:
Name |
Type |
Description |
Object |
AThumb |
AThumb object |
enStyle |
enumAThumbStyle |
An integer specifying the predefined style of the object. |
enumAThumbStyle can be one of the following:
Name |
Value |
Description |
atmbStyleDefault |
0 * |
Default. On a knob style control, the thumb appears as a thin line. On a slider style control, the thumb appears as a slider "thumb". |
atmbStyle3D |
1 |
The thumb appears as a three-dimensional needle. This style is available only on the knob style control. |
atmbStyleLeftBottomArrow |
2 |
LeftBottomArrow. The thumb appears as an arrow facing left or to the bottom, depending on whether the slider is vertical or horizontal. This style is available only on the slider style control. |
atmbStyleRightTopArrow |
3 |
RightTopArrow. The thumb appears as an arrow facing right or to the top, depending on whether the slider is vertical or horizontal. This style is available only on the slider style control. |
atmbStyleNone |
4 |
No thumb image is used. |
atmbStyleCustom |
5 |
A custom image represents the thumb. This style is available only on the slider style control. |
The following statement changes the ASlider's first thumb's ThumbStyle to be a RightTopArrow:
tmb1.Style=atmbStyleRightTopArrow