RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DBCtrls.TNavigateBtn Enumeration

TNavigateBtn defines values identifying different possible buttons on a TDBNavigator object.

Pascal
TNavigateBtn = (
  nbFirst,
  nbPrior,
  nbNext,
  nbLast,
  nbInsert,
  nbDelete,
  nbEdit,
  nbPost,
  nbCancel,
  nbRefresh
);
C++
enum TNavigateBtn {
  nbFirst,
  nbPrior,
  nbNext,
  nbLast,
  nbInsert,
  nbDelete,
  nbEdit,
  nbPost,
  nbCancel,
  nbRefresh
};

DBCtrls

Each TNavigateBtn value identifies a different button that can appear on a TDBNavigator object. The following table lists all the button types, their corresponding TNavigateBtn values, and the action associated with each button: 

ButtonValueAction

Button 
Value 
Action 
First  
nbFirst  
Go to the first record  
Prior  
nbPrior  
Go to the previous record  
Next  
nbNext  
Go to the next record  
Last  
nbLast  
Go to the last record  
Insert  
nbInsert  
Insert a blank record  
Delete  
nbDelete  
Delete the current record  
Edit  
nbEdit  
Permit users to edit the current record  
Post  
nbPost  
Post the current record  
Cancel  
nbCancel  
Cancel the current edit  
Refresh  
nbRefresh  
Refresh the data in the dataset  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!