Hello,
I am converting to xBrowse.
How can I change the color of the place below the rows if there are less rows than fit in the browse.
Thanks,
Willy
STATIC FUNCTION NewDialog( oWnd )
local oDlg, oBrw
DEFINE DIALOG oDlg RESOURCE "TEST" OF oWnd
oBrw := TXBrowse():New( oWnd )
oBrw:CreateFromResource( 101 )
oBrw:SetArray( { { "first", "row" }, { "second", "row" } } )
oBrw:aCols[ 1 ]:cHeader = "An array"
oBrw:aCols[ 2 ]:cHeader = "test"
oBrw:aCols[ 1 ]:bClrStd = { || { CLR_WHITE, CLR_BLUE } }
oBrw:aCols[ 2 ]:bClrStd = { || { CLR_WHITE, CLR_BLUE } }
ACTIVATE DIALOG oDlg ;
ON INIT oBrw:SetColor( CLR_WHITE, CLR_BLUE )
RETURN NIL
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 59 guests