Board index » delphi » Action Manager: how to disable an action?

Action Manager: how to disable an action?

How can I programmactically disable an action in the action manager?

ActionManager1 has an action in category "Edit" with name "EditCreate".
How can I enable/disable this action?

Regards

Jodok Schaeffler

 

Re:Action Manager: how to disable an action?


Quote
> ActionManager1 has an action in category "Edit" with name "EditCreate".
> How can I enable/disable this action?

EditCreate.Enabled := True;
EditCreate.Enabled := False;

does that help?
TOndrej

Re:Action Manager: how to disable an action?


Quote
> does that help?
> TOndrej

It helps. I was searching in a complete wrong direction.
Sometimes it's just easy

Thanks

Jodok

Other Threads