This object is similar to an TTASNumEnter object in that the user sets a position and it is transformed into an integer value that your program can use. You can also set the position in the program to display a visual value to the user. The icon for this object is on the Additional page.
PALETTE ICON & EXAMPLE
PROPERTIES
The following are the properties that apply to this object. Some are defined in Common Properties and are linked to their appropriate page.
Appearance
Behavior
Hint
Misc
Other
Frequency | This specifies how often a tick mark will appear. This should generally be set to the same value as LineSize or PageSize. This property can be modified during runtime. |
LineSize | This is the value the Position property will change each time the track bar pointer moves. This property can be modified at runtime. |
Max | This is the maximum value that can be represented by the track bar. This would be the Position property value if the pointer is all the way to the right (or top). This property can be modified during runtime. |
Min | The minimum value that can be represented by the track bar. This would be the Position property value if the pointer is all the way to the left (or bottom). This property can be modified during runtime. |
Orientation | Does the image progress from left to right (trHorizontal - default value) or bottom to top (trVertical). The image of the object will change when you change this property value. |
PageSize | This is the value the track bar pointer will be moved if the user presses the PAGEUP key (increments) or clicks on the track bar to the right (or above) its current location; or presses the PAGEDOWN key or clicks on the track bar to the left (or below) its current location. This property can be changed during runtime. |
Position | NOTE: This property doesn't exist on the property editor. However, it is used by you during your program to move the track bar or read its current location. This property can only be changed at runtime. |
SelEnd | You can use this property and SelStart to limit the track bar to a subset of the Min to Max distance displayed. Special marks are put on the track bar to highlight the available choices. If the Position property is less than SelStart or more than SelEnd it is reset to the proper start or end value. |
SelStart | You can use this property and SelEnd to limit the track bar to a subset of the Min to Max distance displayed. Special marks are put on the track bar to highlight the available choices. If the Position property is less than SelStart or more than SelEnd it is reset to the proper start or end value. |
SliderVisible | If checked (set to .True.) the slider or track bar pointer is displayed. This is the default value. This can be modified at runtime. |
ThumbLength | The height (if horizontal) or width (if vertical) of the track bar in pixels. The default value is 20. This can be modified at runtime. |
TickMarks | Where to display the tick marks. The options are: tmBoth (both sides of the bar), tmBottomRight (the right size if vertical or bottom if horizontal) and tmTopLeft (the left side if vertical or top if horizontal - the default value). |
TickStyle | How the tick marks are to be displayed. The options are: tsAuto (automatically place the tick marks depending on the Frequency and LineSize properties above - the default value), tsManual (tick marks at the beginning and end) and tsNone (no tick marks). |
Position
EVENTS
There are no events for this object.
Page url: http://www.cassoftware.com/tas/manual/ttrackbar.htm