Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 364
Jens Mühlenhoff Avatar asked Nov 02 '15 13:11

Jens Mühlenhoff


People also ask

What is Ctrl D in Adobe XD?

Distribute Vertically. Ctrl–Shift–V. Duplicating & Transforming Layers (Objects) Duplicate. Alt–Drag (or Ctrl–D to duplicate in place)

What is Ctrl KD in Visual Studio?

Ctrl K D for source code formatting in Visual Studio. Some times we write code and neglect the code formating which sometimes becomes tough job to understand the code. In Visual Studio we have Ctrl + K D which automatically does the formating for you when press these keys.


2 Answers

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

  • http://docwiki.embarcadero.com/RADStudio/Seattle/en/Default_Keyboard_Shortcuts
  • http://delphi.wikia.com/wiki/Default_IDE_Shortcut_Keys
  • http://delphiblog.twodesk.com/quick-delphi-tips-form-designer-keyboard-shortcuts
  • http://keencode.blogspot.de/2014/05/delphi-most-useful-keyboard-shortcuts.html
like image 54
Jens Mühlenhoff Avatar answered Sep 22 '22 13:09

Jens Mühlenhoff


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
  • ...
like image 38
Germán Estévez -Neftalí- Avatar answered Sep 20 '22 13:09

Germán Estévez -Neftalí-