Search found 50 matches

by fritzdekatt
Fri Nov 15, 2019 12:01 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Setting focus to a Data Grid
Replies: 42
Views: 3185

Re: Setting focus to a Data Grid

That is what fun is all about. But I am still puzzled by your puzzlement. You select a cell in Excel by clicking on that cell. You do EXACTLY the same with either a DG or a table field. So then what is this all about: Still, I'd like to be able to select and enter the table field via the keyboard. ...
by fritzdekatt
Thu Nov 14, 2019 11:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Setting focus to a Data Grid
Replies: 42
Views: 3185

Re: Setting focus to a Data Grid

Just saw your latest post, which crossed mine in the mail. A table field is just a field. But it contains the ability to create and overlay an ephemeral editable field that is sized and located dynamically on top of the "cell" where one clicks. Once its job is done, it populates the underlying cell...
by fritzdekatt
Thu Nov 14, 2019 10:26 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Setting focus to a Data Grid
Replies: 42
Views: 3185

Re: Setting focus to a Data Grid

Still, I'd like to be able to select and enter the table field via the keyboard. Do you mean do this, in a button script: on mouseUp click at "118,228" end mouseUp This will open the phantom field, and you can start typing right away. This issue is knowing where to click. A table field can respond ...
by fritzdekatt
Thu Nov 14, 2019 7:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Setting focus to a Data Grid
Replies: 42
Views: 3185

Re: Setting focus to a Data Grid

Hi. If you want headers and such, you are probably going to have to use a DG. I have one comment. Since I am lazy, I try to stay out of the DG API as much as possible. I do this by extracting the entire contents of the DG with either the dgText or the dgData, do all my massaging back in good ol' LC...
by fritzdekatt
Thu Nov 14, 2019 3:56 pm
Forum: Developer Services Marketplace
Topic: Simple DB app
Replies: 6
Views: 2848

Re: Simple DB app

I was thinking about making this month's LCG session on building a simple DB app in LC anyway, so keep the thoughts going... Mikey I just saw this and wondered what it was about. I never heard of an "LCG session". I'm guessing this stands for "Live Code Group". If this is so, is this an interactive...
by fritzdekatt
Thu Nov 14, 2019 11:30 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Setting focus to a Data Grid
Replies: 42
Views: 3185

Re: Setting focus to a Data Grid

Richard suggests table fields. I like table fields. But you have to massage a new table field before it is stable. See this: http://forums.livecode.com/viewtopic.php?f=7&t=31452&p=170731&hilit=correctly#p170731 Once properly set up, these fields are very easy to use. Craig Richard I'm going to addr...
by fritzdekatt
Wed Nov 13, 2019 11:40 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Setting focus to a Data Grid
Replies: 42
Views: 3185

Re: Setting focus to a Data Grid

Michael says that I said: To clarify dunbarx's answer, when he says, "one must create a suite of fields in order for the DG to create and name them", that doesn't mean *you* must create any fields, the DG creates all the fields it needs automatically. It is the nature of DG's that they create and d...
by fritzdekatt
Tue Nov 12, 2019 11:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Setting focus to a Data Grid
Replies: 42
Views: 3185

Re: Setting focus to a Data Grid

This should go a long way in advancing my goal of having a simple ledger app that you could just edit as a list like a spreadsheet. Ugh, *I'm* writing a simple ledger app that you can edit like a spreadsheet! I just helped my competitor! Oh well, I guess I'll have to compete on price. There are man...
by fritzdekatt
Tue Nov 12, 2019 10:41 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Setting focus to a Data Grid
Replies: 42
Views: 3185

Re: Setting focus to a Data Grid

This should go a long way in advancing my goal of having a simple ledger app that you could just edit as a list like a spreadsheet. Ugh, *I'm* writing a simple ledger app that you can edit like a spreadsheet! I just helped my competitor! Oh well, I guess I'll have to compete on price. That's like s...
by fritzdekatt
Tue Nov 12, 2019 6:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Setting focus to a Data Grid
Replies: 42
Views: 3185

Re: Setting focus to a Data Grid

Important to know that we are talking about FIELD "col 1 0001". This is how a DG orders its fields. Note that this process is dynamic, in that one must create a suite of fields in order for the DG to create and name them. So once in hand, you can: select fld "col 1 0001" or put "fff" into fld "col ...
by fritzdekatt
Tue Nov 12, 2019 6:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Setting focus to a Data Grid
Replies: 42
Views: 3185

Re: Setting focus to a Data Grid

LC can't seem to find "Col 1 0001", or a name of my own choosing for a column, to put into fieldID. What do you mean "LC can't seem to find" the column? Are you getting an error when you're using my code, following my instructions in the previous post? If so, what is the error? First of all, can yo...
by fritzdekatt
Tue Nov 12, 2019 11:55 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Setting focus to a Data Grid
Replies: 42
Views: 3185

Re: Setting focus to a Data Grid

Good process for troubleshooting is to get a simple version that works, then keep adding complexity until it breaks. For example: (a) Create a new stack. (b) Drag a new Data Grid out of the tool palette. (c) In the Property Inspector > Content, add a word of data. (d) Create a button with this scri...
by fritzdekatt
Fri Nov 08, 2019 9:17 pm
Forum: User Groups and Events
Topic: User Groups in Connecticut?
Replies: 4
Views: 5026

Re: User Groups in Connecticut?

There's a new site for usergroups at http://livecode.com/community/user-group/ Not all groups are there yet, but it should be updated with more of them soon. Besides this sub-forum and that site, I don't really know about any :( I'm going to assume this list is no longer being maintained. Is there ...
by fritzdekatt
Wed Nov 06, 2019 7:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Setting focus to a Data Grid
Replies: 42
Views: 3185

Re: Setting focus to a Data Grid

Did you get anywhere with this? This should work to open the "phantom" edit field. dispatch "EditFieldText" to group "MyDataGrid" with (tLongId) where tLongId is the long ID of the field you want to be automatically opened for editing. Unfortunately the DataGrid does not appear to be set up for key...
by fritzdekatt
Thu Oct 24, 2019 10:26 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Setting focus to a Data Grid
Replies: 42
Views: 3185

Re: Setting focus to a Data Grid

A little flicker of a response is enough to go on at the moment. I'll play with it a bit.
Thank you, Michael.

Go to advanced search