Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with events
Message
 
À
26/05/1999 07:27:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00222837
Message ID:
00222845
Vues:
29
>I have two textboxes and when I use the key tab to go from on to the other textbox four events will occur:
>
>Textbox1.Valid
>Textbox1.Lostfocus
>Textbox2.When
>Textbox.2.GotFocus
>
>But if I do the same with mouse the events will occur like this:
>
>Textbox1.Valid
>Textbox2.When
>Textbox1.Lostfocus
>Textbox.2.GotFocus
>
>Why the events occur not in the same order when I select a textbox with a mouse click or the tab key.
>How I can change the order of these events?

I'm aware of this, it's just the way they work when using mouse click...the easiest way to avoid problems is to stick with placing your code in Gotfocus & Lostfocus only, or at least avoid using When...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform