|
-
May 11th, 2005, 06:10 PM
#1
Thread Starter
Addicted Member
How do I make the form take up the screen???
How do I make the form take up the screen without the top title bar. You know, full screen.
Is it possible?
Last edited by Hiroshi; May 11th, 2005 at 07:00 PM.
-
May 11th, 2005, 07:47 PM
#2
Re: How do I make the form take up the screen???
Try setting windowstate to maximized, caption to "", and controlbox to false. I think that will make the window take up the WHOLE screen (including covering the task bar, but that seems to be a side effect of getting rid of the caption bar up top).
My usual boring signature: Nothing
 
-
May 11th, 2005, 07:49 PM
#3
Re: How do I make the form take up the screen???
I think you need to set the form border style to none and maximize the form.
kevin
Last edited by kebo; May 11th, 2005 at 07:52 PM.
Process control doesn't give you good quality, it gives you consistent quality.
Good quality comes from consistently doing the right things.
Vague general questions have vague general answers. A $100 donation is required for me to help you if you PM me asking for help. Instructions for donating to one of our local charities will be provided.
______________________________ Last edited by kebo : Now. Reason: superfluous typo's
-
May 11th, 2005, 07:50 PM
#4
Re: How do I make the form take up the screen???
Set your Text = ""
Set the Control Box = False
Set the form WindowState = Maximized.
-
May 11th, 2005, 08:16 PM
#5
Re: How do I make the form take up the screen???
 Originally Posted by Shaggy Hiker
Try setting windowstate to maximized, caption to "", and controlbox to false. I think that will make the window take up the WHOLE screen (including covering the task bar, but that seems to be a side effect of getting rid of the caption bar up top).
cool another way... I like options!
Process control doesn't give you good quality, it gives you consistent quality.
Good quality comes from consistently doing the right things.
Vague general questions have vague general answers. A $100 donation is required for me to help you if you PM me asking for help. Instructions for donating to one of our local charities will be provided.
______________________________ Last edited by kebo : Now. Reason: superfluous typo's
-
May 11th, 2005, 09:36 PM
#6
Addicted Member
Re: How do I make the form take up the screen???
speaking of form properties, what do i need to set so that the user will be unable to drag around a child form within its parent form?
-
May 12th, 2005, 02:07 AM
#7
Re: How do I make the form take up the screen???
 Originally Posted by ultimate_girl
speaking of form properties, what do i need to set so that the user will be unable to drag around a child form within its parent form?
You need to set the form up as an MDI Parent before it can host MDI child forms. It's simply a property in the form that you can set at design time called IsMdiContainer.
Then to display MDI children, use the following code:
VB Code:
Private Sub AddMDIChild(form as Form)
form.MdiParent = Me
form.Show()
End Sub
Last edited by Ideas Man; May 12th, 2005 at 02:12 AM.
I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)
-
May 12th, 2005, 02:13 AM
#8
Addicted Member
Re: How do I make the form take up the screen???
done that. the problem is if the child form's position is x = 0 y = 0, just by clicking the mouse on the child form, the user can drag the child form to the left-most part of the parent form or whenever he wants to put it hence the x and y values will change.
-
May 12th, 2005, 02:38 AM
#9
Re: How do I make the form take up the screen???
Yeah, that's normal behaviour though.
I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)
-
May 12th, 2005, 02:46 AM
#10
Addicted Member
Re: How do I make the form take up the screen???
so does that mean there is no solution?
-
May 12th, 2005, 06:13 AM
#11
Re: How do I make the form take up the screen???
No, you could try setting the border style for the child forms to no border also, then they can't move them.
I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)
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
|