... Con una Base de datos lo hago asi: oCol:aCols[1]:bClrStd:= {|| if(Material->Estado = "S", {CLR_WHITE,CLR_RED}, {CLR_BLACK,nRGB(255,248,220)}) } Pero con Array y que la condicion la tiene una columna que no es parte del Xbrowse, no se me hace ni idea. Muchos Saludos, Antonio
... // Con cursor de todo el renglón oBrw:nColDividerStyle := LINESTYLE_RAISED oBrw:nRowDividerStyle := LINESTYLE_RAISED oBrw:bClrSelFocus := {|| { nRGB( 0, 0, 0), nRGB(128,255,128) } } // para barra de linea selecc cuando el control tiene el foco oBrw:lColDividerComplete := (.t.) // (.T.) Mantiene ...
... }. Defaults to { CLR_BLACK, 1 } uBrush: If specified, fills the area. If omitted, the inner area is left transparent. uBrush can be Brush object, nRGB color or Alpha Color, Gradient Array with RGB and Alpha colors. aText: Optional array of { text, font, color }. If specified, prints the text at ...
... }. Defaults to { CLR_BLACK, 1 } uBrush: If specified, fills the area. If omitted, the inner area is left transparent. uBrush can be Brush object, nRGB color or Alpha Color, Gradient Array with RGB and Alpha colors. aText: Optional array of { text, font, color }. If specified, prints the text at ...
Inside Your function You defined Function SetGradientBtnbmp(ntype,ocontrol,nColorBorder) DEFAULT nColorBorder := nRGB(116,165,216 ) Do case Case ntype = 2007 ... ... //2007 ocontrol:bClrGrad = { | lInvert | If( ! lInvert,; ... ocontrol:nClrBorder := { || (IIF(ocontrol:lMOver,nColorBorder,nRgb(225, ...
... left. I tried with Many gradient but I not arrive to the result I wish How can I solve? I found the color I need No Over nColorBorder_Initial:= nRGB( 173,173,173) nColorback_Initial:= nRgb(225,225,225) Over Mouse nColorBorder_over:= nRGB(0,120,215) nColorback_over:= nRgb(229,241,251) I try also ...
... other platforms colors are expressed as "#RRGGBB" In such cases nHex( cHex ) or HEXTONUM( cHex ) do not give the correct color constant. nRGB( cHexClr ) gives the correct color constant. What is important is the source of cHex Mr Otto is referring to.