Skip to main content

TdxMemPersistentOption Enum

Enumerates automatic load options for data persisted in a DFM file.

Declaration

TdxMemPersistentOption = (
    poNone,
    poActive,
    poLoad
);

Members

Name
poNone
poActive
poLoad

Remarks

Options include:

Value Description
poNone “On demand mode”. The component does not load data persisted in a DFM file. You can call the Persistent.LoadData procedure to populate the component with data from the DFM file.
poActive “Active mode”. The component automatically loads data persisted in a DFM file on every Open procedure call.
poLoad “Startup mode”. The component automatically loads data persisted in a DFM file only on an application startup. You can call the Persistent.LoadData procedure to repopulate the component from the DFM file if necessary.

The TdxMemData component’s Persistent.Option property references the TdxMemPersistentOption type.

See Also