Changing color of xBrowse Memo-cellcolor on focus ?

Changing color of xBrowse Memo-cellcolor on focus ?

Postby ukoenig » Sun Aug 04, 2013 12:36 pm

Hello,

is it possible, to change the color of a focused memofield in xBrowse ?

seems not to work with MEMOFIELDS .

:bClrSelFocus = { || { 0, 16512957 } }
:bClrSel = { || { 16777215, 255 } }


Image

Code: Select all  Expand view

// 2
oCol  := oBrw1:oCol( "Info1" )
oCol:nWidth       := 155
oCol:nEditType    := EDIT_BUTTON
oCol:bEditBlock   := { | r, c, o | EDITNOTES( r, c, o, STYLE1->Info1 ) }
oCol:bOnPostEdit  := { | o, cVal | If ( cVal != nil, ( DBSELECTAREA("STYLE1"), ;
                                        NET_RLOCK( 5, 5 ), ;
                                            STYLE1->Info1 := cVal, ;
                                        NET_ULOCK(), oBrw1:Refresh() ), NIL) }
 


Best Regards
Uwe :?:
Last edited by ukoenig on Mon Aug 05, 2013 7:46 am, edited 3 times in total.
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: Changing color of xBrowse Memo-cell on focus ?

Postby nageswaragunupudi » Sun Aug 04, 2013 12:39 pm

Works the sameway whether memofields or normal fields
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 100 guests