Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detect Dbl Click in a grid
Message
 
To
11/12/1999 20:26:12
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00302214
Message ID:
00302369
Views:
30
>I think he means that you put a commandbutton in the form.
>If you set the default prop of the commandbutton to .t., when you press the enter key , the commandbutton click will fire.
>

Luciano, thanks for your reply.
When you press the enter key..... Does this mean 'Clicking' on this command button, which will not be on the grdid ? . This will not be very intuitive to the user who wants to select a row from the grid, rather than clicking on a command button , which is outside of the grid ?



>And for the dblclick you sould subclass all the base controls, add code to the doubleclick method of the subclassed controls, and add them to the grid.


If I do this, am I right in saying that once a user double clicks on 'Any' control on the form, the double click will fire. There is then no way of telling that a doublle click was done 'on' the grid, or from which grid if there is more than one grid on the form ?

Regards,

Gerard
Previous
Reply
Map
View

Click here to load this message in the networking platform