Jump to content
Sign in to follow this  
Teclex

IDE Menu Shortcuts... / ALT+F12

Recommended Posts

Hello,

 

I want to modify the ALT+F12 shortcut that allows to switch between the form and the text form.


I think this shortcut is not in the delphi menu and I can't find it in "IDE Menu Shortcuts...".


Did I miss it? If not, would you have a solution to customize the shortcut for this feature?

 

 

Thank you very much,
Alexandre

Share this post


Link to post

That shortcut is assigned to an action with the name ViewSwapSourceFormCommand and the caption "&View as Text" but you are right, there doesn't seem to be any menu entry for it so there is currently now way to change that shortcut.

 

Actions-with-Keyboard-Shortcuts.thumb.png.55e37cf8c44a06a3948f909c9b479ef9.png

 

If you want to, you can probably write your own expert that retrieves that action from the IDE and changes the shortcut. Code for retrieving these actions can be found in the GExperts Keyboard Shortcuts expert. Or you could extend that expert to allow changing the shortcuts in addition to displaying them. There is even a feature request for that already.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×