|
-
Jan 3rd, 2003, 03:04 AM
#1
Thread Starter
Member
sliding affect in a form something like in winamp
Hello All
I want to implement in my project the sliding affect ,,,,, its hard to explain but will try my best.
I want to show a small panel in the beginning with different buttons on it and when a button is clicked a form sliding from behind the panel comes .... for example if the panel's width is one inch than after clicking the button a form lets say of width 5 inches slides from the panel towards left or right and is displayed .... something like winamp that when you minimize the playlist you still see a panel there and when you maximize it the panel is extended ...
I wish i can get help related to it ..... i want to implement this in Vb 6.
HELP ME PLZzzzzzzzzz
You'll get life just for once so don't waste it .......
-
Jan 4th, 2003, 03:05 AM
#2
Frenzied Member
im not sure that i understood exactly what you mean, but when minimizing the playlist in winamp it only changes the height property...
add this code to your program in the event where the button is pressed, and change '100' to what the small size is, and change '1000' to what the large size is...(the form must have one of those sizes at startup).
VB Code:
If Me.Height = 100 Then
Me.Height = 1000
ElseIf Me.Height = 1000 Then
Me.Height = 100
End If
-
Jan 4th, 2003, 03:17 PM
#3
Good Ol' Platypus
Do you mean the text that goes from right to left in winamp, displaying the song title, artist, and track number? Do a loop for it, taking a certain amount away from the left {play with it until it looks good}. When it goes offscreen {left + width <=0}, reset it's left property.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
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
|