Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pageframes and setfocus 3.0 versus 5.0
Message
 
To
09/07/1997 14:50:31
Paul Watson
Mcv Global Systems, Inc.
Pasadena, California, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00039144
Message ID:
00039149
Views:
37
>I have converted an application from 3.0 to 5.0 I have forms with page frames and two pages. When I click on the page tab, it becomes active. In 3.0, the first textbox gets focus automatically. In 5.0, nothing appears to get the focus. Has anyone else seen this? Any solutions?

Yes, that's default behaviour in 5.0. Now the page itself can have a focus.
You should add some code to Page.Activate to set the focus wherever you want.
It may be generic code to set the focus to the first control on page.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform