timer - c++builder read coordinate line to line tmemo add one by one tchart -


there x , y coordinate in tmemo1 there timetag in tmemo2 ı want ,

there times seconds want text fill in. adding time , x , y coordinates teechart when program runs. work on rad studio c++ builder vcl form app.

example 0.3 second add (3,5)

example text file:

timetag       x      y  0.3         10        5 

[bcc32 error] unit1.cpp(157): e2034 cannot convert 'tstrings' 'tstrings *' [bcc32 error] unit1.cpp(157): e2342 type mismatch in parameter 'astrings' (wanted 'tstrings *', got 'tstrings') 

void __fastcall tform1::addcordbtnclick(tobject *sender)                       {      for(int i=0;i<memo2->lines->count;i++)         {             timer1->interval=strtoint(memo2->lines->strings[i]);         }             for(int j=0; j<memo1->lines->count; j++)             {                 timer1->enabled=true;                 series1->clear();                 seriestextsource1->loadfromstrings(memo1->lines->strings[j]);               //seriestextsource1->loadfromstrings(memo1->lines[j]); doesnt matter                 timer1->enabled=false;              }  } 


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -