|
-
Dec 6th, 1999, 12:36 PM
#1
Thread Starter
Member
Afternoon all. This is a question that's been tugging at me for a bit. I want to have a scrollbar on a form/window, such that if a user resizes the form to the point where some of the controls are no longer displayed, the scroll bar appears. Same goes for if the users screen is too small to display all of the controls. The way I have been shown to do this in the past is to make a sort of view port using the picture box container to hold all of the controls. You then keep track of the form size compared with the picture box. If it is smaller, the scroll bar appears and you scroll the picture box - therefore simulating being able to scroll within a form.
With that long winded explanation out of the way - is there a better way to do this? It seems awfully cumbersome.
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
|