FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Max Length of a GET
Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
Max Length of a GET
Posted: Fri Mar 04, 2011 10:15 AM

Hi,
Is there a maximum length for a GET?

@ 10 , 1 GET oMemo VAR cMemo OF oDlg MEMO

I use a MEMO GET to log activity of a procedure and Add every new files

FUNCTION ELEFILE( cFile , oProgr )
LOCAL nLinee := mlcount( oProgr:gettext() )
LOCAL nPosEnd := Len( AllTrim( oProgr:GetText() ) ) + 1
oProgr:setpos( nPosEnd )
oProgr:paste( cFile + crlf )
sysrefresh()

RETURN NIL

when the length arrives at 20000
the program is constantly decreasing

Marco Boschi
info@marcoboschi.it
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: Max Length of a GET
Posted: Fri Mar 04, 2011 11:49 AM

Have a look at LimitText() method.

EMG

Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
Re: Max Length of a GET
Posted: Fri Mar 04, 2011 03:17 PM

OK
thanks

marco

Marco Boschi
info@marcoboschi.it

Continue the discussion