forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


SSTREEVIEW.DLL and Item IDs

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Wed Aug 25, 2004 5:01 pm    Post subject: SSTREEVIEW.DLL and Item IDs Reply with quote

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
View user's profile Send private message
X-Tools
Valued Contributor
Valued Contributor


Joined: 20 Sep 2001
Posts: 296
Location: Germany

PostPosted: Thu Aug 26, 2004 6:35 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Thu Aug 26, 2004 2:26 pm    Post subject: Reply with quote

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... Cool

Cheers,

- Boo
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
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

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group