|
-
Oct 7th, 2009, 02:15 AM
#1
Thread Starter
Lively Member
Copying scrollbar setting
Hi,
Is there a way to copy a control(textbox, listbox etc..) scrollbar settings to a VB6 scrollbar. For e.g. lets say i have a list box on a form and a vertical scrollbar. When adding items to the listbox, at some time the scrollbar in the listbox will be displayed. I want the vertical scrollbar to ressemble that of the listbox scrollbar i.e. same max value, same current value and if there is no scrollbar in the listbox the vb6 vertical scrollbar becomes invisible etc...
I have a previous post in the forum abt scrollbar where RobDog888 gave a nice code but i'm unable to use that for the above context now i.e. to copy the settings to another scrollbar.
Regards
Krishley
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
|