Thank you for all of these answers. When I tried “selectedField, it came close to working right, but some other objects also took focus, so I still had a problem. This however gave me a direction to look further, and I found focusedObject, and that did the trick for me.
Now I just read that someone ...
Search found 7 matches
- Sun Jun 06, 2021 6:03 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Can't Find When Field is Active/has Focus
- Replies: 6
- Views: 4525
- Mon May 31, 2021 5:17 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Can't Find When Field is Active/has Focus
- Replies: 6
- Views: 4525
Can't Find When Field is Active/has Focus
I use the player to play MP3s. I use the following scrip to use the Space Bar to start and stop the player.
on keyUp theKey
if theKey is space then
send mouseUp to btn id 1053 — this is a manual button to start and stop the player
else
pass keyUp
end if
end keyUp
This works fine, but here is ...
on keyUp theKey
if theKey is space then
send mouseUp to btn id 1053 — this is a manual button to start and stop the player
else
pass keyUp
end if
end keyUp
This works fine, but here is ...
- Sun Apr 11, 2021 3:49 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Problems Changing Text Size in Field if Pasted From Another App.
- Replies: 5
- Views: 4408
Re: Problems Changing Text Size in Field if Pasted From Another App.
Thank you andresdt. That solved it. How did you ever come up with that?
- Sat Apr 10, 2021 8:35 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Problems Changing Text Size in Field if Pasted From Another App.
- Replies: 5
- Views: 4408
Problems Changing Text Size in Field if Pasted From Another App.
I have a field that I keep notes in. I have two buttons that are used to increase and decrease the size of the font in the field. These work fine for the entire field and any text I type into the field. My problem is if I paste text into the field from another app, even though it is completely ...
- Mon Apr 05, 2021 8:46 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Want player object to keep playing when going to another card
- Replies: 5
- Views: 4284
Re: Want player object to keep playing when going to another card
Thanks. I might try the sub Stack route later. I hadn't thought of that and haven't used sub Stacks yet.
- Mon Apr 05, 2021 3:31 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Want player object to keep playing when going to another card
- Replies: 5
- Views: 4284
Re: Want player object to keep playing when going to another card
Thank you for your suggestions. They got me thinking further, and I have come up with a fairly simple solution. As mentioned above, when I make the player a group, the music continues playing when I go to other cards with that group on it, but it shows as a big black strip across my notes field. My ...
- Sun Apr 04, 2021 9:49 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Want player object to keep playing when going to another card
- Replies: 5
- Views: 4284
Want player object to keep playing when going to another card
I have a stack for playing MP3s. The first card has a field that has List Behavior checked. This lists all of my MP3s. I also have a player object on the card. When I click on a selection, the player plays that selection. That part works well.
I also have a separate card for each MP3. These cards ...
I also have a separate card for each MP3. These cards ...