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

Home » Public Forums » archive » Re: Tag name IDLITCOMPONENT_TOP is undefined
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: Tag name IDLITCOMPONENT_TOP is undefined [message #36635] Fri, 10 October 2003 08:05 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Oliver writes:

> Hi,
>
> could someone help me with this error message:
>
>> Tag name IDLITCOMPONENT_TOP is undefined
>
> In my source code I have an object 'A' which is
> subclassed from object 'B' which itself is subclassed
> from IDLgrRoi.
>
> The error sometimes occurs during a function call equivalent
> to:
>
> A->setProperty, color=2
>
> Could someone explain what happens here?

All IDL object components are subclassed from
an IDLgrComponent object. This object has
an IDLitCompenent_Top field, as you can see here:

IDL> a = Obj_New('IDLitComponent')
IDL> ok = Execute("struct = {" + Obj_Class(a) + "}")
IDL> Help, struct

Your SetProperty method probably chains down to the
SetProperty method of the IDLitComponent object. At that
point, something goes wrong and IDL thinks you don't have
this field in the object. I can think of two reasons for
this:

1. There is a bug in someone's code (and probably not
yours). I lean toward this explanation only because
the keyword COLOR throws red flags for me. This is
something IDL likes to take control of itself, much
to my personal displeasure.

2. Your object is linking to an object library that
is not completely up to date. I'd make sure all
your paths are pointing to the most recent IDL
object library.

There are probably other reasons as well, but the economy
of your error message precludes too much speculation. :-)

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Previous Topic: Re: itools error
Next Topic: Tag name IDLITCOMPONENT_TOP is undefined

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

Current Time: Sun Oct 19 03:53:04 PDT 2025

Total time taken to generate the page: 1.44637 seconds