Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can 'LOSTFOCUS' cancel 'CLICK' ?
Message
From
24/04/2002 16:59:24
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Can 'LOSTFOCUS' cancel 'CLICK' ?
Miscellaneous
Thread ID:
00648871
Message ID:
00648871
Views:
45
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
Map
View

Click here to load this message in the networking platform