How to remove the Accelerators from TMainMenuActionBar ?
can’t seem to find the AutoHotKey = maManual property to change, nor to find any other property that will cause the right effect.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
(Assuming the question is about
TActionMainMenuBar) you would set theAutoHotKeysproperty through theActionManagercomponent that the action bar is linked to (through itsActionManagerproperty). Unlike the TMainMenu’s AutoHotKeys, this one is a boolean property.To set the property at design time,
...button on the right side of theActionBarsproperty in OI.Editing ActionManager1.ActionBars'dialog....button on the right side of theItemsproperty in OI, which will launch theEditing ActionManager1.ItemsdialogAutoHotKeysproperty to True or False in OI.At run time you can do:
Note that you might need to re-set the Caption of an Item after toggling AutoHotKeys. I.e. ‘F&ormat’ -> ‘Format’.