Returns or sets the width in pixels of the picture in the object.
Object.CaptionWidth [ = lCaptionWidth ]
The CaptionWidth property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
AButton |
AButton control |
|
lCaptionWidth |
An integer specifying the width of the caption on the AButton. |
The following statement changes the AButton's CaptionWidth so the caption is ten pixels wide in the face area of the button.
btn1.CaptionWidth=10