Re: Dosnt fully work :(

[ DelphiLand FAQ ]

Posted by creeek on March 01, 2004 at 20:25:06:

In Reply to: Re: Creating a Folder in ShellTreeView posted by Joey on March 01, 2004 at 17:19:28:

Thanks Joey for your reply, you have a minor bug ;-)

the line:
if CreateDir(Edit1.Text) = False then

should be if CreateDir(Edit1.Text + '\'NewFolder') = False then

Also the link to a page is, where the FULL code is:
(I will LEAVE it there!)

Your code creates the directory, but dosnt update the ShellTreeView1 (ShellLISTView1 gets updated, if you click away, then back again. But the '+' never appears on the ShellTreeView1.

appears to be so little information on ShellTreeView on the Net!

thanks very much for trying :)


Related Articles and Replies:

[ DelphiLand: free Delphi source code, tips, tutorials ]