Hello John,
In SP2, we added key events. However, I suspect you will run into another
known issue we have - you won't be able to specify the key events as
handled - or prevent them from going to the control. You'll still need to
manually set the combo box back to the previous value - so you're probably
better off using the SelectedIndexChanged event anyway.
-Katie
This posting is provided "AS IS" with no warranties, and confers no rights.
***.Net Compact Framework Info***
Faq:
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/FAQ/default.a
spx
QuickStarts:
http://samples.gotdotnet.com/quickstart/CompactFramework/
Samples:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/h
tml/CompactfxTechArt.asp
--------------------
| From: (e-mail address removed) (John Kinghorn)
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| Subject: Re: Key Events in combo and hardware keys
| Date: 1 Dec 2003 05:40:30 -0800
| Organization:
http://groups.google.com
| Lines: 20
| Message-ID: <
[email protected]>
| References: <
[email protected]>
<
[email protected]>
| NNTP-Posting-Host: 212.50.186.146
| Content-Type: text/plain; charset=ISO-8859-1
| Content-Transfer-Encoding: 8bit
| X-Trace: posting.google.com 1070286030 31430 127.0.0.1 (1 Dec 2003
13:40:30 GMT)
| X-Complaints-To: (e-mail address removed)
| NNTP-Posting-Date: Mon, 1 Dec 2003 13:40:30 +0000 (UTC)
| Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGXA06.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP0
8.phx.gbl!newsfeed00.sul.t-online.de!t-online.de!news-spur1.maxwell.syr.edu!
news.maxwell.syr.edu!postnews1.google.com!not-for-mail
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:39885
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| This would be no good.
|
| I want to trap the key press before anything is changed as in certain
| circumstances i would not want changes to take place.
|
| I have heard that the missing events will be present in the next SP of
| the Compact framework, do you know if this is correct?
|
| Regards
| John
|
| (e-mail address removed) (Xin Yan) wrote in message
| > John.,
| >
| > Can you try subscribe to ComboBox.SelectedIndexChanged and
| > NumericUpDown.SelectedItemChanged events in stead of intercepting the
keys?
| >
| > Thanks
| >
| > Xin
|