Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
custom:javascript:lib:ddlightbarmenu.js [2023/06/30 09:36] – Additional notes about SetBorderChars(); changed the control char in the attributes from \1 to \x01 Nightfox | custom:javascript:lib:ddlightbarmenu.js [2023/10/07 14:50] – Added notes for the functions AddAdditionalQuitKeys(), ClearAdditionalQuitKeys(), and the upcoming new functions AddAdditionalPageUpKeys, ClearAdditionalPageUpKeys, AddAdditionalPageDownKeys, ClearAdditionalPageDownKeys, AddAdditionalFirstPageKeys, ClearA Nightfox |
---|
| ScreenRowForItem | number | DDLightbarMenu.ScreenRowForItem(itemIdx) | Returns the screen row number (in absolute screen coordinates) of an item on the menu, if it is visible. If the item is not visible, this will return -1. | | | ScreenRowForItem | number | DDLightbarMenu.ScreenRowForItem(itemIdx) | Returns the screen row number (in absolute screen coordinates) of an item on the menu, if it is visible. If the item is not visible, this will return -1. | |
| ToggleItemSelectable | void | DDLightbarMenu.ToggleItemSelectable(itemIdx, selectable) | Toggles whether an item should be selectable. Parameters are the item index and a boolean specifying whether the item should be selectable. | | | ToggleItemSelectable | void | DDLightbarMenu.ToggleItemSelectable(itemIdx, selectable) | Toggles whether an item should be selectable. Parameters are the item index and a boolean specifying whether the item should be selectable. | |
| | AddAdditionalQuitKeys | void | DDLightbarMenu.AddAdditionalPageUpKeys(additionalKeysStr) | Adds a list of keys to use as quit keys in addition to ESC. additionalKeysStr is a string | |
| | ClearAdditionalQuitKeys | void | DDLightbarMenu.ClearAdditionalQuitKeys() | Clears the list of additional quit keys | |
| | AddAdditionalPageUpKeys | void | DDLightbarMenu.AddAdditionalPageUpKeys(additionalKeysStr) | Adds a list of keys to use as page-up keys in addition to PageUp. additionalKeysStr is a string | |
| | ClearAdditionalPageUpKeys | void | DDLightbarMenu.ClearAdditionalPageUpKeys() | Clears the list of additional page-up keys | |
| | AddAdditionalPageDownKeys | void | DDLightbarMenu.AddAdditionalPageDownKeys(additionalKeysStr) | Adds a list of keys to use as page-down keys in addition to PageDown. additionalKeysStr is a string | |
| | ClearAdditionalPageDownKeys | void | DDLightbarMenu.ClearAdditionalPageDownKeys() | Clears the list of additional page-down keys | |
| | AddAdditionalFirstPageKeys | void | DDLightbarMenu.AddAdditionalFirstPageKeys(additionalKeysStr) | Adds a list of keys to use as additional first-page keys in addition to HOME. additionalKeysStr is a string | |
| | ClearAdditionalFirstPageKeys | void | DDLightbarMenu.ClearAdditionalFirstPageKeys() | Clears the list of additional first-page keys | |
| | AddAdditionalLastPageKeys | void | DDLightbarMenu.AddAdditionalLastPageKeys(additionalKeysStr) | Adds a list of keys to use as additional last-page keys in addition to END. additionalKeysStr is a string | |
| | ClearAdditionalLastPageKeys | void | DDLightbarMenu.ClearAdditionalLastPageKeys() | Clears the list of additional last-page keys | |
| |
**DDLightbarMenu properties** | **DDLightbarMenu properties** |