Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 4 results for
directorylistbox
- Page 1
Delphi DirectoryListBox returns wrong Directory
Programming
Software Development
8 Years Ago
by Bo_1
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
Re: Delphi DirectoryListBox returns wrong Directory
Programming
Software Development
8 Years Ago
by SalmiSoft
It 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 event *before* it changes the directory. This is so you can handle that event…
Re: Delphi DirectoryListBox returns wrong Directory
Programming
Software Development
8 Years Ago
by Bo_1
Thank You very much! I thought it was someting like this, but I have struggled many years with this. I'll try the solution. Regards Bo
Re: Delphi DirectoryListBox returns wrong Directory
Programming
Software Development
8 Years Ago
by Bo_1
Tested and works very good, now I have learned me something new and essential. Thank you very much, good to have Daniweb! Regards Bo
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC