Sunteți pe pagina 1din 27

Function

Visaul Basic 6 Shortcuts and Hot Keys


This is a list of Visual Basic Shortcut and Hot Keys, which may be useful for the visually impaired Visual Basic Programmer. The Visual Basic Menu Shortcut and Hot Keys I compiled on my own----the rest I pull from the Visual Basic Help File. Here's an Index to links within this document.

Global Keys
Global Keyboard Shortcuts Global Keys

The Code Window


Code Editing Keys Code Window Keyboard Shortcuts Code Window General Use Keys Code Window Navigation Keys Menu Shortcut Keys Available in the Code Window Text Editor Window Editing Keyboard Shortcuts Text Editor Window Navigation Keyboard Shotcuts

The VB Main Menu Bar


VB Menu Shortcut and Hot Keys

The Form
Form Window Keys

The Menu Editor


Menu Editor Keys

Global Keyboard Shortcuts

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (1 of 27)3/28/2004 12:04:45 PM

Function

Use the following key combinations in all development environment windows. Note You can change or create keyboard shortcuts in Keyboard of the Environment options in the Options dialog box. To Activate the selected item and changes to edit mode. In an editor, displays the Object Browser. Close a menu or dialog box, cancel an operation in progress, or place focus in the current document window. Close a tool window. Close the current MDI child window. Create a new file. Create a new project. Cycle through the MDI child windows one window at a time Display a system menu for an MDI child window. Display a system menu for the application window. Display the Add Item dialog box where you can add new or existing items to your project. Display the Auto window and move the cursor into it. Display the Call Stack window and move the cursor into it. Display the Document Outline window and move the cursor into it. Display the Find window. Display the Find window. If there is no current Find criteria, put the word under your cursor in the Find box. Display the Immediate window and move the cursor into it. Not available if you are in the Text Editor window. Press F2 ESC SHIFT+ESC CTRL+F4 CTRL+SHIFT+N CTRL+N CTRL+F6 or CTRL+TAB ALT+HYPHEN (-) ALT+SPACEBAR CTRL+D CTRL+ALT+A CTRL+ALT+C CTRL+ALT+T CTRL+H CTRL+F CTRL+ALT+I

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (2 of 27)3/28/2004 12:04:45 PM

Function

Display the Locals window and move the cursor into it. Display the Object Browser and move the cursor into from anywhere but an editor. Display the Output window and move the cursor into it. Display the Project Explorer and move the cursor into it. Display the Properties window and move the cursor into it. Display the Properties window. Display the Property Pages window. Display the Running Documents window and move the cursor into it. Display the shortcut menu. Display the Task List window and move the cursor into it. Display the Thread window and move the cursor into it. Display the Toolbox and move the cursor into it. Display the Watch window and move the cursor into it. Find next occurrence of specified text. Go to the next tool window. Go to the previous tool window. Move to the next MDI child window. Move to the previous MDI child window. Move to the next page of items in the current tab if there are more items than can be shown at one time. Move to the previous page of items in the current tab if there are more items than can be shown at one time. New File

CTRL+ALT+L CTRL+ALT+B CTRL+ALT+O CTRL+ALT+J CTRL+ALT+P F4 SHIFT+F4 or ALT+ENTER CTRL+ALT+D SHIFT+F10 CTRL+ALT+K CTRL+ALT+H CTRL+ALT+X CTRL+ALT+W F3 ALT+F6 ALT+SHIFT+F6 CTRL+SHIFT+F6 CTRL+SHIFT+TAB PAGE UP PAGE DOWN CTRL+SHIFT+N

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (3 of 27)3/28/2004 12:04:45 PM

Function

Open a file. Open a project. Print all or part of the document. Run an application using the debugger. Save all of the files, project, or documents. Save the current document or selected item or items. Select All. Stop Break into a running an application.

CTRL+SHIFT+O CTRL+O CTRL+P F5 CTRL+SHIFT+S CTRL+S CTRL+A CTRL+BREAK

Use the following key combinations in all Windows-based applications: To Close the active application; if all windows are closed, close the development environment. Copy the selection to the Clipboard. Cut the selection and move it to the Clipboard. Display documentation. Display the shortcut menu. Insert the Clipboard contents at the insertion point. Move between the last two active windows. Paste the Clipboard contents at the insertion point. Restore the previously undone action (Redo). Undo the last editing action in the current line. Press ALT+F4 CTRL+C or CTRL+INS CTRL+X or SHIFT+DELETE F1 SHIFT+F10 CTRL+V or SHIFT+INSERT ALT+F6 CTRL+V or SHIFT+INSERT CTRL+SHIFT+Z or ALT +SHIFT+BACKSPACE CTRL+Z or ALT +BACKSPACE

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (4 of 27)3/28/2004 12:04:45 PM

Function

Global Keys
Use these key combinations in all Visual Basic windows: Press F5 F8 SHIFT+F8 CTRL+BREAK CTRL+G SHIFT+F5 CTRL+TAB ALT+F5 To Run an applications Sub/UserForm or macro. Execute code one line at a time. Execute statements one line at a time without stepping into procedure calls. Stop running a Visual Basic application. Displays the Immediate window. Restart an application from the beginning after an interruption. Switch between windows. Runs the error handler code or returns the error to the calling procedure. Does not affect the setting for error trapping on the General tab of the Options dialog box. Steps into the error handler or returns the error to the calling procedure. Does not affect the setting for error trapping on the General tab of the Options dialog box.

ALT+F8

Use these key combinations in all Windows-based applications: Press F1 ALT+F6 To Open Help. Toggle between the last two active windows.

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (5 of 27)3/28/2004 12:04:45 PM

Function

ALT+F4 CTRL+C or F3 CTRL+X CTRL+V CTRL+Z SHIFT+F10

(Visual Basic) Close the active window; if all windows are closed, close Visual Basic. Copy the selection to the Clipboard. Cut the selection to the Clipboard. Paste the Clipboard selection. Undo the last edit. View shortcut menu.

Code Editing Keys


Use these key combinations to edit code in the Code window: Press CTRL+C CTRL+X DELETE or DEL To Copy the selected text to the Clipboard. Cut the selected text to the Clipboard. Delete the selected text without placing it on the Clipboard. Paste the Clipboard contents at the insertion point. Undo the last editing action in the current line. Cut the current line to the Clipboard. Delete to the end of the word. Delete to the beginning of the word. Find Next: repeat text search down through your code. If no text search has been done, the Find dialog box is displayed.

CTRL+V

CTRL+Z CTRL+Y CTRL+DELETE CTRL+BACKSPACE SHIFT+F4

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (6 of 27)3/28/2004 12:04:45 PM

Function

SHIFT+F3

Find Previous: repeat text search up through your code. If no text search has been done, the Find dialog box is displayed. Remove indent. Insert a blank line above the current line.

SHIFT+TAB CTRL+N

Code Window Keyboard Shortcuts


You can use the following shortcut keys to access commands in the Code window. Description View Code window View Object Browser Find Replace Find Next Find Previous Next procedure Previous procedure View definition Shift one screen down Shift one screen up Go to last position Beginning of module End of module Shortcut Keys F7 F2 CTRL+F CTRL+H SHIFT+F4 SHIFT+F3 CTRL+DOWN ARROW CTRL+UP ARROW SHIFT+F2 CTRL+PAGE DOWN CTRL+PAGE UP CTRL+SHIFT+F2 CTRL+HOME CTRL+END

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (7 of 27)3/28/2004 12:04:45 PM

Function

Move one word to right Move one word to left Move to end of line

CTRL+RIGHT ARROW CTRL+LEFT ARROW END

Move to beginning of line HOME Undo Delete current line Delete to end of word Indent Outdent Clear all breakpoints View shortcut menu CTRL+Z CTRL+Y CTRL+DELETE TAB SHIFT+TAB CTRL+SHIFT+F9 SHIFT+F10

Code Window General Use Keys


Use these key combinations in the Code window: Press F1 F2 F9 CTRL+SHIFT+F9 F5 F8 To Get context-sensitive Help on functions, statements, methods, properties, or events. Display the Object Browser. Set or remove a breakpoint. Clear all breakpoints. Run an application (or continue running, if in break mode). Execute code one line at a time (single step).

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (8 of 27)3/28/2004 12:04:45 PM

Function

SHIFT+F8 CTRL+BREAK HOME END Double-click on the split bar SHIFT+F10 SHIFT+F5 ALT+F5

Execute code one procedure at a time (procedure step). Stop running a Visual Basic application. Move the cursor to the beginning of text in a line. Move the cursor to the end of text in a line. Delete the split bar. View shortcut menu. Restart an application from the beginning. Runs the error handler code or returns the error to the calling procedure. Does not affect the setting for error trapping on the General tab of the Options dialog box. Steps into the error handler or returns the error to the calling procedure. Does not affect the setting for error trapping on the General tab of the Options dialog box. Turn on ListProperties/Methods. Turn on List Constants. Turn on Quick Info. Turn on Parameter Info. Turn on Complete Word.

ALT+F8

CTRL+J CTRL+SHIFT+J CTRL+I CTRL+SHIFT+I CTRL+SPACEBAR

Code Window Navigation Keys


Use these key combinations to navigate in the Code window: Press To

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (9 of 27)3/28/2004 12:04:45 PM

Function

CTRL+F2 SHIFT+F2 CTRL+DOWN ARROW CTRL+UP ARROW PAGE DOWN PAGE UP CTRL+SHIFT+F2 CTRL+HOME CTRL+END CTRL+RIGHT ARROW CTRL+LEFT ARROW END HOME CTRL+PAGE DOWN CTRL+PAGE UP F6

Move the insertion point into the Object box. Go to the definition of the selected procedure. Display the next procedure. Display the previous procedure. Page down through the procedures in your code. Page up through the procedures in your code. Go back to the last position in your code. Go to the beginning of the module. Go to the end of the module. Go one word to the right. Go one word to the left. Go to the end of the line. Go to the beginning of the line. Go to the bottom of the current procedure. Go to the top of the current procedure. Switch between Code window panes (when the window is split).

Menu Shortcut Keys Available in the Code Window


Use these key combinations for menu shortcuts in the Code window: Press CTRL+P To Print

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (10 of 27)3/28/2004 12:04:45 PM

Function

CTRL+Z CTRL+V DEL or DELETE CTRL+F SHIFT+F4 CTRL+H TAB SHIFT+TAB SHIFT+F2 CTRL+SHIFT+F2 F2 CTRL+G CTRL+R F4 F8 SHIFT+F8 CTRL+F8 F9 CTRL+SHIFT+F9 F5 CTRL+BREAK SHIFT+F10 CTRL+S

Undo Paste Delete Find Find Next Replace Indent Outdent Definition Last Position Object Browser Immediate Window Project Explorer Properties Window Step Into Step Over Run To Cursor Toggle Breakpoint. Clear All Breakpoints Start Break Shortcut menu Save Form

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (11 of 27)3/28/2004 12:04:45 PM

Function

CTRL+A CTRL+F5 SHIFT+F4 CTRL+D CTRL+J CTRL+SHIFT+J SHIFT+F9 CTRL+N CTRL+O CTRL+I CTRL+SHIFT+I CTRL+SPACEBAR

Save Form As Start with Full Compile Property Pages Add File List Properties/Methods List Constants Quick Watch New Project Open Project Quick Info Parameter Info Complete Word

Text Editor Window Editing Keyboard Shortcuts


Use the following key combinations to edit code in the Text Editor window also referred to as the Code Editor window. Note You can change or create keyboard shortcuts in Keyboard of the Environment options in the Options dialog box. To Undo the last editing action (Undo). Correctly indent the selected lines of code based on the surrounding lines of code. Swap the current and previous lines. Press CTRL+Z or ALT+BACKSPACE ALT+F8 ALT+SHIFT+T

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (12 of 27)3/28/2004 12:04:45 PM

Function

Delete the selection or, if there is no selection, the character to the left of the cursor. Find the matching brace. Delete the word to the left of the insertion point. Copy the selected text to the Clipboard. Delete the word to the right of the insertion point. Move the cursor to the end of the list. Display the Find window. If there is no current Find criteria, places the word under your cursor in the Find box. Find the next occurrence of the current word or selection. Display the Find window where you can replace the specified text. Move the cursor to the beginning of the list. Display Quick Info. Display list of members. Extend the selection to the matching brace. Extend the selection to the end of the document. Find the previous occurrence of the specified text. Extend the selection to the beginning of the file. Display Parameter Info. Extend the selection one word to the left. Extend the selection one word to the right.

BACKSPACE CTRL+] CTRL+BACKSPACE CTRL+C or CTRL+INS CTRL+DELETE CTRL+END CTRL+F

CTRL+F3 CTRL+H CTRL+HOME CTRL+I CTRL+J CTRL+SHIFT+] CTRL+SHIFT+END CTRL+SHIFT+F3 CTRL+SHIFT+HOME CTRL+SHIFT+I CTRL+SHIFT+LEFT ARROW CTRL+SHIFT+RIGHT ARROW

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (13 of 27)3/28/2004 12:04:45 PM

Function

Swap the current and next words or transposes words around operators, for example transposes apple = fruit to fruit = apple. Change the selected text to uppercase characters. Select the current word. Fill in the rest of the word you are typing once you have entered enough characters for the editor to identify the word you want. Swap the characters around the insertion point. Change the selected text to lowercase characters. Scroll the text up one line. Insert the Clipboard contents at the insertion point. Cut the selected text to the Clipboard. Delete the selected lines and place them on the Clipboard (Cut). Restore the previously undone action (Redo). Delete the selected text without placing it on the Clipboard. Display next overloaded function when the Parameter Info window is displayed. Move the cursor down the list, one entry at a time, when the Member List is displayed.

CTRL+SHIFT+T

CTRL+SHIFT+U CTRL+SHIFT+W CTRL+SPACEBAR

CTRL+T CTRL+U CTRL+UP ARROW CTRL+V or SHIFT+INSERT CTRL+X or SHIFT+DELETE CTRL+M CTRL+Y or CTRL+SHIFT+Z or ALT+SHIFT+BACKSPACE DELETE DOWN ARROW

Display previously overloaded function when the Parameter Info window is displayed. Move the cursor up the list, one entry at a time, when the Member List is displayed.

UP ARROW

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (14 of 27)3/28/2004 12:04:45 PM

Function

Display context-sensitive documentation for functions, statements, methods, properties, or events. Display help on the Text Editor window. Find next occurrence of text specified in the Find window. Display or hide a shortcut. Turn the bookmarks for the current line on and off. Remove all bookmarks. Move the insertion point to the beginning of the next bookmark. Move the insertion point to the beginning of the previous bookmark. Change between box selection and stream selection mode. Show white space. Display and hide spaces and tab marks. Toggle between inserting and replacing text. Extend the selection down one line. Extend the selection up one line. Find previous occurrence of the text specified in the Find window. Extend the selection to the start of the current line. Extend the selection to the end of the current line. Extend your selection one character to the left. Extend your selection one character to the right. Extend the selection down one page.

F1 CTRL+F1 F3 Hold down CTRL and press KH Hold down CTRL and press KK Hold down CTRL and press KL Hold down CTRL and press KN Hold down CTRL and press KP Hold down CTRL and press RS Hold down CTRL and press RW INSERT SHIFT+DOWN ARROW SHIFT+UP ARROW SHIFT+F3 SHIFT+HOME SHIFT+END SHIFT+LEFT ARROW SHIFT+RIGHT ARROW SHIFT+PAGE DOWN

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (15 of 27)3/28/2004 12:04:45 PM

Function

Extend the selection up one page. Indent the selected text one tab stop to the right. Indents the selected text one tab stop to the left.

SHIFT+PAGE UP TAB SHIFT+TAB

Text Editor Window Navigation Keyboard Shortcuts


Use the following key combinations to navigate in the Text Editor window also referred to as the Code Editor window. Note You can change or create keyboard shortcuts in Keyboard of the Environment options in the Options dialog box. To Display the GoTo Line box, where you can specify the location in the Text Editor window to which you want to move the cursor. Go to the bottom of the current window. Go to the top of the current window. Move one word to left. Move one word to right. Move the cursor one character to the left. Move the cursor one character to the right. Move the cursor up one line at a time. Move the cursor down one line at a time. Move the cursor to either the start of the current line or the start of the text on that line. Move to end of the current line. Move the cursor to the beginning of the document. Press CTRL+G

CTRL+PAGE DOWN CTRL+PAGE UP CTRL+LEFT ARROW CTRL+RIGHT ARROW LEFT ARROW RIGHT ARROW UP ARROW DOWN ARROW HOME END CTRL+HOME

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (16 of 27)3/28/2004 12:04:45 PM

Function

Move the cursor to the end of the document. Move to next pane. Move to previous pane. Move the insertion point to the beginning of the page. Move the insertion point to the end of the page. Scroll up one line at a time. Scroll down one line at a time.

CTRL+END F6 SHIFT+F6 PAGE UP PAGE DOWN CTRL+UP ARROW CTRL+DOWN ARROW

VB Menu Shortcut and Hot Keys


Keyboard Equivalent (Navigated from the VB Menu Bar)

Function

Shortcut

Comment

New Project Open Project Add Project Remove Project Save Project Save Project As Save Form Save Form As Print

Ctrl+N Ctrl+O

Alt+F+N Atl+F+O Alt+F+A Alt+F+R Alt+F+V Alt+F+E

File-New File-Open Project File-Add Project File-Remove Project File-Save Project File-Save Project As File-Save File-Save Form AS File-Print

Ctrl+S

Alt+F+S Alt+F+A

Ctrl+P

Alt+F+P

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (17 of 27)3/28/2004 12:04:45 PM

Function

Print Setup Make Project

Alt+F+U Alt+F+K

File-Print Setup File-Make Project

Undo

Ctrl+Z

Alt+E+U

Edit-Undo. Only available when editing code in the VB Code Window Edit-Redo. Only available when editing code in the VB Code Window. Edit-Cut. Only available when editing code in the VB Code Window Edit-Copy. Only available when editing code in the VB Code Window Edit-Paste. Only available when editing code in the VB Code Window Edit-Delete. Only available when editing code in the VB Code Window Edit-Select All. Only available when editing code in the VB Code Window

Redo

Alt+E+R

Cut

Ctrl+X

Alt+E+T

Copy

Ctrl+C

Alt+E+C

Paste

Ctrl+V

Alt+E+P

Delete

Del

Alt+E+D

Select All

Ctrl+A

Alt+E+A

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (18 of 27)3/28/2004 12:04:45 PM

Function

Find

Ctrl+F

Alt+E+F

Edit-Find. Only available when editing code in the VB Code Window Edit-Find Next. Only available when editing code in the VB Code Window Edit-Replace. Only available when editing code in the VB Code Window Edit-Indent. Only available when editing code in the VB Code Window Edit-Outdent. Only available when editing code in the VB Code Window Edit-List Properties/ Methods. Only available when editing code in the VB Code Window Edit-List Constants. Only available when editing code in the VB Code Window Edit-Quick Info. Only available when editing code in the VB Code Window

Find Next

F3

Alt+E+N

Replace

Ctrl+H

Alt+E+E

Indent

Alt+E+I

Outdent

Alt+E+O

List Properties/ Methods

Ctrl+J

Alt+E+H

List Constants

Ctrl +Shift+J

Alt+E+S

Quick Info

Ctrl+I

Alt+E+Q

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (19 of 27)3/28/2004 12:04:45 PM

Function

Parameter Info

Ctrl +Shift+I

Alt+E+M

Edit-Parameter Info. Only available when editing code in the VB Code Window Edit-Complete Word. Only available when editing code in the VB Code Window

Complete Word

Ctrl +Space

Alt+E+W

Code Object Object Browser Immediate Window Locals Window Watch Window Call Stack Project Explorer Properties Window Form Layout Window Property Pages Toolbox Shift+F4 Ctrl+L Ctrl+R F4 Shift+F7 F2 Ctrl+G

Alt+V+C Alt+V+B Alt+V+O Alt+V+I Alt+I+S Alt+I+W Alt+I+K Alt+I+P Alt+I+W Alt+I+F Alt+I+G Alt+I+X

View-Code View-Object View-Object Browser View-Immediate Window View-Locals Window View-Watch Window View-Call Stack View-Project Explorer View-Properties Window View-Form Layout Window View-Property Pages View-Toolbox

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (20 of 27)3/28/2004 12:04:45 PM

Function

DataView Window Color Palette Toolbars

Alt+I+V Alt+I+L Alt+I+T

View-DataView Widow View-Color Palette View-Toolbars

Add Form Add MDI Form Add Module Add Class Module Add User Control Add Property Page Add User Document Add File Remove Form References Components Project Properties Ctrl+T Ctrl+D

Alt+P+F Alt+P+I Alt+P+M Alt+P+C Alt+P+U Alt+P+P Alt+P+D Alt+P+A Alt+P+R Alt+P+N Alt+P+C Alt+P+R

Project-Add Form Project-Add MDI Form Project-Add Module Project-Add Class Module Project-Add User Control Project-Add Property Page Project-Add User Document Project-Add File Project-Remove Form Project-References Project-Components Project-Project Properties

Align Lefts Align Centers

Alt+O+A+L Alt+O+A+C

Format-Align Lefts Format-Align Centers

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (21 of 27)3/28/2004 12:04:45 PM

Function

Align Rights Align Tops Align Middles Align Bottoms Align To Grid Make Same Size Width Make Same Size Height Make Same Size Both Size To Grid Horizontal Spacing Make Equal Horizontal Spacing Increase Horizontal Spacing Decrease Horizontal Spacing Remove Vertical Spacing Make Equal Vertical Spacing Increase

Alt+O+A+R Alt+O+A+T Alt+O+A+M Alt+O+A+B Alt+O+A+G Alt+O+M+W Alt+O+M+H Alt+O+M+B Alt+O+D Alt+O+H+E

Format-Align Rights Format-Align Tops Format-Align Middles Format-Align Bottoms Format-Align To Grid Format-Make Same Size-Width Format-Make Same Size-Height Format-Make Same Size-Both Format-Size To Grid Format-Horizontal Spacing-Make Equal Format-Horizontal Spacing-Increase Format-Horizontal Spacing-Decrease Format-Horizontal Spacing-Remove Format-Vertical Spacing-Make Equal Format-Vertical Spacing-Increase

Alt+O+H+I

Alt+O+H+D

Alt+O+H+R

Alt+O+V+E

Alt+O+V+I

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (22 of 27)3/28/2004 12:04:45 PM

Function

Vertical Spacing Decrease Vertical Spacing Remove Center In Form Horizontally Center In Form Vertically Order Bring To Front Order Send To Back Lock Controls

Alt+O+V+D

Format-Vertical Spacing-Decrease Format-Vertical Spacing-Remove Format-Center In Form-Horizontally Format-Center In Form-Vertically Format-Order-Bring To Front Format-Order-Send To Back Format-Lock Controls

Alt+O+V+R

Alt+O+C+H

Alt+O+C+V

Alt+O+O+B Alt+O+O+S Alt+O+L

Step Into Step Over Step Out Run To Cursor Add Watch Edit Watch Quick Watch Toggle Breakpoint

F8 Shift+F8 Ctrl +Shift +F8 Ctrl+F8

Alt+D+I Alt+D+O Alt+D+U

Debug-Step Into Debug-Step Over Debug-Step Out

Alt+D+R Alt+D+A

Debug-Run To Cursor Debug-Add Watch Debug-Edit Watch Debug-Quick Watch Debug-Toggle Breakpoint

Ctrl+W Shift+F9 F9

Alt+D+E Alt+D+Q Alt+D+T

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (23 of 27)3/28/2004 12:04:45 PM

Function

Clear All Breakpoints Set Next Statement Show Next Statement

Ctrl +Shift +F9 Ctrl+F9

Alt+D+C

Debug-Clear All Breakpoints Debug-Set Next Statement Debug-Show Next Statement

Alt+D+S Alt+D+X

Start Start With Full Compile Break End Restart

F5 Ctrl+F5 Ctrl +Break

Alt+R+S Alt+R+F Alt+R+K Alt+R+E

Run-Start Run-Start With Full Compile Run-Break Run-End Run-Restart

Shift+F5

Alt+R+R

Add Procedure Procedure Attributes Menu Editor Options Ctrl+E

Alt+T+P Alt+T+A Alt+T+M Alt+T+O

Tools-Add Procedure Tools-Procedure Attributes Tools-Menu Editor Tools-Options

Split Tile Horizontally Tile Vertically Cascade

Alt+W+S Alt+W+H Alt+W+V Alt+W+C

Window-Split Window-Tile Horizontally Window-Tile Vertically Window-Cascade

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (24 of 27)3/28/2004 12:04:45 PM

Function

Arrange Icons

Alt+W+A

Window-Arrange Icons

Contents Index Search

Alt+H+C Alt+H+I Alt+H+S

Help-Contents Help-Index Help-Search

Form Window Keys


Use these key combinations in the Form window: Press F7 CTRL+C CTRL+X DEL CTRL+V CTRL+Z TAB SHIFT+TAB CTRL+CLICK CLICK+DRAG CTRL+CLICK+DRAG SHIFT+CLICK To Open the Code window for the selected object. Copy the selected controls to the Clipboard. Cut the selected controls to the Clipboard. Delete the selected controls without placing them on the Clipboard. Paste the Clipboard contents on the form. Undo a deletion of controls. Cycle forward through controls in tab order. Cycle backward through controls in tab order. Add or remove a control from the selection. Select multiple controls. Add or remove controls from the current selection. Select multiple controls.

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (25 of 27)3/28/2004 12:04:45 PM

Function

CTRL+E F4 CTRL+J CTRL+K CTRL+DOWN ARROW CTRL+UP ARROW CTRL+RIGHT ARROW CTRL+LEFT ARROW

Display the Menu Editor (design time only). Display the Properties window (design time only). Bring to front (affects overlapping controls at design time only). Send to back (affects overlapping controls at design time only). Move the control down one grid unit (if the grid is turned on) or one pixel (if the grid is turned off). Move the control up one grid unit (if the grid is turned on) or one pixel (if the grid is turned off). Move the control one grid unit (if the grid is turned one)or one pixel (if the grid is turned off) to the right. Move the control one grid unit (if the grid is turned on) or one pixel (if the grid is turned off) to the left.

To deselect all controls, click the form. To select controls in a container, first deselect the container and then CTRL+CLICK+DRAG around the desired controls.

Menu Editor Keys


Use these key combinations in the Menu Editor: Press TAB SHIFT+TAB ENTER ALT+R ALT+L ALT+U To Cycle forward through the boxes and buttons. Cycle backward through the boxes and buttons. Cycle forward through menu items. Move an item to a lower level in a hierarchical menu. Move an item to a higher level in a hierarchical menu. Move an item one line up.

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (26 of 27)3/28/2004 12:04:45 PM

Function

ALT+B

Move an item one line down.

Use these key combinations when the Shortcut list box has the focus in the Menu Editor: Press F4 ALT+DOWN ARROW ALT+UP ARROW END HOME To Open or close the list. Open or close the list. Open or close the list. Move to the last item in the list. Move to the first item in the list.

Summary
I hope you've enjoyed this article.

http://www.johnsmiley.com/cis18.notfree/Smiley024/Smiley024.htm (27 of 27)3/28/2004 12:04:45 PM

S-ar putea să vă placă și