New topic: Problem with NthField and EndOfLine on Windows XP
<http://forums.realsoftware.com/viewtopic.php?t=33746> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message Carl Adler Post subject: Problem with NthField and EndOfLine on Windows XPPosted: Tue May 11, 2010 1:31 pm Joined: Thu Apr 05, 2007 11:35 am Posts: 88 The following works on Mac OSX but not Windows XP: // for m as integer =1 to cntresults Listbox5.addrow NthField(Editfield1.text,Endofline,m).Ltrim next// Typically Editfield1 (which is really in RB 2009 5.1 now a multiline textarea) has several endofline characters and on the Mac produces a Listbox with a matching numbers of rows, but on Windows you just get one row containing all of editfield1.text If I add a cell click event to the Listbox like // textarea7.text=me.cell(row,column) // When clicking the cell on Windows, Textarea7.text gives back all of EditField1.text properly formatter (that is with all the line endings operational). (So they are in the listbox cell) Finally to be sure I copied the text from editfield1.text to the clipboard and then pasted it into NotePad. The results are properly formatted with I assume the correct EndOfLines for Windows, since NotePad is not very forgiving. Very Puzzled. Any suggestions or help? Carl Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
