home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / numhdl.zip / NUMERIC.HPP < prev   
Text File  |  1993-09-29  |  1KB  |  25 lines

  1. /**************************************************************************/
  2. /* class NumericHandler                                                           */
  3. /* Change History:                                                        */
  4. /* Rel Programmer        Stamp Date     Description                       */
  5. /* --- ----------------- ----- -------- --------------------------------- */
  6. /* 1.0 Drew Frantz       AFF   09/29/93 Creation                          */
  7. /* A simple numeric handler that is subclassed from the an                */
  8. /* IKeyboardhandler. This handler can be attached to IEntryfield instances*/
  9. /*    to only permit the entry of numeric characters within the field          */
  10. /* (c) Campbell Soup Co. 1993                                                          */
  11. /* CIS: 70712,3547                                                                          */
  12. /**************************************************************************/
  13. #include <ikeyevt.hpp>
  14. #include <ihandler.hpp>
  15. #include <ikeyhdr.hpp> 
  16. // ===================================================================
  17. class NumericHandler : public IKeyboardHandler
  18. {
  19. public:
  20.     NumericHandler();
  21. private:
  22.     Boolean characterKeyPress(IKeyboardEvent& keyevt);
  23. };
  24. // ===================================================================
  25.