Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Calling form like a object
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement