Question Set Focus on child of MDIForm

gemepaso

New member
Joined
Sep 12, 2008
Messages
1
Programming Experience
3-5
When I open a child Form in VB6, for to set the focus on the form was sufficient to:

NameForm.Show
NameForm.SetFocus

and eventually ...

Me.Top = 0
Me.Left = 0

At VB.2005 ..

NameForm.MdiParent = Me
NameForm.Show()
NameForm.Focus()

Me.Top = 0
Me.Left = 0

I don't know why this does not work...?!?

Tks
Mark
 
Back
Top