Re: Edit cell in basic table field

2014-02-23 Thread J. Landman Gay
On 2/22/14, 9:05 PM, David Epstein wrote: Inspecting "the frontscripts", I discovered that the handlers governing basic table fields are in the script of button "revTable" of group "revLibraries" of stack "revLibrary." 1. Hoping to see table-editing in action, I set a checkpoint at the beginni

Re: Edit cell in basic table field

2014-02-23 Thread Bob Sneidar
Rev’s libraries are not debuggable in that sense. If I recall, any stack name that begins with “rev” is considered a Livecode Library (which can be useful for people building their own libraries). You can still however, use the new assert statement to build logging, or just simply use an answe

Re: Edit cell in basic table field

2014-02-22 Thread David Epstein
Thanks very much for the suggestions of other tools and the script that would help me write my own. But before giving up completely on the basic table, I'm trying to understand how it works (and, in the process, more about how LiveCode works). Inspecting "the frontscripts", I discovered th

Re: Edit cell in basic table field

2014-02-22 Thread BNig
Hi Peter, yes I did a modifiedTableField which is a variant of the table field. It has evolved from the one I announced on the list and allows data entry and some more fancy things. I just uploaded the current version. It is not finished but the api calls are documented. http://berndniggemann.on

Re: Edit cell in basic table field

2014-02-22 Thread Peter Haworth
There is a great table object available from Bernd Niggermann (modTableField) that includes a lot of the power of the datagrid but with less complexity. Bernd, care to chime in? Pete lcSQL Software Home of lcStackBrowser and SQLite

Re: Edit cell in basic table field

2014-02-22 Thread Peter M. Brigham
Here's a function that may come in handy if you need to script something based on which table cell is clicked. function gridCellClicked -- Designed for tab-delimited fields, ie., tables -- returns empty if the field doesn't contain a char, -- otherwise returns ,: --

Re: Edit cell in basic table field

2014-02-21 Thread dunbarx
Bob is probably right about the fact that you may run out of functional power with a table field. But I use them whenever I can, since they are much simpler and easier to manage. A phantom field is indeed created when you double-click on a "cell". Put this in the card script: on selectionch

Re: Edit cell in basic table field

2014-02-21 Thread Bob Sneidar
Yes. It’s called “use a data grid instead”. Table objects are simple fields that pretend to act as tables. Nothing beyond the messages a field gets are sent to a table field. It is JUST a field. That’s all. Datagrids on the other hand, are a complex group of fields and behaviors that make up t