[Gambas-user] Tableview question

Werner wdahn at ...1000...
Sun Oct 25 11:51:12 CET 2009


richard terry wrote:
> I've need to use the table view to allow user to edit/add new cells
>
> Despite reading Doc's and looking at the  examples in the IDe I'm no closer to 
> getting the concept of how the thing works, so I wonder if anyone could 
> explain its use in simple terms and show me a simple sample of how to allow;
> *user to click on cell > enter > add information > exit > value appearing in 
> the cell, adding new row etc.
>
> In the meantime I'll pore over the gambas IDE sourcecode and try again!
>
> Regards
>
> richard
>   
I made a little example where one can edit the contents of a cell. The
changes are stored with Tab of Return keys or clicking a different cell.
All of these create a _Save event which can be used for data validation.

It works fine here (Suse11.1/64, KDE 3.5)

Regards
Werner


-------------- next part --------------
A non-text attachment was scrubbed...
Name: TableViewTest.tar.gz
Type: application/x-gzip
Size: 8760 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20091025/43f3c238/attachment.bin>


More information about the User mailing list