界面库

整理代码
This commit is contained in:
JianjunLiu 2022-12-07 17:45:07 +08:00
parent 784d0b6a8a
commit bf7bc4c1aa
3 changed files with 6 additions and 19 deletions

View File

@ -8,9 +8,8 @@ interface
**}
function getsenderdatabyid();
function gettslvariableptr(obj);
function getctypesize();
type aefclassobj_=class
type aefclassobj_=class()
{**
@nickname(内存管理对象) %%
@explan(说明)内存操作底层接口伪类 %%
@ -150,14 +149,6 @@ type aefclassobj_=class
end
end
Implementation
function gettslvariableptr(obj);
begin
{**
@explan(说明) 获取变量的地址,在send消息使用 %%
@param(obj)(obj) tsl变量 %%
@return(integer) 变量地址 %%
**}
end
function getctypesize();
begin
{**

View File

@ -1845,11 +1845,7 @@ type TWinControl = class(tcontrol)
y := p.y;
sx := p.width;
sy := p.height;
try
selfid := int64(self(true));
except
selfid := gettslvariableptr(self(true));
end;
selfid := integer(self(true));//int64
saveobj := new TGlobalValues(selfid,self(true));
createwndclass(p);
FDefWndproc := p.subclasswndproc;