Esto es lo último que hice:
WITH Object oBrwPer
:nMarqueeStyle := MARQSTYLE_DOTEDCELL // barra señaladora
:nColDividerStyle := LINESTYLE_BLACK // Linea Tipo
:lColDividerComplete:= TRUE // Linea de columna hasta final de Brw
:nStretchCol := STRETCHCOL_LAST // Ajustar ultima col, al margen derecho
:l2007 := TRUE
:lAllowColHiding := FALSE // Anular menu pop Ocultar/Mostrar columna
:nRowHeight := 38
:nMoveType := MOVE_DOWN
:lVScroll := TRUE
:nColSel:= 2
:SetBackGround( aGrad )
:bKeyCount:= {|| (::oDBPermi:cAlias)->( AdsKeyCount(,, ADS_RESPECTFILTERS ) ) }
:bKeyNo := {| n | if( HB_IsNil( n ), (::oDBPermi:cAlias)->( AdsKeyNo(,, ADS_RESPECTFILTERS ) ), ;
(::oDBPermi:cAlias)->( OrdKeyGoto( n ) ) ) }
:bGotFocus:= {|| ::oDBPermi:SetFocus() }
:oCol( "Chk" ):SetCheck() // SOLO ESTA LLAMADA
END
// Columnas
WITH OBJECT oBrwPer:Permisos
:nWidth:= 320
:bPaintText:= { |oCol, hDC, cText, aCoord| ::DrawCol( oCol, hDC, cText, aCoord ) }
END
/*
WITH OBJECT oBrwPer:Chk
:= 50
:nHeadStrAlign:= :nDataStrAlign:= AL_CENTER
//:= {|| "" }
// { "bmp_Ok", "bmp_Ok2" }, {|o, v| ( ::Load(), ::Permiso := v, ::Save() ) }
END
*/
oBrwPer:CreateFromCode()Voy a cambiar a ARRAY, o bien (re)compilar con fiveh original (tengo incluido dos modificaciones errsysw.prg y alert.prg). Y por eso dije en otro post q no soy partidario de hacer cambios en los fuentes. No soy programador Guru
Te agradezco infinitamente tu tan amable predisposición.
Chaco - Argentina