>Hallo everybody.
>I have a question in thread ID:
1140897. I have tried myself and I have asked friends about it. But nowhere I found any solution.
>
>So, my simple question is:
>Is it totally impossible to do a childform inside another childform when I use the formdesigner? (Or a child in a "no toplevel form" placed in "_screen"?)
>If I use "define window" I can create a window inside an other window, and create a new window in that one, and so on, as many levels I want. But in that case I cant use the formdesigner to create and place objects in the forms, so that is no solution.
>
>Does anyone have any comments about this.
>I am so frustrated.
>Have a nice day
>/Kjell
CLEAR
MODIFY FORM new1 nowait
show WINDOW form1 IN screen
=ASELOBJ(ax,3)
?ax[1].hwnd
MODIFY FORM new2 nowait
?ASELOBJ(ay,3)
?ay[1].hwnd
ay[1].Caption = "Form2"
DECLARE SHORT SetParent IN WIN32API LONG, LONG
SetParent(ay[1].hwnd,ax[1].hwnd)
MODIFY FORM new3 nowait
?ASELOBJ(az,3)
az[1].Caption = "Form3"
SetParent(az[1].hwnd,ay[1].hwnd)