Search found 4 matches

by Torben Laursen
Tue Sep 14, 2004 9:10 am
Forum: VCL
Topic: Creating new component derived from TChart
Replies: 1
Views: 4586

Creating new component derived from TChart

Hi In C++ builder 6 using TChart version 7.01 I'm trying to make my own component derived from TChart. So make a new package Select Add, New component and use TChart as the ancestor type click OK and try to compile I get: [C++ Error] Chart1.cpp(16): E2352 Cannot create instance of abstract class 'TC...
by Torben Laursen
Mon Sep 13, 2004 9:11 pm
Forum: VCL
Topic: Using CreateButton
Replies: 1
Views: 4344

Using CreateButton

Hi I'm trying to add a button to a TTeeCommander in C++ builder 6.0 using version 7.01 of Tchart I drop a TTeecommander and a TButton on a form and add this code: void __fastcall TForm1::Button1Click(TObject *Sender) { TeeCommander1->CreateButton(310, Button1Click, "Open", "", 0); } It will not comp...
by Torben Laursen
Fri Sep 10, 2004 1:55 pm
Forum: VCL
Topic: Creating series at runtime
Replies: 3
Views: 7366

Hi Marjan Yes a search and kill did the job, but that has just given me a new problem I have a custom chart derived from TChart: *.h file class PACKAGE TEChart : public TChart *.cpp file static inline void ValidCtrCheck(TEChart *) { new TEChart(NULL); } //--------------------------------------------...
by Torben Laursen
Fri Sep 10, 2004 12:13 pm
Forum: VCL
Topic: Creating series at runtime
Replies: 3
Views: 7366

Creating series at runtime

Hi I have updated from version 6 to version 7 for c++ builder 6 and now my code gives me AV's example: create a serie at runtime and set Pointer->Visible to false: TPoint3DSeries *Serie = new TPoint3DSeries(Chart); Serie->Pointer->Visible = false; /// <- this line give me an AV Serie->YValues->Order...