Dock Action (Specific to InfragisticsWinDockManager Objects)

Applies to TestComplete 15.64, last modified on June 12, 2024


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.



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.


The method has the following parameter:


Specifies the state to be set: True for the docked state, False for the undocked state.

Result Value



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)

Highlight search results