Welcome, Guest
Username: Password: Remember me
IDE Base and IDE Extensions Components and Libraries, discussions, problems and suggestions
  • Page:
  • 1

TOPIC:

What happened to TCheckComboBoxEx? 2 weeks 2 days ago #17486

  • Yury Golovin
  • Yury Golovin's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 1
In version 7.90 everything was fine, but in version 8.00 there is no dropdown.
This is CT version 7.90


This is CT version 8.00

Please Log in or Create an account to join the conversation.

Last edit: by Yury Golovin. Reason: Pictures not displayed...

What happened to TCheckComboBoxEx? 2 weeks 2 days ago #17487

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 795
  • Thank you received: 81
A quick fix
ExCheckCombo.pas

Line: 593


procedure TCheckComboBoxForm.MeasureHeight(out AHeight: Integer);
var
  i: Integer;
  h: Integer = 0;
begin
  AHeight := 0;
  for i := 0 to FCheckListbox.Items.Count-1 do
    if i < FDropDownCount then
    begin
      FCheckListbox.MeasureItem(i, h);

      if h=0 then h:=14;  //<<<<=== ct9999 =====

      inc(AHeight,h);
    end;
  inc(AHeight, 6);
end;  
PilotLogic Core Programmer
The following user(s) said Thank You: Yury Golovin

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..

What happened to TCheckComboBoxEx? 1 week 2 days ago #17504

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 795
  • Thank you received: 81
Final Fix
PilotLogic Core Programmer
Attachments:
The following user(s) said Thank You: Yury Golovin

Please Log in or Create an account to join the conversation.

  • Page:
  • 1