comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: How to hide rois programatically ?
items: Re: How to hide rois programatically ?

How to hide rois programatically ?
type: item
description: 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 ?
creator: Leonardo R. Sbaraini
date: 2013-06-11T20:10:38-00:00

Re: How to hide rois programatically ?
type: item
description: 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.")
creator: David Fanning
date: 2013-06-11T20:22:11-00:00

Re: How to hide rois programatically ?
type: item
description: On Tuesday, June 11, 2013 4:10:38 PM UTC-4, Leo_sjc wrote: > 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'm not sure I understand why you can't simply use the HIDE = 0/1 property for each ROI or ROIGroup. Is it setting the property that is the issue for you? Or is it connecting a menu action with the show/hide property? Ben
creator: ben.bighair
date: 2013-06-12T01:45:45-00:00