码迷,mamicode.com
首页 > 其他好文 > 详细

TMS Scripter importtool的使用

时间:2015-10-11 16:43:16      阅读:274      评论:0      收藏:0      [点我收藏+]

标签:

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;

TMS Scripter importtool的使用

标签:

原文地址:http://www.cnblogs.com/wxb-km/p/4869445.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!