[D6] access an action property when the action is owned by an action manager
Posted on 2001-07-30
With D6, when I'm using an actionmanager ? How can I update the status of my actions like I used to do in D5 ?
I mean for exemple in the OnUpdate I used to set the enable property on some of my actions...
It seems that I have to access to a specific action by using somethin like
ActionManager1.actions.cheked for exemple.
This is bad because the indexes may change when I add new actions... No ?
If the action is called actMyAction... Why is this not available somewhere ?
Can I access an actiopn by name with the action manager ?
Thanks for your help.