
              NOVELL TECHNICAL INFORMATION DOCUMENT

TITLE:              Text Cursor Placement Under Program Control
DOCUMENT ID:        TID1200374
DOCUMENT REVISION:  A
DATE:               16MAR95
ALERT STATUS:       White
INFORMATION TYPE:   Issue
README FOR:         TXTPLC.EXE

NOVELL PRODUCT and VERSION:
AppWare for Win 1.2

ABSTRACT:

The attached project demonstrates how to use the Window::Set Item Selection
function and the Text::Text Length function to place the cursor at the end of
a text object.  Also, the sample project shows a basic search and replace
routine.

-----------------------------------------------------------------
DISCLAIMER
THE ORIGIN OF THIS INFORMATION MAY BE INTERNAL OR EXTERNAL TO NOVELL.  NOVELL
MAKES EVERY EFFORT WITHIN ITS MEANS TO VERIFY THIS INFORMATION.  HOWEVER, THE
INFORMATION PROVIDED IN THIS DOCUMENT IS FOR YOUR INFORMATION ONLY.  NOVELL
MAKES NO EXPLICIT OR IMPLIED CLAIMS TO THE VALIDITY OF THIS INFORMATION.
-----------------------------------------------------------------

ISSUE

Whenever any text is added to a Text object under program control the cursor
will always remain in its last location even if there has been text added. 

For example, if text is entered by a user that is 10 characters long, the
cursor will be immediately after the tenth character. If 30 more characters of
text are added under program control the cursor will still be immediately
after tenth character. 

There is no specific function that allows the cursor to be placed at the end
of the text string under program control. However, the attached project
demonstrates how to use the Window::Set Item Selection function and the
Text::Text Length function to place the cursor at the end of a text object. 
Also, the sample project shows a basic search and replace routine. 


Self-Extracting File Name:  TXTPLC.EXE     Revision:  A

Files Included     Size     Date      Time

\
  TXTPLC.TXT         (This File)
  TXTPLC.PJT      22153   03-15-95   11:09a


-----------------------------------------------------------------
Any trademarks referenced in this document are the property of their
respective owners.  Consult your product manuals for complete trademark
information.
-----------------------------------------------------------------


