Search found 2737 matches

by SparkOut
Sat Mar 09, 2024 3:07 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Missing Fonts
Replies: 37
Views: 2722

Re: Missing Fonts

I had a very limited play with setup of a few fields and fonts to check inheritance. There's definitely something screwy going on, inheritance of the effective textfont and fontsize are not working properly on Windows, at least as far as I understand. I am not in a position to raise a bug report/rec...
by SparkOut
Sat Mar 09, 2024 11:41 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Missing Fonts
Replies: 37
Views: 2722

Re: Missing Fonts

I've tried using "Start using font file...". This brings the name into the Livecode Font menus, but has no effect on changing the font. So, you are successfully getting "Start using font file ..." to make the font available to LiveCode. That's a good (and needed) start. When you say that has no eff...
by SparkOut
Sat Mar 09, 2024 11:22 am
Forum: Talking LiveCode
Topic: Reading and writing text to / from a file
Replies: 26
Views: 1768

Re: Reading and writing text to / from a file

Clever is not to have millions of records in the same record file. Work on a separate file for today's data. Give it a separate filename based on the date. If you need to aggregate data you can append to a master archive file. Or just combine specific files in a given date range when needed. Or in a...
by SparkOut
Fri Mar 01, 2024 8:53 pm
Forum: Made With LiveCode
Topic: FolderWasher - deletes specific OS invisible files
Replies: 4
Views: 528

Re: FolderWasher - deletes specific OS invisible files

stam wrote:
Fri Mar 01, 2024 11:09 am
Thanks for sharing!
That's just crying out to be reported as a spammer's post. :lol:
Who are you and what have you done with the real stam? :wink:

But sorry for inane hijack, genuinely thanks to OP for posting this.
by SparkOut
Mon Feb 26, 2024 10:16 pm
Forum: Android Deployment
Topic: How to perform basic arithmetic operations
Replies: 13
Views: 1024

Re: How to perform basic arithmetic operations

I should have forced myself to carry on phonetyping and say "but it depends on the user interface" and "try to make the UX intuitive and simple/sensible". Slider values can be rounded or constrained quite simply. For a calculator UI, uh... use buttons with a big numeric (or delete, function,etc) ico...
by SparkOut
Mon Feb 26, 2024 8:11 pm
Forum: Android Deployment
Topic: How to perform basic arithmetic operations
Replies: 13
Views: 1024

Re: How to perform basic arithmetic operations

The field then will only allow digits or "." or "," to be entered (edit as needed). With this, the text of the field can only ever contain numbers. Of course, safest is to do both this and what Sparkout says, if you want the calculator logic to apply to inputs other than the field where you control...
by SparkOut
Mon Feb 26, 2024 10:19 am
Forum: Android Deployment
Topic: How to perform basic arithmetic operations
Replies: 13
Views: 1024

Re: How to perform basic arithmetic operations

Things to check (and have the script do some of the error checking for you): Field names match the script references Field contents are a number (For example, not a blank line that's been pushed out of view at the top of the field because of a number sitting in view at the bottom) Make the script ch...
by SparkOut
Sat Feb 17, 2024 1:35 pm
Forum: Off-Topic
Topic: Usability questions
Replies: 16
Views: 5776

Re: Usability questions

richmond62 wrote:
Sat Feb 17, 2024 10:34 am
In Scotland we have something equally disgusting called Lorne Sausage.
:lol:
And they keep trying to foist it on me when I'm travelling for work. Except on the MV Alfred, Lochmaddy to Uig sailing this morning with no catering or retail facilities at all.
by SparkOut
Fri Feb 16, 2024 7:51 pm
Forum: Off-Topic
Topic: Usability questions
Replies: 16
Views: 5776

Re: Usability questions

And chips and beans!
by SparkOut
Thu Feb 15, 2024 9:29 pm
Forum: Talking LiveCode
Topic: Custom fonts with a standalone
Replies: 22
Views: 6941

Re: Custom fonts with a standalone

No, you don't. A) put the path to the fontfile into tFontfile and check "there is a file (tFontfile)" before the start using statement. Show an error if the engine can't find the right font file. B) after successful check the file exists and start using statement, answer the fontnames. Make sure the...
by SparkOut
Wed Feb 14, 2024 6:50 pm
Forum: Talking LiveCode
Topic: Custom fonts with a standalone
Replies: 22
Views: 6941

Re: Custom fonts with a standalone

Try adding the keyword "globally" at the end if the "start using" statement. I have often had to do that, not sure why. But also test with another font style to see if it is the otf style that's the problem. I can't remember at the moment but I think otf is supported. But not every font file is the ...
by SparkOut
Fri Feb 09, 2024 10:53 pm
Forum: Talking LiveCode
Topic: I am far too bold
Replies: 26
Views: 2505

Re: I am far too bold

Have I missed something? The Property Inspector button for "bold" does not toggle the bold state on/off to != the current bold state of tte selected text? Instead it always sets the bold state of the selected text to true? OK there might be some complicated interpretations according to possible mixe...
by SparkOut
Fri Feb 09, 2024 1:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem with datagrid
Replies: 10
Views: 1055

Re: Problem with datagrid

I think we'd need to know the code for handling the "yes" answer you mentioned. It must be affecting the (current) datagrid data or behaviour somehow, and all the resets and refreshes are likely irrelevant. The dgData looks like it has received some incorrect value, eg text where a numerical value i...
by SparkOut
Thu Feb 01, 2024 8:50 am
Forum: Talking LiveCode
Topic: I am far too bold
Replies: 26
Views: 2505

Re: I am far too bold

Just put it in a sack with some horseshoes and bricks, tie it up and drop it in the canal.
Leave out the kittens!
by SparkOut
Wed Jan 31, 2024 11:47 am
Forum: Talking LiveCode
Topic: I am far too bold
Replies: 26
Views: 2505

Re: I am far too bold

More humane to drown it (or at least, less messy without dangerous shards and splinters)

Go to advanced search