listbrowser.gadget LightMouse

This forum is for general developer support questions.
Post Reply
User avatar
mritter0
Posts: 214
Joined: Mon Aug 25, 2014 9:41 pm
Location: Bettendorf, IA, USA

listbrowser.gadget LightMouse

Post 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

http://dhtmlx.com/docs/products/dhtmlxG ... 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.
Workbench Explorer - A better way to browse drawers
User avatar
mritter0
Posts: 214
Joined: Mon Aug 25, 2014 9:41 pm
Location: Bettendorf, IA, USA

Re: listbrowser.gadget LightMouse

Post 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.
Workbench Explorer - A better way to browse drawers
Post Reply