471,049 Members | 1,407 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,049 software developers and data experts.

How to maximize the form on open?

I have a form which contains a maximize box at the top, I want to know how
can I maximize this form once the form is initialized? Thanks!
Jan 11 '06 #1
2 70236
Put this in your Form.Load event

Me.Windowstate = FormWindowState.Maximized

Cyril
Jan 11 '06 #2
"Cyril Gupta" <no****@mail.com> schrieb:
Put this in your Form.Load event

Me.Windowstate = FormWindowState.Maximized

In addition: This property can be set at design time too.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Jan 11 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Ron Rohrssen | last post: by
1 post views Thread by Brandon | last post: by
2 posts views Thread by Jerome Ranch | last post: by
2 posts views Thread by =?Utf-8?B?S2F5xLFoYW4=?= | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.