The Visual Component Framework is an Open Source project, so feel free to grab and use it if you think it might be useful. The FoundationKit provides the basic core classes and the advanced RTTI capabilities of the framework. Early on I knew I needed some sort of RTTI, or reflection, similar to what is provided in Java or ObjectPascal. This was a requirement because visual design environments need to a way to expose a component's properties and events, and to provide a way to edit them in a consistent, customizable and extendable manner. With this in mind the framework allows the developer to query an object for its Class , which in turn provides access to the class's name, superclass, Properties, Events and Methods.
Class is an abstract base class that template classes device from.
This will prove useful when distributed features creep in. A property is defined as some class attribute that is provided access to via getter and setter methods. Properties can also be collections of other objects. This of course assumes a default constructor is available. In order for the RTTI to work in the Framework developers of derived classes must do three things for their classes to participate in the Framework.