• 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;

  • 相关阅读:
    级数问题
    放苹果
    _WIN32_WINNT not defined错误 解决办法
    日期大写
    金额大写转换
    选择屏幕字段不允许直接输入…
    OO面向对象ALV小测试
    判断是否有人在操作某张表,并获取…
    屏幕中设置焦点
    前导零
  • 原文地址:https://www.cnblogs.com/wxb-km/p/4869445.html
Copyright © 2020-2023  润新知