Re: Entering "invisible" data in a form
Posted in 1992
> >I couldn't think of a better way to phase this. I have a form that >is basically an opening screen that asks for Employee Id and password. > >In 4gl 4.0 how do I make it so the user DOESN'T see what they type as the enter >their password. I like to be able to do it in the form. > >I try setting color attribute = invisible. I think I am may be confused as >to what that attribute does. What does invisible mean? It is available >attribute for display and prompt. > > Thanks, > Ceci >-- >+----------------+--------------------------------------------------------+ >| Ceci Jaeger | Domain: cjaeger@bogart.UUCP | >| ---- ------ | UUCP: ...uunet!media!irscscm!bogart!cjaeger | >+----------------+--------------------------------------------------------+ >| Washington, DC | "Some dance to remember, some dance to forget." | >| | "Hotel California" --- Eagles | >+----------------+--------------------------------------------------------+ The invisible attribute is the color black. This will work if the background color of your screen is black. You can also use attributes with INPUT. If you set the INPUT attribute to the same color as your screen background, it will not show any characters typed. If you are working with color terminals, make sure that the color scheme that you pick will work the same way if the user has a monochrome terminal. There is a comparison of monochrome to color attributes in each section of the 4GL reference manual that explains a command having the attribute option. I will list it below for your benefit: WHITE = NORMAL REVERSE YELLOW = BOLD BLINK MAGENTA = BOLD UNDERLINE RED = BOLD CYAN = DIM GREEN = DIM BLUE = DIM BLACK = INVISIBLE ----------------------------------------------------------------------------- Bob Kane Internet: bob@worms-emh2.army.mil (IP 134.235.9.2) TechDyn Systems Voice: (049) 6241-487306 (WORMS, GERMANY) CMR 421, BOX 706 Fax: (049) 6241-49560 APO AE 09056 CIS: 71054,2661