Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21884

[RESOLVED] Center Form2 first time then leave it the way user wants it

$
0
0
When Form1 calls Form2 for the first time only I want Form2 centered over Form1. Now I'm sure that user(s) will want to move Form2 to suit their likes. When Form1 calls Form2 thereafter I want Form2 to be left where user(s) placed it. I know to center Form2 by making Form2's startup position "CenterOwner" and call Form2 using Form2.Show , Me. Thats OK for the 1st time but how to leave it alone the next time. I'm pretty sure you can't change StartUp position during run-time.

Viewing all articles
Browse latest Browse all 21884

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>