Search found 6518 matches

by dunbarx
Fri Mar 20, 2020 8:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating a flashing effect
Replies: 21
Views: 839

Re: Creating a flashing effect

out of hd space,
I ran out of head space long ago.

Craig
by dunbarx
Fri Mar 20, 2020 5:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating a flashing effect
Replies: 21
Views: 839

Re: Creating a flashing effect

Certainly in general the right thing to do.

Again, I was only playing with a random random gadget.

Craig
by dunbarx
Fri Mar 20, 2020 3:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating a flashing effect
Replies: 21
Views: 839

Re: Creating a flashing effect

Bogs.

What would that do for me? There is no user interaction during the process.

This is only a demo of scattering the changes amongst the buttons, and if other stuff was needed then maybe letting LC see the outside world would be a good idea.

Craig
by dunbarx
Fri Mar 20, 2020 2:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating a flashing effect
Replies: 21
Views: 839

Re: Creating a flashing effect

I have not run all the offerings here, but they seem to me to be too ordered. I like chaos. Just an experiment. Make four buttons. Put this in the card script: on mouseUp put "red,green,yellow,blue,orange" into tColors repeat 30 set the backcolor of btn random(4) to any item of tColors wait random(2...
by dunbarx
Thu Mar 19, 2020 11:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LiveCode Drop Tools HELP
Replies: 16
Views: 606

Re: LiveCode Drop Tools HELP

Ah.

I got the idea from a sloppy reading of the thread. Where else?

I don't know wanglucas well enough to annoy him.

Craig
by dunbarx
Thu Mar 19, 2020 7:20 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LiveCode Drop Tools HELP
Replies: 16
Views: 606

Re: LiveCode Drop Tools HELP

I don't get it...
Me neither. I have never personally spoken to anyone on the phone about LC forum stuff.

Craig
by dunbarx
Thu Mar 19, 2020 2:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LiveCode Drop Tools HELP
Replies: 16
Views: 606

Re: LiveCode Drop Tools HELP

when he told me this on the phone he was in a hurry so i didnt get to ask..
Bogs.

Are you running some sort of clandestine audio forum?

Craig
by dunbarx
Thu Mar 19, 2020 2:44 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LiveCode Drop Tools HELP
Replies: 16
Views: 606

Re: LiveCode Drop Tools HELP

Hi.

What are drop tools? Anything to do with drag and drop?

Craig
by dunbarx
Tue Mar 17, 2020 4:39 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Read from a Spreadsheet?
Replies: 7
Views: 372

Re: Read from a Spreadsheet?

Hi. LC can read and write to external files. Generically: answer file "Select file to read" --your excel file here put it into fileLoc open file fileLoc for read read from file fileLoc until EOF --or wherever you want to stop close file fileLoc The contents are placed into the local variable "it" Cr...
by dunbarx
Tue Mar 17, 2020 1:46 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Easy way to add commas to a number
Replies: 6
Views: 263

Re: Easy way to add commas to a number

Hi. I am with Bogs here, in that the simple loop he posted is, for me, far more sensible than any other method. By "sensible" I don't mean non nonsensical, but rather I can "see" the intent of the code. I can see the parsing, in each turn of the loop, of the items as they build. I can see how the it...
by dunbarx
Tue Mar 17, 2020 1:39 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Copy & paste Data Grid data?!
Replies: 7
Views: 336

Re: Copy & paste Data Grid data?!

Hi.

The DG API has all the things you need to work with columns and lines. You just have to learn it all.

That said, I almost always take the whole dataSet, either with the dgText or dgData, do whatever with it "back in LC", and reload the whole.

Craig
by dunbarx
Fri Mar 13, 2020 1:40 pm
Forum: Off-Topic
Topic: Opinions on proposed forum taxonomy change
Replies: 9
Views: 702

Re: Opinions on proposed forum taxonomy change

Richard.

Whatever you have ever thought a good idea, I did as well.

Craig
by dunbarx
Tue Mar 10, 2020 10:50 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Having fun with multiple monitors
Replies: 23
Views: 1191

Re: Having fun with multiple monitors

I learned this a long time ago about "Switch" constructions, which I love. You just cannot put stuff inside a "Switch" construction, but outside the "case" statements. Check this out, with a button and a field on a new card: on mouseUp put random(42) into fld 1 switch the number of btns --put random...
by dunbarx
Tue Mar 10, 2020 12:58 pm
Forum: Talking LiveCode
Topic: Why Am I Always a Beginner???
Replies: 7
Views: 1205

Re: Why Am I Always a Beginner???

The reason I will always be a beginner is because I am lazy. The stack in question has a mouseDown handler in the card script. That handler tests a custom property, such that if that condition is not met, it exits to top. My poor menuButton had no idea of that. The handler was meant to deal with qui...
by dunbarx
Tue Mar 10, 2020 12:38 am
Forum: Talking LiveCode
Topic: Why Am I Always a Beginner???
Replies: 7
Views: 1205

Re: Why Am I Always a Beginner???

Richard. Just saw your post as I was making a test on my home computer. Works fine without any "mouseDown" nonsense. This is not the first time I have found weird things happening to my work Mac. Tomorrow I will restart the machine and see ( I had already quit and reopened LC). The workaround (trap ...

Go to advanced search