[Lazarus] How to convert old *.lrs based forms to *.res

leledumbo leledumbo_cool at yahoo.co.id
Thu Aug 21 07:14:14 CEST 2014


> Is there documentation or a wiki page on converting such old 
projects/forms to newer resources? Or does the IDE have this ability, 
but I simply haven't found it.

- Change resource format in the project options to FPC resources
- Change {$I *.lrs} in initialization section to {$R *.lfm}, optionally
remove the initialization section if it doesn't contain any other code
- Remove LResources from uses clause
- Optionally remove existing .lrs 




--
View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-How-to-convert-old-lrs-based-forms-to-res-tp4038205p4038207.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.




More information about the Lazarus mailing list