Search found 2733 matches

by SparkOut
Mon Feb 26, 2024 10:16 pm
Forum: Android Deployment
Topic: How to perform basic arithmetic operations
Replies: 13
Views: 807

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: 807

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: 807

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: 4654

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: 4654

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: 6199

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: 6199

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: 2104

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: 832

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: 2104

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: 2104

Re: I am far too bold

More humane to drown it (or at least, less messy without dangerous shards and splinters)
by SparkOut
Tue Jan 30, 2024 9:56 pm
Forum: Off-Topic
Topic: LiveCode and HyperStudio
Replies: 29
Views: 55988

Re: LiveCode and HyperStudio

Dunno, a google search revealed this, might be the requested one http://preserve.mactech.com/articles/ma ... index.html
by SparkOut
Tue Jan 23, 2024 4:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Set the fullscreenmode of me to "ExactFit" has no effect.
Replies: 10
Views: 1020

Re: Set the fullscreenmode of me to "ExactFit" has no effect.

Presumably that's a typo and you mean

Code: Select all

on preOpenStack
  set the fullscreenmode of me to "exactFit"
 end preOpenStack 
with a space between "on/end" and "preOpenStack" - otherwise it looks ok
by SparkOut
Sun Jan 21, 2024 3:50 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Setting the defaultfolder on the fly
Replies: 9
Views: 1183

Re: Setting the defaultfolder on the fly

It won't be ellipsis, but the double dot "go back up one folder level" line in the list of folders returned.

Go to advanced search