Description
Depending on the Dock parameter, either docks the specified control to the docking area or undocks it. The Dock action does not move the mouse pointer.
Declaration
TestObj.Dock(Dock)
| TestObj | A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section | |||
| Dock | [in] | Optional | Boolean | Default value: True |
| Result | None | |||
Applies To
The method is applied to the following object:
View Mode
To view this method in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
Parameters
The method has the following parameter:
Dock
Specifies the state to be set: True for the docked state, False for the undocked state.
Result Value
None.
Remarks
If the Dock parameter corresponds to the control's state (for example, Dock is True and the control is already docked), Dock performs no action and posts a message to the test log.
See Also
UnDock Action (Specific to InfragisticsWinDockManager Objects)
