Hi Alex,
Does it need to be a Fox solution? I use WordView (
http://support.microsoft.com/default.aspx?scid=kb;en-us;136593) to provide ASCII file view/print capabilities. It's freeware. Launch from VFP with ShellExecute
lnRetVal = ShellExecute(0, "open", "wordview\wordview.exe", lcFile, "" , 1)
Bruce
>I am trying to create a ascii file viewer with buttons to move between pages, similar to report toolbar, but find difficulties.
>
>1) As you know, editbox does not have horizontal cursor, but instead wraps words, so you have to resort to reducing font size or using RFT box if text lines are long.
>
>2) If you change font size, Editbox.SelStart does not always send cursor to the bottom line in editbox. As a possible workaoround, is there a way to tell the position of cursor on screen in pixels from top of screen?
>
>3) If change to Rich text box in order to have horizontal cursor, moving between pages is complicated by RTF special chars.
>
>Does someone have a solution for this that would share?
>
>TIA,
>
>Alex