When programmatically changing the value of ItemIndex
of a TComboBox
component in Delphi, one would expect for the corresponding OnChange
event to get triggered.
Afterall, the visible value of the ComboBox get's changed as a result. Strangely it does not. Same behavior in Delphi6, Delphi 2010 and Delphi XE7.
Is there any reason behind this behavior or it's just a pending bug?