Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Container class with checkbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Container class with checkbox
Divers
Thread ID:
00149721
Message ID:
00149721
Vues:
43
I'm building a checkbox class with one checkbox in a container for use in a grid column. My idea was to build a class that would enable the user to click on the grid column and with the left mouse held down, the user could drag up or down the columns to either select or deselect the checkbox. I've created this class with the mouseover event and a timer and it works okay only when the mouse button is held down *before* entering the control (I can only get this to work in a form with the checkbox class since there is enough space to click on the form outside of the checkbox and then start dragging across the checkbox controls). If I click on the checkbox first and then drag the mouse up or down, it appears that my focus isn't leaving the first checkbox that I've clicked. Since this was built to use in a grid, it doesn't work at all since there won't be and area around the checkbox control in the column. I'm sure I'm missing something simple...I just don't know what it is.

I hope this message makes some since. It was hard for me to explain exactly what I'm trying to do here.

If you have any ideas for me I would appreciate hearing from you!

Thanks.

John.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform