Solved

Treeview ... GetText of the node that subitem belongs.

Posted on 2006-07-12
3
325 Views
Last Modified: 2010-04-04
Hi.

I'm back again with TreeView questions :)

Well if i click on C1 how do i get the Caption of A1 (C1 is a child of A1)?
and if i click on A1 ---> Get the Caption of A0000

A0000
  |
 -A1
     |
      C1
      C2
      C3
0
Comment
Question by:CodedK
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
2266180 earned 125 total points
ID: 17089245
treeview1.Selected.Parent.Text ;)
0
 
LVL 16

Author Comment

by:CodedK
ID: 17089248
:) Thanks you Ciuly :) :)
0
 
LVL 16

Author Comment

by:CodedK
ID: 17089252
That was fast.....
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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

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

21 Experts available now in Live!

Get 1:1 Help Now