|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
form locationdoes anyone know how to change a form loaction ? I tried ... frmTest = new Form frmTest.location = new point (0,0) frmTest.show() it doesn't work ... Has anyone have any idees ? Thanx John John,
You need to set frmTest.StartPosition = FormStartPosition.Manual before you set the location and before you call the show method. Greetings, Philip. Thanx... it works great ....
Your the best ... John Show quoteHide quote "Philip Hristov" <phristo***@gmail.com> schreef in bericht news:1113315241.999542.275990@o13g2000cwo.googlegroups.com... > John, > > You need to set frmTest.StartPosition = FormStartPosition.Manual before > you set the location and before you call the show method. > > Greetings, > > Philip. > "John Devlon" <johndev***@hotmail.com> schrieb: Make sure the form's 'StartPosition' property is set to 'Manual', otherwise > does anyone know how to change a form loaction ? > > > I tried ... > > frmTest = new Form > frmTest.location = new point (0,0) > frmTest.show() the form will be repositioned according to the startup position setting before it is shown. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
complex grid with comboboxes
Freetextbox.com question Reading from a ini-file and run a program How do I measure the time it takes to copy a file? checkbox in dataset Visual Basic.Net Permission Draw text on a image and save the result step by step guide to databinding? Positioning a Web Control - Runtime Datagrid 's TextBox input format question. |
|||||||||||||||||||||||