hi michael,
By the way: do you know, where I find a list of all keycodes?
unfortunately, no. but, of course, you could create such a list
yourself (on keyDown..put the keyCode..end) by successively stroking all
keys :-)
@ Thomas:
Yes, it seems that the BuddyApi Messagebox causes the problem.
Thank you too. But what is your different way, you mentioned?
no idea, if this would change anything regarding closeRequest, but here
a MUI xtra substitute for baMsgBox:
on muiMsgBox (Message, Caption, Buttons, Icon, DefButton)
mui = new(xtra "MUI")
muiInitList = [#buttons : symbol(Buttons), #icon: symbol(Icon),\
#title: Caption, #message: Message, #movable: TRUE]
res = mui.Alert( muiInitList )
mui = 0
return res
end
parameters are (more or less) the same as for baMsgBox, the only
difference is that it returns the number of the pressed key, not its
caption, so instead use
if muiMsgBox(...)=1 then _player.quit()
otherwise, if this doesn't fix the closeRequest problem, maybe you could
use a custom dialog MIAW instead of a system message box.
cheers,
valentin
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]