I would like some advice on the use of VB Forms.
I have to write an application that consists of mainly one main form, but several different things I wanna display. Pretty standard I guess.
So there is a menu, some controls, and the main stuff below (ranging form graphs, tables, dropdown boxes, print preview, etc). I would like to use it like one would use frames in html, design an object that is limited to a box or panel that I define. The literature I have does not give me a clear idea of how to do this (yet).
The most obvious seem to be the use of MDI, open a predefined form with no borders, maximize it before showing and remove all minimize/maximize options. But that does not work so well. The form inside the MDI parent does not fit the size that is given for it when it is loaded.
e.g.
Dim ChildForm1 As New Tail.ChildForm1
ChildForm1.MdiParent = Me
ChildForm1.WindowState = FormWindowState.Maximized
ChildForm1.Show()
So my main question is: Is MDI the way to go here at all or are there better/easyer ways to achieve this?
If MDI is the way to go, how do I sucessfully restrict a child form inside another object, without giving the user any opportunity to resize (i noticed that I have minnimize/maximize/close buttons, even if I disable them on the child forms themselves)
I am new to VB (started last friday), but worked with a bunch of other environments, but unfortunately this one needs to be done in VB. Anyway, just point me in the right direction, I am not a complete noob.
Thanks
I have to write an application that consists of mainly one main form, but several different things I wanna display. Pretty standard I guess.
So there is a menu, some controls, and the main stuff below (ranging form graphs, tables, dropdown boxes, print preview, etc). I would like to use it like one would use frames in html, design an object that is limited to a box or panel that I define. The literature I have does not give me a clear idea of how to do this (yet).
The most obvious seem to be the use of MDI, open a predefined form with no borders, maximize it before showing and remove all minimize/maximize options. But that does not work so well. The form inside the MDI parent does not fit the size that is given for it when it is loaded.
e.g.
Dim ChildForm1 As New Tail.ChildForm1
ChildForm1.MdiParent = Me
ChildForm1.WindowState = FormWindowState.Maximized
ChildForm1.Show()
So my main question is: Is MDI the way to go here at all or are there better/easyer ways to achieve this?
If MDI is the way to go, how do I sucessfully restrict a child form inside another object, without giving the user any opportunity to resize (i noticed that I have minnimize/maximize/close buttons, even if I disable them on the child forms themselves)
I am new to VB (started last friday), but worked with a bunch of other environments, but unfortunately this one needs to be done in VB. Anyway, just point me in the right direction, I am not a complete noob.
Thanks