Page 1 of 1

DC_BrowPres()

Posted: Mon Jan 23, 2017 12:22 pm
by unixkd
Hello Roger

How can I make GRA_CLR_BLACK, GRA_CLR_YELLOW the default highlite for all browses in my application without changing the express++ code ?

I put the following code at the beginning of my main prg but nothing changed.

Local aPres := DC_BrowPres()
aEval(aPres, {|e| e[2] := IF(e[1]==XBP_PP_COL_DA_HILITE_FGCLR,GRA_CLR_BLACK,e[2])},nil,nil,.t.)
aEval(aPres, {|e| e[2] := IF(e[1]==XBP_PP_COL_DA_HILITE_BGCLR,GRA_CLR_YELLOW,e[2])},nil,nil,.t.)

DC_BrowPres(aPres)

Thanks

Joe

Re: DC_BrowPres()

Posted: Mon Jan 23, 2017 11:47 pm
by Wolfgang Ciriack
Set the hilte parameters
{XBP_PP_HILITE_FGCLR, GRA_CLR_BLACK } and {XBP_PP_HILITE_BGCLR, GRA_CLR_HIGHLIGHT }