delphic++builderalphablendingvirtualtreeview

VirtualStringTree how to disable alpha blended selection while doing drag and drop?


When drag and dropping items from one TVirtualStringTree to another TVirtualStringTree how do I disable semi-transparent selection block shown while dragging the selection over the destination tree?

I've tried all the options and still cannot find the right one.

enter image description here


Solution

  • You can omit the image by changing DragType from default dtOLE to dtVCL. Additionally DragWidth can be set to 0 which will have the same effect.