Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stay on the same control when click the button!
Message
De
20/04/2005 18:02:14
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01006656
Message ID:
01006777
Vues:
18
One more thing, my solution will not use an object reference so there is no need to clean-up.


>>Fabio is right. I just test it.It is because that property point to object within the form where it is created. After destroing the form that property disapears and the the object it holds also is gone. If this property holds an external to form object you can't close the form until external object is alive :o)))
>
>Yes, I just tested it too :) Ok, one thing less to worry about.
>
>But actually Al has to combine your's and Glenn's solution.
>
>E.g. Textbox class should set thisform.oLastActiveControl = this in its GotFocus method. Because I found, that if you use Tab to move to command button, the code is not firing.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform