Returns or sets the predefined style of the object.
Object.Style [ = enASwitchStyle ]
The Style property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
ASwitch |
ASwitch control |
|
enASwitchStyle |
enumASwitchStyle |
An integer specifying the predefined style of the object. |
enumASwitchStyle can be one of the following:
|
Name |
Value |
Description |
|
aswtStyleVer3Dslide |
0 * |
Vertical 3D Slide |
|
aswtStyleHoz3Dslide |
1 |
Horizontal 3D Slide |
|
aswtStyleVer2Dslide |
2 |
Vertical Slide |
|
aswtStyleHoz2Dslide |
3 |
Horizontal Slide |
|
aswtStyleVerToggle |
4 |
Vertical Toggle |
|
aswtStyleHozToggle |
5 |
Horizontal Toggle |
|
aswtStyleRoundPushBtn |
6 |
Round Push Button |
|
aswtStyleSquarePushBtn |
7 |
Square Push Button |
|
aswtStyleCommandBtn |
8 |
Command Button |
|
aswtStyleRoundLED |
9 |
Round LED |
|
aswtStyleSquareLED |
10 |
Square LED |
|
aAswtStyleCustomVerSwt |
11 |
User Defined Vertical Switch |
|
aswtStyleCustomHozBtn |
12 |
User Defined Horizontal Button |
|
aswtStyleCustomBtn |
13 |
User Defined Button |
The following statement returns the ASwitch's Style:
lsw1Style = sw1.Style