Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invisible Command Buttons
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00539138
Message ID:
00539446
Vues:
12
Viorel,

Actually RETURN .F. in the When Event doesn't allow the click event to fire because the When event fires before the Click event. The Click event does fire before the GotFocus event. So as I initially stated, adding code to the invisible button’s GotFocus event that sets focus to another control or NODEFAULT provides the results Kevin is looking for. FYI, adding RETURN .F. to the GotFocus event does not prevent the control from getting focus. The code must set focus to another control. Try it yourself.

Will

>In order for the button not to get focus,write in
>When event:
>"return .f."
>this will prevent the button from getting focused.
Heavy Metal Pedal - click with care
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform