Form resize

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

--
hello

How do you start a form maximized in VB.net and for that matter in VB6 as
well?
It is a simple silly question that I couldnt get the answer for.
thanks
 
Set the WindowState property to Maximized (in VB6, vbMaximized).


--
hello

How do you start a form maximized in VB.net and for that matter in VB6 as
well?
It is a simple silly question that I couldnt get the answer for.
thanks
 
I mean, it is FormWindowState.Maximized in VB.NET.


Set the WindowState property to Maximized (in VB6, vbMaximized).


--
hello

How do you start a form maximized in VB.net and for that matter in VB6 as
well?
It is a simple silly question that I couldnt get the answer for.
thanks
 
John,

For VBNet
Go to in designer mode to the properties of the form and set WindowState to
Maximized.

Fore VB6 you can in my opinion better ask this in a vb classic newsgroup.

microsoft.public.vb

by instance
microsoft.public.vb.general.discussion.

I hope the first one helps anyhow,

Cor
 
john andrew said:
How do you start a form maximized in VB.net and for that matter in VB6 as
well?

VB.NET:

Set the form's 'WindowState' property to 'Maximized' at design time.

VB6:

Set the form's 'WindowState' property to '2 - Maximized' (= 'vbMaximized')
at design time.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top