| View previous topic :: View next topic |
| Author |
Message |
Boo Valued Contributor


Joined: 31 Oct 2003 Posts: 599 Location: Gulf Breeze, Florida USA
|
Posted: Wed Aug 25, 2004 5:01 pm Post subject: SSTREEVIEW.DLL and Item IDs |
|
|
Hi Guys,
I am playing around with the sstreeview.dll and have a quick question. (Hopefully one of you will know the answer to this.)
After adding some parents and childs to the Treeview Control, is there a function for identifying a particular child's Item ID without actually clicking on it? For example, if I have a parent of "Used Cars," with two children beneath it, "Fords" and "Toyotas," is there a way to determine the Item ID for "Toyotas" without actually clicking on it? (When the Treeview is created, I can determine the Item IDs for each child as they are created, store them, and then pull them up later. However, I was hoping there was a way to obtain the ID from the child's label without having to store them initially upon creation.)
Thanks,
- Boo |
|
| Back to top |
|
 |
X-Tools Valued Contributor

Joined: 20 Sep 2001 Posts: 296 Location: Germany
|
Posted: Thu Aug 26, 2004 6:35 am Post subject: |
|
|
Hi,
in my apps I save the tree-id after adding the item to the tree (it's assign to the variable when you use the @treevw function).
So I have an internal list which assigns my database ids to the tree ids
Bye, Fabian |
|
| Back to top |
|
 |
Boo Valued Contributor


Joined: 31 Oct 2003 Posts: 599 Location: Gulf Breeze, Florida USA
|
Posted: Thu Aug 26, 2004 2:26 pm Post subject: |
|
|
Hi X-Tools,
Yeppers, that is what I have been doing. (Per my previous post, I save the IDs upon Child creation and pull them up when needed.) I suppose that is the way I'll have to keep doing it....
Thanks for your input and confirmation...
Cheers,
- Boo |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|