FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour AUTO SCROL into an EDIT or TEXT
Posts: 25
Joined: Mon Jan 26, 2015 09:53 AM
AUTO SCROL into an EDIT or TEXT
Posted: Sat Jun 06, 2015 01:41 PM

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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: AUTO SCROL into an EDIT or TEXT
Posted: Sun Jun 07, 2015 02:53 PM

How long is your variable width ?

You need to give it enough space

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 25
Joined: Mon Jan 26, 2015 09:53 AM
Re: AUTO SCROL into an EDIT or TEXT
Posted: Sun Jun 07, 2015 03:30 PM

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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: AUTO SCROL into an EDIT or TEXT
Posted: Sun Jun 07, 2015 03:33 PM

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
Posts: 3358
Joined: Fri Oct 07, 2005 08:20 PM
Re: AUTO SCROL into an EDIT or TEXT
Posted: Sun Jun 07, 2015 06:02 PM

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
Posts: 25
Joined: Mon Jan 26, 2015 09:53 AM
Re: AUTO SCROL into an EDIT or TEXT
Posted: Mon Jun 08, 2015 01:31 AM

Hi Armando,

I am using resource, The property is already checked

This is what I want, but didn't work with me

viewtopic.php?f=3t=30082p=171803hilit=cursor+get#p171803

&&&

Continue the discussion