Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pagex.deactivate()
Message
De
17/05/1998 21:18:16
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Pagex.deactivate()
Divers
Thread ID:
00100020
Message ID:
00100020
Vues:
131
I had this working in VFP3 but in VFP5 I can't.
I thought that returning .F. in the Page.deactivate would prevent the clicked tab page from activating.
Here's some code
* --- Page1.deactivate ---
RETURN THIS.PARENT.deactivatePage()

* --- Pageframe.deactivatePage ---  (custom method)
RETURN THISFORM.Save()
Now if the user clicks on Page 2's tab and the Save() returns .F. I would expect Page 1 to stay active.
So I've gone wrong somewhere, 'cause it's not working. Any clues?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform