Re: [lazarus] Lazarus IDE crashes while loading form

2007-08-31 Thread wile64
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


Re: [lazarus] Lazarus IDE crashes while loading form

2007-08-31 Thread wile64
I forgot, the EditorEnabled property dont not exist in TSpinEdit for
Lazarus, it should be also removed…



-- 
Laurent.

My Web : http://wile64.neuf.fr/
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] Lazarus IDE crashes while loading form

2007-08-31 Thread Andreas Berger
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


Re: [lazarus] Lazarus IDE crashes while loading form

2007-08-31 Thread Luis Rodrigues
Is this a known Lazarus bug?

In after I load the form if I try to change the property Lazarus craches
again :(

Regards,

Luis

On Fri, 2007-08-31 at 08:58 +0200, 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

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Lazarus IDE crashes while loading form

2007-08-31 Thread wile64
Yes, you delete the event OnDrawItem in object inspector, you change the
Style to lbOwnerDrawFixed and recreate event.

The error is here, I do not know why.


2007/8/31, Luis Rodrigues [EMAIL PROTECTED]:

 Is this a known Lazarus bug?

 In after I load the form if I try to change the property Lazarus craches
 again :(

 Regards,

 Luis

 On Fri, 2007-08-31 at 08:58 +0200, 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

 _
  To unsubscribe: mail [EMAIL PROTECTED] with
 unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives




-- 
Laurent.

My Web : http://wile64.neuf.fr/
French Forum : http://lazforum-fr.tuxfamily.org/index.php


RE: [lazarus] Lazarus IDE crashes while loading form

2007-08-31 Thread Hess, Philip J
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: lazarus@miraclec.com
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


Re: [lazarus] Lazarus IDE crashes while loading form

2007-08-31 Thread wile64

 -Original Message-
 From: Andreas Berger [mailto:[EMAIL PROTECTED]
 Sent: Friday, August 31, 2007 7:00 AM
 To: lazarus@miraclec.com
 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



For the EditorEnabled property the utility dfm2lfm can corrected the
problem, not for the listbox!

The event OnDrawItem is good, but it is necessary recreated in Lazarus (with
the same thing?)

I does not understand why there is this bug?

-- 
Laurent.

My Web : http://wile64.neuf.fr/
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] Lazarus IDE crashes while loading form

2007-08-30 Thread wile64
You have a originales file for delphi ?



2007/8/30, Luis Rodrigues [EMAIL PROTECTED]:

 Just in case some people don't look at mantis I'm double posting this.

 When I load a Delphi converted form in Lazarus the IDE crashes.

 http://freepascal.org/mantis/view.php?id=9543

 Best regards,

 Luís Rodrigues

 _
  To unsubscribe: mail [EMAIL PROTECTED] with
 unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives




-- 
Laurent.

My Web : http://wile64.neuf.fr/
French Forum : http://lazforum-fr.tuxfamily.org/index.php