making forms move
making forms move
making forms move
making forms move
making forms move
making forms move making forms move making forms move making forms move making forms move making forms move making forms move making forms move
making forms move making forms move
making forms move
Go Back  Xtreme Visual Basic Talk > > > making forms move


Reply
 
Thread Tools Display Modes
  #1  
Old 07-10-2002, 03:41 AM
Jonny2002
Guest
 
Posts: n/a
Talking making forms move


hi i have an about form, what i want to do is to makethis form move from the top left to the centre of the screen on loading, i have already mae the form oval and it looks quite good . help would be apreciated,, thanx

Jon
Reply With Quote
  #2  
Old 07-10-2002, 03:44 AM
GlenW
Guest
 
Posts: n/a
Default

Heres some procedures for moving and shaping forms and frames.
You should be able to mess about with some of them to do what you want.
Attached Files
File Type: bas modformdesign.bas (24.0 KB, 12 views)
Reply With Quote
  #3  
Old 07-10-2002, 03:56 AM
randtek's Avatar
randtek randtek is offline
Contributor
 
Join Date: Jun 2002
Location: the Milky Way Galaxy
Posts: 532
Default

Try adding this code in the "Activate" event of the program.
Code:
Dim cnt As Integer
Dim cnt2 As Integer
Me.Move 0, 0
For cnt = 0 To 4500 Step 15 
    Me.Move Me.Left + 15, Me.Top + 15
    Me.Refresh
    DoEvents
Next
You may need to play with the values to get the start position and ending positions where you want.
__________________
Murphy was an optimist!
Reply With Quote
  #4  
Old 07-10-2002, 04:02 AM
Jonny2002
Guest
 
Posts: n/a
Default

thanx mate that does just what iu antd it toi, thanx alot

Jon
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
making forms move
making forms move
making forms move making forms move
making forms move
making forms move
making forms move making forms move making forms move making forms move making forms move making forms move making forms move
making forms move
making forms move
 
making forms move
making forms move
 
-->