96.txt

来自「VB文章集(含API、窗口、数据库、多媒体、系统、文件、等等)」· 文本 代码 · 共 21 行

TXT
21
字号
用键盘操纵控件 
Manipulate your controls from the keyboard
If you注释:re not comfortable using your mouse--or can注释:t achieve the precise results you注释:d like--these tips will come in handy. 

First, you can resize controls at design time by using the [Shift] and arrow keys, as follows: 

SHIFT + RIGHT ARROW increases the width of the control
SHIFT + LEFT ARROW decreases the width of the control
SHIFT + DOWN ARROW increases the height of the control
SHIFT + UP ARROW decreases the height of the control 

Note: The target control must have focus, so click on the control before manipulating it from the keyboard. 

Second, by using the [Control] key and the arrow keys, you can move your controls at design time, as follows: 

CONTROL + RIGHT ARROW to move the control to the right
CONTROL + LEFT ARROW to move the control to the left
CONTROL + DOWN ARROW to move the control downwards
CONTROL + UP ARROW to move the control upwards 

If you select more than one control (by clicking on the first and shift-clicking on the others), the above procedures will affect all the selected controls.  

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?