Search found 9313 matches

by dunbarx
Thu Mar 28, 2024 10:50 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LC makes my stack a substack
Replies: 11
Views: 269

Re: LC makes my stack a substack

Mind you, you can save data to, say, a text file.
Yep, that is the "other" way to do it, likely a favorite for many. I like the splash method.

Craig
by dunbarx
Thu Mar 28, 2024 4:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LC makes my stack a substack
Replies: 11
Views: 269

Re: LC makes my stack a substack

Richmond.

Unless any stacks apart from the executable stack are in separate stack files, they won't save changes. Substacks don't cut it.

Craig
by dunbarx
Wed Mar 27, 2024 2:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LC makes my stack a substack
Replies: 11
Views: 269

Re: LC makes my stack a substack

@oldDummy.

What is different, apart from the name, between:

Code: Select all

go stack "Jukebox"
and:

Code: Select all

go stack "Jukebox2"
??

Craig
by dunbarx
Tue Mar 26, 2024 2:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LC makes my stack a substack
Replies: 11
Views: 269

Re: LC makes my stack a substack

Hi.

So you want two stacks, the first being your "splash" stack and the second being your "working" stack (or stacks).

Make sure that each resides in its own separate stack file. Each must live that way. If they are currently not, change them.

Craig
by dunbarx
Mon Mar 25, 2024 9:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Rename an Icon?
Replies: 37
Views: 840

Re: Rename an Icon?

Stam.

Are you from the South? I was once. Anyway, I know you are not, so I will inform you that what you just mentioned would be spelled, and pronounced, "sheeit".

Craig
by dunbarx
Mon Mar 25, 2024 9:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Rename an Icon?
Replies: 37
Views: 840

Re: Rename an Icon?

Pugalug

What Stam said. Please be careful. Mixing "name" and " ID" makes it difficult to determine what is really going on...

How did you find out that referencing an image (or an icon?) caused a problem? Was it that the wrong control appeared, different from what you expected?

Craig
by dunbarx
Mon Mar 25, 2024 8:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Rename an Icon?
Replies: 37
Views: 840

Re: Rename an Icon?

Stam.

(s)he ??

Certainly compact, but these days does not cover all bases...

Craig
by dunbarx
Mon Mar 25, 2024 8:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Rename an Icon?
Replies: 37
Views: 840

Re: Rename an Icon?

And you can set an alarm to go off whenever a "newImage" message is sent. Just trap it in the stack script:

Code: Select all

on newImage
  beep until the optionkey is down
end newimage
Make sure your sound is turned up loud. :D

Craig
by dunbarx
Mon Mar 25, 2024 7:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Rename an Icon?
Replies: 37
Views: 840

Re: Rename an Icon?

Have you noted the succession of changed ID's? In other words, if you copy and paste (or clone) a control the new ID will follow closely if not perfectly the ID of the lastmost created control. Do yours do that? You can use the "newImage" message to find out. That is sent each time a new image is cr...
by dunbarx
Mon Mar 25, 2024 7:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Rename an Icon?
Replies: 37
Views: 840

Re: Rename an Icon?

Hi. The ID of one control will not change whatever you do to any other. I believe we are all pretty sure about that. Ironically, what LC touts as an unchangeable and invulnerable property (the ID) seems not to be in your setup. There has to be something else going on. This issue has never come up be...
by dunbarx
Mon Mar 25, 2024 2:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Rename an Icon?
Replies: 37
Views: 840

Re: Rename an Icon?

Comforting is the fact that all other properties, like the control name, are held constant. The ID is therefore a different kind of property than any other, pertinent to the ongoing development of the controls comprising a stack, as opposed to any information about the controls themselves. I suppose...
by dunbarx
Mon Mar 25, 2024 2:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Rename an Icon?
Replies: 37
Views: 840

Re: Rename an Icon?

I imported an image onto a card and recorded the ID that LC assigned to it: 1003 I then cut the image and immediately pasted it. The ID of that image was 1006. This all makes sense to me. The IDE creates ID's as controls are created, without any thought to maintaining their original assignments. It ...
by dunbarx
Sat Mar 16, 2024 9:28 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Using field with "answer" dialog open
Replies: 26
Views: 904

Re: Using field with "answer" dialog open

Klaus.

Rereading, there is an oddity, "...Just make sure the field stays active when the dialog pops up."

Such sloppy verbiage is not uncommon in life, but do you think this snippet came from a human (spam) or a "C" rated AI helper (bot)?

Craig
by dunbarx
Sat Mar 16, 2024 8:09 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Using field with "answer" dialog open
Replies: 26
Views: 904

Re: Using field with "answer" dialog open

Interesting.

But if a spammer, he/she/them knew enough about LC to post an erroneous, er, post.

Odd, no?

Craig
by dunbarx
Sat Mar 16, 2024 4:40 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Using field with "answer" dialog open
Replies: 26
Views: 904

Re: Using field with "answer" dialog open

Klaus.

Pretty harsh. Poor Kabiru was only being wrong after all. Even I did that once. :wink:

Crai

Go to advanced search