Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Aug : Hiding the caret in TMemo (revisited)

www.cryer.info
Managed Newsgroup Archive

Hiding the caret in TMemo (revisited)

Subject:Hiding the caret in TMemo (revisited)
Posted by:"Mark Kimball" (makimba..@hotmail.com)
Date:10 Aug 2005 06:00:00 -0700

Thanks for the information.  The code example you gave me
worked initially, upon entering the edit control (in this case,
a TRichEdit).  However, when I press the up and down arrow
keys, or PgUp and PgDn, the blinking cursor returns.  I can
hide the cursor again, by using the OnKeyDown and OnKeyUp event
handlers, but still get a momentary blink of the cursor.

What I am aiming for here is simply a box to display
non-editable text to the user that they can scroll through.
I have an 3rd pary HTML viewer component that I might try using
instead of the TRichEdit or TMemo.  Thanks again for the info.

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive