Solved

TCHART problem

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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
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…

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