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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Controls move positions

Status
Not open for further replies.

sujark

Programmer
Jul 27, 2001
27
US
Hello all,

I have a simple VB form and I am placing the control in the centre of the form. But when I run it, the form moves to the right top corner of the form.

Does anybody know why this is happening?

Thanks in advance.
 

Somewhere, maybe the form load event maybe you do something like

controlname.top = 0
controlname.left = 0

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top