🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.winforms.controls.using
Article #524

Actrions in WinForms

#524
From: Sebulbo
Date: Thu, 26 Aug 2004 20:13
18 lines
1548 bytes
Hi,

I have a few years of experience with Delphi but I am new to Delphi.NET. 
I need to develop a WinForms base app and the first thing a was missing 
is an ActionList and the concept of TActions at all. Is there nothing 
like that in WinForms?

I oft have code that should be executed if the users chooses a manu 
item.  But there is often a button or even a right-click context menu 
that initiates the same code. In Win32 Delphi, I set the "Action" 
property of all those controls and menuitems and had simply nothing to 
code. If the action was not availible, I only had to code 
MyAction.Enables:=False.

Does .NET in generally offers no concept for that problem?

Thanks,
Sebulbo
Technical Details
Message-ID: <412e447b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.linkpendium.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff29,9c6a0e29e1147339,start
X-Google-Attributes: gid1eff29,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 26 Aug 2004 22:13:49 +0200
From: Sebulbo <sebulbo@wants.no.spam>
User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.delphi.winforms.controls.using
Subject: Actrions in WinForms
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 195.26.204.75
Message-ID: <412e447b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1093551227 195.26.204.75 (26 Aug 2004 13:13:47 -0700)
Lines: 18
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.linkpendium.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail