Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Suggestions for .txt file viewer
Message
From
07/07/2004 11:14:21
 
 
To
07/07/2004 10:53:43
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00921413
Message ID:
00921423
Views:
24
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform