P
Peter Hartlén
Hi!
I am using C#, CF 2.0.6129.0
Anyone know if this is something that will be fixed or assumed to be as it
should be?
http://www.tech-archive.net/Archive/VB/microsoft.public.vb.controls/2006-03/msg00099.html
http://groups.google.se/group/micro...v&lnk=st&q=ComboBox+Letter+J#b6f07f6030c16b85
http://groups.google.se/group/micro...v&lnk=st&q=ComboBox+Letter+J#c70cc935046d2859
Are there any known good solutions?
In short, pressing Ctrl+J on a combobox with an item in it starting with the
letter J, selects this item.
I've seen a solution trying to cancel this event in a KeyPress eventhandler
VB-code:
Private Sub Combo1_KeyPress(KeyAscii As Integer)
If KeyAscii = 10 Then KeyAscii = 0
End Sub
Is this a working solution, and is it achievable in C# (I can't get it to
work)?
Any advice is greatly appreciated!
/ Peter
I am using C#, CF 2.0.6129.0
Anyone know if this is something that will be fixed or assumed to be as it
should be?
http://www.tech-archive.net/Archive/VB/microsoft.public.vb.controls/2006-03/msg00099.html
http://groups.google.se/group/micro...v&lnk=st&q=ComboBox+Letter+J#b6f07f6030c16b85
http://groups.google.se/group/micro...v&lnk=st&q=ComboBox+Letter+J#c70cc935046d2859
Are there any known good solutions?
In short, pressing Ctrl+J on a combobox with an item in it starting with the
letter J, selects this item.
I've seen a solution trying to cancel this event in a KeyPress eventhandler
VB-code:
Private Sub Combo1_KeyPress(KeyAscii As Integer)
If KeyAscii = 10 Then KeyAscii = 0
End Sub
Is this a working solution, and is it achievable in C# (I can't get it to
work)?
Any advice is greatly appreciated!
/ Peter