oBrw:nMarqueeStyle := 3 // Marquee style (row selected) 0 No Marquee 1 Dotted cell 2 Solid cell 3 Highlight cell 4 Highlight row & Raise Cell 5 Highlight row 6 Highlight row & multiselect
or
oBrw:bClrRowFocus := { || { CLR_BLACK, RGB( 150,231,255 ) } }
or
oCol:bClrSelFocus := <....>
karinha wrote:Doesn't it work like that?
¿No funciona así?
- Code: Select all Expand view RUN
oBrw:nMarqueeStyle := 3 // Marquee style (row selected) 0 No Marquee 1 Dotted cell 2 Solid cell 3 Highlight cell 4 Highlight row & Raise Cell 5 Highlight row 6 Highlight row & multiselect
or
oBrw:bClrRowFocus := { || { CLR_BLACK, RGB( 150,231,255 ) } }
or
oCol:bClrSelFocus := <....>
or
http://forums.fivetechsupport.com/viewtopic.php?f=6&t=19153&p=100728&hilit=color+celda#p100728
or
http://forums.fivetechsupport.com/viewtopic.php?f=6&t=15326&p=79502&hilit=color+en+celda+xbrowse#p79502
C:\FWH..\SAMPLES\XBROWGRD.PRG
Regards, saludos.
Silvio.Falconi wrote:we can set a gradient color for each cell ?
oCol:bClrStd := { || { <clrtext>, <aGradient> } }
oBrw:aCols[2]:bClrStd := { || { CLR_BLACK, aRowGrad } }
nageswaragunupudi wrote:Silvio.Falconi wrote:we can set a gradient color for each cell ?
- Code: Select all Expand view RUN
oCol:bClrStd := { || { <clrtext>, <aGradient> } }
aadd( aTmpColors, {aText[n], {aBack[n],aGradient[n]}} )
nClr1:=aGradient[n]
nClr2:=aBack[n]
aadd( aTmpColors, { aText[n], {{ 0.5, nClr1,nClr2 },{0.5, nClr2,nClr1}, .F. } } )
nClr1:=aGradient[n]
nClr2:=aBack[n]
aadd( aTmpColors, { aText[n], {{ 0.5, nClr1,nClr2 },{0.5, nClr2,nClr1}, .t. } } )
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 25 guests