Thanks, Sergey, but my question wasn't clear. The (readonly) editbox is only meant as a viewing mechanism for an ASCII file in which pages are separated by CHR(12), as replacement for report preview.
When user chooses page 3, etc, I want the editbox to show the corresponding page starting at the top of the editbox. Since I know which is the first char of each page (comes after CHR(12)), I have tried setting EditBox.SelStart = FirstCharPositionInPage, but that brings that char to the bottom of editbox, not the top.
Alex
>Try
EditBox.Value = <whatever> + EditBox.Value
>* or
>EditBox.SelStart = 0
>EditBox.SelLength = 0
>KEYBOARD "<whatever>"
>
>
>>
>>How do you place a particular character at the top of an editbox? For example, if EditBox.ControlSource = Thisform.cText, how do you place say char 2567 of Thisform.cText at the top of the editbox?
>>
>>If you set EditBox.SelStart = 2567, it will be shown in the last line of the edit box. One way may be to scroll the editbox, but how?
>>