Skip to main content

TdxBarDBNavButtonType Enum

Enumerates button types within a bar’s data-bound navigator.

Declaration

TdxBarDBNavButtonType = (
    dxbnFirst,
    dxbnPrior,
    dxbnNext,
    dxbnLast,
    dxbnInsert,
    dxbnDelete,
    dxbnEdit,
    dxbnPost,
    dxbnCancel,
    dxbnRefresh,
    dxbnAppend
);

Members

Name
dxbnFirst
dxbnPrior
dxbnNext
dxbnLast
dxbnInsert
dxbnDelete
dxbnEdit
dxbnPost
dxbnCancel
dxbnRefresh
dxbnAppend

Remarks

This type lists the values that correspond to buttons within the navigator.

Click the corresponding button to:

Value Description
dxbnFirst Move the cursor to the first record in a dataset.
dxbnPrior Move the cursor to the previous record.
dxbnNext Move the cursor to the next record.
dxbnLast Move the cursor to the last record in a dataset.
dxbnInsert Insert an empty record to a dataset.
dxbnDelete Delete a record from a dataset.
dxbnEdit Enable a dataset’s edit mode. Note that you cannot modify several records simultaneously.
dxbnPost Apply pending changes to a record.
dxbnCancel Abort a dataset’s edit mode.
dxbnRefresh Update a dataset’s view.
dxbnAppend Add an empty record to the end of a dataset.

The navigator’s VisibleButtons property references the TdxBarDBNavButtonType type.

See Also