Hi!

The Delphi converter in SVN trunk has more features and I would like to read 
opinions of it. The UI is not perfect but it works.
There is a hard-coded list of Delphi component types mapped to LCL types. This 
is important especially with container components, so the contained stuff is 
not lost. Later the list can be saved in XML file. (?)
This is the current (short) list:

  fReplacementNames['TFlowPanel']:='TPanel';
  fReplacementNames['TGridPanel']:='TPanel';
  fReplacementNames['TComboBoxEx']:='TComboBox';
  fReplacementNames['TCoolBar']:='TPanel';
  fReplacementNames['TRichEdit']:='TMemo';
  fReplacementNames['TDBRichEdit']:='TDBMemo';
  fReplacementNames['TPNGObject']:='TPortableNetworkGraphic';
  fReplacementNames['TTntForm']:='TForm';

The TTnt* components, and maybe some others, could be mapped using wildcards, 
or regexpr actually. Let's see.

What else to add to the list?

The conversion supports 3 targets:
  Lazarus
  Lazarus for Windows
  Both Lazarus and Delphi


Regards,
Juha Manninen

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to