I am trying to create a viewer for files with large (sometimes over 2,000 characters) records. I want to use the rich text box control and show a given record in rows of 100 characters each. I have set the font to Courier New and sized the RTB appropriately to show the records correctly. However, if there is a record with 80 consecutive alpha characters followed by a space, then 120 consecutive alpha characters, the RTB separates the line at the space, as if there were a vbLF there. This happens in other cases, but I haven’t been able to figure out how the RTB decides when to break the line.
Is there a way I can tell the RTB to break a line only when there is actually a vbLF? Can you at least tell me how RTB decides when to break? Any suggestions will be appreciated.
TIA, John
Is there a way I can tell the RTB to break a line only when there is actually a vbLF? Can you at least tell me how RTB decides when to break? Any suggestions will be appreciated.
TIA, John