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

Home » Public Forums » archive » Re: the DRAW method
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: the DRAW method [message #12407] Wed, 29 July 1998 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Don Shad (dschad@frontiernet.net) writes:

> i was wondering if anyone could tell me what
> arguments are being passed to the mysterious
> DRAW method of the various IDLgr widgets.
>
> I have created objects which inherit from
> IDLgr things, and would like to be able to
> perform calculations when the draw method is
> called, then call the self->IDLgr<thing>::draw.
> (i.e. i want to override the method).
>
> so i have tried this, (and some other random
> flails):
>
> myobject::draw, _EXTRA=extra
>
> but i get this:
>
> % ARROW::DRAW: Incorrect number of arguments

I'm guessing that you have failed to define
an _Extra keyword for your draw method, otherwise
this should work fine.

PRO MyObject::Draw, _Extra=extra

and

thisObject->Draw, keyword=5, etc.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Previous Topic: Requested improvement to QROMB
Next Topic: Re: newbie here

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

Current Time: Wed Oct 08 13:20:59 PDT 2025

Total time taken to generate the page: 0.00343 seconds