Using the Navigation Toolbar

From RAD Studio
Jump to: navigation, search

Go Up to Code Editor


The Navigation Toolbar lets you navigate through the different sections, types, and methods of your project; as well as through the units your project uses.

NavigationToolbar.png

Opening Used Units

  1. Click the Used Unit drop-down menu UsedUnits.png in the left corner of the Navigation Toolbar, or press the CTRL-ALT-N+CTRL-ALT-U shortcut.
    The drop-down displays a list of all units the current file uses.
  2. Click on the unit you want to move to.
    The Code Editor opens the selected unit file.

Moving to File Sections

  1. Click the File Section drop-down menu UnitSections.png of the Navigation Toolbar, or press the CTRL-ALT-N+CTRL-ALT-S shortcut.
    The drop-down displays a list of the sections in the file. These sections can include Top of File, Interface Section, Interface Uses Clause, Implementation Section, Implementation Uses Clause, Initialization Section, and Bottom of File.
  2. Click the section you want to move to.
    The Code Editor places the cursor at the beginning of such section.

Moving to Types

  1. Click the Types combo box or press the CTRL-ALT-N+CTRL-ALT-T shortcut.
    The combo box displays the names of all the types that the current unit declares.
  2. Click the type you want to move to.
    The Code Editor places the cursor in the declaration of the selected type.

Moving to Methods

  1. Click the Method combo box or press the CTRL-ALT-N+CTRL-ALT-P shortcut.
    The combo box displays the names of all the procedures and functions of the current unit.
  2. Click the method you want to move to.
    The Code Editor places the cursor in the implementation of the procedure or function.

Searching for Project Symbols

  1. Click the Project Symbol Search Glass.png button or press the CTRL-ALT-N+CTRL-ALT-F shortcut.
    The project symbol search window displays with a field to type your search; you can search for all symbols in the active selected project.
  2. Type the string of the search you want to perform. As you type in the box, the window displays the results, showing the type, unit, and the line of the symbol.
  3. Click the result symbol with the mouse, or use the arrow keys to select it and press ENTER, to navigate to a symbol.
  4. Press ESC, click the X button, or click outside the search window to cancel the search and close the search window.

How to Hide the Navigation Toolbar

From Berlin version, RAD Studio allows to hide the Navigation Toolbar:

To hide the Navigation Toolbar:

  • Go to Tools > Options > Editor Options > Display.
  • Unselect Show Navigation Toolbar option.

See Also