Vcl.ComCtrls.TTrackBar.SelEnd

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property SelEnd: Integer read FSelEnd write SetSelEnd default 0;

C++

__property int SelEnd = {read=FSelEnd, write=SetSelEnd, default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TTrackBar

Description

Specifies the position of the end point of the selection range.

Set SelEnd to determine the length of a selection that begins at SelStart. The track bar indicates a selection range on the bar by placing special tick marks at the positions specified by the SelStart and SelEnd properties and highlighting the selected portion of the bar.

SelEnd must be greater than or equal to Position. If SelEnd is set to a value less than Position, Position changes to SelEnd. SelEnd must be greater than or equal to SelStart. If SelEnd is the same as SelStart, there is no selection, and the value of Position is the same as SelStart and SelEnd.

See Also