For Programmers: Free Programming Magazines  


Home > Archive > Delphi > September 2004 > A litle Treeview problem..









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author A litle Treeview problem..

2004-09-02, 8:58 pm

I have to treeview controls, one is hidden. The visibe control contains a list
of filenames, and the hidden control contains the path to the files.

When i delete a node in the visible control, how do I delete the
same node in the hidden control.

Regards BBO


Nic Roche

2004-09-25, 8:57 pm

Hi BBO,

> of filenames, and the hidden control contains the path to the files.


This probably isnt the best way to keep extended data.

The Data property of the treenode allows you to keep extended data.

I do not have accessible code but you do need to define a record and use
pointers.

A google search will find you source.


Nic


<bbo@home.com> wrote in message news:B4PZc.2023$YY6.1693@news.get2net.dk...
>I have to treeview controls, one is hidden. The visibe control contains a
>list
> of filenames, and the hidden control contains the path to the files.
>
> When i delete a node in the visible control, how do I delete the
> same node in the hidden control.
>
> Regards BBO
>
>



Noel

2004-09-28, 4:01 am

On Sat, 25 Sep 2004 22:48:12 GMT, "Nic Roche" <nicroche@hotmail.com>
wrote:

>Hi BBO,
>
>
>This probably isnt the best way to keep extended data.
>
>The Data property of the treenode allows you to keep extended data.
>
>I do not have accessible code but you do need to define a record and use
>pointers.
>
>A google search will find you source.


Alternatively, look at Virtual TreeView which can be found at:
http://www.delphi-gems.com/VirtualTreeview/VT.php
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com