how to set formset as child form

Hey,
I have a formset (in VFP9) consisting 2 forms. I also have a main form with properties:
- ShowWindow = 2 as-top-level
- Desktop = .F.
- WindowType = Modal

What I wan't to do is to open a formset in main form.
Just like a form with property ShowWindow = 1 in-top-level.

A formset doesn't have this property :( I have booth forms in formset properties set to:
-desktop = .F.
-ShowWindow = 1 in-top-level
- windowType = modeless

Please help.
dan_leniwiecAsked:
Who is Participating?
 
Olaf DoschkeConnect With a Mentor Software DeveloperCommented:
The forms within the formset have the property. The formset object is only for the formset datasession and other stuff shared among the forms of the formset.

Anyway the best recommendation you can get is to stay away from formsets.

Bye, Olaf.
0
 
dan_leniwiecAuthor Commented:
Thanks, but that doesn't help ;)
I have an application that I need to change. I would like not to make complete remake of the program. Whole application was made to work in fullscreen mode so it's written using desktop = .T. and showwindow = 0-inscreen and modal forms. I need to make it fully resizable. I make a class that resize all controls on the form during "Resize" event.
Of course I can open the formset with parameters of windowsize and resize it manualy. And after closing a formset activate previous form. But i wonder there is other, simplier solution...

0
 
Olaf DoschkeConnect With a Mentor Software DeveloperCommented:
So it's just more about the convinience to start a set of forms with the formset? And it's more a visual thing? Well, a formset is nothing but a set of forms, you can pull them out and create them separate, no need to rewrite.

Use the SaveAsClass Method while the formset is running.

Bye, Olaf.
0
 
dan_leniwiecAuthor Commented:
Heh, now I know why You can't understand me :D So stupid ;)
Everything works fine with ShowWindow = 1. But I had a base class for the formset, where starting settings was different from the one i've changed and that's why it doesn't work from the beginning :/

Thanks for Your help Olaf ;)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.