home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / nan_news / toolkit / ftmenuto.ch < prev    next >
Text File  |  1991-08-15  |  2KB  |  56 lines

  1. /*
  2.  * File......: TMENU.CH
  3.  * Author....: Ted Means
  4.  * Date......: $Date:   15 Aug 1991 23:08:46  $
  5.  * Revision..: $Revision:   1.2  $
  6.  * Log file..: $Logfile:   E:/nanfor/src/ftmenuto.chv  $
  7.  * 
  8.  * This is an original work by Ted Means and is placed in the
  9.  * public domain.
  10.  *
  11.  * Modification history:
  12.  * ---------------------
  13.  *
  14.  * $Log:   E:/nanfor/src/ftmenuto.chv  $
  15.  * 
  16.  *    Rev 1.2   15 Aug 1991 23:08:46   GLENN
  17.  * Forest Belt proofread/edited/cleaned up doc
  18.  * 
  19.  *    Rev 1.1   14 Jun 1991 19:55:14   GLENN
  20.  * Minor edit to file header
  21.  * 
  22.  *    Rev 1.0   01 Apr 1991 01:02:40   GLENN
  23.  * Nanforum Toolkit
  24.  *  
  25.  *
  26.  */
  27.  
  28. /* These commands will simplify use of the FT_ATPROMPT() and
  29.    FT_MENUTO() functions.  Refer to ATPROMPT.PRG and MENUTO.PRG
  30.    These commands should replace the existing Clipper @ PROMPT / 
  31.    MENU TO commands */
  32.  
  33. #command @ <PrRow>, <PrCol> PROMPT <Prompt>                     ;
  34.                             [PROMPTCOLOR <PrAttr> ]              ;
  35.                             [MESSAGE <Message> ]                 ;
  36.                             [MSGROW <MsgRow> ]                   ;
  37.                             [MSGCOL <MsgCol> ]                   ;
  38.                             [MSGCOLOR <MsgColor> ]               ;
  39.                             [HOTKEY <HotKey> ]                   ;
  40.                             [HOTKEYCOLOR <HColor> ]              ;
  41.                             [BARCOLOR <BColor> ]                 ;
  42.                             [BARHOTKEYCOLOR <BHKColor> ]         ;
  43.                             [UP <Up> ]                           ;
  44.                             [DOWN <Down> ]                       ;
  45.                             [RIGHT <Right> ]                     ;
  46.                             [LEFT <Left> ]                       ;
  47.       => FT_Prompt( <PrRow>,  <PrCol>,  <Prompt>, <(PrAttr)>,   ;
  48.          <MsgRow>, <MsgCol>, <Message>, <(MsgColor)>,           ;
  49.          <HotKey>, <(HColor)>, <(BColor)>, <(BHKColor)>,        ;
  50.          <Up>, <Down>, <Right>, <Left> )
  51.  
  52. #command MENU TO <v> [ <SFlag: NOSNOW> ] [ <KFlag: KEEP> ] [ <CFlag: COLD> ] ;
  53.       => <v> := FT_MenuTo( {|_1| IIF( _1 == NIL, <v>, <v> := _1 ) },   ;
  54.                            #<v>, <.SFlag.>, <.KFlag.>, <.CFlag.>       ;
  55.                          )
  56.