table calculations

Klaus Major klaus at major-k.de
Wed Jun 4 09:46:01 EDT 2003


Hi Jan,

at first a short question:

Do you ever sleep?

Before one can read a question on this list,
you already posted a smart solution... ;-)

Not that i would mind...

Or are you able to clone yourself, like Scott R. did
sometimes in the past ;-)

(Maybe he passed this ability over to Tuviah S.
in these days...)

Please don't answer that question if it will hurt any
(inter-)national securitiy-issues...

> Hi Klaus,
>
> I'm afraid you'll get a bit warmer because it's not
> built-in ;

Arrgh...(sweat...)

> however, if you feel adventurous,

I sometimes feel... but it's too hot in the moment...
(33 Celsius, wow...)

> you could
> hack the revTable frontscript to suit your needs.
> A cursory look at that frontscript shows that its
> handler 'revWriteCellValue' might be a good place to
> hook onto : it is called whenever a cell is filled in
> with data.
> So if you add something like this to it :
>   set the uTableCellData[pRow,pColumn] of \
>       pObject to pValue
> that gives you an extra custom property set with dtaa
> per cell.
> And then you can :
>   put the customProperties["uTableCellData"] \
>       into tTableCellDataA
> and do interesting things with that array.
>
> Hopefully the next iteration of RunRev will give us
> more control over the data and send us a few messages
> (such as cellChanged) -- or maybe more will be
> implemented in the MetaCard engine.
>
> Hope this gets you started,
>
> Jan Schenkel.

I was afraid it wasn't that easy :-)

Thanks a lot, your suggestions will make me start.


Regards

Klaus Major
klaus at major-k.de




More information about the use-livecode mailing list