FMX.StdCtrls.TScrollBar.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 published
FMX.StdCtrls.pas
FMX.StdCtrls.hpp
FMX.StdCtrls TScrollBar

Description

Specifies the size, in pixels, of the slider of this scroll bar.

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

ScrollBarViewportSize.png

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

See Also