Solved

TreeView Nodes

Posted on 2002-04-26
3
235 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

805 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