Re: spell checker

Posted by Jenny, DelphiLand Team on April 26, 2008

In Reply to Re: A spell checker- help in code needed posted by RussCAp12602 on April 26, 2008

: I don't know how you intend to get the file into the memobox, but I would use memobox.loadfromfile().

To load a textfile into the lines of a TMemo, use:


: for i := 0 to MemoBox.Count - 1 do
: begin
: Now parse MemoBox.Text[i]
: end;

Better is:

for i := 0 to MemoBox.Lines.Count - 1 do
    Now parse MemoBox.Lines[i]  

Related articles


Follow Ups