Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Container class with checkbox
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Container class with checkbox
Miscellaneous
Thread ID:
00149721
Message ID:
00149721
Views:
42
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.
Next
Reply
Map
View

Click here to load this message in the networking platform