Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

TCHART problem

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 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