I try to make a xBrowse with a couple of columns in an array that occupies the entire width defined in the control, because more columns will be added later
How I can get the area that DATA is not well with the Brush paint is defined in the control or with another color that you define.
If I define TRANSPARENT xBrowse yes I get the background color but they miss the colors defined columns and cells.
Deputy Xbrstru.Prg example image as an example of what I mean
Buenas tardes
Intento realizar un XBrowse con un par de columnas en un array que no ocupa todo el ancho definido en el control, ya que posteriormente se a帽adiran mas columnas
C贸mo puedo conseguir que el area que no tiene DATOS se pinte bien con el Brush que se defina en el control o con otro color que se defina.
Si el XBrowse lo defino TRANSPARENTE s铆 me aparece el color de fondo pero se pierden los colores definidos de columnas y celdas.
Adjunto imagen del ejemplo Xbrstru.Prg como ejemplo de lo que quiero decir.

Uploaded with ImageShack.us
STATIC FUNCTION MakeStruBrowse( oDlg )
聽 聽LOCAL oBrw, nMaxWidth 聽 := 0, oBrus
聽 聽DEFINE BRUSH oBrus COLOR CLR_BLUE
聽 聽oBrw 聽 聽 聽 聽 聽 := TXBrowse():new( oDlg )
聽 聽WITH OBJECT oBrw
聽 聽 聽 :nTop 聽 聽 聽:= INT(HGT/2)+5
聽 聽 聽 :nLeft 聽 聽 := 10
聽 聽 聽 :nBottom 聽 := HGT-10
聽 聽 聽 :nRight 聽 聽:= WID-10
聽 聽 聽 :oBrush 聽 聽:= oBrus
聽 聽 聽 :SetArray( CUST->( dbStruct() ), .f. )
聽 聽:bClrSel 聽 聽 聽 聽 聽 := { || { CLR_WHITE, CLR_BLUE } }
聽 聽:bClrStd 聽 聽 聽 聽 聽 := { || { CLR_WHITE, CLR_BLUE } }
聽 聽:bClrStds 聽 聽 聽 聽 聽:= { || { CLR_WHITE, CLR_BLUE } }
聽 聽ENDGracias
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noci贸n del tiempo
El secreto de la felicidad no est谩 en hacer lo que te gusta, sino en que te guste lo que haces


