Solved

More on Tree Views

Posted on 1998-05-12
5
152 Views
Last Modified: 2010-04-06
Ok.  I have some info, now I need a bit more.  

I am using a Tree View which is divided into five catagories.  Depending upon which catagory I have selected, the popup menu changes.

However, if I right click on a node, the popup menu appears, but it is leaving the old node selected.  

I have set the RightClickSelect property to true, but even that doesnt work.  If I click on say the tenth node in the list, it will just jump straight back to the last selected node.  How do I over come this?

Another thing is, when I am doing drag and drop, how do I make the node which the mouse is over select?  IE, if I drag an item over the fifth node, I want it to highlight as the targetted node.

Any help would be gratefully accepted :)

Stu.
0
Comment
Question by:Stuart_Johnson
  • 2
  • 2
5 Comments
 
LVL 5

Expert Comment

by:JimBob091197
ID: 1345137
Hi Stu

On my PC the target node is highlighted during drag-drop.

Unfortunately, I don't have any help regarding the RightClickSelect property...

Regards,
JB
0
 
LVL 4

Expert Comment

by:d003303
ID: 1345138
Yo,
I think you have an old version of comctl32.dll wich is quite buggy. This DLL was updated with several versions of MS Office, Internet Explorer and Service Packs. The current version is 4.72.2106.4, the shipped version of W95/NT4 is 4.70. Check that out.

Slash/d003303
0
 
LVL 6

Author Comment

by:Stuart_Johnson
ID: 1345139
Hi Slash.

Yeah, my DLL version is 4.72.2106.4 as well.

Stu
0
 
LVL 5

Accepted Solution

by:
JimBob091197 earned 50 total points
ID: 1345140
Hi Stu

I'm posting this answer based on our e-mail communication.

Cheers,
Dave
0
 
LVL 6

Author Comment

by:Stuart_Johnson
ID: 1345141
Thanks again mate for all your help.  Much appreciated!


Stuart.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Delphi: how to implement a User Shortcut mapper? 1 133
Help on project with Soap 10 61
Correct Component for Shopping Cart. 2 120
Convert a string into a TDateTime 5 72
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question