Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ctrl in ListBox.KeyPress
Message
 
 
À
21/01/2002 13:35:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00607855
Message ID:
00607909
Vues:
33
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform