I have a datagrid showing a list of records. The list is for viewing only and when the user selects a row I want to populate a number of fields and buttons with data from the selected row. I have created my own default column behavior based on the standard one. Into this I have added the following code :
Code: Select all
On MouseUp
put the dgline of me into tline -- counts down the list not sure how this relates to the data
put the dgDataOfLine[tline] of me into tRecA
DisplaySelectedRow tRecA
pass MouseUp
end MouseUp
Simon K