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

Home » Public Forums » archive » How to hide rois programatically ?
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: How to hide rois programatically ? [message #84797 is a reply to message #84796] Tue, 11 June 2013 13:22 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Leo_sjc writes:

> I want to set a shortcut key to a menu item, and then use a keyboard key to hide rois. I was not able to use "IDLgrROI", lack information of use.
>
> Any tips ?

I usually build a "layer" object (just a container) that I add graphical
objects to. When the Draw method of the layer object is called, it first
checks to see if its "visible" property is set. If so, it calls the draw
methods of the graphical objects inside it. If not, nothing is drawn.
This allows me to turn on and off groups of graphical objects, as I
desire.

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: logarithmic Y axis in cgContour
Next Topic: GetValueAtLocation() method

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

Current Time: Sun Oct 12 04:57:29 PDT 2025

Total time taken to generate the page: 0.48130 seconds