MDIWindow.Visible
From Xojo Documentation
Property (As Boolean )
This property is only available on the Windows platform. For cross-platform compatibility, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this property on an incompatible platform. |
aMDIWindow.Visible = newBooleanValue
or
BooleanValue = aMDIWindow.Visible
Supported for all project types and targets.
or
BooleanValue = aMDIWindow.Visible
Supported for all project types and targets.
If True, the MDI window will be visible when it is opened.
Example
This example sets several properties of the MDIWindow. It is in the Open event of the app.
app.MDIWindow.Height=300
app.MDIWindow.Width=450
app.MDIWindow.Left=15
app.MDIWindow.Top=10
app.MDIWindow.Title="MDIWindow Title"
app.MDIWindow.MinWidth=250
app.MDIWindow.MinHeight=100
app.MDIWindow.MaxHeight=400
app.MDIWindow.MaxWidth=600
app.MDIWindow.Visible=True
app.MDIWindow.Width=450
app.MDIWindow.Left=15
app.MDIWindow.Top=10
app.MDIWindow.Title="MDIWindow Title"
app.MDIWindow.MinWidth=250
app.MDIWindow.MinHeight=100
app.MDIWindow.MaxHeight=400
app.MDIWindow.MaxWidth=600
app.MDIWindow.Visible=True