AUTO SCROL into an EDIT or TEXT

AUTO SCROL into an EDIT or TEXT

Postby sistemasit » Sat Jun 06, 2015 1: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
sistemasit
 
Posts: 25
Joined: Mon Jan 26, 2015 9:53 am
Location: Belem - Brazil

Re: AUTO SCROL into an EDIT or TEXT

Postby Antonio Linares » Sun Jun 07, 2015 2:53 pm

How long is your variable width ?

You need to give it enough space
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41937
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: AUTO SCROL into an EDIT or TEXT

Postby sistemasit » Sun Jun 07, 2015 3: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
sistemasit
 
Posts: 25
Joined: Mon Jan 26, 2015 9:53 am
Location: Belem - Brazil

Re: AUTO SCROL into an EDIT or TEXT

Postby Antonio Linares » Sun Jun 07, 2015 3: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41937
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: AUTO SCROL into an EDIT or TEXT

Postby Armando » Sun Jun 07, 2015 6: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
User avatar
Armando
 
Posts: 3184
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Re: AUTO SCROL into an EDIT or TEXT

Postby sistemasit » Mon Jun 08, 2015 1: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=3&t=30082&p=171803&hilit=cursor+get#p171803
sistemasit
 
Posts: 25
Joined: Mon Jan 26, 2015 9:53 am
Location: Belem - Brazil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 26 guests