>Hi all !
>Any one have worked on old microsoft scrollbar (activeX) oleclass="MSComCtl2.FlatScrollBar.2" ?
>i tried it for a first time , i made it scrolling a container of objects Vertically and horizontally but its does not memorize
>correctly initial position of objects !
>i used the 2 methods (scroll and change). and the settings properties of the flatscrollbar.
>the initial position (of many objects) with min scrollbars (value=0) property is not respected all time ! Any work around?
I once made my own scrollbar using a container class. Main container has the size of the relative object, and a container inside has the relative size based on the visible vs. invisible part.
By moving the inside container it calls an event that moves the object accordingly.
Christian Isberner
Software Consultant