12 Reputation Points
Ranked #2K
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
100% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
0 Endorsements
Ranked #107.55K
1 Posted Topic
Re: The issue with using primaryscreen is that you might not be on the primary screen and also the screens may be offset with respect to the primary. This code eliminates that and centers the form in the current screen: Dim currentArea = Screen.FromControl(Me).WorkingArea Me.Top = currentArea.Top + CInt((currentArea.Height / 2) … |
The End.