[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Exceed and IDL
- Subject: Re: Exceed and IDL
- From: davidf(at)dfanning.com (David Fanning)
- Date: Wed, 7 Jul 1999 10:06:29 -0600
- Newsgroups: comp.lang.idl-pvwave
- Organization: Fanning Software Consulting
- References: <3781382A.2B4A4755@garnet.acns.fsuMMER.edu> <3781FFBA.B34A027A@met.rdg.ac.uk> <37820941.3557AB7F@ssec.wisc.edu> <378262CC.E96@llama.pilz.cack> <37835BEB.2C1EA8BD@ssec.wisc.edu> <378368A9.40AC@llama.pilz.cack>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:15583
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