Se quedan restos por debajo de la celda del color amarillo y verde.
He modificado el ejemplo /Samples/xbwser.prg
- Code: Select all Expand view RUN
- function fSetUp( oBrw, aHead )
local nI
for nI = 1 to len( aHead )
oBrw:aCols[ nI ]:cHeader = aHead[ nI ]
next
//oBrw:bClrStd := {|| {CLR_BLACK, iif( oBrw:nArrayAt() % 2 = 0, CLR_HCYAN, CLR_LIGHTGRAY ) } }
oBrw:bClrStd := { || if( oBrw:nArrayAt() % 2 == 0, { CLR_BLACK, nRGB(186, 224, 191) }, { CLR_BLACK, nRGB(214, 237, 215)} ) }
oBrw:bClrSelFocus := { || { CLR_BLACK, { { .5, nRgb(128, 128, 0), nRGB(255,255,193) }, { .5, nRGB(255,255,193), nRgb(128, 128, 0) } }} }
oBrw:bClrRowFocus := { || { CLR_BLACK, { { .5, CLR_WHITE, nRgb(255, 217, 93) } } } }
oBrw:oWnd:aControls[ BUTTON_PRINT ]:cCaption := "My Text"
oBrw:oWnd:aControls[ BUTTON_PRINT ]:bAction := {|| msginfo( "My Action" ) }
oBrw:oWnd:aControls[ BUTTON_SHEET ]:cCaption := "Notepad"
oBrw:oWnd:aControls[ BUTTON_SHEET ]:bAction := {|| winexec( "Notepad.exe") }
return nil