Esmatullaharifi
Registered User.
- Local time
- Today, 03:59
- Joined
- Jul 11, 2014
- Messages
- 27
I have one text box with the name of nametxt and one it's label with name of namelabel. I want to relocate this text box with it's label when the button02 is clicked to the new location. Thus i have tried using this code:
But this code is not working correctly and relocate the text box to the up left corner of form. How fix this issue.
I waiting for your help.
thanks,
Code:
Private Sub Command02_Click()
nametxt.Top = 0.2083
nametxt.Left = 1.0833
namelabel.Top = 0.2083
namelabel.Left = 0.5833
End Sub
I waiting for your help.
thanks,