D
dongliang110
Unregistered / Unconfirmed
GUEST, unregistred user!
我在修改TdxCustomFlowChart控件时,想将些控件的的背景改成透明的,
TdxCustomFlowChart= class(TCustomControl)
我在Create方法中向ControlStyle中增加[csOpaque],可是我在调试时,没有加进去。不知什么。ControlStyle里原来有这些
[csCaptureMouse,csClickEvents,csSetCaption,csDoubleClicks]
constructor TdxCustomFlowChart.Create(AOwner: TComponent);
begin
inherited Create(AOwner);
ControlStyle := ControlStyle + [csOpaque];// 我加的,
ControlStyle := ControlStyle - [csCaptureMouse];
TdxCustomFlowChart= class(TCustomControl)
我在Create方法中向ControlStyle中增加[csOpaque],可是我在调试时,没有加进去。不知什么。ControlStyle里原来有这些
[csCaptureMouse,csClickEvents,csSetCaption,csDoubleClicks]
constructor TdxCustomFlowChart.Create(AOwner: TComponent);
begin
inherited Create(AOwner);
ControlStyle := ControlStyle + [csOpaque];// 我加的,
ControlStyle := ControlStyle - [csCaptureMouse];