Page 1 of 1

listbrowser.gadget LightMouse

Posted: Thu Sep 04, 2014 12:16 am
by mritter0
I have plans for a future project that will use listbrowser.gadgets extensively. I would LOVE to have LightMouse mode added in a similar fashion to this ... e_nav.html

Only for single select mode. Pretty much same code as chooser.gadget uses, I would imagine.

Look through the entire demo list. Their JavaScript listbrowser is waaaayy more advanced than ReAction's.

Re: listbrowser.gadget LightMouse

Posted: Fri May 13, 2016 6:42 am
by mritter0
Now that we have ContextMenus this would come in handy.

Say you have a listbrowser that is not MultiSelect and not ShowSelected, when moving the mouse over the gadget it highlights the current item in a lighter color. The item is not actually selected yet like with a mouse click, no messages sent. You would query a new tag LISTBROWSER_HoverRow or something like that, so when you do a right click you know which item the user wants to act on. You then manually set it as selected then open the context menu (Cut, Copy, Paste, etc). The checking and selecting of the HoverRow would be done in the WA_ContextMenuHook before the menu is opened.

Windows Explorer does it. Would be an option to toggle on/off.