zoukankan      html  css  js  c++  java
  • 汉化DBNavigator

    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;  

     
  • 相关阅读:
    vi/vim系统编辑命令使用技巧
    C++基础之智能指针
    C++基础之volatile关键字
    C++基础之强制类型转换
    C++基础之左值、右值与移动语义
    C++基础之对象模型
    C++基础之运行时类型识别RTTI
    C++基础之指针与引用的底层实现
    深度学习之参数计算(CNN为例)
    数学基础之勾股数
  • 原文地址:https://www.cnblogs.com/hnxxcxg/p/2941054.html
Copyright © 2011-2022 走看看