起步软件技术论坛-X3

 找回密码
 立即注册
搜索
查看: 137|回复: 0

[分享]消除回车登陆平台的嘣嘣声音

[复制链接]
发表于 2010-3-5 11:26:07 | 显示全部楼层 |阅读模式
简洁风格\界面库\窗体库\系统登录对话框
procedure TSYSTEMLOGINDIALOG.edtEditKeyPress(Sender: TObject; var Key: Char);
begin
  if key = #13 then
  begin
    key:=#0;  //消除嘣嘣声音
    Logon(True);
  end;
end;
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Justep Inc.

GMT+8, 2025-7-11 03:51 , Processed in 0.050899 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表