Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Button in a Container on a Grid needs dbl-click
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Miscellaneous
Thread ID:
01426119
Message ID:
01426963
Views:
191
>Hi Brandon,
>
>do you use an ON KEY LABEL to capture mouse events? Do you have code in the MouseUp event? The click can be prevented with NODEFAULT in said event.
>
>if that's not the case, turn on event logging in the debugger. You'll see if the first mouse click goes somewhere else. Also the coverage log (SET COVERAGE TO...) will identify any additional code that is executed.

I used the event logging as suggested and couldn't get any behavior to fire on the container or the button on the first click. Then, after banging my head against the wall for another 30 minutes, finally remembered that I had set AllowCellSelection to .F. on the grid and of course, that is causing the problem!!!! Being this stupid, I'm amazed I can even get on the UT! I hereby submit myself for banishment :)
Brandon Harker
Sebae Data Solutions
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform