It is funny :) but how to do something like ActionList1.MyAction.Enable:=false?
An Action List has actions for buttons, if a button is invisible I need to disable it's action (if not to do this and pres a shortcut then a procedure will be performed).
May be I do something wrong, but I did not assign actions to buttons. I have only an Action List with Actions. Each action has a shortcut. When this shortcut is pressed then the action is executed and it performs a procedure. If to click on the button -> the same procedure will be performed too.
State:=asSuspended is for a whole Action List.
Thanks!!!
button1, with itsActionproperty set tomyAction. If you want the button to be invisible then you simply setmyAction.Visible := False. This results in the action not being invokeable. Now, your question makes hardly any sense at all in its current state and I expect this comment isn't what you are looking for. I recommend that you try to explain your problem more clearly. - David HeffernanMyAction.Enabled := False? - Sertac Akyuz