Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid and button default set to true
Message
From
17/02/2010 15:40:00
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01449485
Message ID:
01449555
Views:
72
This message has been marked as the solution to the initial question of the thread.
in the grid keypress event
if tnEvent=13
   thisform.defaultbutton.click()
endif 
>Hi,
>
>A form has a grid and a button with Default property set to .T. How can I make this button click to be called when user presses on Enter key and the focus is in the grid?
>
>TIA.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform