Links
EControl Syntax Editor SDK
TCustomSyntaxMemo.OnEnableCommand Event

Occurs before checking whether command can be executed.

property OnEnableCommand: TExecuteCommandEvent;

Write OnEnableCommand event handler to control checking whether command can be executed. 

Command - command identifier. 

Data - data linked to the command (only for several commands) 

Set Handled parameter to True to cancel following command execution.

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