[plt-scheme] MrEd: Background color of text-field% with password style

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri Jan 4 11:44:25 EST 2008

At Fri, 4 Jan 2008 11:26:07 +0100, Erich Rast wrote:
> I've noticed that the password style text-field has a fancy grey  
> background instead of bullets (at least on OS X). That's really good.  
> Now I wonder whether it is possible to change the color of this  
> background programmatically. I was thinking about using it to visually  
> indicate the password quality (red<yellow<green).
> Is that possible?

You can extract the text% using `get-editor' from `text-field%'. Then
you can use various methods on text% (e.g., `change-style') to change
the color.


Posted on the users mailing list.