Prev: Problem with Vista: "Run-Time error '75': Path/File access error"
Next: Populate drop down with text from bookmarks in Word VBA
From: David Kaye on 28 Jun 2010 19:27 "Jeff Johnson" <i.get(a)enough.spam> wrote: > >> If the control is set to multi-line, then CRLF is ignored. > >Huh? > Let me try to say this again without screwing it up. If the textbox multiline is set to true the textbox will accept (display) CRLF. If it is set to false it will ignore CRLF. Incidentally, in more recent versions of textbox, if you set the multiline property to true you can load the textbox at design time with many lines of words. It works similar to the Listbox list property. You get a drop-down list where you can enter data. Instead of hitting enter, hit ctrl-enter to skip to the next line.
From: Jeff Johnson on 28 Jun 2010 23:48 "David Kaye" <sfdavidkaye2(a)yahoo.com> wrote in message news:i0bb5s$itm$1(a)news.eternal-september.org... >>> If the control is set to multi-line, then CRLF is ignored. >> >>Huh? >> > > Let me try to say this again without screwing it up. If the textbox > multiline > is set to true the textbox will accept (display) CRLF. If it is set to > false > it will ignore CRLF. I wouldn't so much as say it "ignores" CR and LF so much as it doesn't do what you would expect it to do, i.e., display subsequent text on a new line. Instead it treats CR and LF as characters and generally displays them with the "missing character" symbol, most often a box. Not exactly what I would call "ignore."
From: David Kaye on 29 Jun 2010 00:04 "Jeff Johnson" <up(a)yours.spammers> wrote: >I wouldn't so much as say it "ignores" CR and LF so much as it doesn't do >what you would expect it to do, i.e., display subsequent text on a new line. >Instead it treats CR and LF as characters and generally displays them with >the "missing character" symbol, most often a box. Not exactly what I would >call "ignore." Not VB 6.0 SP 6 running on Windows XP SP 3. The textbox control simply ignores CRLF and writes the following text immediately after the existing text with no spaces or other characters.
From: Jeff Johnson on 29 Jun 2010 10:27
"David Kaye" <sfdavidkaye2(a)yahoo.com> wrote in message news:i0brbh$893$1(a)news.eternal-september.org... >>I wouldn't so much as say it "ignores" CR and LF so much as it doesn't do >>what you would expect it to do, i.e., display subsequent text on a new >>line. >>Instead it treats CR and LF as characters and generally displays them with >>the "missing character" symbol, most often a box. Not exactly what I would >>call "ignore." > > Not VB 6.0 SP 6 running on Windows XP SP 3. The textbox control simply > ignores CRLF and writes the following text immediately after the existing > text > with no spaces or other characters. Interesting. I KNOW I've seen this behavior before. Now I have to wonder where.... |