[Lazarus] ComboBox.OnChange not work

Reenen Laurie rlaurie at gmail.com
Sat Sep 13 17:35:41 CEST 2008


I think it only executes when it is changed by the user via the GUI.
If you change it via code, it doesn't trigger.

On 9/13/08, Luis R. Hilario B. <luisdigital at gmail.com> wrote:
> Hello all,
>
> It was a lot of inactive time, but now I am using Lazarus in Linux (GTK and
> GTK2).
>
> I do not remember how does function in Delphi, but seems me that OnChange
> should work when changes the index using code:
>
> ComboBox1.ItemIndex := NewIndex;
>
> Please verify if the error exists. Thanks.
>
> --
> http://luisdigital.com
>

-- 
Sent from Gmail for mobile | mobile.google.com

o__
,_.>/ _
(_)_\(_)_______
...speed is good
_______________
I believe five out of four people have a problem with fractions.



More information about the Lazarus mailing list