Returns or sets the width in pixels of the frame in the object.
Object.FrameWidth [ = lFrameWidth ]
The FrameWidth property syntax has the following parts:
Name |
Type |
Description |
Object |
ASlider |
ASlider control |
lFrameWidth |
An integer specifying the width in pixels of the frame on the object. |
The default value is -1, which means that:
In clipped mode, the caption size will be clipped or cut as needed to fit in area designated in the control face area.
In stretch mode, the caption will be expanded or shrunk to fit in the area designated in the control face area.
The following statement changes the ASlider's FrameWidth so the frame is ten pixels wide in the face area of the slider.
sld1.FrameWidth=10