Introduction
PrologWinword Doc
Use case diagram
Class diagram
Seq diag-Click
Seq diag-Double
Example
Project
SourceForge
Download
DTreeFramework
Installation
|
|
Example
of DTreeFramework for Delphi
This is an example how you can use this framework. There are many other
ways to use this but this is the easiest way.
- First of all you have to copy the template files to your own
directory. Change the name as you want. Take a look at the examples for this.
- In ObjectMainModel.pas implement these two methods:
Initialize
Finalize. If you don't have a finalizing code you just leave this free. Please look at
TestModel.pas to learn how to implement the initialize method.
- Now you are ready to implement the "view" directory. Just
use the capabilities of Delphi to design your view. Look at MyRoot and MyView directory.
Don't forget to implement the "node" as well (see MyRoot.pas and MyNode.pas
respectively).
- That's it. You are now ready to run the example program.
The example looks like this:
|