Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Move or reposition a control in a form

Status
Not open for further replies.

aperez54

Technical User
Aug 12, 2008
77
CA
I have 5 combo boxes with labels that are currently piled on top of each other. On click of a command button I want a combo box with its corresponding label to "move" or reposition to a certain spot on the form.

I set the top and left property of the control and label on the On click event of the command button but nothing happens.

Any ideas?

Thanks in advance
Annie
 
I did:
Private Sub Command4_Click()
Me![topcombo].Left = 4300
Me![topcombo].Top = 4300
End Sub

And it worked. Remember, the dimension is in twips. 1 inch = 1440 twips.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top