Change the properties for a control element Properties for a slider control The following table lists the properties that appear on the Properties tab of the Control Properties window for a Slider control. You can change the properties as follows: Rational Rhapsody 825 Device Settings Explanation BackgroundColor To change the background color for the control, click the drop-down arrow in the right column and select a color from the Palette tab that displays. DivisionLIneThickness To change the thickness of the major division lines (also referred to tick markers), change the value in the right column. The default value is 2.
DotColor To change the color for the indicator mark on the Slider control, click the drop-down arrow in the right column and select a color from the Palette tab that displays. EndAngle To change the distance on the Slider rule (between the minimum and maximum values), change the value in the right column. The default value is -45. Font To change the font for the text (for example, the numbers) on the control, click the Ellipses button in the right column and select a font from the Font window that displays. The default value is Arial. GradientFactor To change the gradient factor for the control, change the value in the right column.
The higher the number the more pronounced the gradient for the appearance of the Slider control, which displays as light to dark. The default value is 0.7. LineColor To change the color of all the tick markers, click the drop-down arrow in the right column and select a color from the Palette tab that displays. MaximumValue To change the maximum value for the control, change the value in the right column. The default value is 100. MinimumValue To change the minimum value for the control, change the value in the right column. The default value is 0. NumberOfDivisions To change the number of major division lines (tick markers) for the control, change the value in the right column.
The default value is 10. For example, with the maximum value set at 100, minimum value at 0, and division value at 5, your Slider control would show major tick markers at 0, 20, 40, 60, 80, and 100. NumberOfSubdivisions To change the number of minor division lines (tick markers) between two major ones, change the value in the right column. The default value is 1, which means no minor tick marker displays between two major tick markers. For example, to make three subdivision areas appear between two major markers, enter a value of 3. RelativeBubbleRadius To change the relative bubble radius for the control, change the value in the right column.
This regulates the relative size of the Bubble Knob control, which includes its number scale. The default value is 0.1. RelativeDotPositionRadius To change the placement (closer or farther away) of the dot indicator relative to the 0 value marker, change the value in the right column. The default value is 0.75.