Skip to main content

TdxBarDBEnableType Enum

Defines the types of changes to the dataset’s state that affect the Enabled property of the items.

Declaration

TdxBarDBEnableType = (
    dxdbtCanModify,
    dxdbtNotEOF,
    dxdbtNotBOF,
    dxdbtHasRecords,
    dxdbtIsModified,
    dxdbtIsNotModified
);

Members

Name
dxdbtCanModify
dxdbtNotEOF
dxdbtNotBOF
dxdbtHasRecords
dxdbtIsModified
dxdbtIsNotModified

Remarks

The TdxBarDBEnableTypes represents the types of changes to the dataset’s state that affect the Enabled property of the items via the TdxBarDBCheckLink object. The item is enabled when all the specified types correspond to the current dataset’s state.

All the possible values are listed in the following table.

Value Meaning
dxdbtCanModify If set, the Enabled property is True when the application can modify data in a dataset.
dxdbtNotEOF If set, the Enabled property is True when the cursor has not reached the end of the table.
dxdbtNotBOF If set, the Enabled property is True when the cursor has not reached the beginning of the table.
dxdbtHasRecords If set, the Enabled property is True if a dataset is not empty.
dxdbtIsModified If set, the Enabled property is True when a dataset’s state is dsEdit.
dxdbtIsNotModified If set, the Enabled property is True when a dataset’s state is dsBrowse.
See Also