The list control is sent CM_TEXTCHANGED when the text changes. The VCL control chooses not to draw an event here, but you could. There are many ways to do this. Here I illustrate a quick and dirty class of intermediate elements:
TComboBox = class(Vcl.StdCtrls.TComboBox) procedure CMTextChanged(var Message: TMessage); message CM_TEXTCHANGED; end; procedure TComboBox.CMTextChanged(var Message: TMessage); begin inherited; Beep; end;
Naturally, you will want to do this in a less dangerous way in your production code.
source share