|
 Introduction
Give the real Windows "Look & Feel" to
Clarion applications! - SysTree is the 9th
product in our series of common control
wrapper classes, taking you another step
closer to that Windows look and feel.
Clarion's built-in listbox works fine for
most cases. But take a closer look, it's
quite obvious that this control is no longer
state of the art. If you want to give your
users the controls they know from many other
applications (including the Windows
Explorer, Outlook Express, ...), SysTree is
what you need!
What SysTree is
The main part of SysTree is a wrapper
class for the tree-view common control. The
wrapper is written in 100% pure Clarion code. It allows
you to use tree-view controls, introduced by
Microsoft with Windows 95, in your Clarion
applications! This powerful class
implements over 80 methods (17 of which are
virtual event handlers), giving you full
control over all the styles, settings and
events without struggling in
the depths of api programming.
The SysTree templates make the class
easy to use. You can add a tree-view control
to your application in less than a minute,
without writing a single line of
code (the items would still have to be added,
of course - an empty control doesn't really
attract users ;-)
There's even more: Included in SysTree is another
control template called SysDirTree.
As you might guess from the name, it's a
tree-view control displaying file system
folders! You can have your applications
display an Explorer-like view of the local
drives on your computer, using the system
icons. Again, no hand written code is
necessary. And since the SysDirTree class is
derived from the SysTree class, all the
above mentioned options are available for
SysDirTree, too!
What SysTree is not
This is the most frequently asked
question is "Does SysTree support file
browsing?", and yet the answer is no:
SysTree does not support file
browsing. I didn't want to re-invent the (file
browsing) wheel, but wanted to concentrate on the main
part: SysTree was designed to be a wrapper
class for the tree-view control, and it is to
the max!
It is, however, quite easy to load the
tree-view control from a file. Given the
right database layout, a single, recursive
procedure of less then 10 lines of code is
enough to load the data into the control.
|
|
Linkability
The
table below lists the supported Clarion versions, template chains,
target operating systems and link modes.
|