OK, Ramil, you said:
"When I press the 'regular' Enter key (the one in the QWERTY keyboard keys, the messagebox() is displayed on top"
My idea was, at the place where you press the key, test for which key you hit ( Inkey(0) or LastKey()). I was thinking that the ENTER key maybe just returns LF ( chr(10)?) whereas the 'regular' key returns CR LF, CHR13). BUT, I've just tested them and they both return CHR(13). So, sorry, I'm as stumped as you.
>Hi Terry,
>Thank you for the reply. I'm not sure what you mean. The problem I'm having is that the messagebox is 'hidden' at the back of the application in the Windows ZORDER. You have to press Alt to bring the messagebox to front.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.