CyberiaPC.com Community Forums Main Page
RSS Feeds: Late(st) News | Zenith Picture Gallery | Most Recent Community Topics | Tips, Tricks and Other Useful Stuff

Welcome Guest ( Log In | Register )

Reply to this topicStart new topic
> Form movment in VB 6
MaD_cOw
post May 27 2007, 04:06 PM
Post #1


No way... It compiles? SHIP IT!
Group Icon

Group: Moderators
Posts: 609
Joined: 27-December 04
From: Thunder Bay, Ontario Canada
Member No.: 2,133

Canada




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
Go to the top of the page
 
+Quote Post
amir
post May 27 2007, 06:25 PM
Post #2


SuperNova III Member
Group Icon

Group: Support Team
Posts: 2,141
Joined: 2-November 02
From: Toronto
Member No.: 302

Canada




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?
Go to the top of the page
 
+Quote Post
usr.c
post May 29 2007, 05:46 PM
Post #3


Boss, my code's compiling (xkcd)
Group Icon

Group: Admins
Posts: 10,440
Joined: 19-September 01
Member No.: 1

Nothing Selected




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), Skydiving, Splitting atoms, Flying a space shuttle
"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
Go to the top of the page
 
+Quote Post
MaD_cOw
post May 29 2007, 08:42 PM
Post #4


No way... It compiles? SHIP IT!
Group Icon

Group: Moderators
Posts: 609
Joined: 27-December 04
From: Thunder Bay, Ontario Canada
Member No.: 2,133

Canada




I have figured out how to do this, so should I post some code?


--------------------
-Mad_cow
Go to the top of the page
 
+Quote Post
MaD_cOw
post Jun 27 2007, 03:11 PM
Post #5


No way... It compiles? SHIP IT!
Group Icon

Group: Moderators
Posts: 609
Joined: 27-December 04
From: Thunder Bay, Ontario Canada
Member No.: 2,133

Canada




Heres an example of what I was trying do.
Attached File(s)
Attached File  Pong.zip ( 11.99K ) Number of downloads: 112
 


--------------------
-Mad_cow
Go to the top of the page
 
+Quote Post
usr.c
post Jun 29 2007, 09:19 PM
Post #6


Boss, my code's compiling (xkcd)
Group Icon

Group: Admins
Posts: 10,440
Joined: 19-September 01
Member No.: 1

Nothing Selected




Nice...You might want to disable the maximize button.


--------------------


Things that I don't suck at: Photography (flickr, JPG Mag), Skydiving, Splitting atoms, Flying a space shuttle
"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
Go to the top of the page
 
+Quote Post
MaD_cOw
post Jun 30 2007, 11:29 PM
Post #7


No way... It compiles? SHIP IT!
Group Icon

Group: Moderators
Posts: 609
Joined: 27-December 04
From: Thunder Bay, Ontario Canada
Member No.: 2,133

Canada




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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th May 2013 - 05:41 AM