parent
8cd8af1f06
commit
930f4a87d1
|
|
@ -1076,8 +1076,8 @@ type TVclDesigner = class(tvcform)
|
||||||
begin
|
begin
|
||||||
if fcutcopyinfo then
|
if fcutcopyinfo then
|
||||||
begin
|
begin
|
||||||
pastinfotonode(nd,fcutcopyinfo);
|
r := pastinfotonode(nd,fcutcopyinfo);
|
||||||
if fcutcopyinfo["name"] then fcutcopyinfo := nil;
|
if fcutcopyinfo["name"] and not(r) then fcutcopyinfo := nil; //如果失败就不清除内容
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
function pastinfotonode(nd,data);
|
function pastinfotonode(nd,data);
|
||||||
|
|
@ -1089,7 +1089,7 @@ type TVclDesigner = class(tvcform)
|
||||||
end
|
end
|
||||||
|
|
||||||
nnd := tc.ComponentCreater(nd,nd.Component.Cwnd);
|
nnd := tc.ComponentCreater(nd,nd.Component.Cwnd);
|
||||||
if not nnd then return ;
|
if not nnd then return 1; //加入失败处理
|
||||||
nnd.CreateName();
|
nnd.CreateName();
|
||||||
FVariableSelecter.additem(nnd);
|
FVariableSelecter.additem(nnd);
|
||||||
BindCwndMessage(nnd.Cwnd);
|
BindCwndMessage(nnd.Cwnd);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue