Topic Path: Symbol Reference > Classes > TIdCommandHandler Class > TIdCommandHandler Properties > Enabled Property
ContentsIndexHome
PreviousUpNext
TIdCommandHandler.Enabled Property

Indicates if the command handler can respond to the associated Command.

property Enabled: boolean;

Enabled is a Boolean property that indicates if the command handler instance can be used to execute the associated Command received from a peer connection. When Enabled is False, the command handler cannot be invoked by a thread of execution for the peer connection. 

The default value for Enabled is IdEnabledDefault, as assigned in the Create constructor.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.