Re: Goofy question about Datagrids

2016-11-05 Thread Sri
em 3 of pData) end fConvert It works perfectly; here's the image. <http://runtime-revolution.278305.n4.nabble.com/file/n4710097/after.png> I hope the images show in the post (My post wouldn't make any sense otherwise!) Regards, Sri -- View this message in context: http://run

Re: Goofy question about Datagrids

2016-11-04 Thread dunbarx
Hi. Can you do it with the "startUp" message? Craig -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Goofy-question-about-Datagrids-tp4709954p4710092.html Sent from the Revolution - User mailing list archive at

Re: Goofy question about Datagrids

2016-11-04 Thread Bob Sneidar
Well I discovered that what you CANNOT do is call a user-defined command or function that has not been loaded yet, as in a front or back script that has not been inserted yet. If I do, when I open the stack I get an error. I suppose I could do the inserts in a preopen handler, but the scripts

Re: Goofy question about Datagrids

2016-11-02 Thread Sri
Hi Bob: Make it set the text of field 1 of me to just to be sure. You can have a group of more than one object in the cell. Regards, Sri -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Goofy-question-about-Datagrids-tp4709954p471.html Sent

Re: Goofy question about Datagrids

2016-11-02 Thread Bob Sneidar
Thanks I'll give that a try. Bob S On Nov 2, 2016, at 13:21 , Sri > wrote: on FillinData pData set the text of me to fConvert(pData) end FillinData function fConvert pDate /*convert the original format to display format*/ end fConvert Regards, Sri

Re: Goofy question about Datagrids

2016-11-02 Thread Sri
Data set the text of me to fConvert(pData) end FillinData function fConvert pDate /*convert the original format to display format*/ end fConvert Regards, Sri -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Goofy-question-about-Datagrids-tp4709954p4709998.html Sent f

Re: Goofy question about Datagrids

2016-11-02 Thread dunbarx
ds respond to "the target". It is all made in LC, after all. Craig -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Goofy-question-about-Datagrids-tp4709954p4709997.html Sent from the Revolution - User mailing list a

Re: Goofy question about Datagrids

2016-11-02 Thread Bob Sneidar
This is something I want to look into. I store datetime data in "international" format, but I want to display it in a kind of short date/time format. Currently I run the datagrid array through some functions for doing that, but it might be advantageous to have the datagrid library do this for

Re: Goofy question about Datagrids

2016-11-02 Thread Sri
is message in context: http://runtime-revolution.278305.n4.nabble.com/Goofy-question-about-Datagrids-tp4709954p4709993.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Pl

Re: Goofy question about Datagrids

2016-11-02 Thread Roger Eller
If you want to total a column in a simple table field, assuming column 8, this is my long-winded approach. on mouseUp set the itemDel to TAB constant tColumn = 8 constant tFieldName = "myFakeSpreadsheet" put the number of lines of fld tFieldName into tLineCount if line -1 of fld

Re: Goofy question about Datagrids

2016-11-02 Thread Bob Sneidar
It's my impression that Datagrids make terrible spreadsheets as is. But so does the table field. A LOT of work has to be done on both to get them to act like a spreadsheet. As it turns out, a spreadsheet is a quite complicated thing to implement. If you intend to do calculations, then there is

Re: Goofy question about Datagrids

2016-11-02 Thread jameshale
Trevor did in creating it. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Goofy-question-about-Datagrids-tp4709954p4709976.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailin

Re: Goofy question about Datagrids

2016-11-02 Thread BNig
odTableField I recommend version 0.3.2 http://berndniggemann.on-rev.com/modTableField/modTableField_0_3_2.zip Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Goofy-question-about-Datagrids-tp4709954p4709974.html Sent from the Revolution -

Re: Goofy question about Datagrids

2016-11-01 Thread dunbarx
-- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Goofy-question-about-Datagrids-tp4709954p4709967.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode

Re: Goofy question about Datagrids

2016-11-01 Thread Richmond
Possibly . . . But what I really meant was "what advantage does a datagrid have over a tableField vis-a-vis spreadsheet handling?" Sorry; finding it rather difficult to formulate an uneasy feeling I've had about datagrids ever since they were first introduced. Richmond. On 1.11.2016

Re: Goofy question about Datagrids

2016-11-01 Thread Mike Kerner
N00bs should also check out modTableField and tableLab (Bernd and Scott, respectively) http://berndniggemann.on-rev.com/modTableField/modTableField_0_1_9.livecode.zip http://forums.livecode.com/download/file.php?id=5458=672cdd04a95bc2c80430bc1bc88b7470 On Tue, Nov 1, 2016 at 3:15 PM, Peter TB

Re: Goofy question about Datagrids

2016-11-01 Thread Peter TB Brett
On 01/11/2016 18:29, Richmond wrote: What advantage has a datagrid over a tableField? You can build each row of datagrid using any controls or widgets. Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs:

Re: Goofy question about Datagrids

2016-11-01 Thread Roger Eller
Hi Richmond, I'll give you an 'improperly formulated' explanation of my own experience with datagrids. They are more complicated to use (at first). So most of the time I still use a table field for everything except where the nice appearance of a datagrid gives the design a polished and

Goofy question about Datagrids

2016-11-01 Thread Richmond
What advantage has a datagrid over a tableField? I would be very grateful indeed for a properly formulated explanation. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage