I Start lazarus and when i open a specific unit, i have this results:
TMainIDE.ParseCmdLineOptions:
PrimaryConfigPath="/home/percy/.lazarus"
SecondaryConfigPath="/etc/lazarus"
Looking for code tools config file: "/home/percy/.lazarus/codetoolsoptions.xml"
NOTE: codetools config file not found - using defaults
NOTE: help options config file not found - using defaults
AskIfLoadLastFailingProject START
AskIfLoadLastFailingProject END True
TApplication.HandleException List index (0) out of bounds
Stack trace:
$00000000004F146C
NOTE: Window with stalled focus found!, faking focus-out event
LAZARUS END - cleaning up ...
[TMainIDE.Destroy] A
[TMainIDE.Destroy] B -> inherited Destroy... TMainIDE
[TMainIDE.Destroy] END
i have no idea why "List index (0)" .
i have no components in the .lfm file with lists and only one .pas file report me this error.
how can i debug it?
PS: in 1.2.6. works fine.
Update: the error occurs when i press F12
Update 2: Found it:
in lfm file:
object DBGrid1: TDBGrid
Left = 0
Height = 396
Top = 240
Width = 192
Align = alClient
Anchors = []
AutoEdit = False
AutoFillColumns = True
Color = clWindow
Columns = <
item
ReadOnly = True
Title.Caption = 'Registro'
Width = 200
end>
DataSource = navegacao
FixedCols = 0
Options = [dgColumnResize, dgColumnMove, dgRowSelect, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit, dgDisableDelete]
OptionsExtra = []
PopupMenu = PopupMenu1
Scrollbars = ssAutoBoth
TabOrder = 1
OnDrawColumnCell = DBGrid1DrawColumnCell
end
works fine when i remove the columns section.
it's a error? must i report it in bug tracker?