Hi
I am trying to assign gradient colors to a TButtonGradient control at run time.
BG.Gradient.StartColor := clred;
When this line executes I receive an Access Violation, is there something I am doing wrong?
Delphi 2007/ TeeChart 8.02
TButtonGradient Access Violation
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Rclement,
I'm not able to reproduce the issue here using Delphi 2007, v8.02 and the code below. Does it work fine at your end? Could you please modify it so that we can reproduce the issue here?
Thanks in advance.
I'm not able to reproduce the issue here using Delphi 2007, v8.02 and the code below. Does it work fine at your end? Could you please modify it so that we can reproduce the issue here?
Code: Select all
Chart1.Gradient.Visible:=true;
ButtonGradient1.LinkGradient( Chart1.Gradient );
ButtonGradient1.Gradient.StartColor:=clRed;
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 |