Results 1 to 2 of 2

Thread: Custom Scrollbar (vbRichClient)

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2012
    Posts
    1,253

    Custom Scrollbar (vbRichClient)

    As requested here http://www.vbforums.com/showthread.p...using-Pictures

    This is a custom scrollbar class that requires only to be given a reference to a picture box, as illustrated in this demo. The same class supports both horizontal and vertical orientations.

    It is 99% compliant to a regular scrollbar; the ony real exception is that it's Change and Scroll events also report the current value of the scrollbar. In the case of the latter, it actually reports an exact value (e.g. 6.72, rather than 7), which can be useful for smooth-scrolling type effects. Or you can just use Round(ExactValue) in the event handler if you prefer to not have this level of precision.

    Requires a reference to Olaf's vbRichClient5.dll
    Attached Files Attached Files
    If you don't know where you're going, any road will take you there...

    My VB6 love-children: Vee-Hive and Vee-Launcher

  2. #2
    Junior Member
    Join Date
    Jul 2016
    Posts
    28

    Re: Custom Scrollbar (vbRichClient)

    Thanks! Will check the code.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width