Go Back   Gaming Gutter > Non-Gaming > Programming > Tutorials


Tutorials - Looking for programming tutorials to increase your knowledge? Do so here.

» Site Navigation
» Home
» FAQ
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Advertisement
» Recent Threads
Go to first new post Ruzzykinz.
Today 06:14 PM
Last post by Ruzzeh
Today 06:47 PM
44 Replies, 67 Views
Go to first new post Heroes-Series
11-18-2008 01:29 PM
Last post by scromlette
Today 06:46 PM
16 Replies, 93 Views
Go to first new post S> 40 month main w/Lab,...
Today 02:56 PM
Last post by Mal3vol3nt
Today 06:46 PM
1 Replies, 12 Views
Go to first new post Selling 18 million pure...
11-28-2008 10:06 PM
by Sticky
Last post by Horde
Today 06:40 PM
6 Replies, 83 Views
Go to first new post Its my Birthday tomorrow.
12-02-2008 07:23 AM
by Zombies
Last post by Bex
Today 06:38 PM
59 Replies, 300 Views
Reply
 
LinkBack Thread Tools Display Modes

 [VB.NET] Effects to your GUI! Part One
Old 08-22-2008, 11:00 AM   #1 (permalink)
Cogito, ergo sum.

Male Checker is online now
 
Checker's Avatar
 
Join Date: Feb 2008
Posts: 1,888
GPoints: 1,782
iTrader: 7 / 100%
Checker Is a Lord of AwesomenessChecker Is a Lord of AwesomenessChecker Is a Lord of AwesomenessChecker Is a Lord of Awesomeness
Rep Power: 9
[VB.NET] Effects to your GUI! Part One

TWO PART GUIDE.

Ever wanted your programs to cool effects like all the "cool" programs? Well, you can now!
In this tutorial I will teach you how to make your program form (GUI) have cool effects.
It will include effects such as:
  • Fading in when start of program
  • Fading out when start of program
  • Width enlargement ( Like at the press of a button Your GUI enlarges in width. )
  • Height enlargement ( Basically the same except enlarges in height. )

Sliding Width Trick:
Make a form with two buttons.

Double click the first button, ( In my case it's Slide Width button )
And enter in this code:
Code:
 Do Until Me.Width > 200 'Change the 200 to however you want your width to be.
Me.Width = Me.Width + 1
Loop
Do Until = Commands to repeat the sub until ----
Me = The form you are on, ( In my case it would be Form2 )
Me.Width = Your forms width.
> = Is greater then
' = Comment
+ 1 = In this code it would mean my current width plus one more.
Loop = End
In total it would mean " When I press this button the Form will grow in width until it is greater then 200. "

Sliding Height Trick:
Double Click the second button, ( In my case it would be Slide Height. )
Enter in this code:
Code:
 Do Until Me.Height > 400 'Change the 400 to however you want your height to be.
Me.Height = Me.Height + 1
Loop
Me.Height = Your forms height.
Me = The form you are on, ( In my case it would be Form2 )
Me.Height= Your forms height.
> = Is greater then
' = Comment
+ 1 = In this code it would mean my current width plus one more.
Loop = End

In total this entire code together ( both ) would mean:
When I click the first button the width enlarges. When I click the second button the height enlarges.
Now your code should look something like this:


Guide made by:
Checkers/Check

If you want to use this guide on any site please do so just include my name.

[VB.NET] Effects to your GUI! Part Two
PART TWO!
__________________


Neutral Evil

Last edited by Checker; 08-22-2008 at 11:36 AM..
  Reply With Quote
Reply

Bookmarks



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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -7. The time now is 06:47 PM.


vBulletin skin developed by: eXtremepixels
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The contents of this webpage are copyright © 2006-2008 GamingGutter.com. All Rights Reserved.

Page generated in 0.09735298 seconds (100.00% PHP - 0% MySQL) with 19 queries