Delphi快捷键
下面列出了大多数的快捷键。
F1 Displays context-sensitive Help F4 Run|Go to Cursor F5
Run|Toggle Breakpoint F7 Run|Trace Into F8 Run|Step Over F9
Run|Run F11 View|Object Inspector F12 View|Toggle Form/Unit
Alt+F10 Displays a context menu Alt+0 View|Window List Ctrl+F1
Help|Topic Search Ctrl+F2 Run|Program Reset Ctrl+F3 View|Call
Stack Ctrl+F4 Closes current file Ctrl+F5 Add Watch at Cursor
Ctrl+F7 Evaluate/Modify Ctrl+F9 Project|Compile Ctrl+F12 View|Units
Shift+F12 View|Forms Ctrl+Shift+P Plays back a key macro Ctrl+Shift+R
Records a key macro Ctrl+K+D Accesses the menu bar Ctrl+K+S
File|Save Ctrl+K+B Marks the beginning of a block Ctrl+K+C
Copies a selected block Ctrl+K+H Hides/shows a selected block
Ctrl+K+I Indents a block by the amount specified in the Block
Indent combo box on the Editor options page of the Environment
Options dialog box Ctrl+K+K Marks the end of a block Ctrl+K+L
Marks the current line as a block Ctrl+K+N Changes a block
to uppercase Ctrl+K+O Changes a block to lowercase Ctrl+K+R
Reads a block from a file Ctrl+K+T Marks a word as a block
Ctrl+K+U Outdents a block by the amount specified in the Block
Indent combo box on the Editor options page of the Environment
Options dialog box. Ctrl+K+V Moves a selected block Ctrl+K+W
Writes a selected block to a file Ctrl+K+Y Deletes a selected
block Ctrl+O+C Marks a column block Ctrl+O+I Marks an inclusive
block Ctrl+O+K Marks a non-inclusive block Ctrl+O+L Marks
a line as a block Ctrl+Q+B Moves to the beginning of a block
Ctrl+Q+K Moves to the end of a block Ctrl+K+0 Sets bookmark
0 Ctrl+K+1 Sets bookmark 1 Ctrl+K+2 Sets bookmark 2 Ctrl+K+3
Sets bookmark 3 Ctrl+K+4 Sets bookmark 4 Ctrl+K+5 Sets bookmark
5 Ctrl+K+6 Sets bookmark 6 Ctrl+K+7 Sets bookmark 7 Ctrl+K+8
Sets bookmark 8 Ctrl+K+9 Sets bookmark 9 Ctrl+K+Ctrl+0 Sets
bookmark 0 Ctrl+K+Ctrl+1 Sets bookmark 1 Ctrl+K+Ctrl+2 Sets
bookmark 2 Ctrl+K+Ctrl+3 Sets bookmark 3 Ctrl+K+Ctrl+4 Sets
bookmark 4 Ctrl+K+Ctrl+5 Sets bookmark 5 Ctrl+K+Ctrl+6 Sets
bookmark 6 Ctrl+K+Ctrl+7 Sets bookmark 7 Ctrl+K+Ctrl+8 Sets
bookmark 8 Ctrl+K+Ctrl+9 Sets bookmark 9 Ctrl+Q+0 Goes to
bookmark 0 Ctrl+Q+1 Goes to bookmark 1 Ctrl+Q+2 Goes to bookmark
2 Ctrl+Q+3 Goes to bookmark 3 Ctrl+Q+4 Goes to bookmark 4
Ctrl+Q+5 Goes to bookmark 5 Ctrl+Q+6 Goes to bookmark 6 Ctrl+Q+7
Goes to bookmark 7 Ctrl+Q+8 Goes to bookmark 8 Ctrl+Q+9 Goes
to bookmark 9 Ctrl+Q+Ctrl+0 Goes to bookmark 0 Ctrl+Q+Ctrl+1
Goes to bookmark 1 Ctrl+Q+Ctrl+2 Goes to bookmark 2 Ctrl+Q+Ctrl+3
Goes to bookmark 3 Ctrl+Q+Ctrl+4 Goes to bookmark 4 Ctrl+Q+Ctrl+5
Goes to bookmark 5 Ctrl+Q+Ctrl+6 Goes to bookmark 6 Ctrl+Q+Ctrl+7
Goes to bookmark 7 Ctrl+Q+Ctrl+8 Goes to bookmark 8 Ctrl+Q+Ctrl+9
Goes to bookmark 9 ò????ì?Y?ü????μ±?°μ?????óDD§£o Shortcut
Action Shift+Ctrl+0 Sets bookmark 0 Shift+Ctrl+1 Sets bookmark
1 Shift+Ctrl+2 Sets bookmark 2 Shift+Ctrl+3 Sets bookmark
3 Shift+Ctrl+4 Sets bookmark 4 Shift+Ctrl+5 Sets bookmark
5 Shift+Ctrl+6 Sets bookmark 6 Shift+Ctrl+7 Sets bookmark
7 Shift+Ctrl+8 Sets bookmark 8 Shift+Ctrl+9 Sets bookmark
9 Ctrl+0 Goes to bookmark 0 Ctrl+1 Goes to bookmark 1 Ctrl+2
Goes to bookmark 2 Ctrl+3 Goes to bookmark 3 Ctrl+4 Goes to
bookmark 4 Ctrl+5 Goes to bookmark 5 Ctrl+6 Goes to bookmark
6 Ctrl+7 Goes to bookmark 7 Ctrl+8 Goes to bookmark 8 Ctrl+9
Goes to bookmark 9 Ctrl+E Edit Breakpoint Ctrl+V View Source
Ctrl+S Edit Source Ctrl+D Delete Breakpoint Ctrl+A Add Breakpoint
F1 Topic Search Ctrl+F1 Topic Search F6 Displays the next
page Shift+F6 Displays the previous page Ctrl+A Moves one
word left Ctrl+C Scrolls down one screen Ctrl+D Moves the
cursor right one column, accounting for the autoindent setting
Ctrl+E Moves the cursor up one line Ctrl+F Moves one word
right Ctrl+G Deletes the character to the right of the cursor
Ctrl+H Deletes the character to the left of the cursor Ctrl+I
Inserts a tab Ctrl+L Search|Search Again Ctrl+N Inserts a
new line Ctrl+P Causes next character to be interpreted as
an ASCII sequence Ctrl+R Moves up one screen Ctrl+S Moves
the cursor left one column, accounting for the autoindent
setting Ctrl+T Deletes a word Ctrl+V Turns insert mode on/off
Ctrl+W Moves down one screen Ctrl+X Moves the cursor down
one line Ctrl+Y Deletes a line Ctrl+Z Moves the cursor up
one line Ctrl+Shift+S Performs an incremental search End Moves
to the end of a line Home Moves to the start of a line Enter
Inserts a carriage return Ins Turns insert mode on/off Del
Deletes the character to the right of the cursor Backspace
Deletes the character to the left of the cursor Tab Inserts
a tab Space Inserts a blank space Left Arrow Moves the cursor
left one column, accounting for the autoindent setting Right
Arrow Moves the cursor right one column, accounting for the
autoindent setting Up Arrow Moves up one line Down Arrow Moves
down one line Page Up Moves up one page Page Down Moves down
one page Ctrl+Left Arrow Moves one word left Ctrl+Right Arrow
Moves one word right Ctrl+Home Moves to the top of a screen
Ctrl+End Moves to the end of a screen Ctrl+PgDn Moves to the
bottom of a file Ctrl+PgUp Moves to the top of a file Ctrl+Backspace
Move one word to the right Ctrl+Del Deletes a currently selected
block Ctrl+Space Inserts a blank space Ctrl+Enter Opens file
at cursor Ctrl+Tab Moves to the next page Shift+Tab Deletes
the character to the left of the cursor Shift+Backspace Deletes
the character to the left of the cursor Shift+Left Arrow Selects
the character to the left of the cursor Shift+Right Arrow
Selects the character to the right of the cursor Shift+Up
Arrow Moves the cursor up one line and selects from the left
of the starting cursor position Shift+Down Arrow Moves the
cursor down one line and selects from the right of the starting
cursor position Shift+PgUp Moves the cursor up one screen
and selects from the left of the starting cursor position
Shift+PgDn Moves the cursor down one line and selects from
the right of the starting cursor position Shift+End Selects
from the cursor position to the end of the current line Shift+Home
Selects from the cursor position to the start of the current
line Shift+Space Inserts a blank space Shift+Enter Inserts
a new line with a carriage return Shift+Ctrl+Tab Moves to
the previous page Ctrl+Shift+Left Arrow Selects the word to
the left of the cursor Ctrl+Shift+Right Arrow Selects the
word to the right of the cursor Ctrl+Shift+Home Selects from
the cursor position to the start of the current file Ctrl+Shift+End
Selects from the cursor position to the end of the current
file Ctrl+Shift+PgDn Selects from the cursor position to the
bottom of the screen Ctrl+Shift+PgUp Selects from the cursor
position to the top of the screen Ctrl+Shift+Tab Moves to
the previous page Alt+Backspace Edit|Undo Alt+Shift+Backspace
Edit|Redo Alt+Shift+Left Arrow Selects the column to the left
of the cursor Alt+Shift+Right Arrow Selects the column to
the right of the cursor Alt+Shift+Up Arrow Moves the cursor
up one line and selects the column from the left of the starting
cursor position Alt+Shift+Down Arrow Moves the cursor down
one line and selects the column from the left of the starting
cursor position Alt+Shift+Page Up Moves the cursor up one
screen and selects the column from the left of the starting
cursor position Alt+Shift+Page Down Moves the cursor down
one line and selects the column from the right of the starting
cursor position Alt+Shift+End Selects the column from the
cursor position to the end of the current line Alt+Shift+Home
Selects the column from the cursor position to the start of
the current line Ctrl+Alt+Shift+Left Arrow Selects the column
to the left of the cursor Ctrl+Alt+Shift+Rght Arrow Selects
the column to the right of the cursor Ctrl+Alt+Shift+Home
Selects the column from the cursor position to the start of
the current file Ctrl+Alt+Shift+End Selects the column from
the cursor position to the end of the current file Ctrl+Alt+Shift+Page
Up Selects the column from the cursor position to the bottom
of the screen Ctrl+Alt+Shift+Page Down Selects the column
from the cursor position to the top of the screen Call stack
view Ctrl+V View Source Ctrl+E Edit Source Watch view Ctrl+E
Edit Watch Ctrl+A Add Watch Ctrl+D Delete Watch 分类:IDE/使用技巧
1。代码模板 : CTRL+J 2。代码整块移动 : CTRL+SHIFT+I(右移) CTRL+SHIFT+U(左移)
3。选中窗体 : 先选中任一控件,SHIFT+鼠标左键 4。将鼠标指向变量名、单元名、类名,再用 CTRL+鼠标左键
可找到相应的说明 5。在过程、函数、事件内部, SHIFT+CTRL+向上的方向键 可跳跃到相应的过程、函数、事件的定义
相反,在过程、函数、事件的定义处,SHIFT+CTRL+向下的方向键 可跳跃到具体过程、函数、事件内部 CTRL+
SHIFT + C:编写申明或者补上函数. 用esc选择上层对象 SHIFT+CTRL+E 显示 EXPLORER
,我觉的这个比较好
2。代码整块移动 : CTRL+SHIFT+I(右移) CTRL+SHIFT+U(左移) 这个本身就有插件,
安装好之后对某个或者整个文件/工程文件
用crtl+d就可以做到代码排列,比这个要方便多了,当然里面还有其它的功能 shift +f12 快速查找窗体并打开
f11 属性 f9运行 crtl+f9 编译 crtl + shift + n (n=1,2,3,4......)
定义书签 crtl + n (n=1,2,3,4......) 跳到书签n ALT+鼠标左键可以块选代码,删除对齐的重复代码非常有用。
Ctrl+PageUp 将光标移至本屏的第一行,屏幕不滚动。 Ctrl+PageDown 将光标移至本屏的最后一行,屏幕不滚动。
Ctrl+↓ 向下滚动屏幕,光标跟随滚动不出本屏。 Ctrl+↑ 向上滚动屏幕,光标跟随滚动不出本屏。 Ctrl+Shift+NUM
在光标行设置最多九个临时标志号,对临时切换非常有用。 行的左边将出现一本书,封面有NUM,再按一次取消设置。 Ctrl+NUM
直接将光标跳到NUM处,NUM是用Ctrl+Shift+NUM设置的标号。 NUM不能用小键盘。 Ctrl+Home
将光标移至文件头。 Ctrl+End 将光标移至文件尾。 Ctrl+B Buffer List窗口。 Ctrl+I
同Tab键。 Ctrl+M 同Enter键。 Ctrl+N 同Enter键,但光标位置保持不变。 Ctrl+T 删除光标右边的一个单词。
Ctrl+Y 删除光标所在行。 Ctrl+Shift+↑ 光标在函数体内时,将光标快速移至当前函数声明处。 Ctrl+Shift+↓
光标在函数声明行时,将光标快速移至函数定义处。 Ctrl+Shift+C 声明一个过程或函数后,直接生成过程或函数的名称、begin、end;
Ctrl+Shift+E 光标在Edit窗口和Explorer窗口间切换。 Ctrl+Shift+G 插入GUID。
Ctrl+Shift+J 弹出Delphi语句提示窗口,选择所需语句将自动完成一条语句。 Ctrl+Shift+T
在光标行加入To-Do注释。 Ctrl+Shift+Y 删除光标之后至本行末尾之间的文本。 Ctrl+F3 Call
Stack窗口。 Ctrl+F4 等于File菜单中的Close项。 Ctrl+鼠标转轮 加速滚屏。 Shift+F8
调试时弹出CPU窗口。 Shift+F10 等于鼠标右键(Windows快捷键)。 Alt+F4 关闭所有编辑框中打开的源程序文件,但不关闭项目。
CTRL+C 复制 CTRL+V 粘贴 CTRL+X 剪切 CTRL+Z 还原(Undo) CTRL+S 保存 CTRL+ENTER
定位到单元文件 Shitf+箭头 选择 如果同时按住Alt +Shitf+箭头, 再进行选择, 则是一种区域选择,
而不是行选择, 粘贴的 时候也就是插入粘贴了. F9 运行 CTRL+ F9编译 F8 STEP OVER (步进式调试不进入子过程)
F7 TRACE INTO (步进式调试同时追踪进入子过程) F11,F12 切换EDITOR,INSPECTOR,FORM
DESIGNER. CTRL+ALT+F11 弹出工程管理器 CTRL+F弹出查找对话框 CTRL+R弹出替换对话框
CTRL+ Shitf+C 类过程代码补全(只要在定义部分定义一过程或一函数头则自动帮你生成 实现部分的套架;反之也成)
象这些都是菜单中有的快捷方式, 其它的您可以自己去找, 就不无聊了, 下面是一些不是 PB的SHITF+TAB好象很酷,
其实DELPHI也有. DELPHI中怎样跳格就是CTRL+K,I向后, CTRL+K,U向前. 如果你是在接口函数的实现部分,
那么 CTRL+SHIFT+上箭头 就可以到声明部分. 同样再CTRL+SHIFT+下箭头 又回到实现部分 是不是觉得DELPHI好象没有标签功能,
CTRL+SHIFT+数字 定义标签(当然因为数据键只有10 个, 所以您也只能定义从0~9的10个标签), CTRL+数字
就是定位到相应的标签的位置. 有时候反复输入什么东西是不是很繁? CTRL+SHIFT+R录制键盘宏, 比如我经常做的就是:
下箭头-下箭头-HOME-回车-CTRL+V, 再键入一次CTRL+SHIFT+R录制完成, 之后您可以使用 CTRL+SHIFT+P,
重复宏,还是省了一些事的. 这就是CTRL+J;列如:在一过程中你输入ifb后再按CTRL+J你回去看看效果吧,可能你会大吃一惊。这就是Code
Insight ctrl+shift+u //块缩进/反缩进 ctrl+shift+i 取消书签: 在书签N处,再按一次
SHIFT + CTRL + N Ctrl +Shift + S :Save All 按住Ctrl再点对象、过程、函数,转到其定义原型,即便是Delphi
VCL源代码中的Unit。 ALT+F4 关闭DELPHI Ctrl+space 代码补全 Ctrl+K+O,Ctrl+K+N
将选中的整块代码都转为小写或大写 Ctrl+F 查找 Ctrl+L 继续查找 ctrl+r 在Inspector,可以用Ctrl+Tab切换Properties页和Events页
Ctrl+Enter可进入相应的设置,如在Preperties页的Font按Ctrl+Enter 在Events中按Ctrl+Enter可进入相应代码编辑
选中一段程序 Ctrl+Shift+i : 同时推进2格 Ctrl+Shift+u : 同时退后2格 按住ALT用鼠标选择文本
或者按住ALT加SHIFT,用方向键选择文本 来自:dlnew, 时间:2001-10-24 11:57:00, ID:688849
在form上放一个tedit控件,然后在代码中写入“edit1.”,稍等一下,会出现提示。
在“edit1.”未写入前,要想使用这个提示功能,可以按住windows键,然后按空白键。
(只有windows键盘可以用此功能!) 其实所有ShortKey都可以在Classic keystroke mapping找到的。
然后在UNIT中,比如输入fo这是按下CTRL+SPACE就会出现一系列以fo开头的变量,函数。。 Ctrl+Backspace
后退删除一个词。好像是到 . 为止。 按着Ctrl+Alt 之后,可用鼠标选择一个矩形块中的代码, 并可比它进行复制,粘帖,
这是Delphi独有的,而且非常有用的。 如象还有一个:Ctrl+鼠标左键,指向代码时……
如果你的手在键盘上,我想你不太会愿意再去伸手拿鼠标来移动组件吧,再说鼠标也不太精确
(下面提到的均针对键盘操作,能用鼠标操作完成的不在此列),
那好,以下快捷键及一些技巧请各位看官"收好".
一、以下快捷键指的是对窗体表格上组件的操作:
●快捷键1: 【Ctrl+UP】~向上移动当前组件(精确); 【Ctrl+Left】~向左移动当前组件(精确);
【Ctrl+Down】~向下移动当前组件(精确); 【Ctrl+Right】~向右移动当前组件(精确);
注: 以上快接键中再加Shift进行组合(比如【Ctrl+Shift+Right】)即可实现粗略调整;
●快捷键2: 【Shift+UP】~减小当前组件的高度; 【Shift+Left】~减小当前组件的宽度; 【Shift+Down】~增加当前组件的高度;
【Shift+Right】~增加当前组件的宽度; 二、以下快捷键指的是在对象观察器上的操作:
●快捷键3: 【F11】~切换到对象观察器(注:如果连续按F11则将实现在对象观察器、窗体表格、代码编辑器之间切换);
【Ctrl+Down】~下拉当前窗体的组件列表; 【Ctrl+Enter】~编辑带...的属性值(如组件的字体TFont);
【Alt+Down】~下拉组件当前属性选单队列(如Align->alNone,alLeft,alRight等); 【Ctrl+Tab】~在属性列表及事件列表中切换;
三、菜单快捷键:
●快捷键4: 【F12】,【Shift+F12】,【Ctrl+F12】等在Delphi的菜单中已有定义的在此不必罗嗦.
技巧: 如何选择被组件覆盖了的窗体(比如某组件的Align属性为alClient)? 方法一、按ESC键,一层一层的往后选,直到窗体被选为当前组件为止;
方法二、按Shift的同时单击鼠标左键,一步即可选定(推荐); 方法三、按F11选定对象观察器,然后切换到属性列表,再用上面快捷键3中的【Ctrl+Down】.
DELPHI键盘常用快捷键汇总
--------------------------------------------------------------------------------
- 2003-6-28 来源: Delphi技术网
这里所有的键盘快捷键都是在菜单或者帮助中可以找到的, 另外还有一些键盘操作是鼠标之外的另外的实现方式, 这里就不说了, 因为除了可以对别人夸耀您对DELPHI熟悉, 就只会在没有鼠标的时候用到. 当然如果您的键盘模式使用的不是DEFAULT和CLASSIC, 那么说明您已经知道该怎么做了, 就别和我无事生非了.
在平时的使用过程中, 最常用的快捷方式大概就是以下几个了:
CTRL+C 复制
CTRL+V 粘贴
CTRL+X 剪切
shitf+箭头 选择
如果按住Alt, 再进行选择, 则是一种区域选择, 而不是行选择, 粘贴的时候也就是插入粘贴了.
F9 运行
F8 STEP OVER
F7 TRACE INTO
F11,F12 切换EDITOR,INSPECTOR,FORM DESIGNER.
CTRL+ALT+F11 弹出工程管理器
象这些都是菜单中有的快捷方式, 其它的您可以自己去找, 就不无聊了, 下面是一些不是很容易找到 (或者比较容易忘记的快捷操作) 的快捷操作:
PB的SHITF+TAB好象很酷, 其实DELPHI也有.
另外就是在PB中, 如果你对选择的代码使用TAB键, 就是所有的选择向后跳格, 但是DELPHI中怎样跳格呢? 其实也是有办法的, 就是CTRL+K,I向后, CTRL+K,U向前.
如果你是在接口函数的实现部分, 那么 CTRL+SHIFT+上箭头 就可以到声明部分. 同样再CTRL+SHIFT+下箭头 又回到实现部分
是不是觉得DELPHI好象没有标签功能, CTRL+SHIFT+数字 定义标签(当然因为数据键只有10个, 所以您也只能定义从0~9的10个标签), CTRL+数字 就是定位到相应的标签的位置.
有时候反复输入什么东西是不是很繁? CTRL+SHIFT+R录制键盘宏, 比如我经常做的就是: 下箭头-下箭头-HOME-回车-CTRL+V, 再键入一次CTRL+SHIFT+R录制完成, 之后您可以使用CTRL+SHIFT+P, 重复宏,还是省了一些事的.
另外还有一些快捷都是很少用到的, 我也想不起来, 您要是有兴趣就在帮助索引中输入 "Classic keystroke mapping", 自己看吧.
感谢北京的刘吉东提供这篇经验介绍。
Q:DBGrid中如何让回车变为光标右移动
A:在Form.OnKeyPress事件中写如下代码:
if Key = #13 then
if ActiveControl = DBGrid1 then begin
TDBGrid(ActiveControl).SelectedIndex := TDBGrid(ActiveControl).SelectedIndex + 1;
Key := #0;
end;
有2点需要注意:
1.当光标达到DBGird最右列的时候,再按回车,光标还会停留在原地。
2.Key := #0一句让光标移动到下一列以后处于浏览状态,如果去掉这行代码光标移动到下一列以后将处于编辑状态。
一组 Delphi5.0 快捷键
作者:未知 来源:未知 加入时间:2004-8-10 资讯中心开发文档
下面的快捷键大部分在Delphi 5.0的菜单中找不到,其中有一些还是非常有用的。
Ctrl+PageUp 将光标移至本屏的第一行,屏幕不滚动。
Ctrl+PageDown 将光标移至本屏的最后一行,屏幕不滚动。
Ctrl+↓ 向下滚动屏幕,光标跟随滚动不出本屏。
Ctrl+↑ 向上滚动屏幕,光标跟随滚动不出本屏。
Ctrl+Shift+NUM 在光标行设置最多九个临时标志号,对临时切换非常有用。
行的左边将出现一本书,封面有NUM,再按一次取消设置。
Ctrl+NUM 直接将光标跳到NUM处,NUM是用Ctrl+Shift+NUM设置的标号。
NUM不能用小键盘。
Ctrl+Home 将光标移至文件头。
Ctrl+End 将光标移至文件尾。
Ctrl+B Buffer List窗口。
Ctrl+I 同Tab键。
Ctrl+M 同Enter键。
Ctrl+N 同Enter键,但光标位置保持不变。
Ctrl+T 删除光标右边的一个单词。
Ctrl+Y 删除光标所在行。
Ctrl+Shift+↑ 光标在函数体内时,将光标快速移至当前函数声明处。
Ctrl+Shift+↓ 光标在函数声明行时,将光标快速移至函数定义处。
Ctrl+Shift+C 声明一个过程或函数后,直接生成过程或函数的名称、begin、end;
Ctrl+Shift+E 光标在Edit窗口和Explorer窗口间切换。
Ctrl+Shift+G 插入GUID。
Ctrl+Shift+J 弹出Delphi语句提示窗口,选择所需语句将自动完成一条语句。
Ctrl+Shift+T 在光标行加入To-Do注释。
Ctrl+Shift+Y 删除光标之后至本行末尾之间的文本。
Ctrl+F3 Call Stack窗口。
Ctrl+F4 等于File菜单中的Close项。
Ctrl+鼠标转轮 加速滚屏。
Shift+F8 调试时弹出CPU窗口。
Shift+F10 等于鼠标右键(Windows快捷键)。
Alt+F4 关闭所有编辑框中打开的源程序文件,但不关闭项目。
使用快捷键可以加快设计速度。下面列出的快捷键,可根据实际情况,有选择地熟练掌握。
Del :删除所选组件;
Esc :选择当前组件的容器(通常是Panel,Group或Form);
F11 :在Form或Unit和对象检查器之间切换;
F12 :在Form和代码编辑器间切换;
Ctrl+F12 :显示“查看Unit”对话框;
Shift+F12 :显示“查看Form”对话框;
TAB :下一个组件;
Shift+TAB :上一个组件;
方向键 :选中此方向上最近的组件;
Ctrl+方向键 :将所选组件移动一个点;
Shift+方向键 :将所选组件改变一个点的大小;
Ctrl+Shift+方向键 :将所选组件移动一个格;
Shift+click :按住Shift键再用鼠标点击组件,可以选择多个组件。
下面这条是我摸索出来的:
Ctrl+drag :按住Ctrl键在一个容器组件(如Panel,QReport,Groupbox等)里拖动鼠标,可强制选择鼠标拖过的矩形框中的所有属于此容器的可视组件(不包括该容器组件)。
--------------------------------------------------------------------------------