Re: Player Control and focus

2016-11-18 Thread Paul Hibbert
In a quick test on Mac, you can still trap the rawKeyDown in the player control 
and respond to the result so…

on rawKeyDown pKey

if pKey = "65363" then go next card

if pKey = "65361" then go prev card

pass rawKeyDown

end rawKeyDown


…Should work.

Paul

> On Nov 18, 2016, at 6:17 PM, Peter Bogdanoff  wrote:
> 
> I’m seeing:
> 
> LC 6: click on a player control to give it focus and the keyboard spacebar 
> pauses and resumes the player.
> 
> LC 8.1.2 rc2: click on a player to give it focus and the keyboard spacebar 
> pauses and resumes the player, the left arrow key moves the playhead 
> backwards, and the right arrow key tries to move it forward.
> 
> Is there a property that turns this behavior off and on?
> 
> This behavior is a challenge when I want the spacebar to pause/resume, but 
> the arrow keys to navigate cards.
> 
> These are all standard interface conventions, but the implementation in LC 8 
> seems, well, undocumented.
> 
> Peter Bogdanoff
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Player Control and focus

2016-11-18 Thread Peter Bogdanoff
I’m seeing:

LC 6: click on a player control to give it focus and the keyboard spacebar 
pauses and resumes the player.

LC 8.1.2 rc2: click on a player to give it focus and the keyboard spacebar 
pauses and resumes the player, the left arrow key moves the playhead backwards, 
and the right arrow key tries to move it forward.

Is there a property that turns this behavior off and on?

This behavior is a challenge when I want the spacebar to pause/resume, but the 
arrow keys to navigate cards.

These are all standard interface conventions, but the implementation in LC 8 
seems, well, undocumented.

Peter Bogdanoff
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode