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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Attributes<br />

Name Attribute<br />

Type<br />

Example<br />

Default Description<br />

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

enabled Boolean Yes Is the item enabled? If not, it is excluded from the list.<br />

command String “ “ The command to send in place of the command that<br />

contains the list.<br />

If not specified or empty, the listchoice command is sent,<br />

and the selection's index or assigned data is sent as<br />

parameters.<br />

data Integer 0 This value is assigned to the item selection. It is sent with<br />

the command as a parameter.<br />

If the value assigned is zero (0), the index of the selection is<br />

sent.<br />

localeRef String “ “ Used to translate the #text attribute of the element.<br />

See Also: “Translating Button Captions and Tool Tips” on<br />

page 180<br />

#text String “ “ The command checks the body of the listchoice element to<br />

see if it includes text.<br />

• If it does, that text is sent as the attribute.<br />

• If the element does not include text, the command’s<br />

caption attribute is sent as the attribute.<br />

Also, this text is the selection item text. In other words, it is<br />

the list of options that the user sees on the dropdown list.<br />

This applies whether the body of the listchoice element<br />

includes text or if the command's caption attribute is used.<br />

Here is the list that creates the font choice menu shown above. Note that the<br />

items appear in the listbox in the order in which they are entered into the<br />

command.<br />

NOTE The top item in the list is the default value, unless the list is a font name, font size,<br />

or header style list. In that case, the currently selected item is the default value.<br />

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

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

Saved successfully!

Ooh no, something went wrong!