parent
eb2b6a7a44
commit
2265e8fe3d
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -2510,6 +2510,9 @@ type tcoolbar = class(tcustomcoolbar)
|
|||
end
|
||||
end
|
||||
type tsplitter = class(tcustomsplitter)
|
||||
{**
|
||||
@explan(说明) splitter 控件 %%
|
||||
**}
|
||||
function create(AOwner);
|
||||
begin
|
||||
inherited;
|
||||
|
|
|
|||
Loading…
Reference in New Issue