EControl Syntax Editor SDK
IecCommandHook.IsCommandEnabled Method

Called to test wether command is enabled.

procedure IsCommandEnabled(Command: integer; Data: ecPointer; var Enable: Boolean);

Command and Data specifies executed command. 

Change Enable to control enable state of the command.

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