Is there any way to create a Child form via API? This is, I want to create by code, a form that be a child form from another.
Printable View
Is there any way to create a Child form via API? This is, I want to create by code, a form that be a child form from another.
Do you mean this?
Code:Dim NewForm As New Form1
Nop,
In a MDI Child form, when the focus is in any control of the Child Form, the Title Bar of MDI (Parent) form is activated.
I want to have two different forms but when the focus is in any control of the form2 the form1 shows as activated.
I have found source code to modify the appearance of the TitleBar but allways do it with sub-classing that is a Technical ellitle unpredictible and not dessired.
Any idea about it?