parent
14e4839144
commit
147a737e12
|
|
@ -1644,6 +1644,21 @@ type tdirviewer = class(tcustomcontrol)
|
||||||
end
|
end
|
||||||
FTree.PopupMenu := mus;
|
FTree.PopupMenu := mus;
|
||||||
FTree.OnSelChanged := thisfunction(treenodeselchanged);
|
FTree.OnSelChanged := thisfunction(treenodeselchanged);
|
||||||
|
ftree.OnDblClick := function(o,e)
|
||||||
|
begin
|
||||||
|
//echo "dblcock\r\n";
|
||||||
|
nd := ftree.CurrentNode;
|
||||||
|
if not nd then return ;
|
||||||
|
ins := Fnodeinfos[nd.handle];
|
||||||
|
if ins.isfile then
|
||||||
|
begin
|
||||||
|
fn := ins.fullname();
|
||||||
|
if 1= parseregexpr("\\.(?:tsl|tsf|txt|js|py|css|xml|html|htm|c|cpp|cc|cmd|tfm|bat|h)$",fn,"i",m,mp,ml) then
|
||||||
|
begin
|
||||||
|
editnode();
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
selnowork();
|
selnowork();
|
||||||
end
|
end
|
||||||
function treenodeselchanged(o,e);
|
function treenodeselchanged(o,e);
|
||||||
|
|
|
||||||
|
|
@ -1943,7 +1943,7 @@ begin
|
||||||
o := class(TDComponent);
|
o := class(TDComponent);
|
||||||
o.RegestorClassItems(its);
|
o.RegestorClassItems(its);
|
||||||
its := array();
|
its := array();
|
||||||
o.class(TPropGrid);
|
o := class(TPropGrid);
|
||||||
for i,v in ini.ReadSectionValues("properties") do //ÊôÐÔ
|
for i,v in ini.ReadSectionValues("properties") do //ÊôÐÔ
|
||||||
begin
|
begin
|
||||||
if v then
|
if v then
|
||||||
|
|
|
||||||
|
|
@ -573,6 +573,7 @@ type tcontrol = class(tcomponent)
|
||||||
d := new tvclwindowpos_class(0);
|
d := new tvclwindowpos_class(0);
|
||||||
if SizeChanged then
|
if SizeChanged then
|
||||||
begin
|
begin
|
||||||
|
if AWidth=-3200 or AHeight = -3200 then exit ;
|
||||||
d.cx := AWidth;
|
d.cx := AWidth;
|
||||||
d.cy := AHeight;
|
d.cy := AHeight;
|
||||||
D.flags := SWP_NOMOVE;
|
D.flags := SWP_NOMOVE;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
type TGdiplusflat=class
|
type TGdiplusflat=class()
|
||||||
{**
|
{**
|
||||||
@explan(说明)gdi+ 的c接口函数 %%
|
@explan(说明)gdi+ 的c接口函数 %%
|
||||||
**}
|
**}
|
||||||
|
|
|
||||||
|
|
@ -8529,7 +8529,7 @@ begin
|
||||||
end
|
end
|
||||||
unit(uvclthreadworker).RunThreadWorkerHost();
|
unit(uvclthreadworker).RunThreadWorkerHost();
|
||||||
GLobal G_GTK_MESSAGE_QUEUE_A;
|
GLobal G_GTK_MESSAGE_QUEUE_A;
|
||||||
if r=0 then sleep(1);
|
if r=0 then sleep(30);
|
||||||
//G_GTK_MESSAGE_QUEUE_A.idleworked := r;
|
//G_GTK_MESSAGE_QUEUE_A.idleworked := r;
|
||||||
return true;
|
return true;
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue