This is ridiculous :) but how to do something like ActionList1.MyAction.Enable:=false ?
There are actions for buttons in the action list if the button is invisible. I need to disable its action (if this is not done and create a shortcut, then the procedure will be executed).
Maybe I'm doing something wrong, but I did not assign actions to the buttons. I have only a list of actions with actions. Each action has a shortcut. When this shortcut is clicked, the action is executed and the procedure is running. If you press the button โ, the same procedure will be performed.
State:=asSuspended is for the entire list of actions.
Thanks!!!
source share