Returns or sets the left position in pixels of the caption text in the object.
Object.CaptionLeft [ = lCaptionLeft ]
The CaptionLeft property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
AButton |
AButton control |
|
lCaptionLeft |
An integer specifying the position of the leftmost part of the caption on the AButton. The default value is -1 (not used). |
The following statement changes the AButton's CaptionLeft so the text starts at five pixels from the left side of the focus area of the button.
btn1.CaptionLeft=5