Solved

TreeView Nodes

Posted on 2002-04-26
3
234 Views
Last Modified: 2010-04-04
Hi,

Is there a way that I can show the + sign in front of a node which is actually empty?  I want to be able to populate the node when it's clicked - not after the node is added.

TIA,

Stu
0
Comment
Question by:Stuart_Johnson
3 Comments
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6971573
do it as microsoft

add a dummy-childnode and do your stuff
(delete dummy and populate)
in the onExpanding-Event of the tree

meikl ;-)
0
 
LVL 8

Accepted Solution

by:
TOndrej earned 50 total points
ID: 6971595
Just set its HasChildren to True.
0
 
LVL 6

Author Comment

by:Stuart_Johnson
ID: 6971604
I knew it would be something simple :)  

Thanks for that! <G>

Stu
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PDF library for Delphi 2 104
Newbie Thread Programming 1 139
Press three keys together and trigger a function 3 50
Multi-layered image in FireMonkey 9 16
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

910 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now