Visual Basic Reference

AutoShowChildren Property

See Also    Example    Applies To

Returns or sets a value that determines whether MDI child forms are displayed when loaded.

Syntax

object.AutoShowChildren [= boolean]

The AutoShowChildren property syntax has these parts:

Part Description
Object An object expression that evaluates to an object in the Applies To list.
Boolean A Boolean expression that specifies whether MDI child forms are automatically visible, as described in Settings.

Settings

The settings for boolean are:

Setting Description
True (Default) MDI child forms are automatically displayed when loaded.
False MDI child forms aren't automatically displayed when loaded.

Remarks

You can use the AutoShowChildren property to load MDI child forms and leave them hidden until they're displayed using the Show method.