Link to home
Start Free TrialLog in
Avatar of dan_leniwiec
dan_leniwiec

asked on

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.
ASKER CERTIFIED SOLUTION
Avatar of Olaf Doschke
Olaf Doschke
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dan_leniwiec
dan_leniwiec

ASKER

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...

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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 ;)