Autor Beitrag
adler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 511

Windows XP
Delphi 05 Pers
BeitragVerfasst: Do 18.03.04 18:17 
Hi!

Habe ein Prob mit den in der Überschrift genannten VLCs.
Ich möchte beim Ordner Changen im ShellTreeView auch den Pfad der FileListBox ändern.
folgenden Code:

FLB.Directory := STV.path;

Es geht, aber man darf nicht zu schnell klicken oder so!
Benutzt hab ich das OnChanging-Event.
Hoffe aus Hilfe ;)

_________________
Wo's nix zu gucken gibt, gibts vielleicht was zu hören.
derDoc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 623

Win Vista Prof
D2007 Prof
BeitragVerfasst: Do 18.03.04 18:33 
Ich würde direkt OnChange verwenden, damit habe ich keine Zeitprobleme gehabt.

_________________
MfG derDoc
There are only 10 types of people: those who understand binary and those who don't.
adler Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 511

Windows XP
Delphi 05 Pers
BeitragVerfasst: Do 18.03.04 20:45 
Damit funktionierts bei mir garnicht...
Nur nicht wenn ich auf Arbeitsplatz oder Papierkorb klicke

_________________
Wo's nix zu gucken gibt, gibts vielleicht was zu hören.
derDoc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 623

Win Vista Prof
D2007 Prof
BeitragVerfasst: Do 18.03.04 21:50 
Dann frage doch vorher noch DirectoryExists() ab. Dadurch umgehst du etwaige Fehler bei "unechten" Ordnern.

_________________
MfG derDoc
There are only 10 types of people: those who understand binary and those who don't.
adler Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 511

Windows XP
Delphi 05 Pers
BeitragVerfasst: Do 18.03.04 21:59 
Ah ja, danke!

Damit wäre diese Prob aus der Welt.
Mh, hab ich nicht dran gedacht bzw. gewusst, dass der dies nicht dazu zählt.
Eigentlich ja logisch, da es keine Ordner sind.

_________________
Wo's nix zu gucken gibt, gibts vielleicht was zu hören.