The Top property (just like the Left property) of a control inside a form is the value of that property inside the form (not inside the screen).
Try this:
.Move frmMain.Left, frmAddSku.cmdConfirm.Top + frmAddSku.Top
>Thank for your advise.
>I had set the startupPosition property of the form to 0, but
>it still don't show as I stated, but the left position is always
>correct, but not the top position.
>
>Below is my code to load the form, it should position the keyboard
>form at the same left position of my frmMain and its top should be at frmAddSku
>command button top position, but it just didn't. Please kindly advise.
>
> With frmKeyBoard
> .SetUp frmAddSku, "txtplu"
> .Move frmMain.Left, frmAddSku.cmdConfirm.Top
> .Show vbModal
> End With
>
>
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com