|
-
Sep 28th, 2003, 09:16 AM
#1
Thread Starter
Frenzied Member
Moving form to secondary monitor? :S
How can i move my form to a secondary monitor?
-
Sep 28th, 2003, 09:25 AM
#2
I wonder how many charact
If in a dual-display setup, I imagine you get the bounds of the primary screen , and set the x,y location of the form to greater than the x bound of the primary display.
VB Code:
Me.Location = _
New Point(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Y)
Last edited by nemaroller; Sep 28th, 2003 at 09:29 AM.
-
Sep 28th, 2003, 09:31 AM
#3
I wonder how many charact
let me know if that works...
-
Sep 28th, 2003, 09:52 AM
#4
Thread Starter
Frenzied Member
it works.. IF your secondary monitor is set to the right side of the primary...
you can reposition your secondary monitor to be on top of the other (thus having to move the mouse out of the top of the screen) or to the left of the screen... :S
isnt there a way to just put it on the other monitor?
(ofcourse dragging helps but my app has to do it on his own :S
hmm ok another question is how to get info from the secondary screen anyway :S
-
Sep 28th, 2003, 10:16 AM
#5
I wonder how many charact
Well, IF, the system has two monitors:
This SHOULD do it, but let me know because im curious myself.
VB Code:
Me.Location = New Point(Screen.AllScreens(1).Bounds.X, Screen.AllScreens(1).Bounds.Y)
-
Sep 28th, 2003, 10:21 AM
#6
Thread Starter
Frenzied Member
Like a Glovaaaah (ace ventura :P)
works great thank u ... lets add that to my snippet library :P thanks
-
Sep 28th, 2003, 10:26 AM
#7
I wonder how many charact
I'm gona have to get me a dual-display setup for coding some time (got one at work, but not home).
-
Sep 28th, 2003, 10:27 AM
#8
Thread Starter
Frenzied Member
well i have it at work too.. and found an old 15'' and have an ati radeon 9700 pro.. thus i thought hey why not make use of it ..
-
Sep 28th, 2003, 10:27 AM
#9
I wonder how many charact
VB Code:
If Screen.AllScreens.Length > 1 Then _
Me.Location = New Point(Screen.AllScreens(1).Bounds.X, Screen.AllScreens(1).Bounds.Y)
Should be that I guess in case there is only one display.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|