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.
--
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. [EMAIL PROTECTED] 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
Then previously Lazarus had a bug in Linux.
Is strange because visually the index changes and thought that OnChange
should be triggered. Someone tested with Delphi?
2008/9/13 Reenen Laurie [EMAIL PROTECTED]
I think it only executes when it is changed by the user via the GUI.
If you change it
On Sat, 13 Sep 2008 17:04:48 -0300
Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote:
2008/9/13 Luis R. Hilario B. [EMAIL PROTECTED]:
Is strange because visually the index changes and thought that
OnChange should be triggered. Someone tested with Delphi?
It is so by design and
2008/9/13 Luis R. Hilario B. [EMAIL PROTECTED]:
Is strange because visually the index changes and thought that OnChange
should be triggered. Someone tested with Delphi?
It is so by design and compatible with delphi. You can call OnChange
manually yourself if you wish to do that.
--
Felipe
2008/9/13 Mattias Gaertner [EMAIL PROTECTED]
On Sat, 13 Sep 2008 17:04:48 -0300
Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote:
2008/9/13 Luis R. Hilario B. [EMAIL PROTECTED]:
Is strange because visually the index changes and thought that
OnChange should be triggered. Someone