Search found 166 matches

by MichaelBluejay
Tue Nov 26, 2019 5:40 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Datagrid: changing cell style
Replies: 23
Views: 891

Re: Datagrid: changing cell style

Zax, here's a script that kind of does what you ask, but there are lots of caveats. This script goes in the COLUMN BEHAVIOR for the column that has the checkbox. You'd think that you'd be attaching the script to the checkbox, because that's logical. You'd be wrong. on mouseup put the dgHilitedLines ...
by MichaelBluejay
Tue Nov 26, 2019 5:14 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Datagrid: changing cell style
Replies: 23
Views: 891

Re: Datagrid: changing cell style

As usual, that DG lesson raises more questions than it answers. Plus, it didn't work for me. (1) For some reason, to create a column TEMPLATE, instead you click column BEHAVIOR. Is a template the same thing as a behavior? If not, then what's the difference? And why are we clicking BEHAVIOR to create...
by MichaelBluejay
Sun Nov 24, 2019 7:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Datagrid: changing cell style
Replies: 23
Views: 891

Re: Datagrid: changing cell style

Zax wrote:
Sun Nov 24, 2019 10:35 am
I just realized I put a Option Menu button, and a checkbox in a Table DG...
I would love if you could tell me how you did that.
by MichaelBluejay
Sun Nov 24, 2019 8:47 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Datagrid: changing cell style
Replies: 23
Views: 891

Re: Datagrid: changing cell style

Why not download the trial of DGH and see what it can do. I did, about a year ago, and the experience was so painful I swore never to try again. DG gets a lot of flak on this forum, but to me DG Helper was even worse. Data Grid was grafted onto LiveCode rather than being built in as native. Data Gr...
by MichaelBluejay
Sun Nov 24, 2019 7:22 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Datagrid: changing cell style
Replies: 23
Views: 891

Re: Datagrid: changing cell style

jameshale wrote:
Sun Nov 24, 2019 1:49 am
You can of course do this [add a button to a table-based DG] the long way (i.e. do all the mods yourself)...
Could you, or somebody, please provide clear step-by-step instructions on how to do that?
by MichaelBluejay
Fri Nov 22, 2019 8:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Datagrid: changing cell style
Replies: 23
Views: 891

Re: Datagrid: changing cell style

bogs, that lesson is for DG forms, not tables, or at least that's what it says. I tried to make it work for tables but couldn't. Maybe it does, but again, the lesson isn't written well. Zax, try helping me get a checkbox into a DG table. DGs are indeed a pain, but the documentation is far worse than...
by MichaelBluejay
Fri Nov 22, 2019 4:41 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LC loses I/O ability about once a day
Replies: 15
Views: 796

Re: LC loses I/O ability about once a day

Like I said, I don't have a problem with my Notepad db that's been in the cloud for months, but LC loses I/O capability *besides* SQLite db, and seemingly even if the db file is stored locally.
by MichaelBluejay
Fri Nov 22, 2019 3:02 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Datagrid: changing cell style
Replies: 23
Views: 891

Re: Datagrid: changing cell style

I could probably figure out how to do this, *if* I could first figure out how to either get a checkbox into a DG table, or multiple columns into a DG form. I just spent half an hour trying to figure out how to do that before giving up. The DG documentation is simply atrocious. Can you give me a step...
by MichaelBluejay
Fri Nov 22, 2019 2:06 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LC loses I/O ability about once a day
Replies: 15
Views: 796

Re: LC loses I/O ability about once a day

Just an update. I think the error returned yesterday, with a local file, but I can't be sure. When I got a DB error, I thought it was a corrupted DB, but I couldn't find any corruption with my DB viewer app. I quit LC and restarted, and then I could load the DB fine. Also, my note-taking stack uses ...
by MichaelBluejay
Thu Nov 14, 2019 2:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Cant open *.livecode
Replies: 22
Views: 872

Re: Cant open *.livecode

DavJans, seeing stack "revMenuBar' means conclusively that your stack didn't open, not that it's open and you can't see it. I'm wondering if there might be some problem with your IDE, plugins, OS. Try opening the stack on another computer, or post it here or send it to one of us to see if we can ope...
by MichaelBluejay
Wed Nov 13, 2019 12:46 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Cant open *.livecode
Replies: 22
Views: 872

Re: Cant open *.livecode

Sorry for asking, but I hope you did more to verify that the stack didn't open beyond that you can't see its window. Maybe it's open but the window is hidden or off the screen or something. What happens when you enter "put the name of this stack" into the message box?
by MichaelBluejay
Tue Nov 12, 2019 9:24 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Setting focus to a Data Grid
Replies: 42
Views: 1646

Re: Setting focus to a Data Grid

fritzdekatt wrote: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.
by MichaelBluejay
Tue Nov 12, 2019 6:05 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Setting focus to a Data Grid
Replies: 42
Views: 1646

Re: Setting focus to a Data Grid

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.
by MichaelBluejay
Tue Nov 12, 2019 2:29 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Setting focus to a Data Grid
Replies: 42
Views: 1646

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...

Go to advanced search