Setting shadow comes up fine in designer, but not at runtime.
this.tChart1.Panel.Shadow.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(0)), ((System.Byte)(0)));
this.tChart1.Panel.Shadow.Height = 5;
this.tChart1.Panel.Shadow.Width = 5;
how come?
Shadow color doesn't work
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi dhait,
You need to make panel shadow visible at run-time, the working code is:
You need to make panel shadow visible at run-time, the working code is:
Code: Select all
this.tChart1.Panel.Shadow.Visible=true;
this.tChart1.Panel.Shadow.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(0)), ((System.Byte)(0)));
this.tChart1.Panel.Shadow.Height = 5;
this.tChart1.Panel.Shadow.Width = 5;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |