TAction class??

L

Leif Eirik Olsen

Hi,

Beeing used to develope with Delphi (not dotnet), it has become a habit
using Delphi's TAction/TActionList. These classes are great for centralizing
the code for user commands and in addition great to centralize the user
interface elements.

Does enyone know if these (or similar) classes are available in using C# and
..net?

regards,
Leo
 
L

Leif Eirik Olsen

Leif Eirik Olsen said:
Hi,

Does enyone know if these (or similar) classes are available in using C# and
.net?

Searching the web, I found one answare saying it does not exist in dotnet:

http://tinyurl.com/d4are

.......so mabe I should ask a different question:

Often a single application command (say like a FileOpen) can be executed
from different places within the same application. To the extreme one could
have ex. a form with a mainmenu item, a popupmenu item, a toolbar button and
a standard button all doing the mentioned FileOpen 'action'. How do you
usually maintain the enabled/disabled property for all these controls in
dotnet ??

regards,
Leo
 

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

Top