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

Home » Public Forums » archive » Re: cannt disable widget timer event?
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: cannt disable widget timer event? [message #47219 is a reply to message #47218] Mon, 30 January 2006 18:30 Go to previous messageGo to previous message
Weihua FANG is currently offline  Weihua FANG
Messages: 26
Registered: January 2006
Junior Member
hi, David,

thanks for your reply.

the problem is that I have to set and cancel timer event again and
again in my application.


David Fanning wrote:
> Weihua FANG writes:
>
>> is it possible to disable widget timer event? yes, possible to avoid
>> executing part of codes in timer event procedure. but for efficient
>> consideration, is it possible to disable widget timer event like
>> disable other events, say, something like
>>
>> WIDGET_CONTROL, my_widget, DRAW_MOTION_EVENTS = 0
>>
>> WIDGET_CONTROL, my_widget, Timer_Events= 1
>> WIDGET_CONTROL, my_widget, Timer_interval= 0.2
>
> Widget timer events are one-shot events. If you don't
> set them, they don't happen. Simple as that.
>
>> Am I asking to much from IDL?
>
> Probably. I think you should ask for no events from
> your IDL programmer :-)
>
> Cheers,
>
> David
>
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: creating multiple files
Next Topic: The plot including another plot

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

Current Time: Fri Oct 10 11:23:27 PDT 2025

Total time taken to generate the page: 1.19958 seconds