Re: [ADVANCED-DOTNET] form key handling

2008-07-03 Thread Adam Tuliper
am Tuliper > Sent: Thursday, July 03, 2008 2:30 PM > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > Subject: Re: [ADVANCED-DOTNET] form key handling > > just something like this would work.no? > >private void comboBox1_KeyPress(object sender, KeyPressEventArgs > e) >

Re: [ADVANCED-DOTNET] form key handling

2008-07-03 Thread John Warner
day, July 03, 2008 3:06 PM > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > Subject: Re: [ADVANCED-DOTNET] form key handling > > > That doesn't exactly work as desired, Adam. Here are a > collection of links discussing this - I haven't yet looked at > one that help m

Re: [ADVANCED-DOTNET] form key handling

2008-07-03 Thread Shawn Wildermuth
advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Peter Osucha Sent: Thursday, July 03, 2008 3:06 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] form key handling That doesn't exactly work as desired, Adam. Here are a collection of links discussing thi

Re: [ADVANCED-DOTNET] form key handling

2008-07-03 Thread Peter Osucha
3, 2008 2:30 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] form key handling just something like this would work.no? private void comboBox1_KeyPress(object sender, KeyPressEventArgs e) { MessageBox.Show( ((short)System.Windows.Forms.Keys.

Re: [ADVANCED-DOTNET] form key handling

2008-07-03 Thread Adam Tuliper
just something like this would work.no? private void comboBox1_KeyPress(object sender, KeyPressEventArgs e) { MessageBox.Show( ((short)System.Windows.Forms.Keys.Enter == (short)e.KeyChar).ToString()); } On Thu, Jul 3, 2008 at 10:38 AM, Peter Osucha <[EMA