Improving DFM/Lazarus compability - Handling TReader.OnError? Feasible? lazarus / 13-General ---------------------------------------------------------------------- MISV · 2014-08-25 17:11 To have forms compability for forms created in different Delphi versions I used underneath solution. I originally needed his because I developed in one Delphi versions, but used the commandline version to compile different executable versions using different Delphi versions. That resulted in "wrong" properties could still be in the forms which would cause runtime errors. 1) I inherit all my forms from TmyForm which inheried from class(TForm) 2) procedure TmyForm(Reader: TReader); begin   Reader.OnError := OwnReaderError;   inherited; end; 3) procedure TmyForm(Reader: TReader; const Message: string; var Handled: Boolean); var   PS: string; begin   PS := TOwnHackReader(Reader).PropName;   if     (PS = 'DoubleBuffered')   or     (PS = 'ParentDoubleBuffered')   then     begin       Handled := True;     end   ; end; Would above be a feasible way to make the Lazarus IDE use dfm forms somehow? Either directly in my own software or as some kind of project settings of what properties to ignore when streaming dfm forms? Just wanted to check if anyone ever pursued this since I would prefer to only have a single form file. I do not mind it means I can not use Delphi/Lazarus specific properties - I will just set those runtime with ifdef