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

Home » Public Forums » archive » Re: Scrolling text in a widget_label
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: Scrolling text in a widget_label [message #78651 is a reply to message #78650] Thu, 01 December 2011 15:21 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Russell writes:

> So, I did get it to do what I want, though I don't entirely understand
> why it works. It seems that widget_event(/nowait) returns the "bare
> bones" structure of {ID:0, TOP:0, HANDLER:0} for all times that the
> mouse is *inside* the widget. When you move out, it will add the tag
> "ENTER". So it was simple enough to test on whether or not the
> "ENTER" tag exists or not. I've attached a quick script to illustrate
> it. The first function is from the IDL astro-library maintained by W.
> Landsman --- just in case someone else is interested in this. I'm not
> sure it was worth all the time I spent on this, but it was a fun
> exercise! Now to figure out why widget_event changes its return
> structure like that, and whether or not I can trust this in the
> future....

You see. All you needed was encouragement. ;-)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Plotting one ps file with different plots in separate pages
Next Topic: Scrolling text in a widget_label

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

Current Time: Fri Oct 10 17:36:24 PDT 2025

Total time taken to generate the page: 0.96210 seconds