Path: utzoo!utgpu!news-server.csri.toronto.edu!orasis.vis.toronto.edu!tjhorton Newsgroups: comp.windows.x.motif From: tjhorton@vis.toronto.edu ("Timothy J. Horton") Subject: Re: Multiline label wont work for me Message-ID: <91Apr10.203249edt.8907@orasis.vis.toronto.edu> Organization: Department of Computer Science, University of Toronto References: <95119@lll-winken.LLNL.GOV> Date: 11 Apr 91 00:33:15 GMT Lines: 17 woodruff@addvax.llnl.gov writes: Re: Multiline label wont work for me >looks wrong. Instead of new-line, the text of the label occupies a >single line, with a punctuation that resembles a Yen (currency) symbol >where \n was input. > >I have seen this same appearance regardless of whether text was in >the app-defaults file, or was bound to the (label or dialog) widgets >messageString resource with XtSetValues at run time. I think that's a "frequently asked question." If you specify the newline in an argument to XmStringCreate it gets converted properly, I think, but not if you specify the string in a resource (defaults) file. Right? (Do I have it switched around?). Seems the trick is in the processing of the breaks in the string. I suggest you read up on XmString formats. You may have to add your own resource convertor, to take care of newlines. Again, I've seen this before here somewhere; check the FAQs.