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?
Distribute Vertically. Ctrl–Shift–V. Duplicating & Transforming Layers (Objects) Duplicate. Alt–Drag (or Ctrl–D to duplicate in place)
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.
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):
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:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With