Good idea thanks. > On Mar 27, 2016, at 5:00 PM, fpc-pascal-requ...@lists.freepascal.org wrote: > > Depending on your needs, you don't need to descend from TPersistent just > to get RTTI information in your classes. Simply wrap a TObject > descendant with {$M+} and deactivate the RTTI after the class definition. > > For example: > > {$M+} > TtiVisited = class(TObject) > ... define your class interface here... > end; > {$M-}
Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal