Regarde du coté de la propriété "IsMdiContainer" de ton formulaire principal
"kleomas" a écrit dans le message de news:4100d572$0$29381$
Bonjour,
je suis nouveau en VB.NET. Je voudrais savoir comment inclure un formulaire dans un autre (equivalent d'un sous formulaire en MS ACCESS).
Merci pour votre aide.
ng
Salut,
Outre le MDI, tu peux regarder du coté de SetParent() :
Declare Function SetParent Lib "user32" Alias "SetParent" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long
-- Nicolas G. FAQ VB : http://faq.vb.free.fr API Guide : http://www.allapi.net Google Groups : http://groups.google.fr/ MZ-Tools : http://www.mztools.com/ http://apisvb.europe.webmatrixhosting.net/
kleomas a écrit :
Bonjour,
je suis nouveau en VB.NET. Je voudrais savoir comment inclure un formulaire dans un autre (equivalent d'un sous formulaire en MS ACCESS).
Merci pour votre aide.
Salut,
Outre le MDI, tu peux regarder du coté de SetParent() :
Declare Function SetParent Lib "user32" Alias "SetParent" (ByVal hWndChild
As Long, ByVal hWndNewParent As Long) As Long
--
Nicolas G.
FAQ VB : http://faq.vb.free.fr
API Guide : http://www.allapi.net
Google Groups : http://groups.google.fr/
MZ-Tools : http://www.mztools.com/
http://apisvb.europe.webmatrixhosting.net/
kleomas <kleomas@free.fr> a écrit :
Bonjour,
je suis nouveau en VB.NET. Je voudrais savoir comment inclure un
formulaire dans un autre (equivalent d'un sous formulaire en MS
ACCESS).
Outre le MDI, tu peux regarder du coté de SetParent() :
Declare Function SetParent Lib "user32" Alias "SetParent" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long
-- Nicolas G. FAQ VB : http://faq.vb.free.fr API Guide : http://www.allapi.net Google Groups : http://groups.google.fr/ MZ-Tools : http://www.mztools.com/ http://apisvb.europe.webmatrixhosting.net/
kleomas a écrit :
Bonjour,
je suis nouveau en VB.NET. Je voudrais savoir comment inclure un formulaire dans un autre (equivalent d'un sous formulaire en MS ACCESS).
Merci pour votre aide.
ng
Rectification pr .Net :
Declare Function SetParent Lib "user32" Alias "SetParent" (ByVal hWndChild As Int32, ByVal hWndNewParent As Int32) As Int32
-- Nicolas G. FAQ VB : http://faq.vb.free.fr API Guide : http://www.allapi.net Google Groups : http://groups.google.fr/ MZ-Tools : http://www.mztools.com/ http://apisvb.europe.webmatrixhosting.net/
kleomas a écrit :
Bonjour,
je suis nouveau en VB.NET. Je voudrais savoir comment inclure un formulaire dans un autre (equivalent d'un sous formulaire en MS ACCESS).
Merci pour votre aide.
Rectification pr .Net :
Declare Function SetParent Lib "user32" Alias "SetParent" (ByVal hWndChild
As Int32, ByVal hWndNewParent As Int32) As Int32
--
Nicolas G.
FAQ VB : http://faq.vb.free.fr
API Guide : http://www.allapi.net
Google Groups : http://groups.google.fr/
MZ-Tools : http://www.mztools.com/
http://apisvb.europe.webmatrixhosting.net/
kleomas <kleomas@free.fr> a écrit :
Bonjour,
je suis nouveau en VB.NET. Je voudrais savoir comment inclure un
formulaire dans un autre (equivalent d'un sous formulaire en MS
ACCESS).
Declare Function SetParent Lib "user32" Alias "SetParent" (ByVal hWndChild As Int32, ByVal hWndNewParent As Int32) As Int32
-- Nicolas G. FAQ VB : http://faq.vb.free.fr API Guide : http://www.allapi.net Google Groups : http://groups.google.fr/ MZ-Tools : http://www.mztools.com/ http://apisvb.europe.webmatrixhosting.net/
kleomas a écrit :
Bonjour,
je suis nouveau en VB.NET. Je voudrais savoir comment inclure un formulaire dans un autre (equivalent d'un sous formulaire en MS ACCESS).