Solved

Change ItemHeight of Treeview items

Posted on 2001-07-02
3
475 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 50 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

770 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