Page 1 of 1

AUTO SCROL into an EDIT or TEXT

Posted: Sat Jun 06, 2015 1:41 pm
by sistemasit
Hi,

Is there any way to improve an auto scroll into an EDIT or TEXT BOX?

The property AUTO VSCROLL is already TRUE, but nothing happens

I am creating an internal chat and I need to scroll this text up automactly.

Thanx

Re: AUTO SCROL into an EDIT or TEXT

Posted: Sun Jun 07, 2015 2:53 pm
by Antonio Linares
How long is your variable width ?

You need to give it enough space

Re: AUTO SCROL into an EDIT or TEXT

Posted: Sun Jun 07, 2015 3:30 pm
by sistemasit
Hi Antonio,

The width is Dinamic, It starts with zero and keeps growing while the users chat. then I do a REFRESH, I tried a TEXT OBJECT and a EDIT OBJECT also, is there any command to set in the end?

Thank you

Re: AUTO SCROL into an EDIT or TEXT

Posted: Sun Jun 07, 2015 3:33 pm
by Antonio Linares
You could use FWH function MemoEdit( cText, cTitle, nTop, nLeft, nBottom, nRight, lRTF, nHelpID )

Please review FWH source\function\memoedit.prg source code

Re: AUTO SCROL into an EDIT or TEXT

Posted: Sun Jun 07, 2015 6:02 pm
by Armando
Sistemasit:

When creating the edit box or text box , are you using source code or resources ?

If you are using resources try with MULTILINE = YES.

Regards

Re: AUTO SCROL into an EDIT or TEXT

Posted: Mon Jun 08, 2015 1:31 am
by sistemasit
Hi Armando,

I am using resource, The property is already checked

This is what I want, but didn't work with me
http://forums.fivetechsupport.com/viewt ... et#p171803