On Wed, 10 Sep 2014 16:59:10 +0200
Vojtěch Čihák <[email protected]> wrote:

>[...]  

> PTCheckComboItemState(Items.Objects[i])^.Data;
>  
> Although, I can do new property TCheckComboBox.Objects[] and getters + setter 
> will do the job.

This is possible, but it would be inconsistent to the other LCL
controls.
For example:
Items is a TStrings, so it would be nice if 
ComboEx.Items.Assign(MyStrings) and MyStrings.Assign(ComboEx.Items)
works normally.

It would be nice if the Enabled states are stored outside Items.

Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to