Dream Controls: TDcInfoTree



Hello,

I'm working with the Dream Controls InfoTree (trial) components. I've got it working fairly well, if slow. Finding the record represented by the selected node is easy enough, but how do I do the reverse?

Basically, I've created a dialog for selecting items from inventory, and it works great. However, what I want to do is pass the dialog a 'product id' and have the InfoTree display the corresponding node, centered in the tree's client area.

So far, I can do this in code by basically looping through and expanding the correct branches until I find the final leaf node. This method works, but is un-usably slow. Is there a 'better' (read: quicker/easier) method ?

Thanks!

-- Stanwood Campsmith
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
.