Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detect Dbl Click in a grid
Message
From
11/12/1999 18:18:09
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00302214
Message ID:
00302298
Views:
34
Hi Gerard,

>The Double click event only fires on specific controls within the grid. As my controls will vary depending on circumstances (user defined) , I would like to be able to just detect if a DblClick has occurred, or the Enter key has been entered, anywhere on the Grid.

You could put a method in your grid that all the controls in your columns fire in their DBLClick(). To Aviod putting alot of code in your grid components to trap the Enter, I suggest putting a command button on the form with Default set to .T., and call the same method as the Double Click's in the click of the command button. THat will give your users 3 (count 'em three) ways to select the record.

Does this help?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform