OnMeasureItem is not called for csOwnerDrawEditableVariable
Original Reporter info from Mantis: Sergey Tkachenko 2
-
Reporter name: Sergey Tkachenko 2
Original Reporter info from Mantis: Sergey Tkachenko 2
- Reporter name: Sergey Tkachenko 2
Description:
In TComboBox, OnMeasureItem is not called if Style=csOwnerDrawEditableVariable
Additional information:
TCustomComboBox.LMMeasureItem contains code:
if FStyle = csOwnerDrawVariable then
MeasureItem(Integer(ItemId), AHeight);
I think it should be
if FStyle in [csOwnerDrawVariable, csOwnerDrawEditableVariable] then
MeasureItem(Integer(ItemId), AHeight);
Mantis conversion info:
- Mantis ID: 35831
- Version: 2.0.2
- Fixed in revision: r61574 (#74f527f7)