TDataSet |
Top Previous Next |
DFM-Translator > Special assignments > TDataSet A special case when converting DFM files concerns TDataSets. Properties that affect the status of a database or the display of its data can only be changed if the corresponding dataset is deactivated. If a dataset is set to active in a DFM file, this assignment will be shifted to the end of the generated C++ code.
If properties of a dataset in a frame are changed the Active property is temporarily set to false and reset to it's original value at the begin and at the end of the changes by means of the procedures
void OnTDataSetBegin(TDataSet* xp); void OnTDataSetEnd(TDataSet* xp);
|
This page belongs to the Delphi2Cpp Documentation |
Delphi2Cpp home Content |