开发者

AcceptButton doesn't work in case there are TabControl on the form

In the following fo开发者_Go百科rm, I want the AcceptButton to be OK button, but although I set the property to the Form that OK button is the accept button, the actual result is Test button.

How to fix it?

AcceptButton doesn't work in case there are TabControl on the form


Earlier i got this kind of problem, but got solved easily. It is very much possible that Test button TabIndex is less than that of OK button. Just make it reverse. It should work. At least it worked for me. If not, just check the TabControl TabIndex, it should also be greate than your OK button. Hope it helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜