Sign in Join
FPDoc Onlineexperiment

TCustomTrackBar.Frequency property

Member of TCustomTrackBarpublishedIn unit ComCtrls

Indicates the frequency for the tick marks displayed on the control.

Declaration

pascal
property Frequency: Integer read FFrequency write SetFrequency default 1;

Description

Frequency is an Integer property which indicates the interval between tick marks displayed on the track bar control. The default value for the property is 1, and causes a tick mark to be drawn for each value between Min and Max. When set to another value, tick marks are drawn for each Position where the value modulus Frequency is 0 (zero).

Changing the value for the property causes the ApplyChanges method to be called to update the settings and visual appearance for the widgetset control.

Use LineSize to specify the increment applied to Position when a cursor key is pressed.

Use Min and Max to specify the range of values allowed in the Position property.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.