[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 530
  • Last Modified:

Change ItemHeight of Treeview items

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
bengore
Asked:
bengore
1 Solution
 
bengoreAuthor Commented:
If my question is not clear: I want to add space between the items of a Treeview (a few pixel).
0
 
nnbbb09Commented:

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
 
kretzschmarCommented:
as nnbbb09 said
0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now