如何给程序设置块捷键
在主窗体按下Ctrl+1,Ctrl+2,Ctrl+3,分别打开Form1,Form2,Form3
如果是在OnKeyPress中写那么Ctrl+1,Ctrl+2,Ctrl+3,都应该怎么表示?
在主窗体按下Ctrl+1,Ctrl+2,Ctrl+3,分别打开Form1,Form2,Form3
如果是在OnKeyPress中写那么Ctrl+1,Ctrl+2,Ctrl+3,都应该怎么表示?
解决方案 »
- delphi distiller现在可以和谐RADStudioXE了吗?
- 阻塞方式下send函数根本不阻塞,为什么???
- 怎么样让焦点移到的时候DBGrid.Columns[1]的picklist自动列出来?
- 组件开发的一个小小问题,高分相求,UP有分!
- 求Delphi70架构版,下载完毕就给分,决不食言!!!!
- 關于調用存儲過程的問題(提示 list index out of bounds(10)的錯誤)
- 作为一名初/中/高级Delphi开发人员 ,应该掌握Delphi的哪些知识?
- 救命呀!很急的问题:paradox中通过记录号来查询记录的sql语句如何写?
- ●●●★★△用DEPHI做一个MIS程序的启动画面■★★●●●
- ADO连接access数据库更新备注类型的字段,再post的时候报错
- 如何做出在英文系统上运行的中文程序
- COM事件使用中的参数个数问题,急死人啦,快来看看>>>>>>>>>
procedure TShortCutClass.ShowCaculator(var Msg: TWMKey; var Handled: Boolean);
begin
RunAutoQry(Msg.CharCode);
RunHelp(Msg.CharCode);
end;
{$R *.RES}
begin
Application.Initialize;
ShortCutClass := nil;
Application.onShortCut := ShortCutClass.ShowCaculator;
//////////
公共pas单元
procedure RunAutoQry(Key: Word);//调
begin
if Key = 119 then
begin
if (G_HaveRunAuotQry = 0) and (G_HaveEnterMain = 1) then
begin
G_HaveRunAuotQry := 1;
Application.CreateForm(TfrmAutoQry2, frmAutoQry2);
frmAutoQry2.ShowModal;
frmAutoQry2.Free;
frmAutoQry2 := nil;
G_HaveRunAuotQry := 0;
end;
end;
end;