Menu

#201 Issue with TOvcTCComboBox and Delphi XE6

Fixed
open
nobody
None
5
2014-07-10
2014-07-10
No

Set Sorted to true at design.
UseRunTimeItems := false
Style := csDropDownList

TOvcTCComboBox.Items.Assign(aStringList);//The aStringList has objects associated with it.

When selecting an item from the combobox, the objects and index of the items are incorrect.

This worked in Delphi XE5. It is broke in Delphi XE6.

The workaround is to have sorted set to false at design. Assign the stringlist to the items and then set sorted to true.

Discussion


Log in to post a comment.