Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pageframe: AutoTab To Pages
Message
From
27/02/1997 11:45:23
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00022151
Message ID:
00022232
Views:
43
>>VFP50
>>NT Workstation 4.0
>>I have created a pageframe.
>>On one of the pages I created a button.
>>In the 's click() event I wrote:
>>NODEFAULT
>>name_of_next_page.ObjectName.Setfocus()
>>thisform.refresh
>>thisform.name_of_next_page.refresh()
>>It doesn't jumb to the next page when I hit the button.
>
>Setting focus to the control on another page does not automatically
>activate that page. You have to write in Click() somethig like
>
>this.parent.parent.ActivePage=myNextPageNumber
>this.parent.parent.MyNextPage.MyObject.SetFocus()
>
>Are you using PageFrame with no tabs?
>What is the reason to do it with Button?
>You can also set focus to ObjectINeed in Page Activate()
>
Nick,

I did the ActivePage=# thing and it worked. Thanks!!!

The form is actually an import wizard for a user.
All pages are disabled initially except the first.
As the user answers questions and makes corrections,
they hit the command button.

The next page has more questions\corrections to the
import.

Exactly like wizards perform.

Thanks again,
Gene
Previous
Reply
Map
View

Click here to load this message in the networking platform