You will need to add an On_Focus handler to the forms, you can write a
single handler and just attach to all the widgets. Have it store the ID or
a pointer to the last focused widget. The browser doesn't store or report
the focus so no other way to get it.

David Botton


On Mon, Apr 27, 2015 at 12:49 PM Wayne Bullaughey <[email protected]>
wrote:

>  I'm trying to build my 1st gnoga application somewhat based on the
> tutorial 9. I'm trying to create a two dimensional table with input fields
> on each row and a submit button per row. When a button is selected I want
> to get the values of each input on that row.
>
> I create two widgets, the first represents the whole table and the second
> one row. The 1st widget creates a view with a form in it and the table in
> the form. The second widget creates a row and three columns in the row. The
> 1st two columns are edit fields and the third a submit button.
>
> An On_Submit_Handler is set in the table widget. It gets called for the
> submit buttons. What I'm missing is how to access anything in the handler
> that lets me know what row the submit button was on and how to access the
> view data structure for the row.
>
> Thanks much
> Wayne
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Gnoga-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gnoga-list
>
------------------------------------------------------------------------------
_______________________________________________
Gnoga-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to