« Return to Thread: Strange behaviour of FXDataTarget connected to FXTextField

Re: Strange behaviour of FXDataTarget connected to FXTextField

by kwicher :: Rate this Message:

Reply to Author | View in Thread

If it is like that, what should be the target for the FXText so that I
can handle SEL_RIGHTBUTTONRELEASE message sent by it? Should the
target be self?

Thanks
K

On Apr 14, 2:04 pm, Lyle Johnson <l...@...> wrote:

> On Apr 13, 2009, at 6:26 PM, XY$ wrote:
>
> > Thanks I see ...
> > .. but if I connect my SEL_RIGHTBUTTONRELEASE handler to the
> > FXDataTarget instead it should receive the message from FXText (I
> > found out that FXTextField does not sends right button messages) ,
> > shouldn't it?
>
> I'm pretty sure that FXDataTarget only forwards SEL_COMMAND and  
> SEL_CHANGED messages to its target, so no, you wouldn't get the  
> SEL_RIGHTBUTTONRELEASE message.
> _______________________________________________
> fxruby-users mailing list
> fxruby-us...@...://rubyforge.org/mailman/listinfo/fxruby-users
_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users

 « Return to Thread: Strange behaviour of FXDataTarget connected to FXTextField