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

Home » Public Forums » archive » Re: removing objects from a container
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: removing objects from a container [message #49087 is a reply to message #49004] Mon, 12 June 2006 07:36 Go to previous message
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
Karl Schultz wrote:

>
> I'll open a change request and fix this for next release.
>
> The only workaround I can think of for now is:
>
> group->Remove, group->Get(/ALL)
>
> This would work correctly with or without the bug.
>
> If you do
>
> group->IDL_CONTAINER::REMOVE,/ALL
>
> then the PARENT property of all the ROI's that were in the group will be
> left referring to the group object. If that doesn't bother you, then this
> would be another way to do it, but I don't think it is a good idea, as it
> leaves potential dangling object references.
>


Thanks, Karl.

I shall heed your advice and modify my code accordingly.

Cheers,
Ben
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: using of hat symbol on textoidl
Next Topic: idl 6.3, cdf_epoch16 keyword to cdf_varcreate

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

Current Time: Sat Oct 11 14:37:48 PDT 2025

Total time taken to generate the page: 2.23818 seconds