home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / x / motif / 8423 < prev    next >
Encoding:
Text File  |  1993-01-08  |  1.3 KB  |  66 lines

  1. Newsgroups: comp.windows.x.motif
  2. Path: sparky!uunet!munnari.oz.au!yarrina.connect.com.au!auspost.com.au!simon
  3. From: simon@guk.auspost.com.au (Simon Carter)
  4. Subject: XmTextField.maxLength problem
  5. Message-ID: <1993Jan8.043754.1613@auspost.com.au>
  6. Sender: usenet@auspost.com.au (USENET Administrator)
  7. Organization: Australia Post
  8. X-Newsreader: TIN [version 1.1 PL6]
  9. Date: Fri, 8 Jan 1993 04:37:54 GMT
  10. Lines: 54
  11.  
  12.  
  13. Under Motif 1.1.4, setting the maxLength of a text field does not prevent
  14. XtVaSetValues from inserting a string *longer* than maxLength.
  15.  
  16. When this occurs, no editing is possible, particularly deleting single
  17. characters, although deleting a block of text that will cause the field
  18. to be <= MaxLength does actually work.
  19.  
  20. Of course, I can truncate all strings used with XtVaSetValues, but this
  21. is untidy, and does not fix the problem.
  22.  
  23.  
  24. Simon
  25. --
  26. +----------------------------------------------------------------------+
  27. |  Simon Carter: 3rd Year Elec/Comp Sci, Monash University, Clayton    |
  28. |           Net: simon@auspost.com.au                                  |
  29. |    ___  @mail: 14 Canterbury Rd, Heathmont, Victoria 3135, Australia |
  30. |   (o o) Quote: /simon% find -greatquotes -print >>.signature         |
  31. +ooO-(_)-Ooo-----------------------------------------------------------+
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.