MDIWindow.MaxHeight

From Xojo Documentation

Revision as of 21:14, 19 January 2012 by Dbrandt (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Integer )


aMDIWindow.MaxHeight = newIntegerValue
or
IntegerValue = aMDIWindow.MaxHeight

Supported for all project types and targets.

The maximum height to which the MDI window can be resized.

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