FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xBrowse Highlight color
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
xBrowse Highlight color
Posted: Wed Aug 26, 2009 07: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
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: xBrowse Highlight color
Posted: Wed Aug 26, 2009 08: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.
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: xBrowse Highlight color
Posted: Wed Aug 26, 2009 08: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

Continue the discussion