"Unroll" a form right to left

G

Guest

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
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top