Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Show Form Hide
Message
De
13/02/2003 18:17:13
 
 
À
13/02/2003 08:54:48
Julie Ball
Gardner Publications, Inc.
Cincinnati, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00752644
Message ID:
00752978
Vues:
17
Hello Julie.

When I call 'DO' form B I have form A.Hide in Form B's load method, but I get an error that says "Object form A is not found". What is it that I am doing wrong?

In a addition to what Caroline has told you, there is an easy way to hide form in the Form B's load. When Form B's Load method is firing, _Screen.ActiveForm is still pointing to Form A. So all you need in Form B's Load to hide Form A, is this:
IF TYPE( '_Screen.ActiveForm.Name' ) = 'C' AND ;
  LOWER( _Screen.ActiveForm.Name ) == LOWER( '< Name of Form A >' )
  _Screen.ActiveForm.Hide()
ENDIF
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform