Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 10, 2016, 02:30:48 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Is there a better TreeView control that works with BCB  (Read 3826 times)

SkyIDE

  • Honorary Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 245
    • View Profile
    • Read more about this member.
    • Donate to Member
Is there a better TreeView control that works with BCB
« on: October 22, 2006, 03:17:34 AM »
Does any know of any (free) enhanced TreeView control that I can use in BCB? I need one that can make the text/node bold for example, and also that would have an extra spare string property for each node that I could use to store any string I want. For example: a node would have Text and Hint property or Text and strSomeString property.

I tried TVirtualTreeView but I couldn't get it to work/install. Is there anything else avaialble?
« Last Edit: October 22, 2006, 03:20:30 AM by SkyIDE »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,435
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Is there a better TreeView control that works with BCB
« Reply #1 on: October 23, 2006, 12:42:51 AM »
the first answer to these questions is always to visit Torry's:
http://www.torry.net/pages.php?id=143

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,435
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Is there a better TreeView control that works with BCB
« Reply #2 on: October 23, 2006, 12:55:07 AM »
the trick is to find a delphi components with source code (.pas); almost all such components can be used in c++
builder.

i've learned quite a few tricks about how to properly make bcb components out of delphi components (the c++ builder compiler can compile .pas but you sometimes need to do some tricks to make them work) - so if you find a component you like don't hesitate to ask for help converting it to a c++ builder component.

SkyIDE

  • Honorary Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 245
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Is there a better TreeView control that works with BCB
« Reply #3 on: October 23, 2006, 03:34:16 AM »
Well, there is on this site: http://www.finances-...s_treelistviews.html
The site seems to be fully English. The component looks good I just don't know whether it has a spare string property. It is a full on Delphi *.pas. I don't know how to get it to work in BCB + if I get it to work, if it doesn't have a spare string property for each node, it will be useless to me. That is the most important bit.
« Last Edit: October 23, 2006, 04:42:07 AM by SkyIDE »

jazper

  • Coding Snacks Author
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 92
    • View Profile
    • Jazper's Software
    • Donate to Member
Re: Is there a better TreeView control that works with BCB
« Reply #4 on: October 25, 2006, 12:07:32 AM »
Bah..i didn't see that you tried Virtual Treeview...you should give it a try again...its the best out there

SkyIDE

  • Honorary Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 245
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Is there a better TreeView control that works with BCB
« Reply #5 on: October 25, 2006, 03:34:46 AM »
Thanks for that :) I will see how I go.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,435
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Is there a better TreeView control that works with BCB
« Reply #6 on: October 25, 2006, 03:45:10 AM »
let me speak up against virtual treeview.

vt is an extremely powerfull component, that can do quite a few things, and is designed to support very large trees generated dynamically.

it's also a tiny bit unstable in BCB, its big, has some bugs that need to be worked around, and can be frustratingly and consistently flakey.  It can also be a real pain to code.

that's my experience from using it on a few projects in a serious way (ie i havent just "tried" it, i use it).

so my advice is, if you NEED to create extremely large trees at runtime, vt can be a great thing and indispensable.

but if you don't need to create huge trees, do yourself a favor and save yourself the heartache and use something else.  just my 2 cents.  it's way overkill for most stuff and you'll pay a price in frustation if you try to use it.