>>In working with listboxes one can get to the bottom by setting the ListIndex to the ListCount.
>>Is there anything akin to that in working with editboxes?
>>
>>For example...In the case of an editbox that has more text lines in it than the size of the box itself...
>>
>>When adding an entry to such an editbox, I want the display of the editbox to show the entry of added items at the bottom of the editbox. Currently it is hidden and I have to scroll down to actually see the bottom of the data.
>>
>
>Assuming This is the editbox itself:
>
>
>This.SelStart = This.SelLength + 1
>
>
>Tamar
>-------------------------------------
>What I'm trying to accomplish is this...
>Let's say, for example that an edit box only is able to display 3 lines of text (line1, line2 and line3). If I was to add a 4th line then I would like the edit box to show lines 2, 3 and 4 (with line 1 having scrolled up by itself).
Did you try what I suggested? If you actually want a new line, you might need to add CHR(10) + CHR(13) at the end of the Value (if it doesn't already have that).
Tamar