home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / entryf.zip / POOR.DOC < prev   
Text File  |  1994-05-23  |  1KB  |  26 lines

  1. Poor Mans formatted entry fields
  2.  
  3. The following examples implement some primative entry field types
  4. that are somewhat usefull but also serve as examples on using handlers.
  5.  
  6. the EUEntryField would be better as a keyboard handler but IBM doesn't let us
  7. change the typed in char.  I hope someone changes this soon.
  8.  
  9. /*******************************************************************
  10. *
  11. *  Post validation - IFocusHandler::loseFocus
  12. *
  13. *******************************************************************/
  14.  
  15. EDate - enhance an entry field by doing a post-validation and reformat of a date field.
  16. EPhone - enhance an entry field by doing a post-validation and reformat of a phone
  17. EUEntryField - enchances an entry field by doing a post-conversion to upper case
  18.  
  19.  
  20. /*******************************************************************
  21. *
  22. *  keyboard handler to handle numeric only fields
  23. *
  24. *******************************************************************/
  25.  
  26. ENumeric - intercepts keys and validates they are numeric else beeps