Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!sdd.hp.com!caen!hellgate.utah.edu!csn!news.den.mmc.com!magellan!doehr From: doehr@magellan.den.mmc.com (Brett B. Doehr) Newsgroups: comp.windows.open-look Subject: Re: devguide - create fields that takes flots Keywords: devguide Message-ID: <1991May8.155817.23257@den.mmc.com> Date: 8 May 91 15:58:17 GMT References: <46397@bcsaic.UUCP> Sender: doehr@magellan (Brett B. Doehr) Distribution: usa Organization: Martin Marietta Astronautics Group Lines: 14 Nntp-Posting-Host: magellan.den.mmc.com One option is to make the text field alphanumeric. If a value is entered by the user, you can use the function "atof" to convert it to a double (not a float, but close enough for us). To output a float to the text field, use the function "sprintf" to convert it to a string. Not elegant, but works. --Brett. ============================================================| Brett B. Doehr Martin Marietta Astronautics Group | Voice: (303) 977-1504 Internet: doehr@den.mmc.com | Fax: (303) 977-1530 America Online: BrettBD | "Writing software that only a mother could love..." | ============================================================|