Path: utzoo!attcan!uunet!super!udel!mmdf From: kvancamp@ardec.arpa (Ken Van Camp) Newsgroups: comp.sys.amiga Subject: Re: string-gadgets Message-ID: <6148@louie.udel.EDU> Date: 28 Dec 88 15:26:55 GMT Sender: mmdf@udel.EDU Lines: 19 >I have the problem, that I want to ask the user for a password. This is >done with a stringgadget. To keep the password invisible, I tried to >set FgPen= BgPen. But whereever I do that (either in the >Windowstruct, Screenstruct, or their RastPorts) >the text is always rendered in color 1. Is this some sort of >hardcoded or what have I missed? Yeah, this is a hard-coded limitation of string gadgets. I'm afraid the only thing you can do is redefine your palette -- unfortunately in your case that'll probably make all your text in the requester invisible, not just the input line. Best thing to do is skip the string gadget and read raw I/O. --Ken Van Camp ARPANET: kvancamp@PICA.ARMY.MIL -or- kvancamp@ARDEC.ARPA BITNET: (use above through normal gateways, like UBVM.CC.BUFFALO.EDU) USENET: pica.army.mil!kvancamp@UUNET.UU.NET "Support your local maillist: Give to the March of Electrons"