15.08.2013 Views

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Event: ondblclickelement<br />

Occurs when: Double-clicking on a hyperlink, applet, object, image, or table. See<br />

the ewebeditproevents.js file for an example of how to respond to this event.<br />

oElement is a reference to the element object. The Variant returned is an HTML<br />

element object suitable for dynamic HTML (DHTML) scripting.<br />

See a DOM reference for complete details on the element object. A few of the<br />

most useful common properties of the element object are listed below. Other<br />

properties are dependent on the type of element.<br />

• tag name - the element’s tag. For example,<br />

oElement.tagName+”oElement.tagName+””;<br />

NOTE The plus sign (+) converts the tag name to a string.<br />

Event: onexeccommand<br />

Event: onfocus<br />

• outerHTML - the entire HTML text of the element including the tag.<br />

Object: ”<strong>eWebEditPro</strong> ActiveX Control Object”<br />

Occurs when: After a toolbar button is pressed, a drop-down or context menu<br />

(right-click menu) option is selected. This event can also be sent<br />

programmatically.<br />

Object: ”<strong>eWebEditPro</strong> ActiveX Control Object”<br />

Parameters<br />

ByVal strCmdName As String - The command that the user action executes<br />

ByVal strTextData As String - Text associated with the command (typically not<br />

used)<br />

ByVal lData As Long - Numeric data associated with the command (typically not<br />

used)<br />

The lData parameter does not reflect the index of the list box item. Instead, it only<br />

returns the data assigned to the item.<br />

If, in the processing of the command notification, you need the index of the<br />

selected item, use<br />

objCommand.getPropertyInteger("CmdIndex")<br />

Occurs when: The editor gains the focus. onfocus is a standard DHTML event.<br />

Object: ”<strong>eWebEditPro</strong> ActiveX Control Object”<br />

<strong>Ektron®</strong> <strong>eWebEditPro</strong> Developer’s <strong>Reference</strong> <strong>Guide</strong>, Release 5.1, Revision 1 148

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!