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? 1 year 10 months ago #17486

  • Yury Golovin
  • Yury Golovin's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • 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? 1 year 10 months ago #17487

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1105
  • Thank you received: 161
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 year 9 months ago #17504

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1105
  • Thank you received: 161
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