Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling form like a object
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Calling form like a object
Miscellaneous
Thread ID:
00563279
Message ID:
00563279
Views:
53
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
Map
View

Click here to load this message in the networking platform