Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add en event to the queue instead of processing immediat
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01584803
Message ID:
01584805
Vues:
90
>In validation for a field on a form I want to be able to execute the code attached to a button on the form. In certain instances, this code needs to be able to set focus to another control. You can't set focus to another control from within a valid. Is there a way to add a click event to the event queue. I though raiseevent would solve my problem, but it doesn't add it to the event queue for processing after valid is finished, it processes it immediately just as if I had called button.click(). Is there any way to add an event to execute after valid() finishes?

You can set focus to another control in Valid method in at least two ways which are documented in the help for Valid method.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform