Solved

TreeView Nodes

Posted on 2002-04-26
3
238 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

726 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