Value := MyComboBox.Items[MyComboBox.Count-1].Text;
resolved withCmb_Turni.ItemIndex:=NumMax-1; //because index start to 0
Quote from: xinyiman on August 03, 2010, 12:25:47 pmresolved withCmb_Turni.ItemIndex:=NumMax-1; //because index start to 0Not resolved and a dorment bug!BlueIcaro gave the right hint:if Cmb_turni.Count > 0 then Cmb_turni.ItemIndex := Cmb_turni.Count-1;