Cells and tables
Malte Brill
malte.brill at t-online.de
Thu Oct 23 07:37:25 EDT 2003
Thanks a lot Joel. Very efficient.
>Why not simply define the following script in the table field:
>getProp cell[where]
> put item 1 of where into tRownum
> put item 2 of where into tColnum
> set the itemdel to tab
> return item tColnum of line tRownum of me
>end cell
>setprop cell[where] newValue
> put item 1 of where into tRownum
> put item 2 of where into tColnum
> set the itemdel to tab
> -- optionaly check here that newValue does not contain the itemdel:
> if the itemdel is in newValue
> then throw "Exception : new value should be 1 item!"
> put newValue into item tColnum of line tRownum of me
>end cell
More information about the use-livecode
mailing list