Vcl.Forms.TControlScrollBar.Visible

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Visible: Boolean read FVisible write SetVisible default True;

C++

__property bool Visible = {read=FVisible, write=SetVisible, default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TControlScrollBar

Description

Determines whether the scroll bar appears.

If Visible is set to true, a scroll bar appears whenever a visual component is less than Margin pixels from the edge of the form or scroll box. If Visible is set to false, the scroll bar is never visible. This is useful, for example, for programmatically controlling the scroll position of a form without allowing the user to control the scroll position.

See Also

Code Examples