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

Home » Public Forums » archive » removing objects from a container
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
removing objects from a container [message #49011] Fri, 09 June 2006 11:08
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
Hello,

David - please look out the window at your roses for a few minutes...

I can't quite figure the REMOVE method out. IDLgrROIgroup inherits from
(eventually) IDL_CONTAINER so the REMOVE method is supposed to work. I
don't see in the docs that IDLgrROIgroup overrides the method - but
something is different.


IDL> group = OBJ_NEW('IDLgrROIgroup')
IDL> roi = OBJ_NEW('IDLgrROI')
IDL> group->Add, roi
IDL> group->REMOVE, /ALL
% IDLGRROIGROUP::REMOVE: Incorrect number of arguments.
% Execution halted at: $MAIN$
IDL> group->IDL_CONTAINER::REMOVE,/ALL


Is this a bug or just a thorn?

OK, David, you can look back now.

Ben
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: killing non-modal widgets
Next Topic: Multiple plots on Object graphics

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

Current Time: Fri Oct 10 03:15:56 PDT 2025

Total time taken to generate the page: 0.31780 seconds