General information
Category:
Forms & Form designer
Title:
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only