Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在下面的表单中,我想要AcceptButton确定按钮,但是虽然我将属性设置为确定按钮是接受按钮的表单,但实际结果是测试按钮。
AcceptButton
如何解决?
早些时候我遇到了这种问题,但很容易解决。很有可能Test按钮TabIndex小于OK按钮。把它倒过来就行了。它应该工作。至少它对我有用。如果没有,只需检查 TabControl TabIndex,它也应该比您的 OK 按钮更大。希望能帮助到你。