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

Home » Public Forums » archive » Re: Exceed and IDL
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: Exceed and IDL [message #16198 is a reply to message #16191] Wed, 07 July 1999 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
bkrrrrr (beaker@llama.pilz.cack) writes:

> I copied your script to idl_startup.pro, and saw it
> run at startup. However, I then found the problem is actually
> caused by the person who wrote the program setting retain=0 when
> calling WIDGET_DRAW for some obtuse reason. grrrrr...

Several obtuse reasons for setting RETAIN=0 in a draw widget
come immediately to mind:

(1) You are using object graphics in the window, in which
case RETAIN should *always* be set to 0.

(2) You know how screwy colors can be and you wish to
protect the colors associated with this application
by "restoring" your colors every time the widget is
exposed.

Cheers,

David

--
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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: xwindow question (problem found)
Next Topic: I don't know why happened error

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

Current Time: Sat Oct 11 13:57:27 PDT 2025

Total time taken to generate the page: 1.52050 seconds