i wan to known if is possible to add another hotkey for select items. (not for each, but all)
Example, press E over the item selected and triger "the edit file" function press D and trigger another function to delete file
i working on a filebrowser using this library (you can see it in action at my board) i list files, then i can press enter to select files to download or esc to exit, this is fine.
i wan to known if is possible to add another hotkey for select items. (not for each, but all)
Example, press E over the item selected and triger "the edit file" function press D and trigger another function to delete file
Similar to a "keypress event" on the item.
I need to get the item and the key pressed.
Do you think that can be possible to add?
I committed an update to dd_lightbar_menu.js to support this. You can getthe latest version from CVS.
I committed an update to dd_lightbar_menu.js to support this. You can
get the latest version from CVS.
Re: Re: dd_lightbar_menu.js - hotkeysfunction is called. AddAdditionalSelectItemKeys() now takes a string rather than an array of strings. For instance, if you want both lowercase 'e' and uppercase 'E' to work, you
By: Ragnarok to Nightfox on Sun Feb 09 2020 11:15 pm
I committed an update to dd_lightbar_menu.js to support this. You can
get the latest version from CVS.
Note that I've just committed another change that changes the way the
lbMenu.AddAdditionalSelectItemKeys("eE");
Nightfox
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 31 |
Nodes: | 8 (0 / 8) |
Uptime: | 92:26:50 |
Calls: | 2,070 |
Calls today: | 3 |
Files: | 11,134 |
Messages: | 946,853 |