Still having problems with TGET-class

Still having problems with TGET-class

Postby driessen » Tue Apr 14, 2009 9:00 am

Antonio,

The TGET-class of FWH 9.04 still causes problems now and then.

I always got this error :

Error BASE/1111 Argument error: LEN

The stacklist always refers to :

LEN(0)
TGET => TGET:LBUTTONUP(1566)

This code is found there :
Code: Select all  Expand view
if ::nPos > len( ::oGet:buffer )
   ::nPos--
endif

Any idea what goes wrong ?

What will happen if I remark these lines ?

Thanks a lot in advance.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Still having problems with TGET-class

Postby Antonio Linares » Tue Apr 14, 2009 11:30 am

Michel,

This may be the right fix:
Code: Select all  Expand view

if ::oGet:buffer != nil .and. ::nPos > Len( ::oGet:buffer )
   ::nPos--
endif
 

Thanks for your feedback :-)
regards, saludos

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

Re: Still having problems with TGET-class

Postby driessen » Tue Apr 14, 2009 11:54 am

Antonio,

Thanks a lot for your help.

I'll try it out and let you know.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Still having problems with TGET-class

Postby Antonio Linares » Tue Apr 14, 2009 11:54 am

Michel,

We have just published a new FWH 9.04 build with this fix, thanks :-)
regards, saludos

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


Return to FiveWin for Harbour/xHarbour

Who is online

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