Solved

TreeView Nodes

Posted on 2002-04-26
3
233 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
Comment Utility
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
Comment Utility
Just set its HasChildren to True.
0
 
LVL 6

Author Comment

by:Stuart_Johnson
Comment Utility
I knew it would be something simple :)  

Thanks for that! <G>

Stu
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 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

11 Experts available now in Live!

Get 1:1 Help Now