xbrowse cell colors

xbrowse cell colors

Postby Colin Haig » Mon Apr 12, 2010 8: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
Colin Haig
 
Posts: 310
Joined: Mon Oct 10, 2005 5:10 am

Re: xbrowse cell colors

Postby anserkk » Mon Apr 12, 2010 8:59 am

Try

oBrw:bClrSel

for eg.

Code: Select all  Expand view
oBrw:bClrSel:={ || { nTextClr, nBackClr } }


Regards
Anser
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: xbrowse cell colors

Postby Colin Haig » Mon Apr 12, 2010 12:12 pm

Hi Anser

Thanks - that fixed it


Cheers

Colin
Colin Haig
 
Posts: 310
Joined: Mon Oct 10, 2005 5:10 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], jmartial, Marc Venken and 113 guests