Fabien: Here is the code:
private sub tblView_Click() tblView.edit() end private sub tblView_Save(row as Integer, Column as integer, value as string) if tblView.Column = 3 then query="update table ..." tblView.Cancel <-- once updated the database i want to return into browse mode no more edit needed endif end And Again... ______________________ |___|_Col1_|_Col2_|_Col3_| |_1_|_____ |_____ |______| |_2_|_____ |_____ |______| |_3.... In the properties of TableView Control, there is a Header property i have set "Both" which draw the Column Header and the Row Header << Row Header >> has no method. Thats my problem... If the user click in a cell. tblView.Row <works> but not when i click on Row Header or the control... Thanks. I hope be more clear... xOCh -- -- Powered by xOCh 210 ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user