Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
custom:javascript:lib:ddlightbarmenu.js [2018/12/27 21:05] – DDLightbarMenu.js was renamed to dd_lightbar_menu.js nightfox | custom:javascript:lib:ddlightbarmenu.js [2019/05/12 20:13] – Renamed menuTitle to topBorderText, and added a bottomBorderText propery. nightfox | ||
---|---|---|---|
Line 46: | Line 46: | ||
| itemTextCharHighlightColor | The color of a highlighted non-space character in an item text (specified by having a & in the item text). | | itemTextCharHighlightColor | The color of a highlighted non-space character in an item text (specified by having a & in the item text). | ||
| borderColor | | borderColor | ||
+ | | topBorderText | ||
+ | | bottomBorderText | ||
By default, the menu selection will wrap around to the beginning/ | By default, the menu selection will wrap around to the beginning/ | ||
Line 90: | Line 92: | ||
// long as it's not a space. | // long as it's not a space. | ||
lbMenu.Add(" | lbMenu.Add(" | ||
+ | | ||
+ | // To enable borders and set text to display in the top & bottom borders: | ||
+ | lbMenu.borderEnabled = true; | ||
+ | lbMenu.topBorderText = " | ||
+ | lbMenu.bottomBorderText = "ESC: Quit"; | ||
To enable borders, set the borderEnabled property to true. Example: | To enable borders, set the borderEnabled property to true. Example: |