home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / database / informix / 2753 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  2.5 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!emory!emory!not-for-mail
  2. From: bob@worms-emh2.army.mil (Bob Kane)
  3. Newsgroups: comp.databases.informix
  4. Subject: Re:  Entering "invisible" data in a form
  5. Date: 18 Dec 1992 12:18:13 -0500
  6. Organization: Mailing List Gateway
  7. Lines: 45
  8. Sender: walt@mathcs.emory.edu
  9. Distribution: world
  10. Message-ID: <1gt14lINN4fd@emory.mathcs.emory.edu>
  11. Reply-To: bob@worms-emh2.army.mil (Bob Kane)
  12. NNTP-Posting-Host: emory.mathcs.emory.edu
  13. X-Informix-List-ID: <list.1722>
  14.  
  15. >
  16. >I couldn't think of a better way to phase this. I have a form that
  17. >is basically an opening screen that asks for Employee Id and password.
  18. >
  19. >In 4gl 4.0 how do I make it so the user DOESN'T see what they type as the enter
  20. >their password. I like to be able to do it in the form. 
  21. >
  22. >I try setting color attribute = invisible. I think I am may be confused as
  23. >to what that attribute does. What does invisible mean? It is available
  24. >attribute for display and prompt.
  25. >
  26. >                Thanks,
  27. >                    Ceci
  28. >-- 
  29. >+----------------+--------------------------------------------------------+
  30. >|  Ceci Jaeger   |   Domain: cjaeger@bogart.UUCP                  |
  31. >|  ---- ------   |   UUCP:  ...uunet!media!irscscm!bogart!cjaeger         |
  32. >+----------------+--------------------------------------------------------+
  33. >| Washington, DC |  "Some dance to remember, some dance to forget."       |
  34. >|                |   "Hotel California" --- Eagles                        |
  35. >+----------------+--------------------------------------------------------+
  36.  
  37. The invisible attribute is the color black.  This will work if the background
  38. color of your screen is black.  You can also use attributes with INPUT.  If
  39. you set the INPUT attribute to the same color as your screen background, it
  40. will not show any characters typed.  If you are working with color terminals,
  41. make sure that the color scheme that you pick will work the same way if the
  42. user has a monochrome terminal.  There is a comparison of monochrome to color
  43. attributes in each section of the 4GL reference manual that explains a command
  44. having the attribute option.  I will list it below for your benefit:
  45.  
  46. WHITE = NORMAL        REVERSE
  47. YELLOW = BOLD        BLINK
  48. MAGENTA = BOLD        UNDERLINE
  49. RED = BOLD
  50. CYAN = DIM
  51. GREEN = DIM
  52. BLUE = DIM
  53. BLACK = INVISIBLE
  54.  
  55. -----------------------------------------------------------------------------
  56. Bob Kane                   Internet: bob@worms-emh2.army.mil (IP 134.235.9.2)
  57. TechDyn Systems               Voice: (049) 6241-487306   (WORMS, GERMANY)
  58. CMR 421, BOX 706                Fax: (049) 6241-49560
  59. APO AE 09056                    CIS: 71054,2661
  60.