Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
SetFocus - The BIG Question
Versions des environnements
Network:
Windows 2000 Server
I still have a problem with SETFOCUS. Many have suggested that I Use LOSTFOCUS when I want to avoid the error message "Cannot Call SetFocus ..."
The BIG QUESTION is; Why in other forms in the same application, SETFOCUS executes without the error even if I put it in the RIGHTCLICK or CLICK Events of A COMMANDBUTTON but in others it doesn't. Create a scenario that leads to this error then using that example explain to me how you solve it. Let the COMMANDBUTTON have some code in the RIGHTCLICK Event that will be run when Rightclicked, then Setfocus to another object in the same form.
Suivant
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