[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Change ItemHeight of Treeview items

Posted on 2001-07-02
3
Medium Priority
?
527 Views
Last Modified: 2010-04-06
How do I change the ItemHeight of the items of a Treeview control? I'm using Delphi 4. I'm looking for a solution without OwnerDraw stuff.
0
Comment
Question by:bengore
3 Comments
 

Author Comment

by:bengore
ID: 6244491
If my question is not clear: I want to add space between the items of a Treeview (a few pixel).
0
 
LVL 3

Accepted Solution

by:
nnbbb09 earned 150 total points
ID: 6244526

I don't think there is a simple property on the treeview to do this. One workaround is to add an imagelist but simply increase the size of its height property and this will be reflected in the treeview. If you are using bitmaps on your treeview then you will need to add some extra space at the top and/or bottom to prevent them being stretched by the imagelist.

Jo
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6247432
as nnbbb09 said
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses
Course of the Month19 days, 16 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question