[Lazarus] fpGUI

Vannus vannus at gmail.com
Wed Sep 1 23:49:27 CEST 2010

2010/9/1 ik <idokan at gmail.com>:
> Try to do something like
> ComboBox1.ItemIndex := 1;

Yes, in my case I must use loop:
        for i:=0 to ComBoBox1.Items.Count-1 do
           if faVar = strtofloat(ComboBox1.Items[i]) then begin

however ComboBox.Text:='11' should work if '11' is in ComboBox1.Items,
when I replace '11.2' with '22' then it works,
obviously the problem is with a decimal separator, so I thought it's a bug.

best regards

More information about the Lazarus mailing list