home *** CD-ROM | disk | FTP | other *** search
- unit STI_KEYS; { unit to provide access to all}
- { the special keys }
- interface
-
- uses Dos;
-
- type
- KeyRec = string[3]; { KeyRec[1] = ascii code }
- { KeyRec[2] = F1 etc }
- { KeyRec[3] = GRPH etc }
-
-
-
- function STI_StopPressed : boolean; { check for stop key }
- function STI_CopyPressed : boolean; { check for copy key }
- function STI_EscapePressed : boolean; { check for escape }
- function STI_ControlPressed : boolean; { check for control key }
- function STI_CapsPressed : boolean; { check for caps key }
- function STI_ShiftPressed : boolean; { check for shift key }
- function STI_KanaPressed : boolean; { check for kana key }
- function STI_GrphPressed : boolean; { check for graph key }
- function STI_NferPressed : boolean; { check for nfer key }
- function STI_XferPressed : boolean; { check for xfer key }
- function STI_InKey : char; { return a single key stroke }
- function STI_InKey2 : KeyRec; { return GRPH,CTRL,SHIFT combos }
- function STI_InKey3 : KeyRec; { return any combination }
-