I have a menu item that deletes items in a list. I also check for either Mac delete key being pressed with the following code:
if Keyboard.asyncKeyDown(&h75) then // Num Keypad 'delete' key
DeleteSelRows
Return True
elseif Keyboard.asyncKeyDown(&h33) then // Main keyboard 'delete' key
DeleteSelRows
Return True
end if
However I’d like to display the delete key icon/graphic in the menu, like the Finder menuitem “File > Move to Trash” but without the command icon.
The delete key is character &uE083. I have no idea if it will show in the menu. All depends if the system font contains it. Which is very possible, though.There are a lot of extra glyphs in system.
I am copying it here, it wil show as a square, but it may show as the proper glyph in the menu. Try to copy and paste : ?