[fxruby-users] [Foxgui-users] Focus and selection in #FXTable

Damián M. González gonzalezdamianm at hotmail.com
Sun Dec 23 13:33:44 UTC 2012

 Yes! that solve my problem. Thank you Jeroen!!!!!!!

> Date: Sat, 22 Dec 2012 15:42:00 -0600
> From: jeroen at fox-toolkit.com
> To: gonzalezdamianm at hotmail.com
> Subject: Re: [Foxgui-users] [fxruby-users]  Focus and selection in #FXTable
> On Sat, 22 Dec 2012 18:18:51 -0300
> Damián M. González <gonzalezdamianm at hotmail.com> wrote:
> >
> > That's not my case. In mine the table is read-only, when the user double click a cell and when the user press enter with the focus on the table and with one item of the table selected a #FXDialogBox appear, so what I want to acomplish is that, I have to create a SEL_KEYPRESS to catch the enter button pressed, right? but when I do that I stop Fox from go thorugh the cells when the user press the arrow buttons. What I have in mind is that the user can go thorugh the cells with the arrows button and when he desire to open that FXDialogBox where he stand he press enter button, currently I have no idea to resolve the problem.
> You can catch SEL_KEYPRESS but process only the KEY_Enter; return 0 for all other
> keys and the FXTable will still process the other key codes.
> 		-- JVZ
> -- 
> +----------------------------------------------------------------------------+
> | Copyright (C) 15:40 12/22/2012 Jeroen van der Zijp.   All Rights Reserved. |
> +----------------------------------------------------------------------------+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20121223/2d770981/attachment.html>

More information about the fxruby-users mailing list