Andrea, See file DfmToLfm.ini that comes with this conversion tool:
http://wiki.lazarus.freepascal.org/XDev_Toolkit Thanks. -Phil -----Original Message----- From: Andreas Berger [mailto:[EMAIL PROTECTED] Sent: Friday, August 31, 2007 7:00 AM To: [email protected] Subject: Re: [lazarus] Lazarus IDE crashes while loading form It would be interesting to have a list of lines that must be removed/changed in a dmf file before conversion to lfm. I have a program called dfm2lfm where I include all of these problems that I know of and use it as a pre-processor for each .dfm. It then calls LazRes to convert the pre-processed output file. However, I only have a few entries to the components I use. Worse yet, if a property I removed is later added to the Lazarus component, I will probably never know and it will continue to be removed by my pre-processor. How would we go about making a list of properties (per component) that are different from the dfm? Andreas wile64 wrote: > Hello Luis, > > Edit file dmap.lfm and delete line " Style = lbOwnerDrawFixed " in > object TListBox. > > object ListBox1: TListBox > Left = 8 > Top = 8 > Width = 121 > Height = 249 > Color = clBtnFace > ItemHeight = 32 > Items.Strings = ( > ' Nodes' > ' Links' > ' Labels' > ' Notation' > ' Symbols' > ' Flow Arrows' > ' Background' > ) > *----> Style = lbOwnerDrawFixed > TabOrder = 0 > OnClick = ListBox1Click > OnDrawItem = ListBox1DrawItem > end > > Your form load correctly. > > I tested with Lazarus 0.9.23 R11761 > > > -- > Laurent. > ------------------------------------------------------------------------ -------------------- > My Web : http://wile64.neuf.fr/ > French Forum : http://lazforum-fr.tuxfamily.org/index.php > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.484 / Virus Database: 269.12.12/979 - Release Date: 29/8/2007 20:21 > _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
