Interesting one, Thierry - I'd never noticed that. The thing is, is your user LIKELY to be doing SHIFT-F5, even by a slip of the hand? If not then you can probably assume it's SHIFT-x.
Terry
>Hi,
>
>I have some trouble with Keypress event.
>
>How can I make difference between Shif-F5 and Shift-x ? both return nKeyCode=88 and nShiftAltCtrl=1, lastkey() return also 88 for both.
>
>Thanks for your help
>Thierry
- 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.