Mike Yearwood
Toronto, Ontario, Canada
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement