Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding out of order pages to a PageFrame
Message
From
13/12/2005 01:44:10
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01076435
Message ID:
01077404
Views:
36
>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform