Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!shelby!neon!news From: commons@Sunburn.Stanford.EDU (Peter Commons) Newsgroups: comp.sys.mac.programmer Subject: Editable Text Objects in Dialog Boxes Message-ID: <1990Aug17.171302.8900@Neon.Stanford.EDU> Date: 17 Aug 90 17:13:02 GMT Sender: news@Neon.Stanford.EDU (USENET News System) Organization: Computer Science Department, Stanford University Lines: 19 Two questions about Editable Text Objects in Dialog Boxes: 1) Can you limit the length and/or prevent carriage returns? Theoretically I could check after every keypress to see if the length is too big or if they just hit return (and then delete the last character and redraw), but I was hoping for something nicer... 2) A month ago some people were saying that to make a password dialog where the password was not legible, you change the font to something where all chars are undefined??? How do I do this? Thanks. -- |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| | Peter Commons "Zut, alors! I have meesed one!!!" | | commons@cs.stanford.edu | | Computer Science Department, Stanford University |