>Dear all,
>
>How can i always show the last two lines in an edit box ?
>As i want it to be some real time notice board and the latest message will
>always be shown.
>
>Thanks
>
>Jacky
You may try (just an idea):
lnPos = rat(chr(13),myMemo)
this.SelStart=m.lnPos+1
this.SelLength = 0
If it's not broken, fix it until it is.
My Blog