Subject Re: [IBO] TIB_TreeView - idiot's guide required !
Author Andreas Pohl
This is not that simple. First of all you need a "node structured" database,
where exists at least two integer fields: node_id and parent_id (or sth.
similar). DB_TreeView will use these fields in FieldID and FieldParentID
properties.

Mit freundlichem Gruss & Best Regards

Andreas Pohl
apohl@...
www.ibp-consult.com
----- Original Message -----
From: "Norman Dunbar" <norman.dunbar@...>
To: <IBObjects@yahoogroups.com>
Sent: Wednesday, September 19, 2001 3:22 PM
Subject: [IBO] TIB_TreeView - idiot's guide required !


> I'm having a 'brain dead' type of day today, so please be gentle with me !
>
> I've added the tree view from the AddOn folder to BCB 4 and I was
wondering
> if someone could point me at setting up the filed_xxx properties to get it
> to display some data. I've had a look in the source but I'm a bit rusty in
> the Delphi department these days :o(
>
> I've set it up to use a connection to the contact example database, added
a
> query (select * from contact) and want to see something in the tree view
but
> I'm flummoxed. Maybe the contact sample isn't the best one to use, but I
> had to start somewhere !
>
> I connect to the database, prepare & open the query, call LoadData for the
> tree view and nothing is displayed.
>
>
> IBO 4.2eb and BCB 4 professional are what I've got to use. I had to make
one
> change to the tree view source, in the Delphi source there is tNewData
type
> defined with a bool parameter called 'auto' - this is a reserved word in C
> and C++ so I changed it to 'automatic' instead.
>
> Thanks in advance.
>
> Norman.
>
> --------------------------------------------------------------------------
--
> ----
> Norman Dunbar EMail: Norman.Dunbar@...
> Database/Unix administrator Phone: 0113 289 6265
> Lynx Financial Systems Ltd. URL: http://www.Lynx-FS.com
> --------------------------------------------------------------------------
--
> ----
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>