ComboBox OnChange event occurs when changing the ItemIndex property in code


I’m using FMX on Delphi 10.1 Berlin.

I read this (which is the behavior I want):

Changing ItemIndex programmatically does not result in the OnChange event being fired. It fires only in response to user interaction.

Is this true only for VCL?

I’m asking for this because, unfortunately for me, from what I can test, modifying the ItemIndex property in code triggers the OnChange event.

If this is true, how can I achieve the same behaviour as VCL in FireMonkey?

Comments are closed.