[Gambas-user] TableView and Tab key

Rolf-Werner Eilert rwe-sse at osnanet.de
Mon May 13 12:48:41 CEST 2019

Hi Bruce,

> IIRC there is something funny about pressing return at the end of  > tableview?
Haven't checked that by now...

> Best of luck.


> (We use a standard approach in this type of instance. Select a row in a 
> gridview and if your user is allowed to edit it, then it shows an editor 
> in a panel below the grid. IOW the grid is just a "selector" and say 
> double clicking the row or any column or right clicking on a cell brings 
> up a menu. Much easier to control and the user can "SEE" the intent of 
> their actions.

Up to now, very similar to the way I handle it, but it depends on the 
program. For one of them, I introduced my own editing procedure using a 
TextBox appearing over the cell, but mostly I use an extra button or key 
to lead the user into a separate editing place.

Double clicking is much more what I would expect, a single click should 
only select the row for instance. On the other hand, in a word processor 
like Writer I would expect the behaviour of TableView.

But just blocking the Tab key would be a shame, some people (like me) 
are very much used to it.


> On 13/5/19 7:44 pm, Rolf-Werner Eilert wrote:
>> Now I tried around a bit with the editing function in TableView.
>> With NoKeyboard I can switch the Arrow keys on and off, and Return 
>> seems to run as one would expect.
>> But when I press Tab, the cursor jumps into nowhere, the cell contents 
>> disappears, and when I click back on the cell there is a short glimpse 
>> of the selected contents which again disappears after half a second. 
>> Pressing Return will save the text and make it reappear.
>> So handling the Tab key(s) would be necessary. Or is it only me who is 
>> used to applying the Tab key in a table? It should have the same 
>> effect as Return, but stopping at the end of the line (in LibreOffice, 
>> Word etc. it will not stop and even produce a new line, if that is 
>> wished).
>> Regards
>> Rolf
>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----

More information about the User mailing list