update URL when user changes the value of a cell
Posted: Thu Sep 03, 2015 4:36 pm
In a basic table or datagrid, how would I get the program to response when a user changes the value of a cell, in such a way that the program knows which cell is being changed and can act accordingly (e.g. copy the changes to a URL)?
I'm envisioning the following scenarios. After changing the cell's value, the user:
-- tabs into another cell
-- presses the 'return' key
-- clicks anywhere in the app but outside the boundaries of the table/grid
-- clicks another cell
-- presses the 'up' 'down' 'left' 'right' key
Some of these I think I know (e.g. on keyDown up), but I don't know how livecode distinguishes between different cells in a way where I could get my program to know which item/line to validate/update.
Thanks
I'm envisioning the following scenarios. After changing the cell's value, the user:
-- tabs into another cell
-- presses the 'return' key
-- clicks anywhere in the app but outside the boundaries of the table/grid
-- clicks another cell
-- presses the 'up' 'down' 'left' 'right' key
Some of these I think I know (e.g. on keyDown up), but I don't know how livecode distinguishes between different cells in a way where I could get my program to know which item/line to validate/update.
Thanks
