EControl Syntax Editor SDK
IecCommandHook.BeforeCommand Method

Called before execution in syntax memo.

procedure BeforeCommand(Command: integer; Data: ecPointer; var Handled: Boolean);

Command and Data specifies executed command. 

Setting Handled to True breaks following execution of the command.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!