Hello,
How can I write "Form1.Edit1.SetFocus;" from Form2
when Form2 (Unit2) is in the Uses List of Form1 (Unit1)?
If I include Unit1 in the Uses List of Unit2 then I get an error because Unit1 and Unit2 references eachother!
Thanks in advance!
Hi,
That helped a lot!
Now there is only one problem:
When I have saved the StringList, and try to open it again (LoadFromFile), then I get an "Access Violation".
I can solve this by chanching Values.free to Values.Clear,
but I do really want to free the memory after saving the List.. Thanks...
I have found the following, but it does not help me going on:
Proberty YValue[Index:Longint]:Double
I can save a StringList without problems by writing:
StringList.SaveToFile(SaveDialog1.FileName);
I am pretty sure I cannot use SaveToFile in this case, but what else?
Regards
Hi All,
Can someone tell me how to save the YValues from a chart?
I have tried with something like:
Chart1.SeriesList.Series[0].YValues.SaveToFile(SaveDialog1.FileName);
But then it writes: undeclared identifier 'SaveToFile'.
What is the problem?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.