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