Sign in Join
FPDoc Onlineexperiment

TCustomTrackBar.Orientation property

Member of TCustomTrackBarpublishedIn unit ComCtrls

Indicates the horizontal or vertical orientation for the track bar control.

Declaration

pascal
property Orientation: TTrackBarOrientation read FOrientation write SetOrientation default trHorizontal;

Description

Orientation is a TTrackBarOrientation property which indicates whether the track bar is oriented horizontally or vertically. The default value for the property is trHorizontal.

Changing the value for the property causes values in Width and Height to be swapped to reflect the new orientation for the control. Left and Top coordinates for the control are not changed. The Constraints are updated in the LCL interface and the new property value is posted to the widgetset class instance when its Handle has been allocated.

See also

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