« 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

Thanks a lot. I got it and it works.

K

On 14 Apr, 18:48, Lyle Johnson <l...@...> wrote:

> On Tue, Apr 14, 2009 at 11:24 AM, XY$ <kwic...@...> wrote:
> > 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?
>
> Well, there's nothing special about it, but I'd probably just use an
> anonymous handler, e.g.
>
>     text_widget.connect(SEL_RIGHTBUTTONRELEASE) do
>       # handle right button release on text widget
>     end
>
> Hope this helps,
>
> Lyle
> _______________________________________________
> 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