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. ====== onSelectionChange ====== Event of [[:scripting:api:frame-events:start|IFrameEvents]] ===== Description ===== Called after change of selection in active view ===== Parameters ===== * [[:scripting:api:text-view:start|ITextView]] **pView** * [[:scripting:api:range:overview|IRange]] **pSelection** * [[scripting:api:data-type:VARIANT_BOOL|VARIANT_BOOL]] **bBlockMode** ===== Syntax ===== ==== JavaScript ==== <code javascript> Appplication.onSelectionChange = function(pSelection, bBlockMode) { }; </code>==== Visual Basic Script ==== <code vb> function onSelectionChange(pSelection, bBlockMode) { } Appplication.onSelectionChange = onSelectionChange </code>==== C++ ==== <code cpp> HRESULT CFrameEvents::onSelectionChange(ITextView* pView, IRange* pSelection, VARIANT_BOOL bBlockMode) { } </code>===== See Also ===== [[:scripting:api:frame-events:start|IFrameEvents]] ~~NOTOC~~