5

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?

Jens Mühlenhoff
  • 14,565
  • 6
  • 56
  • 113

2 Answers2

7

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):

Jens Mühlenhoff
  • 14,565
  • 6
  • 56
  • 113
  • @UweRaabe Sure, I did a search for keyboad shortcuts more than once, but it didn't come to mind to actually ask on the newsgroups / stackoverflow. – Jens Mühlenhoff Nov 02 '15 at 16:11
4

If you are inside the inspector editing a property, you can press F12 to go to the Source of active form (another F12 swich to design).

You can use also F11. Inside the property editor; F11 do the sequence:

  • Property Editor
  • Design
  • Property Editor
  • Source
  • Property Editor
  • ...