[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TCustomTrackBar.LineSize

Increment (or decrement) applied to the slider position when an arrow key is pressed.

Declaration

Source position: comctrls.pp line 2781

published property TCustomTrackBar.LineSize : Integer
  read FLineSize
  write SetLineSize
  default 1;

Description

LineSize is an Integer property used to change the Position for the control when one of the arrow (cursor) keys is pressed. It contains the increment (or decrement) applied to the Position property when a cursor key is pressed. Use the Left or Up cursor keys to decrease the value in Position. Use the Right or Down cursor keys to increase the value. The default value for the property is 1.

Changing the value in LineSize causes the ApplyChanges method to be called to update the visual appearance and settings for the widgetset class instance.

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

Remark: For the macOS Carbon widgetset, the LineSize property is not supported.

See also

TCustomTrackBar.Position

  

Location of the slider on the track bar between the Min and Max values.

TCustomTrackBar.Min

  

Minimum value allowed in the Position for the track bar.

TCustomTrackBar.Max

  

Maximum value allowed in the Position for the track bar.

TCustomTrackBar.ApplyChanges

  

Sends message to update the visual appearance of the object.


Version 4.0 Generated 2025-05-03 Home