Closed MAUROFAILO closed 2 weeks ago
It's not a problem of transparency of the image, but of the panel that contains the image. Please try to change ParentColor to True of IconContainer Panel into unit Vcl.StyledTaskDialogFormUnit.pas and give me a feedbck. Thanks.
No. The problem remain.
I change to True too, Parentcolor of CentralPanel end Imagepanel (The Owner of IconContainer), but the problem is not resolved.
The problem is Parentbackground. It must be set to True in all the panel and owner panel. Verify. Give me a feedbck. Thanks.
In TStyledTaskDialog then Image is not Trasparent. The code i this:
Function CreateInformationDialogOK(Messaggio:String):TStyledTaskDialog; Var StyledTaskDialog1:TStyledTaskDialog; Begin StyledTaskDialog1:=TStyledTaskDialog.create(Nil); With StyledTaskDialog1 do Begin mainIcon:=tdiInformation; Caption:='Informazione'; Title:='Attenzione:'; Text:= Messaggio; CommonButtons:=[tcbOk]; DefaultButton:=tcbOk; End; Result:=StyledTaskDialog1; End;