I work with components of DevExpress , in particular now with component TcxDBLookupComboBox . I'm trying to find an analogue of the OnChange event, like with, for example, the ComboBox component. I would like to ensure that the event of selecting an item from the list returns instantly the code.

Invariably I get only the code of the first value of the list:

 ShowMessage(TcxDBLookupComboBox1.DataBinding.Field.AsString); 

Who knows how this is solved?

  • No one will tell you how to get the event of selecting this component? The problem is that I can not even see the component code, and therefore rewrite it. Everything is protected from change. Therefore, we need quality advice from those who have worked with this. - IntegralAL

1 answer 1

On TcxDBLookupComboBox we write to synchronize with dataset and take OnChange from dataset .