Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another grid question...
Message
From
25/06/2003 17:28:29
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
25/06/2003 15:24:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00803964
Message ID:
00804018
Views:
20
>Is there a way to cause a double-click event to fire using the keyboard? I have a grid where the columns are all read-only. The textboxes in the grid columns all have code in their double-click events to cause a command button to fire in the event the user double-clicks on a row in the grid. The command button uses a value on the current row they double-clicked on to cause a specific action to be taken for that value. Is there any way to affect the same thing via the keyboard only? And I've tried using the corner of the keyboard to double-click the mouse but it's still a little bit cumbersome... :)
>
>Thanks,
>Jim White

You could intercept KeyPress() (for each Column.TextBox), to check for a specific keystroke.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform