[Lazarus] Problem with ComboBox
John vd Waeter
john at jvdw.nl
Wed Sep 1 21:43:51 CEST 2010
> ;) nice
>
> result of that code in ComboBox is '112'
>
> ComboBox1.ReadOnly:=true;
> ComboBox1.Items.Add('112');
> ComboBox1.Items.Add('11');
> ComboBox1.Items.Add('92');
> ComboBox1.Text:='11';
>
>
> best regards
> faber
>
I meant:
> ComboBox1.ReadOnly:=true;
> ComboBox1.Items.Add('10');
> ComboBox1.Items.Add('11');
> ComboBox1.Items.Add('11.2');
> ComboBox1.Items.Add('92');
> ComboBox1.Text:='11';
Now they are in *alphabetical* order.
;-)
John
More information about the Lazarus
mailing list