zoukankan      html  css  js  c++  java
  • TMS Scripter importtool的使用

    uses ap_DateUtils; showmessage(dayof(now));  

    //注册delphi对象或变量 : IDEScripter1   IDEScripter1.AddConstant('Appath',Appath);   IDEScripter1.AddObject('memo1',memo1);   IDEScripter1.AddObject('dbqry',DBISAMQuery1);   IDEScripter1.AddObject('prnt',PrintDBGridEh1);   IDEScripter1.AddObject('DBGridEh1',DBGridEh1);   IDEScripter1.AddObject('RMReport',RMFormReport1);   IDEScripter1.AddComponent(DBISAMQuery1);

    SysUtils, Classes, Controls, Graphics, StdCtrls, UniGUIInterfaces,   UniGUIClasses, UniGUITypes;

    uniMemo

    ObjectToVar

    procedure TatuniGUIAbstractClassesLibrary.__GetTUniTreeNodeFont(AMachine: TatVirtualMachine); var   AResult: variant; begin   with AMachine do   begin     AResult:=string(TUniTreeNode(CurrentObject).Font);     ReturnOutputArg(AResult);   end; end;

    procedure TatuniGUIAbstractClassesLibrary.__SetTUniTreeNodeFont(AMachine: TatVirtualMachine); begin   with AMachine do   begin     TUniTreeNode(CurrentObject).Font:=TUniFont(VarToObject(GetInputArg(0)));   end; end;

  • 相关阅读:
    博客园转文章的方法
    http协议相关面试题
    接口测试基础01
    文件上传下载
    括号-回溯
    幂集-回溯
    分割数组为连续子序列- -贪心法
    不使用临时变量交换数字
    计数质数
    拼接最大值
  • 原文地址:https://www.cnblogs.com/wxb-km/p/4869445.html
Copyright © 2011-2022 走看看