Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Can 'LOSTFOCUS' cancel 'CLICK' ?
I'm having a difficult problem with the controls on a form. I have a form that contains a pageframe and a few buttons. All the textbox's are on the individual pages. I have a string of a combo box and three text boxes that have to be entered in order. They are part of a few dozen fields on that page. In order to get the user to go through all four fields in order, I used 'lostfocus' to 'setfocus' on the next field. This works very well unless the user clicks on a command button outside of the pageframe. When that happens, both the 'lostfocus' of the text box and the 'click' of the command button both run.
Why is the 'setfocus' not working outside the pageframe?
Any help is greatly appreciated.
Thanks,
Larry Morelli
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