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

Home » Public Forums » archive » Widget Question
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
Widget Question [message #76606] Thu, 09 June 2011 13:36
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

I am trying to understand one of my own programs. (I know,
I'm embarrassed about it.)

If you have the Catalyst Library installed, you can
see what I am confused about. Compile the ImageStrip
widget, and run the ImageStrip_Test program.

IDL> .compile imagestrip__define
IDL> imagestrip_test

You are seeing 8 of 87 images in this image sequence.
If you click on the button widgets on either side
of the image strip, you will "advance" the image
sequence in that direction. So far, so good.

But here is the thing I am confused about. If you
hold the cursor down on one of the buttons, and
don't release it, then click the space bar, the
images will start to advance very rapidly. This
is a Good Thing, but it is confusing me.
This has nothing whatsoever to do with my event
handler, so far as I can tell. So, how in the world
does this happen!?

Is this an undocumented button widget thing? Magic?
Have I stumbled into the discovery of the century?
Does anyone have the faintest idea what might be
happening here? :-(

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thue. ("Perhaps thos speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: TEXT Function
Next Topic: Widget Question

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

Current Time: Wed Oct 08 19:22:34 PDT 2025

Total time taken to generate the page: 0.00563 seconds