Is it possible to increase the size of forms larger than the screen size?
Why is it that forms don't have scrollbars? I was wondering if there is a way to increase the size of the forms to an indefinite size? I know you can use other controls with scrollbars, but how about the form itself?
Thxs...
Re: Is it possible to increase the size of forms larger than the screen size?
You can scroll it by, for example, moving the ojects up and down - but I wouldn't go there. Basically, the rule is, if it all doesn't fit on the screen then your design is bad. Make two forms or three or four - it'll look better and be easier to use.
Phil
Re: Is it possible to increase the size of forms larger than the screen size?
Go to Http://www.Planet-Source-Code.com/vb and search on "Scrolling Forms" (without the quotes of course) and you will get three hits.
John G
Re: Is it possible to increase the size of forms larger than the screen size?
you can use MDI forms.Mdi forms provide scroll bars when more than one child forms are displayed at a time and are getting out of the limits of the MDI form.Place your controls on different child forms and show them in the MDI form togather.do not use the 'me.windowsrtate=2' statement with the child forms.place the child forms side by side.set the borderstyle property of all the child forms to none.now when you run your program you will find that MDI form has automatically attatched scroll bars for you to scroll through all the child forms which look like one form.to make it look better you can set the caption property of the MDI form to "" and the controlbox property to false.this will make
the title bar of the MDI form disappear.
note:do the coding for placing the child forms in the activate event.
let me know if it helps you.
Re: Is it possible to increase the size of forms larger than the screen size?
just to give you one more way of doing it- place all your controls in a pictureBox and do coding to attatch scrollbars to the pictureBox.this will be lot easier than attatching scroll bars to a form.
let me know if it helps you.