|
-
April 23rd, 2001, 01:53 PM
#1
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...
-
April 23rd, 2001, 06:35 PM
#2
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
-
April 24th, 2001, 07:37 AM
#3
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
-
April 24th, 2001, 07:50 AM
#4
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 o the coding for placing the child forms in the activate event.
let me know if it helps you.
-
April 24th, 2001, 07:55 AM
#5
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.
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
|