Results 1 to 5 of 5

Thread: Delphi help

  1. #1
    Ive got 10/40w for blood... THCi's Avatar
    Join Date
    Jul 2003
    Location
    Somewhere, sometime, dunno why though.
    Posts
    512
    Thanks
    0
    Thanked
    0 times in 0 posts

    Delphi help

    Hi all,

    I know that some of the peeps on these forums of ours have used delphi before, according to the Skills thread. I was wondering If someone could give me a simple answer to this one:

    Ive made a simple file editor, know I need to know how to load a single line of a text editor, say, line 5.

    It also must be able to load other lines as well, I know how to provide variables from a dialouge box.

    Just not how to do this one.

    Thanks for any help you provide folks,

    THCi.

  2. #2
    Senior Member Nemeliza's Avatar
    Join Date
    Jul 2003
    Posts
    1,719
    Thanks
    1
    Thanked
    5 times in 5 posts
    Explain that again please?

  3. #3
    Ive got 10/40w for blood... THCi's Avatar
    Join Date
    Jul 2003
    Location
    Somewhere, sometime, dunno why though.
    Posts
    512
    Thanks
    0
    Thanked
    0 times in 0 posts
    I wanna load a single line of a text file on my hdd.

    like using a TMemo.Lines(5) or similar, but not having to use a Tmemo box...

  4. #4
    Guest
    Join Date
    Sep 2003
    Location
    Northampton
    Posts
    67
    Thanks
    0
    Thanked
    0 times in 0 posts
    If my memory serves me correct, hmmm ive only been commercially developing in delphi for six years but this is still prolly wrong.

    Cant you create a tstringlist, and do something like stringlist.lines.loadfromfile('filename');

    and then get it using stringlist.lines[5]

    or something similiar.

  5. #5
    Senior Member
    Join Date
    Jul 2003
    Location
    Out There......
    Posts
    223
    Thanks
    1
    Thanked
    0 times in 0 posts
    I know its not the answer but try the Delphi newsgroups. People there are very friendly and also seen to give you an answer.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •