HasOpenDesigner Property

Applies To

VBComponent object.

Description

Returns a Boolean value indicating whether or not the VBComponent object has an open designer. Read-only.

Return Values

The HasOpenDesigner property returns these values.

Value

Description

True

The VBComponent object has an open Design window.

False

The VBComponent object doesn't have an open Design window.


See Also

Designer property, DesignerWindow property.

Example

The following example uses the HasOpenDesigner property to return whether or not the specified component, in this case a form, of a particular project has an open designer.

Debug.Print Application.VBE.VBProjects(1).VBComponents(1).HasOpenDesigner