Hi.
What was the error? "No such object"? Perhaps the value of "pDataArray["progress bar"]" was not a number?
Craig
Search found 7324 matches
- Tue Jan 26, 2021 1:46 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Progress Bar in a Datagrid
- Replies: 2
- Views: 96
- Mon Jan 25, 2021 4:25 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: [SOLVED]-“Bad” global variables—Using alternatives
- Replies: 6
- Views: 212
Re: “Bad” global variables—Using alternatives
There was a movement, years ago, that gave global variables a bad name. Something about taking up memory, having to be declared in every script that needed them, whatever. Custom properties were seen as better alternatives. Perhaps that is what the lesson implied? I use globals, but use custom prope...
- Mon Jan 25, 2021 4:13 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: [SOLVED]-“Bad” global variables—Using alternatives
- Replies: 6
- Views: 212
Re: “Bad” global variables—Using alternatives
Hi. i am not sure what you are asking. I have not looked at the lesson. Anyway, let's say you have a bunch of command and function handlers in a script. Some of those handlers likely call others. Any variable's contents will not survive outside its own handler. You can pass its contents explicitly i...
- Fri Jan 22, 2021 9:54 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Smooth group scrolling
- Replies: 8
- Views: 490
Re: Smooth group scrolling
Is that what was meant? I read it as the scroll process keeps going after it has been "run" for a short time and the user lets go of the mouse or screen.
Craig
Craig
- Fri Jan 22, 2021 7:43 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Smooth group scrolling
- Replies: 8
- Views: 490
Re: Smooth group scrolling
Well, I have to get back to work. But try this. On a new card make a long scrolling group. Shorten the group so a scrollBar appears. Perhaps the group might have controls that you can see scroll by as you drag. Now make a button as tall as the group. Overlay the button on top of the group scrollbar ...
- Fri Jan 22, 2021 7:14 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Smooth group scrolling
- Replies: 8
- Views: 490
Re: Smooth group scrolling
Everything is possible in LC.
You have given me an excuse to stop working and check this out. Thank you
Craig
You have given me an excuse to stop working and check this out. Thank you
Craig
- Fri Jan 22, 2021 3:35 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Parsing Word files
- Replies: 28
- Views: 1210
Re: Parsing Word files
Klaus. What, that text is not readable? So a big difference between reading a file with, say the "read from file" command and simply copying the contents of a file and pasting into LC. I have used "the "read from file" command for years without issue, but only read "txt" documents that I made myself...
- Fri Jan 22, 2021 2:59 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Parsing Word files
- Replies: 28
- Views: 1210
Re: Parsing Word files
Hi. Just wondering, since I never do anything like this. What is missing, or what unwanted baggage comes over if you simply load the entire Word document into a field? Is it things like the fact that links lose their, er, links? Formatting seems intact. not that a lot of work might be necessary to t...
- Fri Jan 22, 2021 2:51 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: button/icon vs. image?
- Replies: 15
- Views: 1011
Re: button/icon vs. image?
Whatever is the most fun is the right thing to do.
Craig
Craig
- Thu Jan 21, 2021 7:24 pm
- Forum: Mac OS
- Topic: stdout on macOS 11.0.1 - working??
- Replies: 7
- Views: 465
Re: stdout on macOS 11.0.1 - working??
Jacque.
I always wondered where a naked "put" command would go in a standalone. I did not think msg would magically appear.
But isnt "console" strictly a Windows thing? Or is there a Mac equivalent?
Craig
I always wondered where a naked "put" command would go in a standalone. I did not think msg would magically appear.
But isnt "console" strictly a Windows thing? Or is there a Mac equivalent?
Craig
- Wed Jan 20, 2021 5:27 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: New Stack Preset Sizes
- Replies: 8
- Views: 475
Re: New Stack Preset Sizes
Bogs.
Yep. You can even have a bunch of rects stored somewhere, and choose among them to set the rect of the templateStack ad hoc. I am not sure this is faster or easier than just resizing the default, which, like you, is what I always do.
Craig
Yep. You can even have a bunch of rects stored somewhere, and choose among them to set the rect of the templateStack ad hoc. I am not sure this is faster or easier than just resizing the default, which, like you, is what I always do.
Craig
- Wed Jan 20, 2021 2:42 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: New Stack Preset Sizes
- Replies: 8
- Views: 475
Re: New Stack Preset Sizes
Hi.
Know you can set the properties of the "templateStack" to whatever you wish, and any new stack will look just like that one.
Craig
Know you can set the properties of the "templateStack" to whatever you wish, and any new stack will look just like that one.
Craig
- Wed Jan 20, 2021 2:12 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: What is a (better) replacement for CSV-data?
- Replies: 6
- Views: 494
Re: What is a (better) replacement for CSV-data?
Bogs.
You must have meant "annoyed" not "employed".
Craig
You must have meant "annoyed" not "employed".
Craig
- Wed Jan 20, 2021 1:06 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: File Size For Project With Only One Button Is Too Big
- Replies: 10
- Views: 504
Re: File Size For Project With Only One Button Is Too Big
I am on a Mac, and the basic standAlone I maintain is 39MB. The Windows version is 17MB.
Remember that the entire engine needs to ride inside the executable to run the standalone. The actual stacks that make up the package are about 2.7MB.
Craig
Remember that the entire engine needs to ride inside the executable to run the standalone. The actual stacks that make up the package are about 2.7MB.
Craig
- Tue Jan 19, 2021 9:21 pm
- Forum: Talking LiveCode
- Topic: ImageData question
- Replies: 13
- Views: 620
Re: ImageData question
Kelly and Richard.
Ah, if you need four characters to, er, characterize a pixel, then I get it. The "missing" ten chars were never missing.
Craig
Ah, if you need four characters to, er, characterize a pixel, then I get it. The "missing" ten chars were never missing.
Craig