AUTO SCROL into an EDIT or TEXT

Post Reply
sistemasit
Posts: 25
Joined: Mon Jan 26, 2015 9:53 am
Location: Belem - Brazil
Contact:

AUTO SCROL into an EDIT or TEXT

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: AUTO SCROL into an EDIT or TEXT

Post by Antonio Linares »

How long is your variable width ?

You need to give it enough space
regards, saludos

Antonio Linares
www.fivetechsoft.com
sistemasit
Posts: 25
Joined: Mon Jan 26, 2015 9:53 am
Location: Belem - Brazil
Contact:

Re: AUTO SCROL into an EDIT or TEXT

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: AUTO SCROL into an EDIT or TEXT

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Armando
Posts: 2479
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México
Contact:

Re: AUTO SCROL into an EDIT or TEXT

Post 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
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
sistemasit
Posts: 25
Joined: Mon Jan 26, 2015 9:53 am
Location: Belem - Brazil
Contact:

Re: AUTO SCROL into an EDIT or TEXT

Post 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
Post Reply