如果我按回车键,我如何判断我按的是回车键?
解决方案 »
- 关于触发器和record no found or changed by another user 的问题
- SELECT 订单号 from 订单表 where substring(订单号,3,6)='200905' 这句查询报错!
- 改变标题栏颜色
- 如何实现点击查询按纽 将结果输出在另一个窗体的label中?
- Mediaplayer 能不能播放DVD啊, 是不是 VOB那个文件?
- 一个好问题,
- 诚邀版主,希望大家支持!
- 请问深圳有D6的汉化版了买吗?
- 什么是VCL控件?
- 我现在要在datamodule中定义一个函数,用来在函数中控制不同的DBGrid,这个函数的形参是TDBGid类型吗
- 凌晨急询.从昨天到凌晨四点,没不明白的问题
- 认为是高手的都来阿,小弟是在是无能为力了。
if key=char(13) then
begin
//做你想做的
end;
Shift: TShiftState);
begin
if key=13 then showmessage('Enter');
end;
begin
if Key = #13 then ShowMessage(':b');
end;
begin
if Key=#13 then begin
Key:=#0; //清除回车
UserEdt.SetFocus; //跳转焦点
end;
end;
begin
if Key=#13 then begin
Key:=#0; //去掉嘀的声音
UserEdt.SetFocus; //跳转焦点
end;
end;
在keydown事件里 key是word型
在keypress事件里 key 是char型..原来一直没注意..
结贴;
begin
if Key=#13 then
showmessage('Enter');
end;我试了不行啊,按回车没反应的
e5022(helpid)你这样说我们是不对的哦!