|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home FAQs and Technical Support Canvas Reference Change|
How to Deal with a Canvas Reference Change
How to deal with the canvas reference change that took place with the shift from release 10.0 to 10.1?
The change of the declarations concerning the referencing of a canvas in some event declarations had to be performed in order to support future compiler versions and to improve C++ compatibility. The following declarations are affected by the change:
In any case you should search through your source code for expressions such as 'var XYXYXY: TCanvas' and 'const XYXYXY: TCanvas'. The best way to do this is to use the following regular expression in your search term: 'var .*TCanvas' (or 'const .*TCanvas') and remove the 'var' (or the 'const') substring, respectively.