Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setfocus()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00140029
Message ID:
00140032
Views:
32
>I have a 3 page form. on the second page I have a command button that has this code in it's click:
>
>thisform.pgfService.Page3.txtfac_reg_labor.setfocus()
>
>can anyone tell me why it doesnt change pages???
>
>TIA
>Dan

Dan you need there
thisform.pgfService.ActivePage = 3

and move

thisform.pgfService.Page3.txtfac_reg_labor.setfocus()
to Page3.Activate.

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
Next
Reply
Map
View

Click here to load this message in the networking platform