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.

Name Attribute<br />

Type<br />

Example<br />

listchoice<br />

User Interface Elements: Standard, Menu, and Popup<br />

Default Description<br />

visible Boolean True Controls whether the toolbar is visible. If set to<br />

false, the interface is created but does not appear.<br />

However, the context menu appears if a user right<br />

clicks the mouse.<br />

If set to false, the toolbar can only be displayed by<br />

programmatically by calling ShowAllMenus() in<br />

the Menus interface, using a script like this:<br />

<strong>eWebEditPro</strong>.instances.MyContent1.editor.M<br />

enus().ShowAllMenus();<br />

(See Also: “Method: ShowAllMenus” on<br />

page 102.)<br />

For example, you set this attribute to false<br />

because the editor is the second one on a page.<br />

The XML data would look like this:<br />

<br />

But, if the user’s focus shifts to the second editor,<br />

you want to display its toolbar. At that point, you<br />

display the toolbar using this script:<br />

<strong>eWebEditPro</strong>.MyContent2.Menus().ShowAllMenus();<br />

context Boolean True Controls whether the context menu is visible. If set<br />

to true, a menu appears when the user right clicks<br />

the mouse with choices that are unique to the<br />

current situation (or context).<br />

For example, if you are editing text and right click<br />

the mouse, the context menu displays common<br />

editing commands, such as cut and copy text. If<br />

you are editing a table, the context menu displays<br />

commands relevant to that activity, such as insert<br />

row and insert column.<br />

If set to false, the context menu does not appear.<br />

<br />

<br />

<br />

Defines an individual choice in a list box command item.<br />

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

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

Saved successfully!

Ooh no, something went wrong!