Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page Index vs. Page Order
Message
De
25/03/1998 11:40:41
 
 
À
25/03/1998 11:23:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00087016
Message ID:
00087022
Vues:
29
>I understand that page index does not necessarily equal to the page order. After I created a pageframe, I rearranged the page order and thus, the page index is not the same as page order. Now, I need to move from one page to another according to their page order, and at the same time, I need to access the property of the new page. Using
>
>thisform.pageframe.pages(.activepage).property=something
>
>will change the property for the wrong page because page index is not the same as page order. Does anyone know how I can accomplish the task. Thanks in advance.
>
>Chu

If you really want to get this functionality, then do following:
1. Add new form property 'Activepageobject'
2. Add to each Page.Activate event
thisform.activepageobject=this
3. Add to Form.Destroy event
this.activepageobject=.NULL.

Now you can reference active page e.g.
=messagebox(thisform.activepageobject.name)
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform