TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
-
Enver2023
- Newbie
- Posts: 2
- Joined: Fri Oct 21, 2022 12:00 am
Post
by Enver2023 » Mon Dec 11, 2023 4:09 pm
I have chart on some frame include some other frame components,
on frame i have button for seeing a chart and chart parameters component on some form:
code
Code: Select all
var wc:twincontrol;
begin
mdiform.Caption:='TestID: '+self.eTextID.Text+' '+self.lTest.Caption;
wc:=pChart.Parent;
pChart.Parent:=mdiform;
bModalView.Visible:=false;
mdiform.ShowModal;
bModalView.Visible:=true;
pChart.Parent:=wc;
end;
when changing to modalview it show some rectangle on chart, i think it is about scrollpager but i don't know hot to remove that rectangle?
-
Attachments
-
- teechart-What is this-1.jpg (139.95 KiB) Viewed 20618 times
-
- teechart-What is this-2.jpg (99.04 KiB) Viewed 20618 times
-
Yeray
- Site Admin
- Posts: 9613
- Joined: Tue Dec 05, 2006 12:00 am
- Location: Girona, Catalonia
-
Contact:
Post
by Yeray » Wed Dec 13, 2023 10:53 am
Hello,
I'm not sure how to reproduce the problem.
Can you reproduce it in a new simple project?
-
Enver2023
- Newbie
- Posts: 2
- Joined: Fri Oct 21, 2022 12:00 am
Post
by Enver2023 » Thu Dec 14, 2023 10:53 am
I solved it by creating scrollpager in code.
When we create scrollpage in designer it reproduce rectanlgle problem.
-
Yeray
- Site Admin
- Posts: 9613
- Joined: Tue Dec 05, 2006 12:00 am
- Location: Girona, Catalonia
-
Contact:
Post
by Yeray » Fri Dec 22, 2023 11:06 am
Hello,
I've created a simple demo creating two TCharts with a TScrollPagerTool, one created at design time and the other at runtime, and I can't see that rectangle in any of them when moving the charts to a different form and back to the main form.
Maybe we are using different TeeChart versions, or I may be missing some other relevant step/property.
Are you using TeeChart v2023.39?