and i want change the color on column 3 if the data is = "Free"
olbx:bClrStd:= {|| if( acheck[oLbx:nArrayAt,3]="Free",{ CLR_GREEN, RGB(221,245,255)},{ CLR_BLACK, RGB(221,245,255) }) }
On Windows Seven run ok NO errors
On Winxp run ok but then when I select a row it make this error
- Code: Select all Expand view
- Application
===========
Path and name: C:\work\PRG\test_rooms\test.Exe (32 bits)
Size: 2,163,712 bytes
Compiler version: xHarbour build 1.2.1 Intl. (SimpLex) (Rev. 6715)
FiveWin Version: FWHX 12.03
Windows version: 5.1, Build 2600 Service Pack 2
Time from start: 0 hours 0 mins 43 secs
Error occurred at: 03/14/2013, 11:57:07
Error description: Error BASE/1068 Argument error: array access
Args:
[ 1] = U
[ 2] = N 3
Stack Calls
===========
Called from: test.prg => (b)TEST( 112 )
Called from: .\source\classes\XBROWSE.PRG => TXBRWCOLUMN:PAINTCELL( 9646 )
Called from: .\source\classes\XBROWSE.PRG => TXBRWCOLUMN:PAINTDATA( 9561 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:PAINT( 1434 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:DISPLAY( 1253 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1666 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:HANDLEEVENT( 11632 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3153 )
Where is the error ?