home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / x / 20931 < prev    next >
Encoding:
Text File  |  1993-01-08  |  946 b   |  37 lines

  1. Newsgroups: ingr.x,comp.windows.x
  2. Path: sparky!uunet!infonode!ingr!b8!paries
  3. From: paries@b8.b8.ingr.com (Randy Paries)
  4. Subject: Help with XmCreateScrolledText
  5. Message-ID: <1993Jan8.213117.12635@b8.b8.ingr.com>
  6. Organization: Intergraph
  7. Date: Fri, 8 Jan 1993 21:31:17 GMT
  8. Lines: 27
  9.  
  10.  
  11.     Hello, 
  12.  
  13.     I am trying to create a Text Widget in a Scroll Window,
  14.     that is 60 columns wide and x long.
  15.  
  16.     I can create everything ok and set the following resources:
  17.     XmNcolumns, 60
  18.     XmNresizeWidth, False
  19.     XmNscrollHorizontal, False
  20.  
  21.     My problem is that I can't seem to stop/force the user
  22.     to 60 chars lines.
  23.  
  24.     My Goal is at 60 chars to either ring a bell so that they 
  25.     have to hit <CR> or even better have it wrap.
  26.  
  27.     At present with the resources above I can make the TextWidget
  28.     apprear with 60 columns and not change widths, but they can 
  29.     continue to Type for ever.
  30.  
  31.  
  32.     Thanks for any help .        
  33. --------------------
  34. Randy Paries
  35. randy@turq.b8.ingr.com
  36.  
  37.