Comments (2)
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.
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)
- Packages for Delphi 12 Athens? HOT 1
- Update to Delphi 12 HOT 2
- Access violation while changing the theme HOT 3
- Bad Assert in TVirtualTreeColumns.GetPreviousColumn
- Fixed column MinWidthPercent leads to inifinite loop
- 8.0.1 compile error HOT 3
- Is 7.6.6 an alias of 8.0? HOT 2
- Can't Install VirtualTreesD280.bpl HOT 1
- TVirtualStringTree do not publish `NodeDataSize` HOT 2
- IDataObject replaced by TVTDragDataObject? HOT 4
- Sort indicators above header caption.
- Header DblClickResize and HeaderClickAutoSort HOT 3
- DefaultNodeHeight not working anymore HOT 3
- Threads in VST HOT 5
- DefaultNodeHeight has no effect since 8.0.2 HOT 2
- Reordered Grid of columns htrows exception when moving left with the keyboard HOT 2
- Fixed columns are broken in V7.6.6 and V8.0.2 HOT 3
- As of the September 22, 2023 release, the C++Builder version is not compatible with the previous version HOT 2
- Method `TVirtualTreeColumn.GetCaptionWidth` handles owner-drawn caption badly HOT 5
- Incompatible error when calling VTAccessibilityFactory.GetAccessibilityFactory.CreateIAccessible(Self); HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from virtual-treeview.