📄 ticket04049.dpr
字号:
library Ticket04049;
{ Important note about DLL memory management: ShareMem must be the
first unit in your library's USES clause AND your project's (select
Project-View Source) USES clause if your DLL exports any procedures or
functions that pass strings as parameters or function results. This
applies to all strings passed to and from your DLL--even those that
are nested in records and classes. ShareMem is the interface unit to
the BORLNDMM.DLL shared memory manager, which must be deployed along
with your DLL. To avoid using BORLNDMM.DLL, pass string information
using PChar or ShortString parameters. }
uses
Forms,
SysUtils,
Classes,
GlobalLibUnit in '..\..\..\科海万能票据V3.0\科海万能票据V3.0Dev\杭州票据源程序\template\GlobalLibUnit.pas',
A0107F002Unit in '..\..\..\科海万能票据V3.0\科海万能票据V3.0Dev\杭州票据源程序\template\A0107F002Unit.pas' {A0107F002Frm},
DataLinkUnit in '..\..\..\科海万能票据V3.0\科海万能票据V3.0Dev\杭州票据源程序\template\DataLinkUnit.pas' {DMMain: TDataModule},
F007Unit in '..\..\..\科海万能票据V3.0\科海万能票据V3.0Dev\杭州票据源程序\template\F007Unit.pas' {F007Frm},
A0106F002Unit in '..\..\..\科海万能票据V3.0\科海万能票据V3.0Dev\杭州票据源程序\template\A0106F002Unit.pas' {A0106F002Frm},
A04049F002Unit in 'A04049F002Unit.pas' {A04040F002Frm},
A04049Unit in 'A04049Unit.pas' {A04040Rep},
LeftAndTopUnit in '..\..\..\科海万能票据V3.0\科海万能票据V3.0Dev\杭州票据源程序\TEMPLATE\LeftAndTopUnit.pas' {LeftAndTopFrm};
{$R *.RES}
function EditCheque(strMain:string;gstrOperaterName,gstrInputMethod:string;strDatabase:string;intLeft,intTop:integer):string;
begin
Application.Initialize;
gstrDBPath := strDatabase;
gintleft:=intleft;
ginttop:=inttop;
Application.CreateForm(TDMMain, DMMain);
Application.CreateForm(TA04040F002Frm, A04040F002Frm);
A04040F002Frm.gstrOperaterName:=gstrOperaterName;
A04040F002Frm.gstrInputMethod:=gstrInputMethod;
A04040F002Frm.Tag:=0;
A04040F002Frm.striniHelpName:=ExtractFilePath(Application.EXEName)+'\ini\Help.ini';;
A04040F002Frm.strEditArray[0]:=strMain;
A04040F002Frm.ShowModal;
A04040F002Frm.Free;
DMMain.Free;
end;
function AddCheque(gstrOperaterName,gstrInputMethod:string;strDatabase:string;intLeft,intTop:integer):string;
begin
Application.Initialize;
gstrDBPath := strDatabase;
gintleft:=intleft;
ginttop:=inttop;
Application.CreateForm(TDMMain, DMMain);
Application.CreateForm(TA04040F002Frm, A04040F002Frm);
A04040F002Frm.gstrOperaterName:=gstrOperaterName;
A04040F002Frm.gstrInputMethod:=gstrInputMethod;
A04040F002Frm.Tag:=1;
A04040F002Frm.striniHelpName:=ExtractFilePath(Application.EXEName)+'\ini\Help.ini';;
A04040F002Frm.ShowModal;
A04040F002Frm.Free;
DMMain.Free;
end;}
Exports EditCheque,AddCheque;
begin
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -