home *** CD-ROM | disk | FTP | other *** search
- ; Copyright (c) 1987-1989 Borland International. All Rights Reserved.
- ;
- ; General permission to re-distribute all or part of this script is granted,
- ; provided that this statement, including the above copyright notice, is not
- ; removed. You may add your own copyright notice to secure copyright
- ; protection for new matter that you add to this script, but Borland
- ; International will not support, nor assume any legal responsibility for,
- ; material added or changes made to this script.
- ;
- ; Revs.: MJP 5/14/87, DCY 12/13/88
- ; ****************************************************************************
- ; SetKeycodes defines mnemonic variables you can use in place of Paradox
- ; ASCII and IBM Extended keycodes in your DoWait applications. Using
- ; variables defined by SetKeycodes increases the readability of your code and
- ; saves you the trouble of having to look up keycodes when you need to use
- ; them in conjunction with DoWait.
- ;
- ; SetKeycodes' variables require only about 4K of memory and thus you'll
- ; probably want to use them in all cases where memory is not a critical
- ; constraint. If you do run into memory problems, you can "comment out" the
- ; variables you do not use, or you can use the PrepareFinal subsystem of the
- ; TKMenu to replace all Setkeycodes' variables in your scripts with their
- ; actual constants. If you choose to do this, remember to remove the call to
- ; SetKeycodes from your code.
- ;
- ; Note that InitWait does not automatically load or call the SetKeycodes
- ; procedure--you must do this yourself.
-
- Proc SetKeycodes()
-
- TKBackspace = 8 TKDitto = 4 TKPalMenu = -113
- TKCancel = 0 TKDOS = 15 TKPgDn = -81
- TKCheck = -64 TKDOSBig = -24 TKPgUp = -73
- TKCheckDescending = -99 TKDo_It! = -60 TKRefresh = -19
- TKCheckGroupBy = -89 TKDown = -80 TKReSyncKey = 12
- TKCheckPlus = -109 TKDownImage = -62 TKReverseTab = -15
- TKClearAll = -111 TKEditKey = -67 TKRight = -77
- TKClearImage = -66 TKEnd = -79 TKRotate = 18
- TKCoEditKey = -112 TKEnter = 13 TKSpaceBar = 32
- TKCtrlBackspace = 127 TKEsc = 27 TKTab = 9
- TKCtrlBreak = 0 TKExample = -63 TKUndo = 21
- TKCtrlEnd = -117 TKFieldView = -108 TKUp = -72
- TKCtrlHome = -119 TKFormKey = -65 TKUpImage = -61
- TKCtrlLeft = -115 TKGoKey = 7 TKVertRuler = 22
- TKCtrlPgDn = -118 TKGraphKey = -100 TKZoom = 26
- TKCtrlPgUp = -132 TKHelp = -59 TKZoomNext = -44
- TKCtrlRight = -116 TKHome = -71
- TKDel = -83 TKIns = -82
- TKDeleteLine = 25 TKInstantPlay = -107
- TKInstantRecord = -106 TKLeft = -75
- TKInstantReport = -110 TKLockKey = -38
- TKKeyLookup = -37 TKMenu = -68
-
- TKF1 = -59 TKF11 = -84 TKF21 = -94 TKF31 = -104
- TKF2 = -60 TKF12 = -85 TKF22 = -95 TKF32 = -105
- TKF3 = -61 TKF13 = -86 TKF23 = -96 TKF33 = -106
- TKF4 = -62 TKF14 = -87 TKF24 = -97 TKF34 = -107
- TKF5 = -63 TKF15 = -88 TKF25 = -98 TKF35 = -108
- TKF6 = -64 TKF16 = -89 TKF26 = -99 TKF36 = -109
- TKF7 = -65 TKF17 = -90 TKF27 = -100 TKF37 = -110
- TKF8 = -66 TKF18 = -91 TKF28 = -101 TKF38 = -111
- TKF9 = -67 TKF19 = -92 TKF29 = -102 TKF39 = -112
- TKF10 = -68 TKF20 = -93 TKF30 = -103 TKF40 = -113
-
- Endproc
-