How do I make the form take up the screen without the top title bar. You know, full screen.
Is it possible?
Printable View
How do I make the form take up the screen without the top title bar. You know, full screen.
Is it possible?
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).
I think you need to set the form border style to none and maximize the form. :wave:
kevin
Set your Text = ""
Set the Control Box = False
Set the form WindowState = Maximized.
cool :cool: another way... I like options! :DQuote:
Originally Posted by Shaggy Hiker
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.Quote:
Originally Posted by ultimate_girl
Then to display MDI children, use the following code:
VB Code:
Private Sub AddMDIChild(form as Form) form.MdiParent = Me form.Show() End Sub
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.
Yeah, that's normal behaviour though.
so does that mean there is no solution?
No, you could try setting the border style for the child forms to no border also, then they can't move them.