API:Vcl.ExtCtrls.TControlBar.AutoDrag

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AutoDrag: Boolean read FAutoDrag write FAutoDrag default 1;

C++

__property AutoDrag = {default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TControlBar

Description

Specifies whether control bands can be undocked by dragging.

Vcl.ExtCtrls.TControlBar.AutoDrag inherits from Vcl.ExtCtrls.TCustomControlBar.AutoDrag. All content below this line refers to Vcl.ExtCtrls.TCustomControlBar.AutoDrag.

Specifies whether control bands can be undocked by dragging.

Use AutoDrag to specify whether control bands are automatically undocked when the user drags them. If AutoDrag is true, control bands (TToolBar objects) are undocked when dragged off the control bar. Otherwise, control bands are kept within the control bar.

See Also