>
> o thanks steve, the compiler was happy with that, however now with this
> code:
>
> if tagstring = 'mainlinks' then
>    begin
>        //if current action = menu, do not show "return to menu" link if
>        not ((Sender as TWebActionItem).Name = 'waMenu') then
>            replacetext :=

First a question - is this called within the Action? if not, then you may
no longer have access to Sender unless you pass it yourself.

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