|
-
Jul 20th, 2009, 12:56 AM
#1
Thread Starter
New Member
Transition effect
I'm trying to build an application to increase my understanding of visual basic. I may have set the bar too high for myself but it's the challenge that makes it fun right?
Anyway, I'm trying to make a transition effect of a page turning. The application is a brewing database which looks like a book. I think the transition would make it look more professional.
Dose anyone have any ideals on how I might be able to accomplish this? A basic example even would go a very long way.
Thanks
Sab
-
Jul 20th, 2009, 01:18 AM
#2
New Member
Re: Transition effect
Visual Basic, fortunately or unfortunately, doesn't have "transition effects" implemented into it. And I don't see any simple method of doing some effect like that using any version of Visual Basic.
I would probably recommend premaking the effect with some external application like Flash or one of the thousands of 2d animation programs out there, and making it into an animated .gif picture.
Then it's pretty easy from there, just get a PictureBox, draw it on your form, and click on the dots next to the Image property and Import your image from wherever it is.
As for making the actual animation? I'm sure many people have tried to make a pageturning animation before, so there should be preanimated examples on the net somewhere. Other than that, the only way I see of doing it is making each frame and putting them together. You could make a VB application for doing that if you like. Just to make it more fun.
Other than that, I can't help you. Sorry.
Also, this probably won't increase your understanding of Visual Basic. Visual Basic isn't designed for this sort of thing, either.
-
Jul 20th, 2009, 10:38 AM
#3
Thread Starter
New Member
Re: Transition effect
That actually has been quite a lot of help. I made the image and have it doing close to the effect that i am wanting. Is there a way to get rid of the standard blue bar at the top of the form? I cant think of the correct name for it.
-
Jul 20th, 2009, 10:57 AM
#4
Re: Transition effect
Set the border style to "none"....
and it's called the "Title bar".... 
-tg
-
Jul 20th, 2009, 05:41 PM
#5
Thread Starter
New Member
Re: Transition effect
Lol thanks. Got it to work. Have a second form with the page turn effect appear over the form behind it and go away when its done. Looks pretty good.
Sab
-
Jul 20th, 2009, 06:00 PM
#6
Re: Transition effect
 Originally Posted by icedtrees
Visual Basic isn't designed for this sort of thing, either.
VB.NET is not the problem, winforms is the problem. You can make something like this work in WPF natively (using VB.NET) without needing to create an external animation that you just 'play'
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
|