change mdichild on runtime

hi,
there is any way to change the value mdichild of a form on runtime?
i have a form that is mdichild=true when the program started but now i want to have a option to change this on runtime there is any way to do that?
thanks for the help
bruno
[261 byte] By [bybruno] at [2007-11-20 1:35:35]
# 1 Re: change mdichild on runtime
You can use a Setparent API.

see this SetParent ( http://www.allapi.net/apilist/SetParent.shtml)
hensa22 at 2007-11-9 19:54:34 >
# 2 Re: change mdichild on runtime
I don't quite get what you are trying to do. You have a MDIChild Form which you want to change to a Normal form. Is that what you are looking for?
Shuja Ali at 2007-11-9 19:55:43 >
# 3 Re: change mdichild on runtime
hi,
i have a form with the mdichild propertie enabled.
now i want disabled this propertie in run time there is possibile?
thanks for the help
bruno
bybruno at 2007-11-9 19:56:42 >
# 4 Re: change mdichild on runtime
This property is readonly at runtime, so you cannot change it. Why would you make a MDIChild as non MDIChild during runtime.
Shuja Ali at 2007-11-9 19:57:36 >
# 5 Re: change mdichild on runtime
I send you code little .
see it

but
how Shuja Ali say :
Why would you make a MDIChild as no MDIChild during runtime?
hensa22 at 2007-11-9 19:58:40 >
# 6 Re: change mdichild on runtime
hi,
i have a mdichild and many forms and i want change the value form.mdichild=false/true of any form in runtime for best experience and performance of the person that uses the program, imagine that person have two monitors and want two or three forms in the monitor of left and the other with the main program i already see this in other programs and i think that is a useful ideia, them i decided to add this function to my project .
thanks for the attention i will see the sample code
thanks
bruno
bybruno at 2007-11-9 19:59:39 >
# 7 Re: change mdichild on runtime
the code works fine, only the scrollbars of mdiform dont work
thanks
bruno
bybruno at 2007-11-9 20:00:39 >