FMX.StdCtrls.TCustomTrack.ViewportSize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ViewportSize: Single read GetViewportSize write SetViewportSize stored ViewportSizeStored nodefault;

C++

__property float ViewportSize = {read=GetViewportSize, write=SetViewportSize, stored=ViewportSizeStored};

Properties

Type Visibility Source Unit Parent
property public
FMX.StdCtrls.pas
FMX.StdCtrls.hpp
FMX.StdCtrls TCustomTrack

Description

Specifies the size, in pixels, of the area that the slider cannot span to the left or right of this track bar.

Use the ViewportSize property to specify the size of the view port of this track bar, that is, the area, in pixels, that the slider of this track bar cannot span. As an example, the picture below shows two track bars, one with ViewportSize set to 0 and the other with ViewportSize set to 50.

TrackBarViewportSize.png

Tip: Changing the ViewportSize property does not affect the limits (Min or Max) or the Value of this track bar.

See Also