Hi,
I am becoming more interested in the Lazarus stuff, since it looks like Delphi does no get improved as fast as I like.
To day I came across a problem, which as confused a lot of people.
Why do the components <CheckBox,Listbox,ComboBox> not have an OnChange event ?
Let's try together to define how this should work.
CheckBox: if the Checked property changes, then an OnChange event shall be fired.
Now with ListBox and Combox we need a some more detailed control.
Actually this components use TStrings which could be made better.
An OnContentChange event shall be fired if :
- an item gets added/deleted/changed.
- the list gets cleared/sorted or loadfromfile is called.
An OnChange event shalle be fired if :
- the ItemIndex changes.
So please think about it and let me know if this would clean up the situation ?
After that I will try to implement it.