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

Home » Public Forums » archive » 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
Does the hide-keyword work? [message #17534] Sat, 30 October 1999 00:00 Go to next message
Karri Kaksonen is currently offline  Karri Kaksonen
Messages: 27
Registered: October 1999
Junior Member
Sorry to bother you again...

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?

--
Regards,

Karri Kaksonen
Re: Does the hide-keyword work? [message #17625 is a reply to message #17534] Sun, 31 October 1999 00:00 Go to previous message
Karri Kaksonen is currently offline  Karri Kaksonen
Messages: 27
Registered: October 1999
Junior Member
mumble.. mumble...
sorry. I was a bad student at Davids course.
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

Now "hide" works just as I thought it would.
Thank you for your trouble,

--
Karri

Mark Hadfield wrote:
>> o->setproperty, hide=1
>>
>> makes the object invisible :)
>>
>> o->setproperty, hide=0
>>
>> does not bring it back :(
> Setting HIDE to zero should have made your object visible again. But the
> window will need to be redrawn before you can see the change.
>
> ---
> Mark Hadfield
Re: Does the hide-keyword work? [message #17627 is a reply to message #17534] Sun, 31 October 1999 00:00 Go to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
Karri Kaksonen <karri.kaksonen@picker.fi> wrote in message
news:381ABD4D.AD240E63@picker.fi...
> Sorry to bother you again...
>
> 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?


Setting HIDE to zero should have made your object visible again. But the
window will need to be redrawn before you can see the change.

---
Mark Hadfield
m.hadfield@niwa.cri.nz http://katipo.niwa.cri.nz/~hadfield/
National Institute for Water and Atmospheric Research
PO Box 14-901, Wellington, New Zealand
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Local procedures and objects
Next Topic: Is there a way to keep axis text from scaling?

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

Current Time: Wed Oct 08 13:42:15 PDT 2025

Total time taken to generate the page: 0.00541 seconds