Search found 5994 matches

by dunbarx
Wed Jun 19, 2019 3:54 pm
Forum: Talking LiveCode
Topic: Error on 'put "My text" into the selection'
Replies: 3
Views: 68

Re: Error on 'put "My text" into the selection'

Hi.

Works for me too, on a Mac. This must be an odd regression.

Craig
by dunbarx
Wed Jun 19, 2019 3:43 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sorting data question
Replies: 12
Views: 201

Re: Sorting data question

As Richard said, you can, for example: sort tData1 by item 3 of each -- or item 2 or 3 or whatever of each Which will give you (n this case) all the thicknesses collected together. You can then do lots of stuff to that newly ordered list. For example (pseudo): sort yourList by item 3 of each repeat ...
by dunbarx
Tue Jun 18, 2019 4:09 pm
Forum: Talking LiveCode
Topic: OpenStack not runnning
Replies: 16
Views: 278

Re: OpenStack not runnning

Hi.

Can you delete most of the content and scripts, so that the stack still has the issue? And can that then be sent to the team?

Craig
by dunbarx
Sat Jun 15, 2019 2:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: I cant change the Font
Replies: 7
Views: 221

Re: I cant change the Font

No. I executed it, after having convicted it of recalcitrance.

As Smales said in "CaddyShack", "I didn't like to do it, but I felt I owed it to it"
by dunbarx
Sat Jun 15, 2019 5:24 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: I cant change the Font
Replies: 7
Views: 221

Re: I cant change the Font

Hi.

There is NO reason for this. Three things to try:

1- Make a new stack with two cards, and try it there. Does it work normally?

2- Quit and restart LC. If that does not work, restart your computer.

3- I once had to shoot my smart phone, because it was acting badly. That cured it.

Craig
by dunbarx
Fri Jun 14, 2019 10:35 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [Solved] Action on return, enter and also on button click
Replies: 4
Views: 159

Re: Action on return, enter and also on button click

I think Sparkout and I will be on the same page. Make a few buttons and fields. Name one button "B1". Name one field "F1". In the card script: on mouseup if the short name of the target = "b1" then doAction end mouseup on closeField if the short name of the target = "f1" then doAction end closeField...
by dunbarx
Thu Jun 13, 2019 5:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: ticklish format
Replies: 10
Views: 367

Re: ticklish format

Jacque. I get that, which is why for decades I have always added a "0" to any value after changing the numberFormat. But as usual I am the only one seeing this. And it is a small thing, after all; LC is perfectly capable of using scientific format for all its needs (and mine) that incorporate these ...
by dunbarx
Wed Jun 12, 2019 6:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Selecting text in a field with script
Replies: 3
Views: 120

Re: Selecting text in a field with script

Sri. Sort of. If, in msg, I give an explicit stack reference: select word 2 of fld 1 of stack "untitled 1" I get the flash selection you mentioned, that very soon disappears. But if I place a button with that same handler in another stack, it selects just fine in the target stack. So since the other...
by dunbarx
Wed Jun 12, 2019 3:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Selecting text in a field with script
Replies: 3
Views: 120

Re: Selecting text in a field with script

Confirmed here from the message box in both v.8 and v.9.

But works fine in a button script.

Craig
by dunbarx
Wed Jun 12, 2019 3:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: ticklish format
Replies: 10
Views: 367

Re: ticklish format

I don't, sort of. In a button script: on mouseUp breakpoint put the ticks into temp -- temp is in sci. notatation ("9.36209E+10") put the seconds into temp -- temp is in sci. notatation put the ticks && the seconds into temp -- temp is two integers end mouseUp I get scientific notation in the variab...
by dunbarx
Tue Jun 11, 2019 10:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: ticklish format
Replies: 10
Views: 367

Re: ticklish format

HAHAHA. Still giggling

Let me catch my breath.

It also applies to "the seconds".

I don't see a preference that formats numbers in the SE.

Craig
by dunbarx
Tue Jun 11, 2019 10:43 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: ticklish format
Replies: 10
Views: 367

Re: ticklish format

Bogs.

AH HAHAHAHAHA. You kill me.

Try this:

Code: Select all

on mouseUp
   breakpoint
   put the ticks
   put the ticks into temp
   put  format("%0.f",temp) into temp
end mouseUp
Craig
by dunbarx
Tue Jun 11, 2019 9:50 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: ticklish format
Replies: 10
Views: 367

ticklish format

Why when I put the ticks into a variable, I get it in scientific notation, whereas if I just ask for the ticks, I get an integer.

I am in v.9.04. I do not remember this ever happening in earlier versions. I can convert using the "format" function, but what is the scoop?

Craig
by dunbarx
Tue Jun 11, 2019 6:17 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: What is the opposite of launch?
Replies: 13
Views: 514

Re: What is the opposite of launch?

Hi.

Just a guess, but does the "close Process" command fit here?

Craig
by dunbarx
Tue Jun 11, 2019 6:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: No way to edit a script !
Replies: 6
Views: 224

Re: No way to edit a script !

Jacque.

So when Lincon12 says;
I can not believe that I am the only one who has experienced this bogue (sic).
I cannot believe it either. How did this escape notice for so long? As I said, I never saw it, and again, perhaps only on Windows?

Craig

Go to advanced search