1. Should this editing window be a stack, substack, or card? What is proper procedure?
2. When I do open this new window how can I send a specific column to the new window so the new window can
load the data related to the row clicked. So far I have this code in my datagrid just sending the column
clicked to an answer prompt. I would like to be able to send the ID column no matter what column the user
clicks on.
Code: Select all
on mouseDoubleUp pMouseBtnNum
## Let Data Grid process mouseDown and select row that was clicked on
dgMouseDown pMouseBtnNum
## Get value of column clicked on. The column name can be accessed in the
## dgColumn custom property of the column control (the target).
put GetDataOfIndex(the dgHilitedIndexes of me, the dgColumn of the target) into theColumnValue
answer theColumnValue
## Don't pass mouseDown
end mouseDoubleUp
Livecode as good
