[lazarus] TCheckListBox bug!

Micha Nelissen M.Nelissen at student.tue.nl
Thu Nov 20 15:15:07 EST 2003


GongYu wrote:

> Today I compiled lazarus on win2003,it almost works,but have 2 question.
> 1. when place a Checklistbox on form,the IDE said divde by zero,then crashed.
> the console output is the following:
> 
> ************************************************************
> MouseDownOnControl Form1:TForm1 No Shift down, No CTRL down
> [TDesigner.MouseDownOnControl] END
> ************************************************************
> MouseUpOnControl Form1:TForm1
> AddComponent A TRUE
> [TCustomFormEditor.CreateComponent] Class='TCheckListBox'
> opInsert :TCheckListBox 010085A4
> [TCheckListBox.Created] A     //this line is add by me ,try to trace the bug,but seemed Checklistbox has created
> ERROR in LCL: TWinControl.CreateComponent: :TCheckListBox Handle creation failed

TCheckListBox is not implemented yet in the win32 interface. I have put 
on my personal TODO list :).

> Creating gdb catchable error:
> TApplication.HandleException Division by zero
> [TMainIDE.Destroy] A
> 
> 2. many menu items lost,for example the File->new File->New project etc.

If have compiled using new FPC 1.9.x, then this is a known problem. It 
already was on my TODO list :).

Regards,

Micha.






More information about the Lazarus mailing list