正文

Visual Basic shortcut keys

(2008-09-22 12:13:15) 下一個
F2Brings up the 'Object Browser' window
F3/F4/F6/F11Brings up the 'Properties Window' for the current form/control
F5Executes the current project
Ctrl + F5First checks for syntax errors and then executes the project
F7Opens the code window for the current control
F8Executes the project in 'Step mode'. Keep pressing F8 to execute the next statement; Press F5 to come out of step mode
F9Inserts break point at the current line in the code window. Press F9 again to toggle the break point
Ctrl + GBrings up the 'Immediate window', which is useful for debugging purposes
Ctrl + SpacebarWhile writing code, this combination helps you see the available options/methods/properties based on what you are typing
Ctrl + JSame as above...
Shift + F2Place the cursor over any function call and press Shift + F2 to see the declaration of that function
Ctrl + FBrings up the find dialog box
Ctrl + HBrings up the replace dialog box
Shift + F3Finds the previous occurance of a string
Ctrl + Shift + F9Clears all break points
Ctrl + DeleteDeletes to the end of the word
Crtl + YDeletes the current line of code
Ctrl + ZUndoes the last change in the code window
Ctrl + Up/Down arrowsHelps you move between procedures/functions in the code window
[ 打印 ]
閱讀 ()評論 (2)
評論
目前還沒有任何評論
登錄後才可評論.