Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 6 vs VFP 9 GotFocus() method
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
VFP 6 vs VFP 9 GotFocus() method
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01041458
Message ID:
01041458
Vues:
76
In my VFP 6 application I have the following code in the base textbox GotFocus method:
if this.selectonentry
	eval( this.BaseClass + "::gotfocus()" )
endif
And it worsk in VFP 6 as designed, that is, selecting the entry in the textbox when user click mouse there.

But in VFP 9 (after conversion of the project), it won't work. That is, clicking in the textbox does not select the entry.

What is the recommended method of doing it in VFP 9?

Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform