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
