>Nadya,
>
>Could you put a command button on the form, and put <\Print in the caption? Then the user would hit Alt-P to print, and no need to trap for keys.
That's a good idea, but I already implemented the simpler solution with using just 'P' instead. It's not a big deal anyway, since this was my own idea of enhancement of application functionality and users haven't asked for it... :)
>>>>Hi everybody,
>>>>
>>>>I've found, what Ctrl in ListBox keypress is untrappable. Does it mean, I can not use Ctrl+P to print and should use just P instead?
>>>>
>>>>Thanks in advance.
>>>
>>>Nadya,
>>>
>>>I can only tell you that the reason it behaves the way it does is because Ctrl in a multi-select list box is used to make selections of non-contiguous items. IOW, it's the default Windows behavior.
>>
>>Thanks, George. I figured this too, so now I'm using just P to print.
If it's not broken, fix it until it is.
My Blog