Size
This property allows you to specify the size of the Slider control. If the PIXEL keyword follows the value specified here, the size is computed in pixels. If either the CELLS keyword or the
Width-In-Cells style is specified, the size is computed in CELLS. In this case decimal values are allowed and the cell size is based on the font used for the parent window.
If the value of the property is not followed by any keyword and the
Width-In-Cells style is not set, the size of the Slider control is still computed in CELLS, but the cell size is based on the font set for the Slider control with the
Font property. If no font has been defined for the Slider control, the cell size is based on the font used for the parent window. Decimal values are allowed in this case, too.
Example - Define a slide-bar with the size property
screen section. ... 03 screen-1-sl-2 Slider line 39.1 column 12.8 size 38.4 cells lines 3.8 cells id 10 horizontal show-labels min-val 10 max-val 100 page-size 5 labels-increment 15 . |