The RTF control will word wrap at the right margin.
>Hi all
>
>I'd like to provide a means for the user to see a fixed length text file. I thought to use an editbox in a form, but the editbox does not show line and column positions.
>
>I did try to use the keypress event to determine the row and column position. I know the length of each line is 960 bytes, so you'd figure int(.SelStart/960) would do for the row and mod(.SelStart,960) for the column.
>
>The editbox doesn't seem to offer a way to turn off word wrapping.
>
>How come there's no support for a horizontal scrollbar?
>
>Don't you hate it when it looks so easy, but then you can only go so far?
>
>It was suggested that I put x textboxes into y rows and add some kind of scrollbars to a VFP form. Problem is the resizer I'm using can only handle 255 objects at a time.
>
>The Microsoft RTF control has the scroll bars, but no word wrap control.
>
>So the UI I envision is an editbox-like thing. There should be lables/textboxes to show row and column positions of the cursor.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer