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.

NOTE Predicate and #n are not useful in design mode because fields are not repeated.<br />

Object: ”Parameters Object”<br />

Parameters<br />

Parameter Type Description<br />

string xpath String The xpath to the specified object.<br />

Method: FirstCommand<br />

Return: the CXMLData object<br />

Description: Sets the current reference to the first command available. The<br />

reference value held by the script does not change. The reference change is<br />

internal to the command mechanism.<br />

To further any enumeration, see “Method: NextCommand” on page 83.<br />

Object: ”ObjectCommand Item Object”<br />

Parameters<br />

Parameter Type Description<br />

StrName String Receives the name of the first command.<br />

StrCaption String Receives the caption of the command. If a text<br />

item, it is the text. If a list box, it is the currently<br />

selected item text.<br />

Method: Focus<br />

Return: If true is returned, it was able to find a command.<br />

Description: Programmatically sets the focus to the <strong>eWebEditPro</strong> editor using<br />

JavaScript. For example:<br />

<strong>eWebEditPro</strong>.instances[sEditorName].editor.focus();<br />

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

Method: GetActiveStyleSheetTitles<br />

Description: Returns a comma-delimited list of the titles of the active styles.<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 63

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

Saved successfully!

Ooh no, something went wrong!