[Lazarus] Problem with ComboBox

ik idokan at gmail.com
Wed Sep 1 14:52:03 CEST 2010


Try to do something like

ComboBox1.ItemIndex := 1;

Ido


On Wed, Sep 1, 2010 at 15:50, faber <faber.cpu at gmail.com> wrote:

> I've strange issue with that code:
>
>  ComboBox1.ReadOnly:=true;
>  ComboBox1.Items.Add('11.2');
>  ComboBox1.Items.Add('11');
>  ComboBox1.Items.Add('92');
>  ComboBox1.Text:='11';
>
> I always see 11.2 in ComboBox. This is a bug or I'm doing something wrong ?
> I use lazarus from svn and Win32.
>
> best regards
> faber
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20100901/20526427/attachment-0004.html>


More information about the Lazarus mailing list