>>>A form's button's click runs a long process. As it does, it updates a string that is shown to user via an editbox. This works fine except when the editbox is full and needs to scroll to show the latest addition.
>>>
>>>What is the best way to scroll edit box as needed to show the latest addition at all times?
>>
>>Check
Re: Select and ensure visible EditBox Data Message #
828230>
>As usual on target. I already had the following code in another routine.
>
>
>*AddMessage() method
>LPARAMETERS tcMensaje,tlCRLF
>Thisform.cMensaje = Thisform.cMensaje + tcMensaje + IIF(tlCRLF,CHR(13)+CHR(10),'')
>Thisform.edtMensaje.SelStart = LEN(This.cMensaje)
>Thisform.edtMensaje.Refresh()
>Thisform.edtMensaje.SetFocus()
>
>
>What was missing was the NODEFAULT in the editbox refresh method.
>
>Thank you very much.
>
>Alex
You're welcome
--sb--