Bonsoir Dominique,
looks like a job for a hidden button in the style of pop-up ;-)
Try it, create a button, set its contents to something like:
new/n
first/f
last/l
etc...
set its style to popup, group it, if necessary, to have it on all cards
(dont forget to set the background behaviour of
on menupick quoi
switch quoi
case nouveaux
create card
break
...
end switch
end menupick
I know that I could build a menu -- but, for the sake of simplicity (and
elegance ;-)) I preferred not to build a menu, instaed I put some
handlers at the stack level (or at the
I have a similar command-key problem. I was trying to set some menu
buttons in a menu group to have the shortcut command-1, command-2, and
other numbers. But it screwed up my entire menu bar, I couldn't get a
lot of other menu shortcuts to work in the standalone or in the game.
What's the
Bonsoir Dominique,
on menupick quoi
switch quoi
case nouveaux
create card
break
...
end switch
end menupick
I know that I could build a menu -- but, for the sake of simplicity
(and
elegance ;-)) I preferred not to build a menu, instaed I put some
handlers at
on commandkeydown thekey
switch thekey
case n
Yeah!
You will lough at me -- but I placed the key code (110) instead of the
key name (n) !
You have nonetheless to give the key code if the key name is not
directly accessible (as for 1 on the numeric keypad ;-))
I was puzzled by