home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / openloo / 3279 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  1.8 KB

  1. Path: sparky!uunet!sun-barr!news2me.ebay.sun.com!exodus.Eng.Sun.COM!exodus!rickg
  2. From: rickg@eng.sun.com (Richard M. "The Tankster" Goldstein)
  3. Newsgroups: comp.windows.open-look
  4. Subject: Re: DEVGUIDE PROBLEM: floating point number input
  5. Date: 29 Jul 92 09:46:26
  6. Organization: SunSoft, Inc.
  7. Lines: 40
  8. Message-ID: <RICKG.92Jul29094626@irondude.eng.sun.com>
  9. References: <1992Jul29.155359.10414@fccc.edu>
  10. Reply-To: rickg@eng.sun.com
  11. NNTP-Posting-Host: irondude
  12. In-reply-to: hjiang@orion.fccc.edu's message of 29 Jul 92 15:53:59 GMT
  13.  
  14.  
  15.    From: hjiang@orion.fccc.edu (Hong Jiang)
  16.    Newsgroups: comp.windows.open-look
  17.    Date: 29 Jul 92 15:53:59 GMT
  18.    Organization: Fox Chase Cancer Center
  19.  
  20.  
  21.    Hi, I'm using devguide on Sun Sparkstation OpenLook 4.1.1 to develop the GUI
  22.    for my application programs.  I find it is strange that the 'numeric' type text
  23.    field does not allow the decimal input, but the slider does.  Is it the only
  24.    way to use 'Alphanumeric' type text field as the floating point value input
  25.    method? but then I can not set the range the input.
  26.  
  27.    Is this a bug of DEVGUIDE or just my misunderstanding of it?
  28.  
  29.  
  30. this is not a bug in DevGuide but rather a shortcoming of the toolkits
  31. and really the Open Look spec (as well as a personal pet peeve).  if
  32. you need floating point support, your best bet is to try a textfield
  33. with an event handler.
  34.  
  35. Note that while you can type a '.' into the slider's value field, it
  36. will not respond to it as a decimal point.
  37.  
  38. <<tank
  39.  
  40.  
  41. --
  42.  
  43. *********************************************************************
  44.  
  45.     Richard M. "Tank" Goldstein        rickg@Eng.Sun.COM
  46.     Window Developer Environment,
  47.     SunSoft, Inc.
  48.  
  49.     SLACK is the free car wash that comes with a fill-up
  50.     of "Bob."
  51.             -Book of SubGenius
  52.  
  53. *********************************************************************
  54.