listbrowser.gadget LightMouse

This forum is for general developer support questions.

listbrowser.gadget LightMouse

Postby mritter0 » Thu Sep 04, 2014 1:16 am

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/dhtmlxGrid/samples/18_styles_skins/03_grid_mouse_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: 212
Joined: Mon Aug 25, 2014 10:41 pm
Location: Bettendorf, IA, USA

Re: listbrowser.gadget LightMouse

Postby mritter0 » Fri May 13, 2016 7:42 am

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
User avatar
mritter0
 
Posts: 212
Joined: Mon Aug 25, 2014 10:41 pm
Location: Bettendorf, IA, USA


Return to General Developer Support

Who is online

Users browsing this forum: No registered users and 7 guests

cron