Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why cant a SetFocus be used in Valid method ?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00658596
Message ID:
00658618
Views:
11
Yes. The Click() event occurs when a user
- left clicks on command button with mouse,
- when focus is on command button, presses spacebar or enter.
Make sure that you don't have a command button with Default=.T. Otherwise pressing enter will always trigger Click() of that button.

>Sergey, tthks for your reply.
>
>If the code is put in the commandbutton's Click() event, and the user wants to run the code by landing on it (Say by pressing the Tab Key) and then hitting the Enter key, Is the Click event code run ?
>
>(This would be quite common for fast heads down data entry)
>
< snip >
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform