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

Home » Public Forums » archive » Re: Does the hide-keyword work?
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
Re: Does the hide-keyword work? [message #17530] Sat, 30 October 1999 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Karri Kaksonen (karri@twins.dna.fi) writes:

> He told me not to use keyword_set to check if the
> user has entered a keyword. But I forgot...
>
> if keyword_set(hide) then o->setproperty, hide=hide
>
> is obviously not the same as
>
> if n_elements(hide) ne 0 then o->setproperty, hide=hide

Aye, a lesson those of us who don't learn it sooner,
*always* learn later. :-)

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
Re: Does the hide-keyword work? [message #17532 is a reply to message #17530] Sat, 30 October 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Karri Kaksonen (karri.kaksonen@picker.fi) writes:

> The keyword that controls the display attribute for the
> graphics is controlled by a keyword "hide"
>
> o->setproperty, hide=1
>
> makes the object invisible :)
>
> o->setproperty, hide=0
>
> does not bring it back :(
>
> Is there a way to bring my object back or did I lose
> it for good?

Humm. Hide=0 works for me. Are you sure you are
redisplaying the view after you set this property?

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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Is there a way to keep axis text from scaling?
Next Topic: Re: Local procedures and objects

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

Current Time: Sat Nov 29 00:21:12 PST 2025

Total time taken to generate the page: 1.36501 seconds