xBrowse Highlight color

xBrowse Highlight color

Postby TimStone » Wed Aug 26, 2009 7:41 pm

In a dialog, I'm using two xBrowse's. I'm using oLbxd:nMarqueeStyle := MARQSTYLE_HIGHLROW

This works fine if only one browse is used in a dialog, but when two are used, the browse that is not in focus changes the highlighted row to a black text on very dark highlight bar, and the data is not readable. Of course when I select that browse and put it in focus, I can select that browse and the highlight bar will then be readable, but the alternate one is no longer readable.

What data element needs to be added to my code to change the color for a highlight bar in a browse that is not in focus ?

Thanks.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: xBrowse Highlight color

Postby ukoenig » Wed Aug 26, 2009 8:17 pm

Hello Tim,

// Color on Focus
// defined Text and Background-Color
// -----------------------------------------
oLbx:bClrSelFocus = { || { 16777215, 15512898 } }

// Color on Lost Focus
// ( You can use different Colors for < lost Focus > or use the same like < on Focus > )
// --------------------------------------------------------------------------------------------------
oLbx:bClrSel = { || { 16777215, 15512898 } }

Best Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: xBrowse Highlight color

Postby TimStone » Wed Aug 26, 2009 8:40 pm

Perfect ... thank you very much.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 82 guests