Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form(s) within another
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01058371
Message ID:
01058524
Views:
18
Dawa,

MDIform is something I overlooked. Unfortunately, in my case, setting the parent form as top-level is not an option, as it may obscure other existing forms that are not mdi child forms. I'll have to play with it a little more.
Thanks for the suggestion.

Sorin


>>
ACTIVATE WINDOW (frmGuest.Name) IN WINDOW (frmHost.Name)
>>Are we asking for trouble handling forms through ACTIVATE WINDOW?
>>
>>TIA
>
>Sorin,
>
>I don't know about what trouble you might run into with the ACTIVATE method, but here is another way.
>
>PUBLIC otopform
>otopform = CREATEOBJECT("topform")
>otopform.show()
>DEFINE CLASS topform as Form
>	mdiform = .t.
>	showwindow =2 && As top level
>	backcolor = RGB(255,255,255)
>
>	ochild = null
>	FUNCTION click()
>		this.ochild = CREATEOBJECT("childform")
>		this.ochild.show()
>	ENDFUNC
>ENDDEFINE
>
>DEFINE CLASS childform as Form
>	mdiform = .f.
>	showwindow =1 && in top level
>	backcolor = RGB(0,0,200)
>	FUNCTION click()
>		thisform.Release()
>	ENDFUNC
>ENDDEFINE
>
Previous
Reply
Map
View

Click here to load this message in the networking platform