Determines whether or not a form is modeless in the Configuration environment.
Syntax
object.DeActivateWorkspaceUI bLeaveActiveDocActive
Properties
The DeActivateWorkspaceUI method syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
bLeaveActiveDocActive |
Boolean. If True, objects can be selected and moved in the currently active document. The right mouse menu and double click events are disabled. In addition, the active document cannot be moved, closed, maximized, or minimized. If False, objects cannot be selected or moved in the currently active document. |
Remarks
User forms are modal by default. To make a form modeless, make the following call on form initialization (in the form's Activate event):
Application.DeActivateWorkspaceUI True
This call must be made from a form that is activated by a toolbar script.