Solved

TCHART problem

Posted on 2002-06-22
3
338 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now