Search code examples
delphiidekeyboard-shortcutsdelphi-xe7

Is there a keyboard shortcut to switch between object inspector and form designer?


You can go from the form designer to the object inspector to the source editor in a circle using the F11 key:

Code -> Inspector -> Design -> Inspector -> Code -> Inspector -> ...

But most of the time when designing a form I only want:

Inspector <-> Design

I searched in the Delphi help and didn't find any suitable keyboard shortcut.

Is there a keyboard shortcut that does that?


Solution

  • Enter does exactly that. (It only took me about 10 years to figure that one out ...)

    Some other useful keys:

    • Tab navigates the controls in their TabOrder while the form designer is focused.

    • Tab switches between name and value in the object inspector while it is focused.

    • Esc goes to the parent of the currently focused control in the form designer.

    For all the other shortcuts see also (none of which lists Enter in the context of my question):