Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pageframe: AutoTab To Pages
Message
De
27/02/1997 11:45:23
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00022151
Message ID:
00022232
Vues:
39
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform