home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / alt / toolkits / xview / 1249 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.9 KB

  1. Path: sparky!uunet!destroyer!fmsrl7!lynx.unm.edu!apollo!gstilphe
  2. From: gstilphe@apollo.mcl.bdm.com (Gerald E. Stilphen)
  3. Newsgroups: alt.toolkits.xview
  4. Subject: Re: Problems with PANEL_MULTILINE_TEXT
  5. Date: 28 Jan 1993 13:12:43 GMT
  6. Organization: BDM International, Inc.
  7. Lines: 35
  8. Sender: gstilphe@apollo (Gerald E. Stilphen)
  9. Distribution: world
  10. Message-ID: <1k8m4bINNrut@lynx.unm.edu>
  11. References: <1993Jan27.150003.8917@olymp.informatik.uni-bonn.de>
  12. NNTP-Posting-Host: apollo.mcl.bdm.com
  13. Keywords: PANEL_MULTILINE_TEXT,xview3
  14.  
  15. In article <1993Jan27.150003.8917@olymp.informatik.uni-bonn.de>, rosenfel@radium.informatik.uni-bonn.de (Roland Rosenfeld) writes:
  16. >Hi,
  17. >I have a problem with the object PANEL_MULTILINE_TEXT.
  18. >When I set the value multiple times, it stores all old values. After diplaying
  19. >some different values I get an massage, that my textbuffer is full.
  20. >The problems differs, if I change the mode of the multilinetext to 
  21. >"readonly". Then setting a new value appends it to the old one :(
  22. >But I can't find any function to delete the textbuffer.
  23.  
  24. In the XView Version 3 FCS BUG LIST:
  25.  
  26. Big Id:
  27. Category:
  28. SubCategory:  library
  29. Synopsis:     Setting the PANEL_VALUE on a read only Multline text feild prepends
  30.               the new string. 
  31. Public Summary:
  32.         If a PANEL_MULTILINE_TEXT item is created read only (PANEL_READ_ONLY),
  33.         then setting a value for it using PANEL_VALUE prepends teh new string
  34.         instead of replacing the string.  Therefore the text keeps getting
  35.         longer and longer.  A multiline text field that is not read only
  36.         behaves properly.
  37.  
  38.  
  39. When we ran into this problem, we simply set PANEL_READ_ONLY to FALSE, then
  40. set the PANEL_VALUE then set PANEL_READ_ONLY back to TRUE as a work around.
  41. Try setting the PANEL_VALUE to "" (When PANEL_READ_ONLY is set to FALSE), 
  42. to delete the buffer.
  43.  
  44. Hope this helps.
  45.  
  46. Gerald E. Stilphen
  47.