Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling form like a object
Message
 
To
02/10/2001 16:37:26
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00563279
Message ID:
00563297
Views:
19
>Hi Ben;
>
>Here we go !!
>
>
>*In the Init of the form FrmA
>
>procedure frma.init
>Public pActiveB, myotherform  && I'll not use pActiveB
>pActivB = .f.
>endproc
>
>*In the Form FrmA (command button)
>
>procedure mybuttom.click
>If type("myotherform.name")<>"C"
>   Do form .\ecran\FrmB.scx name myotherform
>Else
>   myotherform.Caption= "Allo"
>   myotherform.Show()
>   activate window (myotherform.name)
>Endif
>endproc
>
>
>CLAUDIO

Thanks CLAUDIO

I juste try it and it work fine.

Ben.
Previous
Reply
Map
View

Click here to load this message in the networking platform