[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'DBCtrls' (#lcl)

TDBNavButtonType

TDBNavButtonType.

Declaration

Source position: dbctrls.pp line 1319

type TDBNavButtonType = (

  nbFirst,

  

Represents the First button used to navigate to the beginning of a dataset.

  nbPrior,

  

Represents the Prior button used to navigate to the previous record in a dataset.

  nbNext,

  

Represents the Next button used to navigate to the next record in a dataset.

  nbLast,

  

Represents the Last button used to navigate to the last record in a dataset.

  nbInsert,

  

Represents the Insert button used to create a new record in a dataset.

  nbDelete,

  

Represents the Delete button used to delete the current record in a dataset.

  nbEdit,

  

Represents the Edit button used to enable edit mode for the current record in a dataset.

  nbPost,

  

Represents the Post button used to apply pending changes to a record in a dataset.

  nbCancel,

  

Represents the Cancel button used to cancel pending updates to a dataset.

  nbRefresh

  

Represents the Refresh button used to refresh the records in a dataset.

);

Description

TDBNavButtonType is an enumerated type with values that represent button types (and their corresponding glyphs) in a database navigation control. TDBNavButtonType enumeration values are used when accessing the Buttons and Images in TDBCustomNavigator, and when accessing the default resource names in DBNavButtonResourceName.

See also

TDBCustomNavigator.Buttons

  

The list of Buttons included in the navigator tool.

TDBCustomNavigator.Images

  

Contains the images available for display on the navigator buttons.

DBNavButtonResourceName

  

Default resource names for the buttons displayed in TDBCustomNavigator.


Version 3.2 Generated 2024-02-25 Home