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

Home » Public Forums » archive » Re: WIDGEt_CONTROL, /TIMER - HOW?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: WIDGEt_CONTROL, /TIMER - HOW? [message #2404] Wed, 06 July 1994 17:03
rivers is currently offline  rivers
Messages: 228
Registered: March 1991
Senior Member
In article <1994Jul5.123016.26019@newsserver.rrzn.uni-hannover.de> knipp@ipi.uni-hannover.de writes:
>
>
>
>
> Hi
>
> I fail to use the WIDGET_CONTROL, timer=x - feature.
>
> What's wrong with the follwing code ?
>
> (I expect to get the actual time every second, but it happens
> just once).

Your error is that you assumed that WIDGET_CONTROL, TIMER=1
would call your event routine peridically at once per second. This is
not the case. It only calls it once. If you want your event routine to
be called again, you need to also put the WIDGET_CONTROL, TIMER=1
statement inside your event routine. Make sure you only call it when you
get a timer event, not on mouse events!


--
Mark Rivers (312) 702-2279 (office)
CARS (312) 702-9951 (secretary)
Univ. of Chicago (312) 702-5454 (FAX)
5640 S. Ellis Ave.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: ENVI under windows?
Next Topic: Aspect Ratio problem

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

Current Time: Fri Oct 10 16:26:21 PDT 2025

Total time taken to generate the page: 0.40680 seconds