About DefaultCanvas

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
johnnix
Newbie
Newbie
Posts: 16
Joined: Mon Jun 20, 2016 12:00 am

About DefaultCanvas

Post by johnnix » Tue Aug 02, 2016 6:33 am

Hello,

I have been facing a strange issue with a new application I developed where code from previous projects was not executed correctly under Windows 7. I tried to compare my chart objects and looking at a form as text I realised that my new charts were missing the DefaultCanvas = 'TTeeCanvas3D' entry, actually it was empty DefaultCanvas = ''. Is there a way to fix this using the chart editor dialog or I have to go through fixing this manually?

Reagards

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: About DefaultCanvas

Post by Sandra » Tue Aug 02, 2016 3:01 pm

Hello johnnix,

The problem appears for you is strange. I have tried to reproduce it here, removing the default canvas from. dfm unit. The resuslt is the project works is open without problems.

Could you send us the project you are using because we can see the problem?

Anyway, you can fix the problem, manually, as you said. You should edit the. dfm unit by text editor (notepad or notepad++) and replace the DefaultCanvas = ' ' to DefaultCanvas = 'TTeeCanvas3D'

Thanks in advance
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply