Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
custom:javascript:lib:ddlightbarmenu.js [2019/05/11 14:11] – Added information about the new menuTitle property, which can be used to specify a title to write in the top border 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 | ||
- | | menuTitle | + | | 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 92: | Line 93: | ||
lbMenu.Add(" | lbMenu.Add(" | ||
| | ||
- | // To enable borders and set a title to display in the top border: | + | // To enable borders and set text to display in the top & bottom borders: |
lbMenu.borderEnabled = true; | lbMenu.borderEnabled = true; | ||
- | lbMenu.menuTitle | + | 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: |