September 23rd, 2003, 03:32 PM
help a Delphi N00bie.
Hi all, Im new to these here forums, but can I be so much of annoyance as to ask this question?
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 single lines from varing text files with varying ammounts of lines. I know some delphi, and Ive looked in the delphi help files, but I aint found any answers that will help me with this one.
Thanks for any help you provide folks,
September 23rd, 2003, 07:31 PM
You can access individual lines in a TMemo component, by using Memo.Lines[xxx] property, where xxx is a number.
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
September 24th, 2003, 07:02 AM