How to find the column and row of a basic tableField

Niggemann, Bernd Bernd.Niggemann at uni-wh.de
Thu Apr 2 05:24:08 EDT 2020


Sean,

The idea for the script I posted was to be independent of the Livecode provided tableField.

My use case was that tab-delimited data was provided in a _regular_ field and the user clicks on a cell and the developer wants to know which cell was clicked to take action upon that information. That is what modTableField is all about. modTableField has an option for the user to fill/change cells within the provided tab-delimited matrix.
http://berndniggemann.on-rev.com/mtf/modTableField.zip

To make such a field you use the standard field and set its hGrid and vGrid to true. The revtablelibrary frontscript knows nothing about such a field and keeps out of it.

If however you want to use the built-in tableField to let the user enter data (that is what I gather from your comment) be aware that revTableField is not free of bugs.

https://quality.livecode.com/show_bug.cgi?id=21679

That bug may be of interest to you if you want to let the user enter information at arbitrary not yet created cells in a revTableField

But then again I may not understand your use case. If I can be of help feel free to mail me.

Kind regards
Bernd



More information about the use-livecode mailing list