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

Home » Public Forums » archive » Re: widget_control and event generation
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: widget_control and event generation [message #53394 is a reply to message #53393] Sun, 15 April 2007 13:15 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
pedoherty@earthlink.net writes:

> I won't describe the problem I'm having here in any great detail, it
> would take
> too many lines of text. I think (though I may be wrong) that I've
> narrowed the
> problem down. Here's my question:
>
> When I use the following code to switch the currently selected tab in
> a widget_tab:
>
> widget = widget_info(info.tlb, find_by_uname='plot_tab')
> oldtab = widget_info(widget, /tab_current)
> widget_control, widget, set_tab_current=7
>
> Do I generate an event?

No, you don't generate an event. But I could believe that
if you are using a button click to switch tabs that you
may not be accounting for both the button DOWN and the button
UP event in your event handler.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: widget_control and event generation
Next Topic: Re: how to ensure overwriting of eps graphics files?

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

Current Time: Wed Dec 03 06:53:03 PST 2025

Total time taken to generate the page: 1.35978 seconds