How to Insert a Slider |
A slider allows the user to set a value on a continuous range of possible values, such as volume control, or the speed of a movie being shown. Sliders are useful when the exact value is less important than its position relative to the range of possible values. You can create a slider: •In the Definer, by using the Slider display type for a domain. •In the Windows Designer, by inserting a slider control class into a window or dialog. If you create the control using the Slider display type, allowed values must be defined at domain level. In this case, the slider appears automatically after synchronization. If you create the control in the Windows Designer, allowed values can either be hard-coded, or retrieved from the database by means of a SQL statement or Related Column. To insert a slider:
•Set the Range Maximum, and Range Minimum properties to indicate the range of allowed values. •Set the Prompt property.
•Set the Tick Mark Position property to indicate whether the tick marks must be displayed at the top or at the bottom of the slider. •Set the Tick Mark Frequency property to indicate how many tick marks the slider is to have (for example, if you type "5", every fifth unit will have a tick mark). |