Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling form like a object
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Calling form like a object
Divers
Thread ID:
00563279
Message ID:
00563279
Vues:
59
Hi all
I got this situation.
In the Init of the form FrmA I have this public variable
Public pActiveB
pActivB = .f.

In the Form FrmA I have put a command button and i put this code on the click event

If !pActiveB
Do form .\ecran\FrmB.scx
Else
FrmB.Caption= "Allo"
FrmB.Show()
Endif

In the Init of the form B the variable pActiveB is setto True
pActivB = .T. This way if d'ont do a another do form.

But It look like I can't call a form this way ???? Vfp
VFP give me the 1923 Error number
can't FindObject "FRMB"

Any Tips.

Ben.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform