DC_BrowPres()

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
unixkd
Posts: 579
Joined: Thu Feb 11, 2010 1:39 pm

DC_BrowPres()

#1 Post 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

Wolfgang Ciriack
Posts: 484
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: DC_BrowPres()

#2 Post by Wolfgang Ciriack »

Set the hilte parameters
{XBP_PP_HILITE_FGCLR, GRA_CLR_BLACK } and {XBP_PP_HILITE_BGCLR, GRA_CLR_HIGHLIGHT }
_______________________
Best Regards
Wolfgang

Post Reply