Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27513

Screen Location

$
0
0
Hi,

I'm trying to find out the best practice for screen location of a form.

I'm currently using

"Form1.Location = New Point(500, 100)"

Which works fine but the issue i'm finding is that depending on the monitor size of the users or screen resolution this isn't the best method to use as the location will ultimately be defined by the users screen resolution.

Any ideas on better ways doing this? (The program is a tool bar so want it at the centre and at the top of the screen)

Using Visual Studio 2012.

Viewing all articles
Browse latest Browse all 27513

Trending Articles



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