There is a reproducable error when placing a frame on a form if the frame contains a TChart with a ScrollPager tool.
Attached are two error messages along with a demo project.
The problem shows up when you
- create an empty VCL project
- create a new frame
- put a TChart on that frame
- place the frame on the mainform
Until now, there is no problem, the project can be compiled, run, saved and reloaded without errors.
Next, add a scrollpager tool to the frames chart, the problems start now.
Delphi is complaining about a component with an empty propertyname.
The problem is very similar to Tcursortool reportes a few days age.
To me it seems that its the same cause.
Delphi 10.1 running under Windows10, TeeChart Pro 2017.22.170619 32Bit VCL
Regards
Gerhard Sachs
Issue with Frames and TScrollPager
Issue with Frames and TScrollPager
- Attachments
-
- ScrollPagerMessage2.JPG (17.24 KiB) Viewed 7335 times
-
- ScrollPagerMessage1.JPG (25.81 KiB) Viewed 7331 times
-
- Frame_PageScrollerProblem.zip
- (75.09 KiB) Downloaded 575 times
Re: Issue with Frames and TScrollPager
Hello,
I see the TSubChartTool is created without a name in the .dfm. You can open the frameUnit2.dfm as text and modify the line:
To have this:
With this modification everything works without errors. Could you please confirm it?
I see the TSubChartTool is created without a name in the .dfm. You can open the frameUnit2.dfm as text and modify the line:
Code: Select all
object TSubChartTool
Code: Select all
object SubChartTool1: TSubChartTool
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Issue with Frames and TScrollPager
Hello,
after giving the TSubChartTool a name, the software works without problems.
But there is still some mystery.
In the frames dfm file the Chart has two subcomponents, the TScrollPagerTool with the name ChartTool1.
This tool exists with this name both in the dfm and the pas file.
Second, the TSubChartTool that had no name and exists only in the dfm, but not in the pas file.
How is this problem going to be solved ?
Regards
Gerhard
after giving the TSubChartTool a name, the software works without problems.
But there is still some mystery.
In the frames dfm file the Chart has two subcomponents, the TScrollPagerTool with the name ChartTool1.
This tool exists with this name both in the dfm and the pas file.
Second, the TSubChartTool that had no name and exists only in the dfm, but not in the pas file.
How is this problem going to be solved ?
Regards
Gerhard
Re: Issue with Frames and TScrollPager
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |