Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tab Active command
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Divers
Thread ID:
00989779
Message ID:
00990510
Vues:
27
Perfect hugo, thanks
Slán
~M

>>hi all
>>I have a wierd one, this was working a while ago but is no longer and i have not changed any of the code. on a screen i have a button at the bottom "add" that is not in the pageframe. In the pageframe i have 7 tabs, with tab1 being active when the screen is first loaded. when a user clicks on the "add" button the code says thisform.pgf1.page2.active but this code does nothing, i put in a few wait windows and the code is passed through and run but this no longer activates the second tab. am i missing somthing?
>>Slán
>>~M
>
>Mark, you should use the ActivePage property of the PageFrame, something like
>
>
>with thisform.pageframe1
>   .ActivePage = Iif(.ActivePage = .PageCount, 1, .ActivePage + 1)
>endwith
>
Go raibh maith agat

~M
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform