A1] ULTIMATE VB Tips (Many Undocumented)
Many VB Tips/Shortcuts you may not have known about.
AI
KI-Zusammenfassung: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Quellcode
<B>F7</B><BR> Go to code window > sub for current selected control.<BR><BR> <B>Shift-F7</B><BR> Go to design window for current module.<BR><BR> <B>Ctrl-Break</B><BR> Pauses the code wile running (unless the VB IDE has frozen, which it sometimes does).<BR><BR> <B>Ctrl-Spacebar</B><BR> Brings up a drop-down list of possible variable, object, function, and module names.<BR><BR> <B>Ctrl-F2</B><BR> Select the Object combobox in a code module.<BR><BR> <B>Ctrl-F3</B><BR> Immediately finds the next instance of the word the cursor is on. F3 can then be used to find the next, and so on.<BR><BR> <B>Shift-F2</B><BR> When cursor is on a function/Sub/Procedure call, hitting Shift-F2 will jump you to the function/Sub/Procedure.<BR><BR> <B>Ctrl-Shift-F2</B><BR> Returns you to original spot you where at when Shift-F2 was pressed.<BR><BR> <B>Ctrl-Shift-Letter</B><BR> When a control is selected, the first property in the Properties window starting with the letter pressed will be highlighted.<BR><BR> <B>F6</B><BR> Switch between Windows in Split-Window mode.<BR><BR> <B>Ctrl-Shift-Tab</B><BR> Cycles backwards through open tabs. This is applicable in most Windows Applications.<BR><BR> <B>Ctrl-Tab</B><BR> cycles through open tabs. This is applicable in most Windows Applications.<BR><BR> <B>Ctrl-Y</B><BR> Performs a CUT on the entire line you are currently on without having to select the entire line.<BR><BR> <B>Ctrl-Down / Ctrl-Up</B><BR> Navigates from Procedure (beginning) to Procedure (beginning) respectively. You can also hold down shift to select all of the text in between your current position and the final position this command brings you to.<BR><BR> <B>Ctrl-PageDown / Ctrl-PageUp</B><BR> Navigates from Procedure (end) to Procedure (end) respectively. You can also hold down shift to select all of the text in between your current position and the final position this command brings you to.<BR><BR> <B>Ctrl-Home / Ctrl-End</B><BR> Navigates to the beginning or end of the current code module respectively. You can also hold down shift to select all of the text in between your current position and the final position this command brings you to.<BR><BR> <B>Ctrl-Shift-I</B><BR> Parameter Information for a Procedure.<BR><BR> <B>Ctrl-I</B><BR> Quick Info (All).<BR><BR> <B>Ctrl-J</B><BR> Properties/Methods for an object.<BR><BR> <B>Ctrl-Shift-J</B><BR> List constants for Enums.<BR><BR> <B>Shift-Arrow</B><BR> Resize selected Control(s).<BR><BR> <B>Ctrl-Arrow</B><BR> Nudge selected control(s).<BR><BR> <B>Ctrl-ToolbarItem_Click</B><BR> Holding down Ctrl while click a toolbar item (ie.. textbox) will set your mousepointer temporarily to that tool. Ctrl-click the textbox item, and create as many textboxes as you need. Then click the Arrow item in the toolbar to retrun your mouse to its default state.<BR><BR>
Originalkommentare (3)
Wiederhergestellt von der Wayback Machine