Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
LCL
»
ListBox: How to get height of item in?
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Obtener ruta de archivos ...
by
Yoandy Calvelo
[May 26, 2022, 10:58:17 pm]
Feature announcement: Fun...
by
PascalDragon
[May 26, 2022, 10:13:07 pm]
BGRA Controls
by
Josh
[May 26, 2022, 09:28:29 pm]
RISCV32 Embedded -> Addin...
by
Laksen
[May 26, 2022, 09:05:15 pm]
Questions about input and...
by
marcov
[May 26, 2022, 08:49:18 pm]
snake biting its tail
by
Fred vS
[May 26, 2022, 06:41:29 pm]
[Solved] TBCTrackBarUpDow...
by
petevick
[May 26, 2022, 06:01:18 pm]
fpDebug not goto error li...
by
Martin_fr
[May 26, 2022, 04:03:39 pm]
Convert a delphi function...
by
marcov
[May 26, 2022, 03:16:17 pm]
Adding a new event corrup...
by
oopman
[May 26, 2022, 03:09:25 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: ListBox: How to get height of item in? (Read 3198 times)
Milsa
Sr. Member
Posts: 281
ListBox: How to get height of item in?
«
on:
December 08, 2021, 06:00:45 pm »
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.
Logged
I work with Lazarus 2.0.10, FPC 3.2.0, SVN 63526
This information is actual to: 1st Aug 2020
jamie
Hero Member
Posts: 4583
Re: ListBox: How to get height of item in?
«
Reply #1 on:
December 08, 2021, 11:08:53 pm »
If it's not a ownerDraw type box then the property "ItemHeight" should do.
Logged
The only true wisdom is knowing you know nothing
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
LCL
»
ListBox: How to get height of item in?
TinyPortal
© 2005-2018