Sign in Join
FPDoc Onlineexperiment

TTrackBar.Orientation property

Member of TTrackBarpublishedIn unit ComCtrls

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

Declaration

pascal
property Orientation:;

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.

This description is the one of ComCtrls.TCustomTrackBar.Orientation.

See also

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