Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Placing windows in other windows
Message
From
02/10/2001 19:45:23
 
 
To
02/10/2001 16:50:18
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00563299
Message ID:
00563365
Views:
19
>Is there a way to instantiate a form, and tell the system that this form is a window that is inside the window of another form (like IN WINDOW for windows created in the Fox2.6 way)? And can this association be changed on the fly?
>
>JON MELVIN
>jdm@vi-i.com

You can define a window in the FPW2.6 way and place it inside of a form, but not another VFP form. For example:
Define Window myWindow At 5,1 Size 13, 45;
	In Window frmEditor Name oEditor
oEditor.Visible = .t.
Where frmEditor is your existing form. Once created you can treat it like another VFP form, for the most part. Notice the use of the Visible property instead of the FPW Activate Window equivalent. I haven't tried to change the association to another form though.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform