ListBox: How to get height of item in? lazarus / 31-LCL ---------------------------------------------------------------------- Milsa · 2021-12-08 17:00 I need to show form on bottom of screen. In my ListBox are any items. I want to display a ListBox on the entire form and change form width and height. I need height of item for calculate final form height. If the form is larger than the screen, the ListBox gets a scrollbar. It is like as Windows toolbar: https://www.tenforums.com/attachments/tutorials/107057d1485973246-add- toolbars-taskbar-windows-10-a-desktop_toolbar.jpg Windows 11 does not support toolbars and I am programming replacement for my use. ---------------------------------------------------------------------- jamie · 2021-12-08 22:08 If it's not a ownerDraw type box then the property "ItemHeight" should do.