procedure CHNDBNavigator(ADBNavigator:TDBNavigator);
var
  i:Integer;
begin
  with ADBNavigator do
     for   I   :=   0   to   ComponentCount   -   1   do
          if   Components[I]   is   TNavButton   then   begin
              case   TNavButton(Components[I]).Index   of
                  nbFirst:   TNavButton(Components[I]).Caption   :=   '首笔';
                  nbPrior:   TNavButton(Components[I]).Caption   :=   '上笔';
                  nbNext:   TNavButton(Components[I]).Caption   :=   '下笔';
                  nbLast:   TNavButton(Components[I]).Caption   :=   '末笔';
                  nbInsert:   TNavButton(Components[I]).Caption   :=   '新增';
                  nbDelete:   TNavButton(Components[I]).Caption   :=   '删除';
                  nbEdit:   TNavButton(Components[I]).Caption   :=   '修改';
                  nbPost:   TNavButton(Components[I]).Caption   :=   '保存';
                  nbCancel:   TNavButton(Components[I]).Caption   :=   '取消';
                  nbRefresh:   TNavButton(Components[I]).Caption   :=   '刷新';
              end;  
          end;
  ADBNavigator.Flat:=True;
  ADBNavigator.ShowHint:=false;
end;  

 

相关文章:

  • 2021-04-16
  • 2021-11-11
  • 2021-12-04
  • 2021-11-30
  • 2021-11-17
  • 2021-12-25
  • 2021-12-27
  • 2021-07-22
猜你喜欢
  • 2022-12-23
  • 2022-01-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案