Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ctrl in ListBox.KeyPress
Message
 
 
To
21/01/2002 13:35:52
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00607855
Message ID:
00607909
Views:
32
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform