Vcl.Bind.Navigator.TBindNavigator

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.Bind.Navigator.TCustomBindNavigatorVcl.Buttons.TBaseNavigatorVcl.ExtCtrls.TCustomPanelVcl.Controls.TCustomControlVcl.Controls.TWinControlVcl.Controls.TControlSystem.Classes.TComponentTBindNavigator

Delphi

TBindNavigator = class (TCustomBindNavigator)

C++

class PASCALIMPLEMENTATION TBindNavigator : public TCustomBindNavigator

Properties

Type Visibility Source Unit Parent
class public
Vcl.Bind.Navigator.pas
Vcl.Bind.Navigator.hpp
Vcl.Bind.Navigator Vcl.Bind.Navigator

Description

The binding navigator that you use in VCL applications in order to access the records in a dataset.

TBindNavigator derives directly from TCustomBindNavigator and publishes a set of properties to the Object Inspector.

VCLBindNavigator.png

Use the TBindNavigator navigator on VCL forms to connect through LiveBindings to various other components that will receive or send data through binding expressions. TBindNavigator lets you control the dataset when editing or viewing the data.

TBindNavigator can show any or all of the following buttons.

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 off the Insert and Edit states, if they are active.

Refresh

Refreshes the buffered data in the associated dataset. Cancels edits for all edited records, restores the record display to its condition prior to editing, and turns off Insert and Edit.

See Also