Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Act on a DoubleClick event
Message
 
To
03/06/2005 04:38:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01019702
Message ID:
01019735
Views:
14
Hi Tore.

I'll give that a try.
Thanks
Gerard



>Have you tried to add code to the grid's dblclick event, or the grid's keypress event?
>
>>Hi.
>>Is there any way , within a form, of running code on a DoubleClick (or Return Key) event thats pressed from within a grid.
>>I want to exit the form if either the DobleClick or the Return key is pressed inside in the grid.
>>
>>Now, I know I can do this on the the control within the Grid, but this means changing all my base classes and I dont want to do that.
>>Nor is it that easy to 'over-ride' the doubleclick event of the control in the grid as the fields within the Grid are data driven from my framework (i.e. The Grid itself does not have any controls.. these are added programaticlly)
>>
>>Idealy what I would like to be able to do is something like:
>>
>>On Key DoublClick (In the Grid) Or On Key Return(in the Grid)
>> SomeCode Here
>> Thisform.Release
>>
>>Any help appreciated
>>
>>Regards,
>>Gerard
Previous
Reply
Map
View

Click here to load this message in the networking platform