Show Changes Show Changes
Edit Edit
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Rename Rename
Search

History

12/27/2004 3:45:45 PM
john@freetextbox.com
11/12/2004 9:19:05 AM
jrs-194.114.240.40
11/7/2004 12:55:34 PM
-127.0.0.1
List all versions List all versions
Custom Value In Toolbar Drop Down Lists
.
Summary How to configure the values in ToolbarDropDownLists such as FontFacesMenu

ToolbarDropDownList values

Each ToolbarDropDownList (such as InsertHtmlMenu) has two associated array properties, a List property and a Names' Property. For InsertHtmlMenu, the two properties are InsertHtmlMenuList and InsertHtmlMenuNames. If set, these properties will fill the InsertHtmlMenu dropdownlist. InsertHtmlMenuList is an array of HTML blocks and InsertHtmlMenuNames is a list of the display names for those values. The length of both arrays must match.

Below are all the possible values

  • FontFacesMenu: FontFacesMenuList, FontFacesMenuNames
  • FontForeColorMenu: FontForeColorMenuList, FontForeColorMenuNames
  • FontBackColorMenu: FontBackColorMenuList, FontBackColorMenuNames
  • FontSizesMenu: FontSizesMenuList, FontSizesMenuNames
  • InsertHtmlMenu: InsertHtmlMenuList, InsertHtmlMenuNames
  • ParagraphMenu: ParagraphMenuList, ParagraphMenuNames
  • StylesMenu: StylesMenuList, StylesMenuNames (if DesignModeStyleSheet is set to a valid stylesheet path and AutoParseStyles = true, then StylesMenu will be automatically populated)
  • SymbolsMenu: SymbolsMenuList (the symbols menu does not have a Names property)
Welcome to FreeTextBoxWiki

If you're new to FreeTextBox, read the Installation.