Returns or sets the top position in pixels of the Picture object of the object.
Object.PictureTop [ = lPictureTop ]
The PictureTop property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
ASwitch |
ASwitch control |
|
lPictureTop |
An integer specifying the top position in pixels of the picture of the object. |
The default value is -1 (AutoSize).
The following statement changes the ASwitch's PictureTop so the picture of the switch is six pixels from the top:
sw1.PictureTop=6