TdxCustomDockControl.AutoHide Property
Specifies whether the dock control is automatically hidden when the mouse pointer is elsewhere.
Declaration
property AutoHide: Boolean read; write;
Property Value
Type |
---|
Boolean |
Remarks
When a panel, tab container or side container is not floating, you can set its AutoHide property to True so that it is automatically hidden when the mouse pointer doesn’t point at it. A bar showing tabs with the names of the hidden panels is displayed at the edge of the dock site. Pointing to a tab makes the corresponding dock control visible. If the panel is not active, moving the mouse pointer away from the panel hides it again. This imitates the behavior of docking windows in the Microsoft Visual Studio .NET IDE.
Usually, the edge where the bar with tabs is displayed is determined automatically. However, you can handle the OnGetAutoHidePosition event to specify it manually.
Note that you can allow end-users to enable and disable this auto hide feature. They need to use the button displayed inside the caption to do this. The panel’s or tab container’s ShowCaption property should be set to True for the caption to be visible.
If you need to respond to the enabling/disabling of the auto hide feature, handle the OnAutoHideChanged event.