Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding out of order pages to a PageFrame
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01076435
Message ID:
01077404
Vues:
38
>The executed code that highlights the active tab in blue is
>
>if this.PageCount > 0 and this.ActivePage > 0
> this.pages[this.ActivePage].ForeColor = rgb(0,0,255)
>
>But If I reorder the pages, it highlights the worng tab.
>
>If it's a bug, is there no way to work around it other than manually moving all fields in all pages to a differnet page?
>
It is a VFP3 native bug, now VFPT call it a feature.

The this.ActivePage property it is the PageOrder value of the Page Active.
then:
for each opage IN this.pages
   if oPage.PageOrder # this.ActivePage
        loop
   endif
   oPage.ForeColor = rgb(0,0,255)
   exit
next
>Perhaps I can hack the .frx file to change all the parent fields to the one to the right?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform