Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Events in classes
Message
De
25/06/1998 11:44:35
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
 
 
À
25/06/1998 09:29:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00111530
Message ID:
00111574
Vues:
9
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform