this.KeyPress += new
System.Windows.Forms.KeyPressEventHandler(this.SelectSelect_KeyPress);
I never get an event. Why?
thanks - dave
david@at-at-at@windward.dot.dot.net
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com
Cubicle Wars - http://www.windwardreports.com/film.htm
On Nov 8, 5:40 pm, David Thielen <thie...@nospam.nospam> wrote:
> In my form (called using ShowDialog(hParent)) I have the following:
>
> this.KeyPress += new
> System.Windows.Forms.KeyPressEventHandler(this.SelectSelect_KeyPress);
>
> I never get an event. Why?
>
> thanks - dave
>
> david@at-at...@windward.dot.dot.net
> Windward Reports --http://www.WindwardReports.com
> me --http://dave.thielen.com
>
> Cubicle Wars -http://www.windwardreports.com/film.htm
Try to set the KeyPreview-prop on the form to true.
-Per