![]() |
Previous | Next |
The borderSize attribute specifies or retrieves the border width in pixels.
Syntax
elementID.borderSize
Possible Values
This attribute is a read/write Number (long) representing the border width in pixels. The default value is zero.
Remarks
This attribute defines an offset from the beginning and end of the slider controlthat is, from the left and right if the direction attribute is set to “horizontal”, and from the top and bottom if it is set to “vertical”. These offset positions dictate the minimum and maximum positions of the slider thumb, beyond which the foreground color or image will not be applied.
If a background image is used with the tiled attribute set to true, the offset is applied to the image, dictating the amount of the image (either from the left and right or from the top and bottom) to be used for the beginning and end borders of the slider control, with the central portion of the image being tiled throughout the remainder. In this way, a small background image can be used to cover the full length of a larger slider control.
See Also
Previous | Next |