USEROPS.DEF 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. DEFINITION MODULE UserOps;
  2. (*
  3. * REPERTOIRE
  4. * Release 1.6
  5. * By Charles Bradford and Cole Brecheen
  6. * (c) Copyright 1985-1992 PMI
  7. * Green Bay, Wisconsin
  8. * All rights reserved
  9. * (414) 468-6040
  10. *
  11. * $Header: D:/logfiles/defs/userops.dev 1.4 30 Dec 1990 18:06:12 coleb $
  12. *
  13. *)
  14. FROM ScrnTypes IMPORT DisplayFrame, AFrameName;
  15. FROM KbdInput IMPORT KeyNumSet;
  16. CONST
  17. EndCode = 0;
  18. ContinueCode = -1;
  19. TYPE
  20. AKeyHandler = PROCEDURE( DisplayFrame, VAR
  21. CARDINAL, VAR AFrameName );
  22. AFieldHandler = PROCEDURE( DisplayFrame,
  23. CARDINAL, CARDINAL, VAR CARDINAL, VAR
  24. AFrameName );
  25. (*================================================
  26. AFunctProc and AFieldProc will be deleted in the
  27. next release. Use AKeyHandler and AFieldHandler
  28. instead.
  29. ==============================================*)
  30. AFunctProc = PROCEDURE( DisplayFrame, VAR
  31. CARDINAL ): INTEGER;
  32. AFieldProc = PROCEDURE( DisplayFrame, CARDINAL,
  33. CARDINAL, VAR CARDINAL ): INTEGER;
  34. VAR
  35. DoPrompting, Exiting, InsertMode : BOOLEAN;
  36. PromptLength, PromptRow, PromptCol: CARDINAL;
  37. HelpKey, TimeKey, ExitKey, SubmitKey, BackupKey:
  38. CARDINAL;
  39. FunctKeySet, ScreenKeySet, StringKeySet,
  40. FieldExitKeySet: KeyNumSet;
  41. TheKeyHandler : AKeyHandler;
  42. TheFieldHandler : AFieldHandler;
  43. (*================================================
  44. TheFunctProc and TheFieldProc will be deleted in
  45. the next release. Use TheKeyHandler and
  46. TheFieldHandler instead.
  47. ==============================================*)
  48. TheFunctProc : AFunctProc;
  49. TheFieldProc : AFieldProc;
  50. PROCEDURE Init();
  51. END UserOps.