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

Home » Public Forums » archive » Re: Properties
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: Properties [message #37416 is a reply to message #37412] Fri, 12 December 2003 14:13 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> What you are missing are GetProperty and SetProperty methods
> that allow use of the keyword MY_FIRST_PROPERTY. Add those,
> and you will be in business! :-)

Be sure, by the way, to call the IDLitComponent superclass
GetProperty and SetProperty methods from within your own!
This means the GetPropery method will probably need a
_REF_EXTRA keyword.

Sheesh! Doesn't this stuff get deep quickly! :-(

Like this:

PRO TestProps, MY_FIRST_PROPERTY=my_first_property, _Ref_Extra=extra
my_first_property = self.data
self -> IDLitComponent::GetProperty, _Extra=extra
END

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
Read Message
Previous Topic: Re: Permanently changing shell
Next Topic: Using callable intf to C w/ READ_TIFF

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

Current Time: Wed Oct 08 18:04:51 PDT 2025

Total time taken to generate the page: 0.00428 seconds