TTrackBar: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: TTrackBar
| Old | New | Line | |
|---|---|---|---|
| 1 | + | A **TTrackBar**  is a component on the [[Common Controls tab]] of the [[Component Palette]] shows a tracking bar control. A TTrackBar contains a slider and sometimes tick marks. The TTrackBar is a scrollable control similar to the [[TScrollBar]]. | |
| 2 | + | ||
| 3 | + | The `position` [[Property|property]] of a TTrackBar represents the current value of a TrackBar control. The `min` and `max` properties are used to set minimum and maximum limit of a TrackBar. | |
| 4 | + | ||
| 5 | + | The `orientation` property determines whether the TrackBar is oriented on the horizontal or vertical axis. The corresponding values are `trHorizontal` or `trVertical`. | |
| 6 | + | ||
| 7 | + | The `frequency` property defines the distance between the tick marks along the slider. By default the `frequency` is set to one. For example, if `min` and `max` values of a TrackBar are 0 and 20. By setting `frequency` to 2 means, it will take 10 steps from 0 to 20. For example, when the `Pgup` key is pressed | |
| 8 | + | ||
| 9 | + | When the TrackBar controls value is changed, a `onChanged` event is fired. This event can be processed to update all features linked to the TrackBar. | |
| 10 | + | ||
| 11 | + | ## See also | |
| 12 | + | ||
| 13 | + | - [[doc:/lcl/comctrls/ttrackbar.html|TTrackBar doc]] | |
| 14 | + | - [[TProgressBar]] | |
| 15 | + | ||
| 16 | + | --- | |
| 17 | + | *From the Free Pascal wiki, page "TTrackBar", as it stood on 2019-11-13 after a change by Djzepi, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
