What Are Data Modules?

   

Data modules enable you to separate access to your data (and to nonvisual components ) from the user interface presented by your forms. This offers an extremely powerful and visually oriented way to create the nonvisual portions of your systems, especially when coupled with the C++Builder capabilities provided by form inheritance.

A data module is a special kind of form, with its own form designer. Any nonvisual component can be dropped into a data module from the Component Palette. Most often, these are database-oriented components such as TTable , Tquery , and TDataSource , but the data module is not limited to those components. Components such as TTimer and TActionList are also frequently found in data modules.

You can add data modules to the Object Repository, just like forms, and you can copy or inherit from the data modules you put in the repository ”also just like forms.


   
Top


C++ Builder Developers Guide
C++Builder 5 Developers Guide
ISBN: 0672319721
EAN: 2147483647
Year: 2002
Pages: 253

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net