comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Basic Event Handling
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Basic Event Handling [message #55216] Tue, 07 August 2007 09:54 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On Aug 7, 5:13 am, Gaurav <selfishgau...@gmail.com> wrote:
> I tried to think it out in terms of a timer event but that did not
> help me much.

Why not do the animation as a series of timer events instead of in a
FOR loop? Have a flag that indicates to keep zooming. Set the flag if
the user single-clicks or if the "loop" variable hits the end. Check
the flag when the timer goes off and do the appropriate thing.

For an example,

http://michaelgalloy.com/2006/07/25/timer-events-to-process- a-task-in-the-background.html

Mike
--
www.michaelgalloy.com
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Use IDL6.0 to read Fortran 90 written data
Next Topic: Re: how to tell it is character or it is number?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 22:42:47 PDT 2025

Total time taken to generate the page: 0.88104 seconds