By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,671 Members | 1,559 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,671 IT Pros & Developers. It's quick & easy.

Help with Keydown on tabControl

P: n/a
My layout is like this...

tabControl1 contains...
....tabControl2 which contains...
.......GroupBox1 which contains...
..........comboBox1.
At first there was no tabControl2, but when I rearranged to the above format
the KeyDown event on my comboBox quit working. Is there something I am
missing??
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
> At first there was no tabControl2, but when I rearranged to the above
format the KeyDown event on my comboBox quit working. Is there something
I am missing??


I figured it out.

For those interested here was the solution...

I had mistakenly (as I imagine some of you may be doing now) been putting
additional constructor code in the "generated" portion of the code instead
of adding constructor code after the InitializeComponent() method was
called. And when I moved my control to another tabControl aparently the
generated code was altered because my KeyDown event handler code was no
longer there.
Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.