Shouldn't space or enter in a menu select the hilited item?
Craig Newman
craig at starfirelighting.com
Mon Aug 15 14:00:37 EDT 2022
Hi.
I am missing something. Make a popup menu button. Ina mouseUp handler in another button:
on mouseUp
click at the loc of btn 1
end mouseUp
Once the menu is open, the up and down arrow keys navigate among the menuItems.
Craig
> On Aug 12, 2022, at 7:37 PM, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> Hi all. Very odd, I thought this worked.
>
> I am programmatically popping up a menu, then I want to be able to jse the arrow keys to traverse the selections available. If I click any of the choices, the menuPick handler gets the choice as the first parameter. If however I use the spacebar or the enterKey to select a choice, the parameter is empty in menuPick! That isn't right, is it??
>
> MacOS 10.15.7 LC 9.6.9 rc1
>
> Bob S
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list