Git Product home page Git Product logo

Comments (2)

joachimmarder avatar joachimmarder commented on May 25, 2024

When toMultiSelect and toRightClickSelect are enabled, it would be great to allow right-clicking one of the selected nodes without deselecting the current selection. Currently it simply deselects all, and selects the right-clicked node, even if the right-clicked node is already selected.

I cannot confirm this. I just tested this in TreeSize and in the Advanced sample on the "General abilities and features" page: If multi-select several nodes and right click on one of the selected, the selection stays as it is. Only if I click an unselected node, the currently selected nodes are deselected. This is the behavior you see in many Windows common controls and in Windows Explorer, and therefore I wouldn't change it.

from virtual-treeview.

PatmanSan avatar PatmanSan commented on May 25, 2024

Thanks for the response. I found the problem. I was using the OnMouseUp event to populate and activate my popup menu. I should have picked the OnGetPopupMenu event, because that's what HandleMouseDown is calling (via HasPopupMenu) to check if it's OK to clear the selection. After switching events all is fine now. Thanks again.

from virtual-treeview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.