Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Events in classes
Message
From
25/06/1998 11:44:35
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
 
 
To
25/06/1998 09:29:37
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00111530
Message ID:
00111574
Views:
8
>I'm creating my own slider class. The slider knob is a ordinary command-button, that can be moved up and down in a container. I want to implement a scroll event to my class, like in the Microsoft Slider Control.
>
>How can I achieve this?
>
>Regards,
>
>Werner Vesteraas
>Simguard AS

You could use the MouseUp event of the CommandButton to detect when the user has stopped 'scrolling'. Then recalculate the new scroll position value, then call a user defined method called 'scroll' attached to the container.

or something similar.
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Previous
Reply
Map
View

Click here to load this message in the networking platform