Unexpected result using .Perform(EM_SCROLLCARET, 0, 0);

From: Gery (gprdataNO_at_SPAMMMMMzip.com.au)
Date: 04/19/04


Date: Mon, 19 Apr 2004 13:08:39 +1000

Hi to all and thanks for any replay's.

I'm using RichEdit to display Div. length Text files.
As I want always to see the end of the files I,m using
RE.Perform(EM_SCROLLCARET, 0, 0);

It does put the cursor at the eof, but the eof is not alwise at the
bottom of the RE. If the file is shorter as the prev. one, no text is
visible, as the eof is then one line above of the top of RE.

How can I fix this that the eof is at the bottom of RE ?

Regards Gery

Tanks for any replay



Relevant Pages

  • Re: Data order on response form
    ... The addition to the bottom of the messages has nothing to do with the sender of the email ... - it is added by his anti-virus software on receipt of the email ... plus additional data about the virus protection program, ... | "eofeofeof" so my import program can ignore everything after the 'EOF' ...
    (microsoft.public.frontpage.programming)
  • Re: recno() and "Record is out of range"
    ... recdno, if EOF encountered, then goto the top or bottom. ... on the new filter or an SQL Order By clause or Set Order To. ...
    (microsoft.public.fox.vfp.forms)
  • EM_SCROLLCARET problem
    ... I'm using RichEdit to display Div. ... It does put the cursor at the eof ok, but the eof is not alwise at the ... How can I fix this that the eof is at the bottom of RE? ...
    (alt.comp.lang.borland-delphi)
  • Re: Toolbar
    ... There is no FIRSTREC() and LASTREC() function, of course you can make them ... IF EOF() ... > or bottom of the table rather than wait for a bofor eof, ...
    (microsoft.public.fox.programmer.exchange)
  • Re: EM_SCROLLCARET problem
    ... >I'm using RichEdit to display Div. ... >It does put the cursor at the eof ok, but the eof is not alwise at the ... >How can I fix this that the eof is at the bottom of RE? ... Try forcing the cursor to the top of the file before using ...
    (alt.comp.lang.borland-delphi)