[Lazarus] TComboBox and OnChange

dmitry boyarintsev skalogryz.lists at gmail.com
Wed Mar 24 15:33:53 CET 2010


On Wed, Mar 24, 2010 at 4:42 PM, Michael Fuchs
<freepascal at ypa-software.de> wrote:
> I know that this behaviour is the same as in Delphi, but I think it is not
> consistent. Is it possible to change this?

Why the behavior is not consistent?

Since your code has changed Text value you're aware of the change happened.
So you can call the necessary change handling code, like:

ComboBox1.Text:='something';
ComboBox1Change(ComboBox1Text);

thanks,
dmitry




More information about the Lazarus mailing list