[Lazarus] TComboBoxEx and TCheckComboBox

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Sep 10 17:21:46 CEST 2014

On Wed, 10 Sep 2014 16:59:10 +0200
Vojtěch Čihák <vojtech.cihak at atlas.cz> 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
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.


More information about the Lazarus mailing list