Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Network:
Windows 2003 Server
>>>Do you mean that it is impossible to use Setfocus in Textbox.Lostfocus?
>>>
>>No, he meant it's impossible to do this in Valid.
>
>Thanks God.
>By the way, I saw a Microsoft advice, about 13 years old, that Valid is included for backward compatibility and should not be used in VFP, and I followed it by using LostFocus all times. Still alive.
Yep. And I've used setfocus from lostfocus a lot because it seems to me to be the most reliable way to get the entire text in the textbox hilighted. There are other ways naturally, but I just found this way to be most consistent.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement