In the Gambas3 Documentation at 
http://www.gambasdoc.org/help/comp/gb.form/tableview?v3 it says:
"Hitting the ENTER or the RETURN key moves to the next cell like the 
right arrow key. But if the end of the TableView is reached, the Insert 
event is raised."

I surmised that this will trigger the Save event. But the ENTER key (on 
the numeric keypad) does not trigger the Save event.

Is this and error in the Docs, or a bug, or something else I may have 
missed?

Thanks,
Lee

P.S. On semi-related note, That page also says, "If the user modifies 
the cell contents, then the Save event is raised, and you must actually 
save the data during the Save event handler. This is not automatic!"

Not realizing exactly what, "save the data," meant, I called 
TableView.Save from within the Save event to save the data. I got a 
Stack Overflow error. Duh.

The data just needs to be written to the TableView cell as in 
"TableView1[Row, Column].Text = Value".

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to