Max Length of a GET

Max Length of a GET

Postby MarcoBoschi » 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
User avatar
MarcoBoschi
 
Posts: 1023
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: Max Length of a GET

Postby Enrico Maria Giordano » Fri Mar 04, 2011 11:49 am

Have a look at LimitText() method.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8367
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Max Length of a GET

Postby MarcoBoschi » Fri Mar 04, 2011 3:17 pm

OK
thanks

marco
User avatar
MarcoBoschi
 
Posts: 1023
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 56 guests