[Gambas-user] Tableview behaviour

Benoît Minisini gambas at ...1...
Mon Oct 6 02:46:26 CEST 2014


Le 04/10/2014 09:22, bill-lancaster a écrit :
> The attached example has a tableview with values in column 0, click on one of
> those values and it goes into column 1.  Alternatively a new value may be
> entered in column 1.
> It all works fine but the return key causes unwanted data in column 1.
> Where am I going wrong?
> TableviewExample.gz
> <http://gambas.8142.n7.nabble.com/file/n48583/TableviewExample.gz>
>

You get the expected behaviour.

When you hit the RETURN key, the Click event is raised for each 
successive cell until the Click event handler calls the Edit method. 
This is the only way to find the next editable cell.

Regards,

-- 
Benoît Minisini




More information about the User mailing list