chitz
12-18-2000, 10:46 PM
I created a recordset and bound it to a hier. flexgrid to display the recordset. Upon selection of one of the rows in the grid, I would like the values of the selected row transfered to property variables of an object. I can select, but not transfer. Help please.
Neptune
12-22-2000, 02:03 PM
You can get what is displayed in a specific cell
Sub Fg1_Click
Label1.Caption = Flex1.TextMatrix(Flex1.Row,Flex1.Col)
End sub
Clicking MSHFlexGrid named Fg1 will cause label1's caption to display clicked cell value.
Note : textmatrix retrieves the values as text so you must convert before use, where needed.
Neptune
12-22-2000, 02:04 PM
Sorry Fg1 should read as Flex1 in above message