Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Suggestions for .txt file viewer
Message
De
07/07/2004 11:23:19
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
07/07/2004 11:14:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00921413
Message ID:
00921433
Vues:
18
Hi Craig

In practice that means if I make the RTF control really wide (much wider than the form it's on), it would show one 960 byte line in each row? But then the cursor would disappear after it left the boundaries of the form?

>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform