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

display form on top and in center of current application

Status
Not open for further replies.

sribu

Programmer
Mar 8, 2003
17
US


How can display a popup form on top and in the center of the currently running application in vb.net?
 
sribu,

Create you new form then make sure its startup position is set to center owner. Below is the code to show how to pop-up the form.

dim newFrm as new frmTest

frmtest.showdialog

-Bueller
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top