Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Fix ElCombox for Big Fonts-Setting

Please Change Implementation for TElComboListBox.UpdateItemHeight to

procedure TElComboListBox.UpdateItemHeight;
var tm : TLMDTextMetric;
begin
  if not FCombo.ForceItemHeight then
    if not (FCombo.Style in [csOwnerDrawFixed, csOwnerDrawVariable]) then
    begin
      LMDGetTextMetrics(Canvas.Handle, tm);
      FItemHeight := tm.tmHeight;
      Perform(LB_SETITEMHEIGHT, 0, FItemHeight);
    end;
end;

Comments

Sign In or Register to comment.