[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cw_fslider



David and Stein
I went down your modification of the cw_slider route. That works great,
thanks very much.

Regards,
Glenn Newnham

David Fanning wrote:
> 
> Stein Vidar Hagfors Haugan (shaugan@esa.nascom.nasa.gov) writes:
> 
> > And what if the event_pro tries to communicate with you in the mean time?
> > Probably safer with
> >
> >   thisEvent = { ID:parent, TOP:ev.top, HANDLER:0L, VALUE:value, DRAG:drag }
> >
> >   event_pro=state.event_pro
> >   WIDGET_CONTROL, stash, SET_UVALUE=state, /NO_COPY
> >   IF event_pro NE "" THEN BEGIN
> >      Call_Procedure, event_pro, thisEvent
> >      thisEvent = 0
> >   END
> >   RETURN, thisEvent
> 
> Oh, well, something like this... :-)
> 
> Cheers,
> 
> David
> 
> P.S. Let's just say it's going too far to correct
> a correction of your own incorrect post. :-(
> 
> --
> David Fanning, Ph.D.
> Fanning Software Consulting
> Phone: 970-221-0438 E-Mail: davidf@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Toll-Free IDL Book Orders: 1-888-461-0155