Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ctrl in ListBox.KeyPress
Message
From
21/01/2002 13:35:52
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00607855
Message ID:
00607890
Views:
33
This message has been marked as a message which has helped to the initial question of the thread.
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.

>>>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.
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform