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

TdxMemPersistentOption Enum

Enumerates load options for data stored in a DFM file.

#Declaration

Delphi
TdxMemPersistentOption = (
    poNone,
    poActive,
    poLoad
);

#Members

Name Description
poNone

On Demand Mode. The memory-based dataset does not load data from a DFM file automatically.

You can call the dataset’s Persistent.LoadData procedure to load data from a DFM file on demand.

poActive

Default. Active Mode

The memory-based dataset automatically loads data from a DFM file every time you call the Open procedure.

poLoad

Startup Mode. The memory-based dataset automatically loads data from a DFM file at application startup (only once).

You can call the dataset’s Persistent.LoadData procedure at any moment to reload data from a DFM file on demand.

#Remarks

In addition to data import and export functionality, the TdxMemData component can store data in a DFM file. Different data load options allow you to change the component’s data storage behavior.

#Direct TdxMemPersistentOption Type Reference

The TdxMemPersistent.Option property references the TdxMemPersistentOption type.

See Also