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

Home » Public Forums » archive » Re: Help with Object graphics
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: Help with Object graphics [message #19346] Wed, 08 March 2000 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Luca Fini (lfini@arcetri.astro.it) has lots of strange
characters in his code, but I think I get the gist
of what he is asking when he writes:

> I've a strange problem as shown by the following test program, stored in
> file "prova.pro":
>
> Txt =3D OBJ_NEW('Idlgrtext')=09=09; Create a gaphic oject
> whichfont =3D txt->GetProperty(Font)=09; Ask for info about it
> END

Although "GetProperty" sounds as though it is going to
be a function method for sure, it is really a procedure
method. So the code will look like this:

txt = Obj_New("IDLgrText")
txt->GetProperty, Font=theFont
Print, theFont

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@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
Previous Topic: more for-loops vs. arrays
Next Topic: How do you get rid of for-loops with arrays

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

Current Time: Sat Oct 11 15:44:14 PDT 2025

Total time taken to generate the page: 1.35900 seconds