Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deactivate of the page fires when you click on the same
Message
De
30/06/2005 11:12:21
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01025827
Message ID:
01027703
Vues:
32
>>A word I pronounce: BUG.
>
>In order to overcome this problem we have to move code into Page's Activate. But this presents other problems. One of them: how to find the name of the page based on its PageOrder?
>
>Thanks.

Add this method to the pageframe,
it is a horrible solution,
but without structuring the object it is better difficult to do of
MemberOrderToObject(iOrder)
IF this.Objects[m.iOrder].PageOrder=m.iOrder && MORE FREQUENTLY CASE
    RETURN this.Objects[m.iOrder]
ENDIF
Private iIndex
FOR iIndex=1 TO this.Objects
   IF this.Objects[m.iIndex].PageOrder=m.iOrder
      RETURN this.Objects[m.iOrder]
   ENDIF
NEXT
A best solution is to add the MemberIndex property to all VFP classes
and to write the whole code to manage it in
- Member.Init
- RemoveObject
- AddObject
-.....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform