Nedd help on this code!
Posted on 1997-07-10
Well the question is:
I have a TListView component on my form that displays directories. I have an OnEdeted event to rename the file. Well when i rename it i get an access violation error after which the file is renamed. I can not get it. Delphi does not show breakepoint, because my mashine hangs up when delphi gets this error:-)
if Item=nil then Exit;
if Item.Caption=S then Exit;
if dir[Length(dir)]<>'\' then dir:=dir+'\';
UpdateLocalListing; // updating directory listing