Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. larcrik

    RichEdit-->quick

    Thank you for the tips 2ffat. I've finished my project with your help. The code worked just fine. Thanks.
  2. larcrik

    RichEdit-->quick

    Thank you. I'm a new user of Cbuilder and I'm not really familiar with the programm. The code does not work because Append and Insert need AnsiString and RichEdit->Lines[i] returns a TString. That's my dilema. I just can't make it work. So if you could just take a look on that I'd really...
  3. larcrik

    RichEdit-->quick

    I need some help with a RichEdit component. I want to copy some lines from one RichEdit box to another RichEdit box, and I just don't seem to find the write code. I want it to be something like this: for(int i=0;i<14;i++) RichEdit1->Lines= RichEdit2->Lines[i] ...something like this. Can anyone...
  4. larcrik

    BcB help

    Thank you very much 2ffat. You've been a real help.The code works just fine now.
  5. larcrik

    BcB help

    Well it's the same word in every line, " #define ", at the begining of the lines. That's why I tried to overwrite those 7 characters with 0, that's the loop for. If it can't work within the code, I guess I could have another RichEdit box and cut the first word (delimited by a space. all the...
  6. larcrik

    BcB help

    So do you have any idea how can I make the code work with the for included? I still need that line:D.. I need to get rid of the first word in every line. I want only the last part of the sentence(line). (with that done my project is completed). So if you can pls help, if not thanks anyway...
  7. larcrik

    BcB help

    The code works without the "for" line.:D
  8. larcrik

    BcB help

    Thanks 2ffat. I tried, but I don't know what I'm missing.The RichEdit box extends, like something is being written in it. But the text is not visible. Can you pls take a look? thank you.
  9. larcrik

    BcB help

    Hello. I'm not quite familiar with the BCB so pls help me with this. I wrote this code: ----------------------- ifstream in("D:\\config96.h"); ofstream out("D:\\raspuns.h"); string line; while(getline(in,line)) if(line.find("CONFMODE")!= -1){ for(int i=0;i<7;i++) line[i]=0...
  10. larcrik

    CBuilder begginer...help

    Thank you Salem for your advice. I did all of the tasks except the last one. I just can't seem to convert the string into AnsiString after I read and find my word in that file. I tried to modify my file until all I have to do is to load the file into the RichEditBox. But if I do that, I can't...
  11. larcrik

    CBuilder begginer...help

    hello. I'm a new user of CBuilder,..and I need some help.I want to read a file and work with lines, searching for a word.I want those lines to write them in a RichEdit box. How can I do that? (considering the fact that "istream" uses strings and RichEdit uses AnsiStrings?)

Part and Inventory Search

Back
Top