Checks that a command handler has the specified name.
function NameIs( ACommand: string ): Boolean;
Parameters |
Description |
ACommand |
Name to be compared to the property value. |
Boolean - True when the command handler has the specified name.
NameIs is a Boolean function that allows comparison of the Name property to the value specified in ACommand. NameIs can be used to ensure that a TIdCommandHandler contains the name desired before triggering a procedure used as an action handler.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
|
Post feedback to the Indy Docs Newsgroup.
|