Subject TIB_Combo makes program crash
Author mircostange
Hm, it seems I have a problem in my application, but its not quite
easy to describe. The application crashes when I exit and the
execption gives me the following stack:

TIB_CustomComboBox.DataChange(???,???,nil)
TIB_DataLink.DoDataChange(???)
TIB_DataLink.SysDataChange(nil)
TIB_ControlDataLink.SysDataChange(???)
TIB_FieldDataLink.SysDataChange(???)
TIB_FieldDataLink.SysLayoutChanged
TIB_DataLink.ProcessStatementEvent(setLayoutChanged,0)
TIB_FieldDataLink.ProcessStatementEvent(???,???)
TIB_DataSource.ProcessEvent(setLayoutChanged,4274784)
TIB_Statement.ProcessLinkEvent((out of bound) 96,4303432)
TIB_Dataset.ProcessLinkEvent(???,???)
TIB_Statement.SysLayoutChanged
TIB_Statement.SysUnprepare
TIB_Dataset.SysUnprepare
TIB_BDataset.Destroy

Seems something is wrong with my combo. The once causing this error
is bound to a dataset and this in turn to a query that is never
activated. Furthermore, the combobox is on a panel which is not shown
during execution. Third, the combobox style is dropdown list.

Given those 3 conditions, the application crashes. When I change the
style to something else, everything is ok. When I show the frame and
activate the query, everything is fine.
Does this give anyone some hint what's wrong? I tried to reproduce in
a separate app, but with no success. Sorry, sounds difficult.

Mirco