home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / censorx / readme.txt < prev    next >
Encoding:
Text File  |  1999-07-18  |  1.9 KB  |  36 lines

  1. The CensorX ActiveX control can be used to alert the user or a programmer if a word or a phrase entered into a text box is a member of a separate list stored as a text file defined at the outset by the programmer.
  2.  
  3. Typical uses include spellcheckers, teaching aids and word screening.
  4.  
  5. If the word entered is a match to a member of the set in the list the background color of the text box changes to vbRed (red) and this condition can be detected by the program if desired - the text box does not have to be visible; the control can simply be used as a comparator.
  6.  
  7. If a match is not made the background color remains as white (&H80000005 to be precise).
  8.  
  9. Technical:
  10.  
  11. The control is case insensitive and trailing and leading whitespace  in the wordlist is removed - see the sample wordlist.txt for more information.
  12.  
  13. The 'matched' background color (the control's BackColor property) is vbRed.
  14. The 'un-matched' background color is &H80000005 , but it doesn't matter; just detect vbRed in a If... Then... Else structure.
  15.  
  16. The filename is wordlist.txt and is stored in the same folder as the control.
  17. A sample wordlist.txt is provided to get you started edit it with 'notepad' and put in your own favorite words (or swear words :-) depending on the application).
  18.  
  19. Registration Information:
  20.  
  21. The control is supplied 'as is' so please satisfy yourself that it is suitable for your purpose before using it in any serious way.
  22.  
  23. If you find the control useful and/or want to use it in a commercial application please send $5 with your Email address if you have one or your postal address if not
  24.  
  25.  
  26.         to     D Taylor
  27.             9 Porterfield Rd
  28.             Inverness
  29.             Scotland
  30.             United Kingdom
  31.  
  32. In return you will get a registered version 
  33.  
  34. Please feel free to pass on the entire unregistered shareware package in its entirety including this document.
  35.  
  36. Program is copyright ⌐ 1999 D Taylor.  All rights reserved