Hi,
When I highlight an item in the DBtree, I would like to have the Table goto
the appropriate record.
How do I achieve this?
If there is an example I have not spotted, I apologise, please just tell me
the filename.
Best Wishes
Tony Hunt
TDBTreee Synchronising Tables
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Tony,
To refresh the DBChart you have to do it in a similar way as in the example you can find at the features demo project under:
All Features -> Welcome ! -> DataBase Charts -> Single Record. You'll find the demo at TeeChart's program group.
To refresh the DBChart you have to do it in a similar way as in the example you can find at the features demo project under:
All Features -> Welcome ! -> DataBase Charts -> Single Record. You'll find the demo at TeeChart's program group.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Hi Narcis,
Thank you for the quick response. I am indeed using the AfterAdd event in Charts as in the excellent samples.
Regrettably it is not the Charts I am having problems with but the TDBTree object.
Is there an AfterAdd event for the TDBTree or a similar way to acheive the same result?
Best Wishes.
Tony Hunt
Thank you for the quick response. I am indeed using the AfterAdd event in Charts as in the excellent samples.
Regrettably it is not the Charts I am having problems with but the TDBTree object.
Is there an AfterAdd event for the TDBTree or a similar way to acheive the same result?
Best Wishes.
Tony Hunt
Hi,
This is not directly supported in TDBTree, but you can easily get this functionality by using the Data property of a node. Attach to this property a record or an object which contains the key information. When you click on the node, you use that key information for looking up the right record in your table.
Regards,
Tom.
This is not directly supported in TDBTree, but you can easily get this functionality by using the Data property of a node. Attach to this property a record or an object which contains the key information. When you click on the node, you use that key information for looking up the right record in your table.
Regards,
Tom.