Indy 9
TIdDICTDefineEvent
Unit: IdDICTServer
Specifies the event type for the DICT DEFINE command.
TIdDICTDefineEvent = procedure ( Thread: TIdPeerThread; Database, WordToFind : String ) of object;
Unit
IdDICTServer
Parameters
Database
Database name to be searched.
Thread
Execution thread that received the command.
WordToFind
Word to be defined.
Description
TIdDICTDefineEvent specifies the event type for the DICT DEFINE command, and is used by the OnCommandDefine event handler to perform a search for the specified word in the indicated database(s).

Database may contain a name in the form returned by the DICT SHOW DB command, or one of the following wildcard characters:

  • "!" - Search all databases until a match is found.

  • "*" - Search the current database for all matching entries.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.