Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Holding the name of a control as a string?
Message
De
05/03/2002 12:49:14
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00628023
Message ID:
00628549
Vues:
23
Chris,

This creates a loop...your lostfocus() sets the focus right back onto the form, so this is expected behaviour.

Can you restate exactly what it is you're trying to accomplish?


>I decided to start from scratch and build a little test project to seem if I could recreate the behaviour - I can with two forms...
>Form A has textbox and button...
>
>Form A - lostfocus
>
>lnAnswer = messagebox("     Lost Focus of the form          ", 0 + 48 + 0, "System Message")
>thisform.txtText.setfocus()
>
>
>Form A - the button click
>
>do form formB
>
>
>When the first form is loaded and the button clicked you get one messagebox then second form loads up - if you then click anywhere on the second form you get the two messageboxes - one after the other...
>
>I have recreated it - now to solve it!!!
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform