RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTrackBar.Create Constructor

Creates and initializes an instance of TTrackBar.

Pascal
constructor Create(AOwner: TComponent); override;
C++
virtual __fastcall TTrackBar(TComponent * AOwner);

Call Create to instantiate a TTrackBar object at runtime. Track bars placed on forms at design time are created automatically. 

Create allocates memory and initializes the following properties: 

ControlStyle is set to [csCaptureMouse, csClickEvents, csSetCaption]. 

Frequency is set to 1. 

Height is set to 45 and Width to 150. 

LineSize is set to 1 and PageSize to 2. 

Max is set to 10 and Min to 0. 

Orientation is set to trHorizontal. 

TickMarks is set to tbBottomRight and TickStyle to tsAuto. 

TabStop is set to true. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!