Fmx.Bind.Navigator.TBindNavigateBtn
Delphi
TBindNavigateBtn = TNavigateButton;
C++
typedef Data::Bind::Controls::TNavigateButton TBindNavigateBtn;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum typedef |
public | Fmx.Bind.Navigator.pas Fmx.Bind.Navigator.hpp |
Fmx.Bind.Navigator | Fmx.Bind.Navigator |
Description
Enumeration of buttons used by a TCustomBindNavigator descendant.
Each TBindNavigateBtn value identifies a different button that can appear on a TCustomBindNavigator descendant object. The following table lists all the button types, their actions, and the description of each button.
Value | Button | Purpose |
---|---|---|
|
First |
Sets the current record to the first record in the dataset, disables the First and Prior buttons, and enables the Next and Last buttons, if they are disabled. |
|
Prior |
Sets the current record to the previous record and enables the Last and Next buttons, if they are disabled. |
|
Next |
Sets the current record to the next record and enables the First and Prior buttons, if they are disabled. |
|
Last |
Sets the current record to the last record in the dataset, disables the Last and Next buttons, and enables the First and Prior buttons, if they are disabled. |
|
Insert |
Inserts a new record before the current record and sets the dataset into Insert and Edit states. |
|
Delete |
Deletes the current record and makes the next record the current record. |
|
Edit |
Puts the dataset into Edit state so that the current record can be modified. |
|
Post |
Writes changes in the current record to the database. |
|
Cancel |
Cancels edits to the current record, restores the record display to its condition prior to editing, and turns the off Insert and Edit states, if they are active. |
|
Refresh |
Refreshes the buffered data in the associated dataset. |