Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TTreeView: Drag&Drop makes Node become selected

Status
Not open for further replies.

MBakker

Programmer
Mar 19, 2001
1
NL
By starting a drag & drop operation on a TreeNode this node automatically becomes selected.

i don't want this to happen becouse i have an OnClick event that must not be triggered by a drag & drop operation.
Setting dragmode to manual and using an OnMouseDown event does not solve this problem. Even when i use an OnMouseUp event in stead of an OnClick event this problem persists..

How can i prevent a Node from becomming selected!
 
Strange, I created a TreeView at runtime, and I only used the OnChange event for interacting. Drag and Drop doesn't function in my application

Regards S. van Els
SAvanEls@cq-link.sr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top