>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  TEXT_GRAB






      Copy and paste text into an IDL string array.


Calling Sequence

      text_grab, txt


Keyword Parameters


        EXIT_CODE=ex Exit code: 0=OK, 1=Cancel.
        XSIZE=xsz Width of text entry area (def=80 char).
        YSIZE=ysz Height of text entry area (def=20 lines).


      txt = Resulting string array with text. out

Common Blocks


      Notes: This simple text entry area can be used to paste
      text copied from elsewhere and return it as a string array.
      Simple editing may also be done, click to position the text
      cursor. Arrow keys and Page Up and Page Down should work,
      and Home and End. Insert toggles insert/overwrite. Blocks
      of text can be deleted by highlighting it and deleting.
      Use Home and then Enter to open a blank line.
      The OK button will return the text, Cancel will not.

Modification History

      R. Sterner, 2009 Oct 06
  Copyright (C) 2009, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.

© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us