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

Home » Public Forums » archive » Re: Subclassing from IDLitTool ??
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: Subclassing from IDLitTool ?? [message #40840 is a reply to message #40706] Wed, 01 September 2004 23:30 Go to previous messageGo to previous message
Antonio Santiago is currently offline  Antonio Santiago
Messages: 201
Registered: February 2004
Senior Member
Thanks floks :)


Ok both Christopher and David are right.

Now with IDL 6.0 Christopher'r code runs fine but not in IDL 6.1 (this
seems a joke) and yes, the documentation about IDLitTool is horrible.

Thanks and bye.






Christopher Lee wrote:
> In article <4135CD89.4050300@est.fib.upc.es>, "Antonio Santiago"
> <d6522117@est.fib.upc.es> wrote:
>
>
>
>> What do i need to do to subclassing from IDLitTool? Thanks.
>
>
> IDLitToolbase comes preloaded with all of the menus in the IDL
> standard iTools. IDLitTool comes with zero, nadda,
> zip. You have to supply all of the menu items (for example). Then
> IDLitTool contains the necessary functions to return the object
> references.
>
> e.g.
>
> ;Init method
> FUNCTION iprobe::Init
>
> if( self->IDLitTool::Init(_extra=_extra) eq 0)then $
> return, 0
> ;file
> self->RegisterOperation, 'Exit', 'IDLitopFileExit', $
> IDENTIFIER='File/Exit', /SEPARATOR
>
> ;button
> self->RegisterManipulator, 'Arrow', 'IDLitManipArrow', $
> ICON='arrow', /DEFAULT, IDENTIFIER="ARROW", $
> DESCRIPTION='Click to select items, click and drag to select multiple items'
>
> return, 1
>
> END
>
> That gets you onto the first step...
>
> Chris.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: vector dispay size
Next Topic: Re: 6.1 IDLDE project amnesia

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

Current Time: Sun Oct 12 13:19:13 PDT 2025

Total time taken to generate the page: 1.52700 seconds