![]() |
|
||||
|
Caché
Delphi Form Wizard
|
|||||
The Form Wizard generates automatically Delphi forms with all the functionality for thedata management of an object.
The wizard retrieves the class information from the data-dictionary of Caché, and build a form with the right controls for each property.
Editboxes are used for Strings, a convenient DateTimepicker control for date fields (this has a nice calendar fucntion), and references to other objects are displayed byusing combo boces which automatically retrieve the data out of the referenced class.
The first screen of the Wizard lets you pick a class, it immediately builds the form and you have the possibility to directly run the form (you don't need a copy of Delphi to run the form!).
You can save the source code of the form to insert it into a Delphi project, and there are also some etra functions like a report generator.

A generated form looks like this, of course, you an change the form in Delphi :

The combobox Land (Country) will display all the countries of this class when you click on the Combobox.
All buttons are enabled/disabled automatically according to the state of the object.
The wizard makes use of the Caché Aware components, if you look at the source code of the generated form, you will not see any Pascal code, since the components take care of the actual data retrieval, display and store functions. All code is put into these components, which makes your code very readable since only added functionality will be visible in your project. This makes your software highly maintainable and easy to debug.