Hi, I noticed sometimes the editor works and sometimes it doesn't in win32. It turned out that FileIsWritable has a bug. A file is writable if it hasn't set the readonly flag. Line 434 of filectrl.inc should be: Result:=((FileGetAttr(AFilename) and faReadOnly)=0); Check the equal sign at the end. Regards, Vincent.