Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview.KeyPress don´t fire with RePag/AvPag
Message
 
 
To
15/09/2003 11:24:24
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00829015
Message ID:
00829056
Views:
24
This message has been marked as a message which has helped to the initial question of the thread.
Only character keys trigger KeyPress event. The noncharacter keys do raise the KeyDown and KeyUp events.

>VFP7 SP1 Spanish
>XP SP1 Spanish
>Microsoft Windows Common Controls 6.0 (SP4) (MSComctlLib.TreeCtrl.2 in the class)
>
>(With VS6 and VFP8 in the same machine installed)
>
>I execute this code:
>
<snip>
>	PROCEDURE olecontrol1.KeyPress
>		*** Evento ActiveX Control ***
>		LPARAMETERS keyascii
>
>		WAIT windows "try keypress"
>	ENDPROC
>
>
>ENDDEFINE
>
>
>The class selected iin OleControl1 is:
>
>Microsoft TreeView Control, version 6.0
>
>If you push alphanumeric and other keys, it show the message, when yo push AvPag and RePag (9 and 3 keyboard button) it show nothing
>
>Is this correct?
>Is a know bug?
>
>KeyDown detect these keys.
>
>Regards,
>José Luis.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform