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

Home » Public Forums » archive » Re: Widget_event and a TLB object !!!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Widget_event and a TLB object !!! [message #44348] Mon, 13 June 2005 08:28 Go to next message
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
Antonio Santiago wrote:
>
> Well, the problems comes with event handler. I can use XMANAGER because
> it cant bring the use of methods,

I'm not sure if I understand you right, but if you're saying you can't
use XMANAGER because you can't use object methods as event handlers,
that's not quite right. See http://tinyurl.com/98bau. I use it all the
time now for any but the simplest widget programs.

Benjamin
Re: Widget_event and a TLB object !!! [message #44424 is a reply to message #44348] Mon, 13 June 2005 23:11 Go to previous message
Antonio Santiago is currently offline  Antonio Santiago
Messages: 201
Registered: February 2004
Senior Member
Benjamin Hornberger wrote:
> Antonio Santiago wrote:
>
>>
>> Well, the problems comes with event handler. I can use XMANAGER
>> because it cant bring the use of methods,
>
>
> I'm not sure if I understand you right, but if you're saying you can't
> use XMANAGER because you can't use object methods as event handlers,
> that's not quite right. See http://tinyurl.com/98bau. I use it all the
> time now for any but the simplest widget programs.
>
> Benjamin
>
Thanks Benjamin, but I know that (I put the original post :) ).

Well, in addition with this "method" for use methods as event handler,
there is the posibility to use the function indicated here:
http://www.rsinc.com/codebank/search.asp?FID=209, I think it is more
easy to use it than the David's method (sorry David :( ) but I dont know
which is better.

I think you use this for object-widgets putted into another widget_base
that has the xmanager associated and it is the responsible to pass the
event to the object method handler. This is right for me. My problems
comes when to click a button and open a new object-widget. I want this
new window has its event handler but I can register it with xmanager,
and have the problems I commented in my previous post.

Thanks ;)


PS: Here a library that seems so good but I have never use test it:
http://www.mpimet.mpg.de/en/misc/software/idl/html/libmark_h adfield.php.
See "mghwidgetbase__define" object.


--
-----------------------------------------------------
Antonio Santiago P�rez
( email: santiago<<at>>grahi.upc.edu )
( www: http://www.grahi.upc.edu/santiago )
( www: http://asantiago.blogsite.org )
-----------------------------------------------------
GRAHI - Grup de Recerca Aplicada en Hidrometeorologia
Universitat Polit�cnica de Catalunya
-----------------------------------------------------
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: contour in isurface changes x and y axis ranges
Next Topic: Re: Determine if class has method/property

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

Current Time: Wed Oct 08 15:12:43 PDT 2025

Total time taken to generate the page: 0.00616 seconds