TActionList class in C#

  • Thread starter Thread starter genc ymeri
  • Start date Start date
G

genc ymeri

Hi,
Coming from Delphi background, does C# has something similiar to TActionList
or TActionManager class ?

Thank You in advance.,
 
Coming from Delphi background, does C# has something similiar to TActionList
or TActionManager class ?

Since I *don't* come from a Delphi background, what does a TActionList
or TActionManager class do?
 
By now I already got an answer from Borland that there are no similiar
things to C#.Anyhow,,,

In the way I see it, TActionList is a list of pointer methods. So let's
suppose we have a list of {m1, m2, m3, m4...} where all of them are
implemented. Let say "m3" method all it does is a popup message "Hello"

In a Delphi form we may have different components e.g menus, button,
toolbar, chart etc....each of them has a Action property where you can
assign one of TActionList methods (m3 ??). (kind of C# delegation)

So, for every button, menu, chart, toolbar which we would like to pop up a
message saying "hello" we assign theirAction property to m3.

All of their caption, icons, hint, behavior etc.....get the same properties
too withount the need of being set.

It 's kind of nice thing to have, no need to write code, logic behavior and
object behavior are "completly" separated....etc...

Hope it helps.
 

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


Back
Top