Hi
I'm about to switch to VS2003-VBasic from VisualBasic6. I'm building a
testproject (mdiparent form with some childforms) and I came across a strange
problem. When I click on a form then normally the form receives focus and is
shown in front of the other child forms. However this only happens if I click
on the formborder and not when I click on a control of somewhere in the form.
Am I doing something wrong (probably) or is this a known 'problem'.
In the Form_Load of de mdiparent I placed the code
dim oFrm1 as new Form1
oFrm1.Show
oFrm1.MdiParent = Me
dim oFrm2 as new Form2
oFrm2.Show
oFrm2.MdiParent = Me
Frank - 15 Dec 2005 17:29 GMT
Hi,
found it. Had to swap the lines after de dim statement.
Thanks,
Frank
> Hi
> I'm about to switch to VS2003-VBasic from VisualBasic6. I'm building a
[quoted text clipped - 11 lines]
> oFrm2.Show
> oFrm2.MdiParent = Me