OK, you are now looking at the PageProducer's OnHTMLTag method. Therefore Sender is TPageProducer.
I remember that I created pgAnything that generates the HTML depending on how it was called by creating a TStrings object which I fired into HTMLDoc. However you may have to remind me how knew what was needed - ie how does it know to produce which HTML. It's been about 2 years since I wrote that piece. Might pay to take this offline unless anyone wants to follow this. My email is [EMAIL PROTECTED] or my personal email address of [EMAIL PROTECTED] Steve > um... yeah this is part of pgAnything's html tags, which will be called > by waMenu > however, this error message is first recieved at the default action, > which is waLogin > > ----- Original Message ----- > From: "Steve Peacocke" <[EMAIL PROTECTED]> > To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> > Sent: Monday, January 13, 2003 5:07 PM > Subject: Re: [DUG]: which action item current? (Webmodule.actions) > > >> > >> > 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/ >> > > -------------------------------------------------------------------------- - > 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/ --------------------------------------------------------------------------- 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/
