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
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