Looking for an equivalent in .NET framework / WindowsForms

  • Thread starter Shannon Broskie
  • Start date
S

Shannon Broskie

Hello,

I come from the Delphi world which has what is called a TActionList.

In a nutshell, an action list is a way to centralize the response to user
commands (actions). Action list components maintain a list of actions that
are available to the client controls in an application. These actions also
hold the images related to the actions.

I place my relavent code in the action and just assign that action to the
action property on the control (button, menu, popup menu, etc.). I can then
control the action which will in turn affect all controls that have that
action assigned to them. For example, I can disable an action and the menu,
toolbar, and popup menu all reflect that disabled state.

Is there anything in WindowsForms or, at a lower level, the .NET frameworld
that works similarly?

Thanks for you input.
 
H

Herfried K. Wagner [MVP]

* "Shannon Broskie said:
In a nutshell, an action list is a way to centralize the response to user
commands (actions). Action list components maintain a list of actions that
are available to the client controls in an application. These actions also
hold the images related to the actions.

I place my relavent code in the action and just assign that action to the
action property on the control (button, menu, popup menu, etc.). I can then
control the action which will in turn affect all controls that have that
action assigned to them. For example, I can disable an action and the menu,
toolbar, and popup menu all reflect that disabled state.

Is there anything in WindowsForms or, at a lower level, the .NET frameworld
that works similarly?

There is nothing "built-in", but have a look at this post:

<http://groups.google.com/[email protected]>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top