Solved

TCHART problem

Posted on 2002-06-22
3
341 Views
Last Modified: 2010-04-04
TCHART problem

When I create some series at runtime, I want to insert it to TComponentList. How to do that with ONMESSAGE event ?

Thanks.
0
Comment
Question by:vbmn
3 Comments
 
LVL 1

Expert Comment

by:MBo
ID: 7102963
DynSeries:=TLineSeries.Create(Chart1);
DynSeries.ParenChart:=Chart1;
...any Series params

ComponentList.Add(DynSeries);

...
TLineSeries(ComponentList[i]).LinePen.Color:=clRed;
0
 
LVL 2

Author Comment

by:vbmn
ID: 7103218
I was tought to create series with TChartEditorPanel (ADD BUTTON), and put it to TComponentList. It doesn't have to be with ONMESSAGE.
0
 

Accepted Solution

by:
cvbn earned 150 total points
ID: 7105149
You can use string messages on exchanges controls.

Like :

exchangeform:='Exchanged';

and to finished

exchangeform:='';

with ONMESSAGE event.

Thanks.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question