Re: Menu Mnemonics

2024-01-05 Thread Bob Sneidar via use-livecode
A slightly better version: on rawKeyUp pKey -- put pKey put getParentCard(the long id of the target) into tParentCard put the editing of tParentCard into tEditMode if tEditMode is empty then \ pass rawKeyUp switch pKey case 65307 -- esc if the editin

Re: Menu Mnemonics

2024-01-05 Thread Bob Sneidar via use-livecode
NVM. I decided to use rawKeyUp for this. I have done this in the past. on rawKeyUp pKey put pKey put getParentCard(the long id of the target) into tParentCard put the editing of tParentCard into tEditMode if tEditMode is empty then \ pass rawKeyUp switch pKey

Re: Menu Mnemonics

2024-01-05 Thread Mark Smith via use-livecode
Hi Bob, This discussion might help. https://apple.stackexchange.com/questions/47086/how-do-i-create-a-menu-shortcut-which-involves-the-delete-key Mark > On 5 Jan 2024, at 10:11 pm,

Menu Mnemonics

2024-01-05 Thread Bob Sneidar via use-livecode
Hi all. When creating menus, I can put an ampersand before any character in the menu item and that becomes the Command Key Equivalent on MacOS. But what if I want the Del key to trigger the Delete menu item? Is there a way to set the text for that? I tried doing it in the Menu Builder but no g