Search found 6839 matches
- Wed May 08, 2024 9:21 pm
- Forum: Talking LiveCode
- Topic: What is up with "lock Cursor"?
- Replies: 15
- Views: 302
Re: What is up with "lock Cursor"?
I believe they have to be PDF images. No, just standard PNG, black and white, and a third color marked as transparent. I should correct myself, the lock cursor command is supposed to last across handlers until it is unlocked, but a bug broke that until it was fixed recently, I think it was in LC 9....
- Wed May 08, 2024 6:55 pm
- Forum: Talking LiveCode
- Topic: What is up with "lock Cursor"?
- Replies: 15
- Views: 302
Re: What is up with "lock Cursor"?
The cursor resets on idle if "lock cursor" is used. The defaultCursor replaces the arrow throughout -- usually. In a standalone you're pretty safe but in the IDE sometimes the LC cursor takes over again if you focus on an LC stack like the script editor and then go back to the mainstack. There was a...
- Tue May 07, 2024 5:45 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: OpenCard to control?
- Replies: 25
- Views: 704
Re: OpenCard to control?
@stam: Cards receive messages before backgrounds if the group has background behavior set. If not then they behave like other controls and get messages before the card but after the controls the group contains. I am delighted to see that you and Richard are earth lovers. 🙂 Edit: I don't think openca...
- Mon May 06, 2024 6:49 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Script Widget does not work as expected - solved
- Replies: 6
- Views: 315
- Mon May 06, 2024 6:39 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: OpenCard to control?
- Replies: 25
- Views: 704
Re: OpenCard to control?
A long time ago one member referred to us as either sky worshippers or earth somethings. Wish I could remember the exact labels, it was clever. I am firmly bound to the earth but over the years I have learned to flip the vision the sky worshippers cling to. If that fails I use Google translate.
- Sun May 05, 2024 5:43 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Script Widget does not work as expected - solved
- Replies: 6
- Views: 315
Re: Script Widget does not work as expected
None of the built-in LC widgets respond to common mouse events either, the engine appears to ignore them. That's why each one has its own terminology for mouse clicks. I have no idea why they behave that way.
- Fri May 03, 2024 1:46 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Cursor visibility problem
- Replies: 12
- Views: 386
Re: Cursor visibility problem
Having shut down and restarted LC it now appears that I have a stable bold black arrow to navigate with - just what I needed. I'm curious how you solved it. Did you set the defaultCursor? I had a stack that needed to use a custom cursor throughout and I ended up editing the arrow image in the revMa...
- Tue Apr 30, 2024 6:41 pm
- Forum: Android Deployment
- Topic: mobilePlaySoundOnChannel - how to toggle looping of a sound ?
- Replies: 1
- Views: 257
Re: mobilePlaySoundOnChannel - how to toggle looping of a sound ?
Any call to mobilePlaySoundOnChannel will stop the current sound if the sound channel is the same. You can stop the loop by calling mobilePlaySoundOnChannel with empty as the sound. Or you can replace it by calling mobilePlaySoundOnChannel with the same sound and passing "now" as the type.
- Sat Apr 27, 2024 5:40 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Force the script editor to update?
- Replies: 35
- Views: 1340
Re: Force the script editor to update?
I think I found a clue: if the main stack to be closed has its cantDelete property set to true, the delete stack command gets stuck. Is this a bug due to the double meaning of delete stack ? Good catch, that would be it. The cantDelete property comes from HyperCard and has been around for decades. ...
- Fri Apr 26, 2024 6:05 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Force the script editor to update?
- Replies: 35
- Views: 1340
Re: Force the script editor to update?
Where is the handler that deletes the stack? If it's in stack you're deleting, the problem might be the handler itself, which can't delete itself while its own handler is running.
- Wed Apr 24, 2024 8:59 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Force the script editor to update?
- Replies: 35
- Views: 1340
Re: Force the script editor to update?
And that stereotypical discussion behaviour I described elsewhere continues: 1. Richmond suggests stuff with 'spades' and other crude ways. 2. Craig or Stam bring up something slightly better (as in cotton underpants rather than hessian 'passion killers'). 3. The 'Queen of the Night' comes along an...
- Wed Apr 24, 2024 12:55 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Force the script editor to update?
- Replies: 35
- Views: 1340
Re: Force the script editor to update?
I'm not sure this is what you need, but you can close a stack and remove from memory with a single command: delete stack <stackName> This does not delete the file, it only removes it from LC. If memory serves, that's true only for mainstacks. Be very careful not to use the delete command with subst...
- Tue Apr 23, 2024 7:21 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Force the script editor to update?
- Replies: 35
- Views: 1340
Re: Force the script editor to update?
I'm not sure this is what you need, but you can close a stack and remove from memory with a single command: delete stack <stackName> This does not delete the file, it only removes it from LC. There is no save dialog or other interference. Since it doesn't need messages to be locked, the script edito...
- Tue Apr 23, 2024 7:06 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: My masterpiece vanished.
- Replies: 11
- Views: 603
- Sun Apr 21, 2024 6:50 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Saving as LiveCodeScript
- Replies: 16
- Views: 737
Re: Saving as LiveCodeScript
But, just as a script-only stack can create another stack with lots of controls, I want to know if one can reverse the process where a "stack with lots of controls" can be saved as a script-only stack in such a fashion that on that script-only stack being opened inwith the IDE it can re-create that...