diff --git a/funcext/tvclib/tcontrol.tsf b/funcext/tvclib/tcontrol.tsf index f3e4929..743af3f 100644 --- a/funcext/tvclib/tcontrol.tsf +++ b/funcext/tvclib/tcontrol.tsf @@ -438,9 +438,9 @@ type tcontrol = class(tcomponent) begin FVisible := Value?true:false; end - procedure DoOnParentHandleDestruction;virtual; - begin - end + //procedure DoOnParentHandleDestruction;virtual; + //begin + //end #!end protected diff --git a/funcext/tvclib/tcustomcontrol.tsf b/funcext/tvclib/tcustomcontrol.tsf index e068267..ca605a2 100644 --- a/funcext/tvclib/tcustomcontrol.tsf +++ b/funcext/tvclib/tcustomcontrol.tsf @@ -3,6 +3,7 @@ type tcustomcontrol=class(TWinControl) {** @explan(说明) 自绘制窗口控件 %% **} + //20220908添加splitter功能 private FOnPaint:TNotifyEvent; protected @@ -128,6 +129,7 @@ type tcustomcontrol=class(TWinControl) function WMMouseMove(o,e);override; //移动 begin if fhasspliter<1 then return inherited; + if csDesigning in ComponentState then return inherited; if fsplitterdraging then begin cimgst(); diff --git a/funcext/tvclib/tgraphiccontrol.tsf b/funcext/tvclib/tgraphiccontrol.tsf index e3d7793..59ad0be 100644 --- a/funcext/tvclib/tgraphiccontrol.tsf +++ b/funcext/tvclib/tgraphiccontrol.tsf @@ -48,12 +48,12 @@ type tgraphiccontrol = class(TControl) //_wapi.DrawEdge(Canvas.handle,const ClientRect,EDGE_ETCHED,BF_RECT); //_wapi.DrawFocusRect(Canvas.Handle,const ClientRect); end - procedure DoOnChangeBounds();override; - begin - end - procedure DoOnParentHandleDestruction;override; - begin - end + //procedure DoOnChangeBounds();override; + //begin + //end + //procedure DoOnParentHandleDestruction;override; + //begin + //end function InvalidateRectForce(); begin if Parent then diff --git a/funcext/tvclib/tslvcl.tsf b/funcext/tvclib/tslvcl.tsf index 524318f..19e075e 100644 --- a/funcext/tvclib/tslvcl.tsf +++ b/funcext/tvclib/tslvcl.tsf @@ -2510,6 +2510,9 @@ type tcoolbar = class(tcustomcoolbar) end end type tsplitter = class(tcustomsplitter) + {** + @explan(说明) splitter 控件 %% + **} function create(AOwner); begin inherited;