STRINPUT.DEF 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. DEFINITION MODULE StrInput;
  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/strinput.dev 1.4 30 Dec 1990 18:05:54 coleb $
  12. *
  13. *)
  14. FROM KbdInput IMPORT KeyNumSet;
  15. FROM VWindows IMPORT AWindowHandle;
  16. VAR
  17. BeepAtNumbers : BOOLEAN;
  18. PROCEDURE ReadWithEdits( WindowHandle:
  19. AWindowHandle; VAR TheStr : ARRAY OF CHAR;
  20. col1, row1, FieldWidth: CARDINAL; VAR
  21. CursorPos: CARDINAL; VAR InsertMode:
  22. BOOLEAN; scrolling: BOOLEAN; VAR LastKey :
  23. CARDINAL; VAR LegalKeys, ExitKeys :
  24. KeyNumSet );
  25. PROCEDURE ReadNumeric( WindowHandle:
  26. AWindowHandle; VAR TheStr : ARRAY OF CHAR;
  27. col1, row1, FieldWidth: CARDINAL;
  28. DecimalPlaces: CARDINAL; FloatingPoint:
  29. BOOLEAN; VAR InDecimals: BOOLEAN; VAR
  30. LastKey : CARDINAL; VAR ExitKeys :
  31. KeyNumSet);
  32. PROCEDURE Init();
  33. END StrInput.