Search found 6187 matches

by dunbarx
Wed Oct 23, 2019 6:13 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Livecode crash on me more then 10 times a day
Replies: 7
Views: 78

Re: Livecode crash on me more then 10 times a day

I am still in 9.0.4, and only have a crash every few weeks. Same with 8.x.

Not stable like HC, which never crashed, but when I am happy with a change I make in a LC stack, I rush to save it. That says something.

Craig
by dunbarx
Tue Oct 22, 2019 9:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Naming array keys for WordReport!!
Replies: 17
Views: 722

Re: Naming array keys for WordReport!!

Bogs.

9.04.

And I only included it because you made me. :wink:

I rarely go back. But you do, and find all sorts of things that depend on the LC version. I have a feeling that testing will show up a bunch of odd stuff...

Craig
by dunbarx
Tue Oct 22, 2019 2:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Naming array keys for WordReport!!
Replies: 17
Views: 722

Re: Naming array keys for WordReport!!

Hi. It would be astonishing to me that the several versions of LC, from 6 to 9, changed the way arrays work in such a fundamental way. How did this not break just about every handler ever written? And another thing, when I do this: on mouseUp set the casesensitive to true put "UP" into tArray["a"] p...
by dunbarx
Tue Oct 22, 2019 3:03 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Naming array keys for WordReport!!
Replies: 17
Views: 722

Re: Naming array keys for WordReport!!

Hi.

LC does not care about case when building arrays.

Code: Select all

on mouseUp
 set the casesensitive to "true"
   
   put "x" into myArray[a]
   put "y" into myArray[A]
end mouseUp
You get only a single key, "a", and it has a "y" in it, since that element overWrote the original "x",

Craig
by dunbarx
Mon Oct 21, 2019 5:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: double titlebar.
Replies: 5
Views: 154

Re: double titlebar.

Well, it turns out, and I discovered this by accident, that setting the "resizable" of a stack automatically duplicates the titleBar. Clearing it makes it go away.

OS 10.13.4 LC 9.04

Feature or bug?

Craig
by dunbarx
Mon Oct 21, 2019 5:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: double titlebar.
Replies: 5
Views: 154

Re: double titlebar.

@Klaus. The dock pref does nothing for me. Thanks, though. @Richard. No, only LC stacks Restarting did not help. Attached is a screenshot of the titlebar of a new stack. Interestingly, any recent stack I made after this first appeared last week has inherited double vision. Some stacks older than tha...
by dunbarx
Mon Oct 21, 2019 2:33 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: double titlebar.
Replies: 5
Views: 154

double titlebar.

There was just a discussion about this, but I cannot find it.

I somehow now have a double titlebar in all new stacks. What is the property to lose this? That might tell me how I got into this mess in the first place. It is not any of the decorations.

Craig
by dunbarx
Mon Oct 21, 2019 2:24 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Preventing duplicate input
Replies: 27
Views: 809

Re: Preventing duplicate input

Hi. This is a generic offering, since I did not look at the stack you posted. All this does is trap double clicks. Should solve your issues, though. Make a new stack with a few cards. Identify each card somehow, so you know where you are. Put this in your stack script: on mouseUp go next cd end mous...
by dunbarx
Sat Oct 19, 2019 8:15 pm
Forum: Talking LiveCode
Topic: "Click at the loc of...." thingie
Replies: 2
Views: 109

"Click at the loc of...." thingie

I thought this merited its own thread. This is derived from the discussion at: http://forums.livecode.com/viewtopic.php?f=7&t=33215 ----------- Is a feature, a bug, expected behavior or just an anomaly? The command "click at the loc of..." does indeed click at that loc. As read, though, it seems tha...
by dunbarx
Sat Oct 19, 2019 8:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to hide an option menu when no selection
Replies: 28
Views: 848

Re: How to hide an option menu when no selection

Anyone think this is a feature, a bug, expected behavior or just an anomaly? The command "click at the loc of..." does indeed click at that loc. As read, though, it seems that the cursor ought to simply stay at the loc after the click. This is not the same as moving the cursor to that loc and manual...
by dunbarx
Sat Oct 19, 2019 3:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Preventing duplicate input
Replies: 27
Views: 809

Re: Preventing duplicate input

Bogs and I are together on this. Lets see what you started with, that is causing all this anxiety. This sort of thing should not need emergency surgery, nor fancy patches.

Craig
by dunbarx
Sat Oct 19, 2019 2:41 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to hide an option menu when no selection
Replies: 28
Views: 848

Re: How to hide an option menu when no selection

The proper function names are keyDown and rawKeyDown, not keysDown and rawKeysDown. rawKeyDown does not fire when the option menu is open and the Escape key is pressed. As long as we understand that "keyDown" and "rawkeyDown" are messages, not functions. The "keysDown" is a function. There is no "r...
by dunbarx
Fri Oct 18, 2019 9:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Preventing duplicate input
Replies: 27
Views: 809

Re: Preventing duplicate input

Jeff.

Jean-Marc has offered a timing solution. We have discussed setting properties to prevent unwanted excursions. There are likely many other ways to do this as well.

But I bet this can be dealt with right at the start. How are you doing what you are doing?

Craig
by dunbarx
Fri Oct 18, 2019 5:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to hide an option menu when no selection
Replies: 28
Views: 848

Re: How to hide an option menu when no selection

Michael, again.

You must have misread my earlier post, the one you thanked me for, if you all along thought I was talking about any kind of key-Like message. Go back to that one and reread carefully.

Craig
by dunbarx
Fri Oct 18, 2019 5:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to hide an option menu when no selection
Replies: 28
Views: 848

Re: How to hide an option menu when no selection

Michael.

Please go to the dictionary and look up "keysDown".

You will find it a very useful function.

The items you mentioned above are MESSAGES. There is a profound difference between these concepts. You have mixed them up before.

Craig

Go to advanced search