FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Still having problems with TGET-class
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Still having problems with TGET-class
Posted: Tue Apr 14, 2009 09: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 (fw): Select all Collapse
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. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Still having problems with TGET-class
Posted: Tue Apr 14, 2009 11:30 AM
Michel,

This may be the right fix:
Code (fw): Select all Collapse
if ::oGet:buffer != nil .and. ::nPos > Len( ::oGet:buffer )
   ::nPos--
endif

Thanks for your feedback :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: Still having problems with TGET-class
Posted: 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. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Still having problems with TGET-class
Posted: 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

Continue the discussion