Search found 6849 matches

by jacque
Mon May 16, 2011 4:25 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: messages path
Replies: 20
Views: 9369

Re: messages path

This may sound sacrilegious, but maybe HyperCard was wrong. The notion of inserting or remove the script of one object (the card) from the message path of an object based on whether that object is a member of a different object (the background) seems an unnecessary ambiguity, and a particularly odd...
by jacque
Sun May 15, 2011 8:13 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: messages path
Replies: 20
Views: 9369

Re: messages path

Mark wrote:Jacque,

You don't see what the problem is. In HyperCard, once a message is sent to the background, it never goes back to the card before continuing to the stack.
Agreed. That isn't what you said in the part I quoted, which is why I commented.
by jacque
Sun May 15, 2011 8:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: finding an array element
Replies: 15
Views: 11018

Re: finding an array element

There may be a crafty way to do what you want, but I think you'll be surprised at just how fast "repeat for each" really is. It can easily process tens of thousands of items in a few milliseconds. In fact, it's so fast that it is usually the preferred way -- it beats out a number of other methods in...
by jacque
Sun May 15, 2011 8:00 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: messages path
Replies: 20
Views: 9369

Re: messages path

Hi Bernd, If you want to mimic the HyperCard behaviour, the button that's part of the group should return card background I don't believe background buttons in HC ever passed through the card. The messages went directly to the background, then to the stack. So the current behavior looks correct to ...
by jacque
Sun May 15, 2011 7:54 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Android - quitting application fails
Replies: 7
Views: 6533

Re: Android - quitting application fails

Well, it shouldn't crash like that, so that's a bug. But Android apps don't really quit, and you shouldn't even try. The Home hardware button will close your app and go back to the launcher screen. Android OS expects to control the app behavior, and manages all memory and the state on its own. It ca...
by jacque
Sun May 15, 2011 7:46 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Cant Select fields
Replies: 4
Views: 3231

Re: Cant Select fields

It looks like you are using a table field. This is a specially-formatted field that is always locked, and you can't type into it. When you click in a "cell" a second, temporary field is displayed over the entry so you can type there. When you tab out of the cell, or click elsewhere, the temporary fi...
by jacque
Sun May 15, 2011 7:39 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: enforce variable type checking?
Replies: 14
Views: 8508

Re: enforce variable type checking?

Right, LiveCode is a typeless language. You can easily compare strings and integers, for example, because under the hood everything is converted to text. The engine decides what type is inferred by the usage, but as a developer you don't need to worry about it. There is a little trick you can use to...
by jacque
Fri May 13, 2011 7:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Conflict between iPad gestures and mouse actions
Replies: 5
Views: 4415

Re: Conflict between iPad gestures and mouse actions

That's a tough one in any language. I think basically you need to determine whether the user is touching an object or the card itself. If an object, then use your drag scripts. If the card, do a swipe. You can determine what is under the mouse/finger by checking "the target". If "card" is in the tar...
by jacque
Fri May 13, 2011 7:18 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Sharing Reusable code - guidance
Replies: 10
Views: 9086

Re: Sharing Reusable code - guidance

Basically, the work flow would be to "start using" your library stack(s) during development. That way you only need to keep a single library updated and all your development stacks will use the latest one dynamically. When it is time to build a standalone, use the Stacks pane in the Standalone Setti...
by jacque
Thu May 12, 2011 11:33 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: PrtScn key and rawKeyDown
Replies: 7
Views: 5123

Re: PrtScn key and rawKeyDown

...and it's not just Windows OS X too -- like all the Command key shortcuts that manage window switching, Spaces, app switching, etc. It's impossible to intercept anything that OS X has decided "belongs" to it. And unfortunately they've usurped almost all the keyboard characters now, so there are v...
by jacque
Thu May 12, 2011 9:03 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: PrtScn key and rawKeyDown
Replies: 7
Views: 5123

Re: PrtScn key and rawKeyDown

I don't think it can. If the OS doesn't tell LiveCode there's been a keypress, it can't know the key went down. LiveCode doesn't monitor the keyboard directly, it relies on the OS to notify it.
by jacque
Thu May 12, 2011 6:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: character spacing around parentheses
Replies: 1
Views: 2381

Re: character spacing around parentheses

Are these unicode fonts? If so, the extra space may be the extra byte. You probably would need to treat the text as unicode text and adjust it for display.
by jacque
Thu May 12, 2011 6:09 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: PrtScn key and rawKeyDown
Replies: 7
Views: 5123

Re: PrtScn key and rawKeyDown

Not a bug. Windows doesn't send rawKeyDown for several key presses, and Print Screen is one of them.
by jacque
Mon May 09, 2011 7:29 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Mouse Behavior lost after certain actions
Replies: 4
Views: 3738

Re: Mouse Behavior lost after certain actions

As to the 'lock cursor', it appears to work as I have it, so is that just coincidence? The order doesn't really matter as long as both commands are in the same handler. Locking the cursor just prevents the engine from changing the cursor at pre-determined events. You can always change it via script.
by jacque
Wed Apr 13, 2011 5:14 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Hello. New and can't find good baby steps
Replies: 61
Views: 39334

Re: Hello. New and can't find good baby steps

Good idea about the lesson, though it isn't really a lesson, it's more of an explanation. I'll put it on my list of things to do once the conference is over. It's getting pretty busy right now.

Go to advanced search