delphi按钮控件的default属性用于设置默认命令按钮,.设置为true时,按[Enter键]相当于用鼠标单击了该按钮 .窗口中如果有多个按钮的default是true的话,就根据tabindex顺序来决定是哪个来响应enter ,修改其TabIndex=0即可.这个用于密码登录页面比较人性化。

相关文章:

  • 2021-11-29
  • 2022-12-23
  • 2022-02-04
  • 2021-11-29
  • 2021-12-17
猜你喜欢
  • 2021-12-04
  • 2022-12-23
  • 2022-12-23
  • 2021-11-09
  • 2022-01-03
相关资源
相似解决方案