Vcl.ExtCtrls.TCustomControlBar.AutoDrag

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AutoDrag: Boolean read FAutoDrag write FAutoDrag default True;

C++

__property bool AutoDrag = {read=FAutoDrag, write=FAutoDrag, default=1};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TCustomControlBar

Description

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