Newer
Older
Microsoft / fldedi / FLD_EDI.C
@tundra tundra on 24 May 2012 1 KB Initial revision
/*  fld_edi.c -   Set Of Routines For Simple Field Editing

                    Last Modified: 05-23-90
                    Copyright (C) 1990, T.A. Daneliuk

*/

#include    <stdio.h>



/*============ Global Control And Keystroke Translation Tables ===============*/


struct CXLATE ctrl_xlate[CTRL_ENTRY] =     {2,  0, 80, NXT_FLD, /* Dn. Arrow  */
                                            1,  9,  0, NXT_FLD, /* Tab        */
                                            2,  0, 15, PRV_FLD, /* Back Tab   */
                                            2,  0, 72, PRV_FLD, /* Up Arrow   */
                                            2,  0, 73, FST_FLD, /* PgUp       */
                                            2,  0, 81, LST_FLD, /* PgDn       */
                                            2,  0, 75, CUR_LFT, /* Lft. Arrow */
                                            2,  0, 77, CUR_RGT, /* Rt. Arrow  */
                                            2,  0, 71, BEG_FLD, /* Home       */
                                            2,  0, 79, END_FLD, /* End        */
                                            1, 10,  0, CLR_FLD, /* Ctrl-Enter */
                                            2, 0, 117, CLR_END, /* Ctrl-End   */
                                            1, 13,  0, EXT_FLD, /* Enter      */
                                            2,  0, 82, INS,     /* Ins        */
                                            2,  0, 83, DEL,     /* Del        */
                                            1,  8, 00, BS,      /* Backspace  */
                                            2,  0, 59, HELP,    /* Fn. 1      */
                                            1, 27,  0, EXT_SCR  /* Esc        */
                                           };