![]() ![]() |
May 27 2007, 04:06 PM
Post
#1
|
|
|
No way... It compiles? SHIP IT! Group: Moderators Posts: 609 Joined: 27-December 04 From: Thunder Bay, Ontario Canada Member No.: 2,133 ![]() |
I am wondering how would someone move the form in visual basic?
I have seen this done and Google is not helping. Thanks -------------------- -Mad_cow |
|
|
|
May 27 2007, 06:25 PM
Post
#2
|
|
|
SuperNova III Member Group: Support Team Posts: 2,141 Joined: 2-November 02 From: Toronto Member No.: 302 ![]() |
never used VB beyond scripting but doesn't setting a form's location (probably top and left properties) to a new pair of x,y move it?
|
|
|
|
May 29 2007, 05:46 PM
Post
#3
|
|
![]() Boss, my code's compiling (xkcd) Group: Admins Posts: 10,440 Joined: 19-September 01 Member No.: 1 ![]() |
Try this on form load or wherever else you want to change its position:
CODE Me.Location = New Point(x, y) replacing x and y of course. -------------------- ![]() ![]() Things that I don't suck at: Photography (flickr, JPG Mag), "Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com |
|
|
|
May 29 2007, 08:42 PM
Post
#4
|
|
|
No way... It compiles? SHIP IT! Group: Moderators Posts: 609 Joined: 27-December 04 From: Thunder Bay, Ontario Canada Member No.: 2,133 ![]() |
I have figured out how to do this, so should I post some code?
-------------------- -Mad_cow |
|
|
|
Jun 27 2007, 03:11 PM
Post
#5
|
|
|
No way... It compiles? SHIP IT! Group: Moderators Posts: 609 Joined: 27-December 04 From: Thunder Bay, Ontario Canada Member No.: 2,133 ![]() |
Heres an example of what I was trying do.
Attached File(s)
-------------------- -Mad_cow |
|
|
|
Jun 29 2007, 09:19 PM
Post
#6
|
|
![]() Boss, my code's compiling (xkcd) Group: Admins Posts: 10,440 Joined: 19-September 01 Member No.: 1 ![]() |
Nice...You might want to disable the maximize button.
-------------------- ![]() ![]() Things that I don't suck at: Photography (flickr, JPG Mag), "Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com |
|
|
|
Jun 30 2007, 11:29 PM
Post
#7
|
|
|
No way... It compiles? SHIP IT! Group: Moderators Posts: 609 Joined: 27-December 04 From: Thunder Bay, Ontario Canada Member No.: 2,133 ![]() |
I'll do that, this was just a little game that I made as like a proposal to make a game of this kind,
So I coded it in about 10 minutes, lol finding how to move the form took a good 8, -------------------- -Mad_cow |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 26th May 2013 - 05:41 AM |