If I doubleclick on a DirectoryListBox, Delphi returns the directory above the clicked one. A second doubleclick on the same directory returns the wanted directory. How do I select the intended directory in one doubleclick?
In the OnDblClick event I use Dir:=DirectoryListBox1.Directory. What am I doing wrong? Anybody?
Regards Bo
Bo_1
Recommended Answers
Jump to PostIt is always a good idea to look at the source code in cases like this, if you have the VCL sources in your Delphi version. That way you can trace how the control responds to the double click.
Basically what is happening is that TDirectoryListBox fires off the onDblClick …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.