Il sabato 13 giugno 2009 22:35:55 thesheff17 ha scritto: > I have gridview that has the mode is set to single to select a single row. > How do I get the value of the row that was clicked? Or get the x coordinate > value of the row that is clicked?
Let's say your gridview is called GridView1 and you want to know the content of a certain grid cell when you click on it: PUBLIC SUB Gridview1_Click() DIM iRow, iColumn AS Integer DIM sCellText AS String iRow = LAST.Row iColumn = LAST.Column sCellText = Gridview1[iRow, iColumn].Text END Bye, Stefano ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user