Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / December 2004

Tip: Looking for answers? Try searching our database.

"Unroll" a form right to left

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kyle Baley - 22 Dec 2004 19:41 GMT
I have a dialog form that I usually render from left to right using a timer.
I.E. I start with a width and height of 1 and increase both in a timer event
until I get to the desired height/width. Gives a neat little unrolling effect
that doesn't add anything to the app but makes users go "oooh" and "aaah".

My question is: how can I changing the unrolling effect so that the form
unrolls from right to left (or from bottom to top)? The reason behind this is
that I'm unrolling the form starting at the cursor position. If the cursor is
too close to the right or the bottom, I want to unroll in the opposite
direction. But the only direction I can go using Height and Width is down and
right. Is there a way to go the other directions?

Gracias por adelantado
Kyle
Kyle Baley - 22 Dec 2004 20:18 GMT
Again, the fastest way to solve a problem is to post it for all to see. Never
occurred to me to reduce the Top and Left variables as I was increasing the
height and width respectively. Or rather, it occurred to me but I thought the
result would look to choppy. It does a little but not enough to stop the
"ooh"s and "aah"s. Thanks for listening.

> I have a dialog form that I usually render from left to right using a timer.
> I.E. I start with a width and height of 1 and increase both in a timer event
[quoted text clipped - 10 lines]
> Gracias por adelantado
> Kyle

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.