FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xbrowse cell colors
Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM
xbrowse cell colors
Posted: Mon Apr 12, 2010 08:52 AM

Hi All

When a window with a cell type xbrowse loses focus the color of the cell is black and the
data in the cell cant be read - is this controlled by windows or can it be changed.

oLbx2 := TXBrowse():New(oDlg)
oLbx2:nMarqueeStyle := MARQSTYLE_HIGHLCELL
oLbx2:nColDividerStyle := LINESTYLE_BLACK
oLbx2:nRowDividerStyle := LINESTYLE_BLACK
oLbx2:lColDividerComplete := TRUE
//oLbx:lFastEdit := TRUE
oLbx2:nDatalines := 1
//oLbx:bChange := {|| MsgInfo('move') }
oLbx2:oDbf := oPrjTemp
oLbx2:lHScroll := FALSE
oLbx2:nStretchCol := STRETCHCOL_LAST

Cheers

Colin

Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: xbrowse cell colors
Posted: Mon Apr 12, 2010 08:59 AM
Try

oBrw:bClrSel

for eg.

Code (fw): Select all Collapse
oBrw:bClrSel:={ || { nTextClr, nBackClr } }


Regards
Anser
Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM
Re: xbrowse cell colors
Posted: Mon Apr 12, 2010 12:12 PM

Hi Anser

Thanks - that fixed it

Cheers

Colin

Continue the discussion