AcceptButton for each group of controls in different tabs, Can't use some envents in Combobox to mak
Posted
by Muhammad Kashif Nadeem
on Stack Overflow
See other posts from Stack Overflow
or by Muhammad Kashif Nadeem
Published on 2009-11-09T09:12:51Z
Indexed on
2010/03/13
19:05 UTC
Read the original article
Hit count: 372
I have different tabs on my UserControl. Each tab has some controls and button. I want to change AcceptButton on the basis of group of controls I am in.
I can use TextChanged event or Enter event to make a button AcceptButton for Textboxes but I have some Comboboxes too. These combos are auto complete so I can't user Enter event on these, because on Enter these combos should be completed.
Following image can explain my problem more.
Thanks.
© Stack Overflow or respective owner