Xbrowse error with setbackground

Xbrowse error with setbackground

Postby Richard Chidiak » Sat Aug 10, 2013 4:43 am

Good morning

Xbrowse errors with the setbackground command when using the "fields" syntax

redefine xbrowse obrw fields..... gives an error

It works ok with the "Columns" syntax

I use obrw:SetBackGround(gradient { { 0.20, 14198567, 16117445 }, { 0.20, 16117445, 14198567 } },.f.)

This is the error

Error description: Error BASE/1004 No exported method: EVAL
Args:
[ 1] = U

Stack Calls
===========
Called from: => (b)EVAL( 0 )
Called from: C:\CBATI32\xbrowse.prg => (b)TXBROWSE( 417 )
Called from: C:\CBATI32\xbrowse.prg => TXBROWSE:KEYCOUNT( 0 )

in my copy of xbrowse (13.02) it corresponds to this line

METHOD KeyCount() INLINE ( ::nLen := Eval( ::bKeyCount ),;
iif(::oVScroll != nil ,;
( ::VSetRange( 1, ::nLen ), ::VUpdatePos() ), ),;
::nLen )

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: Xbrowse error with setbackground

Postby nageswaragunupudi » Sat Aug 10, 2013 5:58 am

Probably bKeyCount was never initialized.
Can we see a small sample reproducing the problem?
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 111 guests