diff --git a/designer/tslvcldesigner.tsf b/designer/tslvcldesigner.tsf index 1e51cb6..1488edf 100644 --- a/designer/tslvcldesigner.tsf +++ b/designer/tslvcldesigner.tsf @@ -2382,7 +2382,7 @@ type TGraphicsplitterWindow = class(TDVirutalWindow) width := BindComp.width; height := BindComp.Height; color := BindComp.color; - WindowFileds := array("left","top","width","height","color","visible","enabled","align"); + WindowFileds := array("left","top","width","height","color","parentcolor","visible","enabled","border","align"); end function DesigningSizer();override; diff --git a/designer/udesignerproject.tsf b/designer/udesignerproject.tsf index 96132e4..034666c 100644 --- a/designer/udesignerproject.tsf +++ b/designer/udesignerproject.tsf @@ -486,7 +486,8 @@ type TProjectView = class(TVCForm) // begin n := cn.FPath; CreateDirWithFileName(FCProjectPath+n+fio+"1.txt"); - _wapi.WinExec('cmd.exe /C start "" "'+FCProjectPath+n,1); + //_wapi.WinExec('cmd.exe /C start "" "'+FCProjectPath+n,1); + _wapi.openresourcemanager(FCProjectPath+n); end else begin OpenFileByName(cn.FName); diff --git a/funcext/tvclib/tcustomsplitter.tsf b/funcext/tvclib/tcustomsplitter.tsf index 6842071..0fb3830 100644 --- a/funcext/tvclib/tcustomsplitter.tsf +++ b/funcext/tvclib/tcustomsplitter.tsf @@ -10,6 +10,18 @@ type tcustomsplitter = class(tgraphiccontrol) Width := 6; Height := 100; end + function paint();override; + begin + inherited; + if Border then + begin + r := ClientRect; + dc := Canvas; + dc.pen.color := 0; + dc.pen.Width := 2; + dc.draw("polygon",array(r[0:1],r[array(2,1)],r[array(2,3)],r[array(0,3)],r[0:1])); + end + end function SetAlign(a);override; begin inherited; diff --git a/funcext/tvclib/tslvcl.tsf b/funcext/tvclib/tslvcl.tsf index 2f2de1b..524318f 100644 --- a/funcext/tvclib/tslvcl.tsf +++ b/funcext/tvclib/tslvcl.tsf @@ -2516,7 +2516,7 @@ type tsplitter = class(tcustomsplitter) end function publishs();override; begin - return array("name","enabled","border","left","top","width","height","color","transparent","visible","align"); + return array("name","enabled","border","left","top","width","height","color","parentcolor","transparent","visible","align"); end end