Public Member Functions | |
DockAsChild ([in] IDispatch *Control,[in] USHORT ControlAlign) | |
Docks a control as a child control of the current frame. | |
DockAsNeighbour ([in] IDispatch *Control,[in, defaultvalue(AL_CLIENT)] USHORT ControlAlign) | |
Docks a control as a neighbour of the current frame. | |
UnDock ([in, defaultvalue(TRUE)] VARIANT_BOOL ControlVisible) | |
Undocks the frame. | |
Properties | |
BSTR RW | UniqueId [] |
Gets or sets unique id. | |
VARIANT_BOOL RW | AllowDockAsChild [] |
If "FALSE" then the user cannot dock a control as a child of the current frame. | |
VARIANT_BOOL RW | AllowDockAsNeighbour [] |
If "FALSE" then the user cannot dock a control as a neighbour of the current frame. | |
VARIANT_BOOL RW | DropTarget [] |
If "TRUE" then the user can drag & drop a control to the current frame. | |
VARIANT_BOOL RW | AlwaysDockTab [] |
If "TRUE" then the current frame must be always docked into a TabControl. | |
VARIANT_BOOL RW | AlwaysDockPage [] |
If "TRUE" then the current frame must be always docked into a PageControl. | |
VARIANT_BOOL RW | DockToolWindow [] |
If "TRUE" then the docking Form for the frame will have ToolWindow = "TRUE" after a call of the UnDock method. | |
VARIANT_BOOL RW | AutoCreated [] |
If "TRUE", then the control was created automatically. | |
LONG RW | PageControlTag [] |
Related to AlwaysDockTab and AlwaysDockPage. |
Provides docking framework specific properties for a control.
To obtain this object use the Control's Docking property.
The control must be Frame (CreateFrame).
DockAsChild | ( | [in] IDispatch * | Control, | |
[in] USHORT | ControlAlign | |||
) |
Docks a control as a child control of the current frame.
Control | The control. | |
ControlAlign | Align for docking. |
If the control's AlwaysDockPage = "TRUE" then a PageControl will be created in the current frame as the control's parent.
DockAsNeighbour | ( | [in] IDispatch * | Control, | |
[in, defaultvalue(AL_CLIENT)] USHORT | ControlAlign | |||
) |
Docks a control as a neighbour of the current frame.
Control | The control. | |
ControlAlign | Align for docking. |
Otherwise, new docking TabControl or docking PageControl will be created. The control will be placed into one tab. The frame into another tab.
The control will have Align = ControlAlign. The frame will have Align = AL_CLIENT. The docking frame will have AutoSplit = "TRUE". The docking frame will have AllowDockAsChild = "TRUE".
UnDock | ( | [in, defaultvalue(TRUE)] VARIANT_BOOL | ControlVisible | ) |
VARIANT_BOOL RW AllowDockAsChild |
If "FALSE" then the user cannot dock a control as a child of the current frame.
Default value: "FALSE".
VARIANT_BOOL RW AllowDockAsNeighbour |
VARIANT_BOOL RW AlwaysDockPage |
If "TRUE" then the current frame must be always docked into a PageControl.
The parent PageControl will be created automatically.
VARIANT_BOOL RW AlwaysDockTab |
If "TRUE" then the current frame must be always docked into a TabControl.
The parent TabControl will be created automatically.
VARIANT_BOOL RW AutoCreated |
If "TRUE", then the control was created automatically.
For example, it can be an auto created docking TabControl. (see Docking Framework).
Auto created controls can be deleted automatically when the user moves its children outside.
VARIANT_BOOL RW DockToolWindow |
If "TRUE" then the docking Form for the frame will have ToolWindow = "TRUE" after a call of the UnDock method.
VARIANT_BOOL RW DropTarget |
If "TRUE" then the user can drag & drop a control to the current frame.
LONG RW PageControlTag |
Related to AlwaysDockTab and AlwaysDockPage.
Specifies different kinds of multi-page components of same type. For example, different kinds of the PageControl.
Default: 0.
BSTR RW UniqueId |
Gets or sets unique id.
The control's value cannot be used for any other control.
Used when SaveLayout or LoadLayout occurs.