DataModules

<< Click to Display Table of Contents >>

Navigation:  Technology Overview > Forms and Modules >

DataModules

uniGUI supports adding DataModules to the project. It allows developers to design their app like a standard VCL application, dividing the application business logic among several DataModules. The important thing to remember is that while uniGUI DataModules are identical to standard VCL DataModules in nature, when they are created using the uniGUI wizard, they will be managed automatically for each session (its lifetime will be the same as the session itself). If the DataModule is created using the standard IDE, it is the responsibility of the developer to create and release it when appropriate.

 

Using uniGUI wizard to create a new DataModule

Using uniGUI wizard to create a new DataModule

 

There are two types of DataModules in uniGUI. Application DataModule and Free DataModule.