|
-
Jun 13th, 2004, 03:31 PM
#1
Thread Starter
Addicted Member
Startup Maximized?
How can I start my main form as maximized as it can be on the screen right when it loads?
When I try to do it through properties there are only 4 selections and none of them start it up as maximized as it can be on my screen. Any clues?
Thanks in advance
 Originally Posted by randem
You think you are confused? Try reading what you wrote...
-
Jun 13th, 2004, 05:40 PM
#2
PowerPoster
Re: Startup Maximized?
Originally posted by james14
How can I start my main form as maximized as it can be on the screen right when it loads?
When I try to do it through properties there are only 4 selections and none of them start it up as maximized as it can be on my screen. Any clues?
Thanks in advance
The simple answer to your question is to include the following code in the form load event:
VB Code:
Me.WindowState = FormWindowState.Maximized
However, if you mean you want Full Screen Mode whereby the title bar containing the maximise/minimise/close buttons is not visible then you also have to add:
VB Code:
me.controlbox=False
Me.text=""
Last edited by taxes; Jun 13th, 2004 at 05:48 PM.
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
-
Jun 13th, 2004, 08:24 PM
#3
Lively Member
check the windowstate property of the form...
-
Jun 13th, 2004, 09:28 PM
#4
Thread Starter
Addicted Member
Alright thanks guys it worked.
 Originally Posted by randem
You think you are confused? Try reading what you wrote...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|