2.93 .dockable[enum]
This attribute of the toolbar controls in which toolbar areas the toolbar can be docked.
-
Data type
boolean
-
Access
get, set
-
changed event
no
Value range
- true (default)
-
The toolbar may take the docking position given as index.
- false
-
The toolbar cannot take the docking position given as index.
Index Range
- dock_window
-
Undocking the toolbar as free floating tool window.
- dock_up
-
Docking the toolbar in the toolbar area above the window's client area.
- dock_down
-
Docking the toolbar in the toolbar area below the window's client area.
- dock_left
-
Docking the toolbar in the toolbar area left of the window's client area.
- dock_right
-
Docking the toolbar in the toolbar area right of the window's client area.
The attribute has to be set to true for at least one of the indexes. Additionally with instances the attribute for the current docking state cannot be set to false. The following assignment would produce an error message in the trace file:
this.dockable[this.docking] := false;
Assignments can be done without an index:
this.dockable := true;
This sets the attribute to true for all indexes.
this.dockable := false;
This sets the attribute to false for all indexes except this.dockable[this.docking].
See also
Attribut