Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== onEnabled ====== Event of [[:scripting:api:script-command-handler:start|IScriptCommandHandler]] ===== Description ===== Handler for dynamic update of ICommandHandler::Enable state ===== Property type ===== Read-Write Property of type **[[scripting:api:data-type:VARIANT|VARIANT]]** ===== Syntax ===== ==== JavaScript ==== <code javascript> var Action = ScriptCommandHandler.onEnabled; ScriptCommandHandler.onEnabled = Action; </code>==== Visual Basic Script ==== <code vb> Action = ScriptCommandHandler.onEnabled ScriptCommandHandler.onEnabled = Action </code>==== C++ ==== <code cpp> VARIANT Action; HRESULT hr = ScriptCommandHandler.get_onEnabled(&Action); hr = ScriptCommandHandler.put_onEnabled(Action); </code>===== See Also ===== [[:scripting:api:script-command-handler:start|IScriptCommandHandler]] ~~NOTOC~~