Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning focus to the right object in valid with form
Message
 
 
To
10/09/2001 10:49:03
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00554412
Message ID:
00554690
Views:
11
>>>>I tried both, same problem.
>>>>
>>>>But when I replace the 'DO FORM' line with '? "TEST" everyting works fine.
>>>>
>>>>So the FORM messes up the normal focus behaviour.
>>>
>>>Just wondering if this.setfocus after Do Form would do the trick?
>>
>>You cannot use this.setfocus in the valid of the textbox.
>
>Right... the whole bit of code should have been in .lostfocus instead.

In lostfocus you would also need NODEFAULT after this.setfocus for it to work.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform