Howdy, Stranger!

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

In this Discussion

Help Please: TElListBox.ItemHeight does not work within 2017.

Hi.  I recently upgraded from 2016 to 2017 and the TElListBox.ItemHeight setting no longer sets the ItemHeight at runtime.  I created a simple program that shows the problem.

procedure TForm3.FormShow(Sender: TObject);
begin
   ElListBox1.ItemHeight := 32 ;
   ShowMessage ( IntToStr ( ElListBox1.ItemHeight ) ) ; <--- this reports the ItemHeight to be 19, not 32.
end;

Unfortunately, this garbles all of our menus because they're accompanied by 32x32 icons which now overplot each other.

Thanks in advance,

Jim Reed

RockWare Inc.

p.s. I tried to attach the sample program but my browser says that "Uploaded file type is not allowed."

Comments

Sign In or Register to comment.