Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Oct : Re: OnBeforeCommandHandler - Indy v9

www.cryer.info
Managed Newsgroup Archive

Re: OnBeforeCommandHandler - Indy v9

Subject:Re: OnBeforeCommandHandler - Indy v9
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Mon, 29 Oct 2007 10:56:55

"Jamie Dale" <jamie.dale@yahoo.com> wrote in message
news:47251956$1@newsgroups.borland.com...

> Just to add more to this, the CommandHandlers ParseParams
> ability doesn't seem to work.

Yes, it does, and has worked well for a very long time.  Why do you think it
does not work?  Please provide an example.

> In the events triggered by the commandhandler there is no way
> of accessing the params that are supposed to be parsed

Yes, there is - the Params and UnparsedParams properties of the TIdCommand
class.  When ParseParams is True, use the Params property.  When ParseParams
is False, use the UnparsedParams property instead.

> not that they are

Yes, they are.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive