Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When Event
Message
 
 
To
27/05/2001 13:48:53
Raymond Humphrys
Michigan Department of Community Health
Bath, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00511903
Message ID:
00511904
Views:
13
Raymond,

The When() event occurs once just before a control gets focus. If you return .f. from the When() the control will not accept focus.

You should put the code in the Click() method

>I have a command button with code in the When event. Sometimes when the button is clicked the code in the button is not executed, other times it works fine.
>
>How can I make it fire every time?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform