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 #78653 is a reply to message #78652] Thu, 01 December 2011 12:56 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 have a large GUI I've been working on, and there are several
> widget_labels all over the place. The xsizes of these regions are
> fixed, but the text that can populate them is to be decided by the
> User. In general, the text will be much longer than the widget_label
> can accommodate, so I thought it would be helpful to add some type of
> scrolling to the text inside a widget_label. My hope was that when
> the User places the mouse over the widget_label that the text beneath
> it would scroll. I can use /tracking_events to tell when the mouse
> enters or leaves the widget_label, but I don't know how to interrupt
> the event loop, something like:
>
> while event.enter eq 1 do begin
> scroll_text,event.id
> endwhile
>
> because as this while loop begins, it never exits back to the main
> event handler to even know if the mouse leaves or not. My gut tells
> me I need widget_event, but I can't really see how to make that
> happen....
>
> Any advice?

Forget it. Ain't gonna happen. :-)

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: Sat Oct 11 01:29:30 PDT 2025

Total time taken to generate the page: 1.44248 seconds