在memo或者edit中,自动支持ctrl+c和ctrl+v,但不支持全选ctrl+A.
可否通过代码实现?望指教.
可否通过代码实现?望指教.
解决方案 »
- 不能当FORM2关掉后自动按某键吗?
- 我自己写了一个组件,是一个Edit和ListBox的组合,现在我想在设计时当将该组件拖到窗体上时,ListBox自动在Edit的下面,不知该怎么做,请
- 如何锁定DBGird
- ◆◆◆◆◆◆DELHI8 无法正常编译程序~请高人指教◆◆◆◆◆◆
- 一个存储过程错误处理的问题
- 问问大家:那一种报表控件比较好?欢迎讨论
- 在Delphi重处理Word文档的问题,请帮助.SOS
- DirectoryListing.Count 错误
- 请教在dll中使用相对目录的问题?
- 急!急!急!关于BMP文件处理的问题(有难度)
- Delphi与SQL问题求助
- 如何在数据库中写入十六进制数?
procedure TForm1.Memo1KeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
begin
if (ssCtrl in Shift) and (key = 65) then memo1.SelectAll;
end;
procedure TForm1.Memo1KeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
begin
if ( ssCtrl in Shift ) and (Key = ord('A')) then
memo1.SelectAll;
end;