> Hi guys
>
> Im trying to detect which action item is current in my web app.
>
> I would like to be able to say something like:
>
> if (WebModule2.ActionByName('waMenu')) then
>  "add this line of html"

Tracey,

Look to the Sender in the action as in ..

   If (Sender as TWebActionItem).Name = 'waMenu' then
       blah;

Steve

Steve Peacocke
Lecturer, NZ Diploma in Business
Lecturer, Batchelor of Computing Systems
Waiariki Institute of Technology



---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to