Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Child in a child in a child in a child...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01141898
Message ID:
01141956
Vues:
23
>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
* move the form in screen
show WINDOW form1 IN screen
* OS ref
=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

* Move Form2 into Form1
SetParent(ay[1].hwnd,ax[1].hwnd)

MODIFY FORM new3 nowait
?ASELOBJ(az,3)

az[1].Caption = "Form3"

* Move Form3 into Form2
SetParent(az[1].hwnd,ay[1].hwnd)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform