Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxMemPersistent Class

Contains record storage settings in a memory-based dataset.

#Declaration

Delphi
TdxMemPersistent = class(
    TPersistent
)

#Remarks

In addition to data import and export functionality, the TdxMemData component can store data in a DFM file.

#Main API Members

The list below outlines key members of the TdxMemPersistent class. These members allow you to configure data storage settings and manage stored data in a DFM file.

#DFM Data Storage

Option
Specifies the active data storage mode.
LoadData
Loads data from a DFM file on demand if the Option property is set to poNone or poLoad.
SaveData
Saves data to a DFM file.

#General-Purpose API Members

Assign
Copies record storage settings between TdxMemData components.
HasData
Allows you to identify if the TdxMemData component stores data in a DFM file.
MemData
Provides access to the parent TdxMemData component.

#Direct TdxMemPersistent Class Reference

The TdxCustomMemData.Persistent property references a TdxMemPersistent object.

#Inheritance

TObject
TPersistent
TdxMemPersistent
See Also