General information
Category:
Forms & Form designer
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only