|
-
Nov 19th, 2001, 03:55 AM
#1
Thread Starter
Hyperactive Member
Scrolling the form
Hi everybody
i have form which contains to many controls to fit in normal 800X600 view.
Is there any way i can put scroll bars to a form depending upon height of form at runtime (like in web pages)
Thanks
-
Nov 19th, 2001, 04:06 AM
#2
You would have to put the scrollbars on the form manually and then add code in the events of these scrollbars to scroll the form.
I think the easiest way is to put all your controls on a picture box container and the put this picture box in an other, outer, picture box.
The outer picture box should be resized with the form and now it's pretty easy to move the inner picture box when the users click on the scrollbars.
IMHO scrollable forms is bad design, though.
If you can't fit the controls on the form you might want to reconsider your design.
Best regards
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
|