Page 1 of 1

About DefaultCanvas

Posted: Tue Aug 02, 2016 6:33 am
by 16578522
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

Re: About DefaultCanvas

Posted: Tue Aug 02, 2016 3:01 pm
by 10050769
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