Search found 6082 matches

by dunbarx
Thu Aug 22, 2019 3:56 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Copying a corrupted stack on a new clean one
Replies: 8
Views: 174

Re: Copying a corrupted stack on a new clean one

Richard. Just for old times... It's too bad that so many other complex formats like HyperCard.. I get problems with LC now and then, never a corruption but rather a crash forcing a reload. But I do not think I ever saw more than a couple of similar issues with Hypercard, and like you, I started usin...
by dunbarx
Thu Aug 22, 2019 12:44 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Copying a corrupted stack on a new clean one
Replies: 8
Views: 174

Re: Copying a corrupted stack on a new clean one

Hi.

With only five cards, copy them by hand to a new stack. For the subStack, just reset its mainStack in the inspector to the new stack.

Craig
by dunbarx
Thu Aug 22, 2019 12:37 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Cell formatting in Table Field
Replies: 17
Views: 398

Re: Cell formatting in Table Field

Your script is exactly what i need to get the day clicked, do you know how I can calculate the month by getting the cell clicked (using the tabstop) ? Not sure how your calendar is constructed. Are there only a series of dates without any other information? In other words, at the end of the "Januar...
by dunbarx
Wed Aug 21, 2019 6:16 pm
Forum: Talking LiveCode
Topic: tableField oddity
Replies: 1
Views: 99

tableField oddity

Make a table field, and put some text into a few lines of it. Put this into its script:

Code: Select all

on mouseDown
   click at "11,11" -- the value is not pertinent
end mouseDown
Click on any cell. The entirety of all "cells" in all lines before and including the "cell" clicked on becomes hilited.

Craig
by dunbarx
Wed Aug 21, 2019 6:11 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Cell formatting in Table Field
Replies: 17
Views: 398

Re: Cell formatting in Table Field

You don't even need to use the "do" construction: on mouseDown if the clickText <> "" then set the backColor of the clickChunk to "red" end mouseDown You need to check the clickText; the problem with this sort of kluge is that the "cell" is not accessible as a whole the way we want it, and it matter...
by dunbarx
Wed Aug 21, 2019 2:15 pm
Forum: Talking LiveCode
Topic: LC 9.5 crashing very often
Replies: 3
Views: 145

Re: LC 9.5 crashing very often

Panos.

I was overjoyed that v.9x had fixed the old and very annoying errant red dot issue. Please let us know when this is resolved.

Craig
by dunbarx
Wed Aug 21, 2019 2:12 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Cell formatting in Table Field
Replies: 17
Views: 398

Re: Cell formatting in Table Field

Try this in the script of a table field where there is data in each "cell" of the first line of that field: on mouseDown put the clickchunk into tChunk do " set the backColor of tChunk to blue" end mouseDown Click on one or more "cells". Is this enough of a marker? The choice of color can be selecte...
by dunbarx
Wed Aug 21, 2019 2:06 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Cell formatting in Table Field
Replies: 17
Views: 398

Re: Cell formatting in Table Field

Hi. It is certainly possible to do all you want. But because it requires more from a table field than is natively within that field, kluges will be required. Just one more time (as I mistakenly thought at the top of this thread), much is simplified if the scroll can be vertical instead of horizontal...
by dunbarx
Tue Aug 20, 2019 9:36 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Cell formatting in Table Field
Replies: 17
Views: 398

Re: Cell formatting in Table Field

So I guess that in order to colorize a full "cell", one would have to overlay, say, a button with a moderate blendLevel, size it and place it by keeping track of the hScroll and calculating the tabStops of the item of interest?

Craig
by dunbarx
Tue Aug 20, 2019 3:42 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Cell formatting in Table Field
Replies: 17
Views: 398

Re: Cell formatting in Table Field

Boggsie.

No joke. i asked for the entire cell, not just the text within,

Craigsie.
by dunbarx
Tue Aug 20, 2019 2:41 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Cell formatting in Table Field
Replies: 17
Views: 398

Re: Cell formatting in Table Field

On another note, since you mention it, I have no idea what the cellFormat property is. It does not appear in the dictionary.

Sounds interesting, though.

Anyone?

Craig
by dunbarx
Tue Aug 20, 2019 2:31 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Cell formatting in Table Field
Replies: 17
Views: 398

Re: Cell formatting in Table Field

I just saw that you wanted a horizontal calendar, so the natural parsing available with lines is not valid. All the data resides in line 1, no? Have to play with this for a while, but at least you can do odd things like: on mouseDown put the clickchunk into tChunk set the itemDel to tab do " set the...
by dunbarx
Tue Aug 20, 2019 1:54 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Cell formatting in Table Field
Replies: 17
Views: 398

Re: Cell formatting in Table Field

Hi. A table field is just a field with certain properties. You can set the backColor (or the textColor) of, say, line 20 of that field to, say, "red". You may want to change the margin properties so that the backColor completely fills the "cell". Some other tweaks will likely be necessary as well......
by dunbarx
Sun Aug 18, 2019 6:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: DATAGRID does NOT load any files on standalone windows application
Replies: 3
Views: 107

Re: DATAGRID does NOT load any files on standalone windows application

Hi.

What Klaus said. Unless you use only ask and answer commands, always, always select the inclusions yourself. You may miss some, but make that the first thing you suspect.

Craig

Go to advanced search