界面库

细节优化
This commit is contained in:
JianjunLiu
2022-09-05 09:05:01 +08:00
parent 9509c2b1a6
commit 11c84635ee
3 changed files with 7 additions and 7 deletions
+2 -1
View File
@@ -150,8 +150,9 @@ uses utslvclauxiliary,UVCPropertyTypesPersistence,utslvclbase;
end;
procedure RemoveNotification(AComponent:TComponent);
begin
FFreeNotifies.Remove(AComponent);
r := FFreeNotifies.Remove(AComponent);
if FFreeNotifies.count()<1 then includestate(FComponentState,csFreeNotification);
return r;
end
#!end
protected
+1 -2
View File
@@ -376,8 +376,7 @@ type tarray1dlk=class //
@explan(说明) 删除 %%
@param(i)(integer) id %%
**}
//len := length(_data)-1;
if i<0 or i >= _len then return-1;
if i<0 or i >= _len then return 0;
_len -= 1;
r := deleteindex(_data,i,1);
dochanged("del");