I think you will have to trap keys and call your various cell handlers yourself.
If you store the last known cell coordinates and then check them after each rawKeyDown, you can then perform actions if they change.
This may not be exactly what you want but hopefully there is enough of an idea to get you going.
Cheers, Sarah [EMAIL PROTECTED] http://www.troz.net/Rev/
On Friday, August 1, 2003, at 02:19 am, Gary Rathbone wrote:
I've got my field looking (well nearly) pretty much how I want. It's a field/table with Cell Formatting and Cell Editing. Looks like a spreadsheet...
I'm looking for commands such as On EnterCell, On CloseCell, On ExitCell to initiate calculations on other cells And specific cell commands... Eg Assign a script to field "tdata"
On CloseCell tcol,trow --the cell has been changed if tcol=7 then --calculate the sales tax put trow*0.175 into Cell(7,trow) end if end Close Cell
Also I'd like to format column 7 to rightalign...
Eg Set the ColumnAlign of Column 7 of fld "tdata" to right
Am I expecting too much of this new feature? If so how do I trap changes
in 'Cells' so I can write these procedures myself.
Any pointers would be gratefully appreciated.
Regards
Gary Rathbone
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
