messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2019-03-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Tim,\ntry Fivewin’s EasyReport.\nBest regards\nOtto\n\n[img:23qasng7]https://mybergland.com/FWForum/fontcolor.jpg[/img:23qasng7]\n\n[img:23qasng7]https://mybergland.com/FWForum/fontcolor1.jpg[/img:23qasng7]", "time": "00:16", "topic": "Color error in tPrinter.prg", "username": "Otto" } ]
Color error in tPrinter.prg
[ { "date": "2019-03-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Otto,\n\nAll of my work is done with tPrinter. I have a lot of reports and want to bring color to them. I started with an Invoice ( very complex ) and it is working fine ( except the background colors ).\n\nI brought this up because I believe it is a bug in the tPrinter class. I can do the fix, but it should be done in the distribution libraries or I will have to fix every release.\n\nFor the Say( ), if the value passed is ! NIL, the current color should be saved, and after execution of the print line, it should be restored.\n\nTim", "time": "18:54", "topic": "Color error in tPrinter.prg", "username": "TimStone" } ]
Color error in tPrinter.prg
[ { "date": "2011-02-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Estimados,\n\nComo se puede cambiar el color de fondo de un xBrowse, normalmente es fondo blanco y, quisiera cambiarlo a un color amarillo, por ejemplo.\n\nCual es la forma correcta de hacerlo?", "time": "20:47", "topic": "Color fondo de un TXBrowse", "username": "Compuin" } ]
Color fondo de un TXBrowse
[ { "date": "2011-02-17", "forum": "FiveWin para Harbour/xHarbour", "text": "1.- Puedes Usar oBrw:Setcolor( CLR_WHITE, CLR_BLACK )\n2.- En \\Fwh\\ Manual\\ estan los archivos de ayuda y documentacion de la clase\n3.- <!-- m --><a class=\"postlink\" href=\"http://wiki.fivetechsoft.com/doku.php\">http://wiki.fivetechsoft.com/doku.php</a><!-- m -->\n4.- Revisa la clase TXBrowse Original \n5.- Hay que leer un poquito\n\\FWH\\source\\classes\\xbrowse.prg , alli veras los", "time": "21:12", "topic": "Color fondo de un TXBrowse", "username": "compubrion" } ]
Color fondo de un TXBrowse
[ { "date": "2014-02-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola buenas tardes amigos,como estan, espero que bien.!\n\nAndube buscando por el foro al igual en los samples, pero no encontre nada parecido a lo que quiero hacer en los campos de gets de Cargos y Abonos.\nResulta que al teclear un importe negativo que me muestre en color [color=#FF0000:y10v6e9m]rojo[/color:y10v6e9m],pero no logro dar con el resultado de lo que quiero hacer, para mayor comprension lo que quiero hacer,adjunto la imagen de un ejemplo de un sistema de contabilidad de ContPaq.\n\nGracias , no pude subirlo en 4shared, pero si logre con el imageshack.com\n\n\n[img:y10v6e9m]https&#58;//imageshack&#46;com/i/giisrtj[/img:y10v6e9m]\n[url:y10v6e9m]https&#58;//imageshack&#46;com/i/giisrtj[/url:y10v6e9m]\n\n[img:y10v6e9m]https&#58;//imageshack&#46;com/i/giisrtj[/img:y10v6e9m]\n\nQue me muestre el caracter del texto del importe en rojo, cuando es negativo, y si no es negativo, que me muestre el caracter a su color normal.\n\nSaludos", "time": "21:34", "topic": "Color get en rojo si es negativo...Anexo imagen", "username": "ACC69" } ]
Color get en rojo si es negativo...Anexo imagen
[ { "date": "2014-02-21", "forum": "FiveWin para Harbour/xHarbour", "text": "acá:\n\n<!-- w --><a class=\"postlink\" href=\"http://www.4shared.com\">www.4shared.com</a><!-- w -->\n\nsalu2", "time": "21:47", "topic": "Color get en rojo si es negativo...Anexo imagen", "username": "karinha" } ]
Color get en rojo si es negativo...Anexo imagen
[ { "date": "2014-02-21", "forum": "FiveWin para Harbour/xHarbour", "text": "[code=fw:ifljpj6g]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">LISTBOX</span> oLbx FIELDS <span style=\"color: #ff0000;\">\"\"</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">ALIAS</span> <span style=\"color: #ff0000;\">\"AUDITOR\"</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">100</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br /><br />&nbsp; &nbsp; oLbx:<span style=\"color: #000000;\">Set3DStyle</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; oLbx:<span style=\"color: #000000;\">lHScroll</span> := .F.<br />&nbsp; &nbsp; oLbx:<span style=\"color: #000000;\">bLine</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">&#123;</span> AUDITOR->USUARIO, AUDITOR->NIVEL, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CVALTOCHAR<span style=\"color: #000000;\">&#40;</span>AUDITOR->FECHA<span style=\"color: #000000;\">&#41;</span>, AUDITOR->HORA, AUDITOR->ACCION<span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; oLbx:<span style=\"color: #000000;\">aHeaders</span> := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Usuario\"</span>,<span style=\"color: #ff0000;\">\"Privilegio\"</span>,<span style=\"color: #ff0000;\">\"Fecha\"</span>,<span style=\"color: #ff0000;\">\"Hora\"</span>,<span style=\"color: #ff0000;\">\"Acción Realizada\"</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; oLbx:<span style=\"color: #000000;\">aHJustify</span> := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; <span style=\"color: #B900B9;\">//-> Mudar a cor</span><br />&nbsp; &nbsp; oLbx:<span style=\"color: #000000;\">nClrPane</span> := <span style=\"color: #000000;\">&#123;</span>|| IIF<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span>oLbx:<span style=\"color: #000000;\">cAlias</span><span style=\"color: #000000;\">&#41;</span>-><span style=\"color: #000000;\">&#40;</span>OrdKeyNo<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span>%<span style=\"color: #000000;\">2</span>=<span style=\"color: #000000;\">0</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span><span style=\"color: #000000;\">&#41;</span>, ColorDia<span style=\"color: #000000;\">&#40;</span>AUDITOR->FECHA<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; oLbx:<span style=\"color: #000000;\">lAdjLastCol</span> := .T.<br />&nbsp; &nbsp; oLbx:<span style=\"color: #000000;\">lAdjBrowse</span> := .T.<br /><br /><span style=\"color: #B900B9;\">//--------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> ColorDia<span style=\"color: #000000;\">&#40;</span>dDate<span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> cRGBColor:= <span style=\"color: #ff0000;\">\"\"</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> nDia:= <span style=\"color: #000000;\">0</span><br /><br />&nbsp; &nbsp; nDia:= STRZERO<span style=\"color: #000000;\">&#40;</span>DAY<span style=\"color: #000000;\">&#40;</span>dDate<span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">IF</span> nDia == <span style=\"color: #ff0000;\">\"01\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">253</span>,<span style=\"color: #000000;\">196</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"02\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">208</span>,<span style=\"color: #000000;\">202</span>,<span style=\"color: #000000;\">183</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"03\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">222</span>,<span style=\"color: #000000;\">235</span>,<span style=\"color: #000000;\">255</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"04\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">206</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">196</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"05\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">235</span>,<span style=\"color: #000000;\">206</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"06\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">194</span>,<span style=\"color: #000000;\">230</span>,<span style=\"color: #000000;\">253</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"07\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">238</span>,<span style=\"color: #000000;\">255</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"08\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">173</span>,<span style=\"color: #000000;\">207</span>,<span style=\"color: #000000;\">247</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"09\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">228</span>,<span style=\"color: #000000;\">222</span>,<span style=\"color: #000000;\">203</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"10\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">180</span>,<span style=\"color: #000000;\">222</span>,<span style=\"color: #000000;\">185</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"11\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">217</span>,<span style=\"color: #000000;\">228</span>,<span style=\"color: #000000;\">255</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"12\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">202</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">239</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"13\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">226</span>,<span style=\"color: #000000;\">204</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"14\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">246</span>,<span style=\"color: #000000;\">220</span>,<span style=\"color: #000000;\">255</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"15\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">226</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">216</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"16\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">250</span>,<span style=\"color: #000000;\">222</span>,<span style=\"color: #000000;\">237</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"17\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">251</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">224</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"18\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">234</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">211</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"19\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">210</span>,<span style=\"color: #000000;\">211</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"20\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">240</span>,<span style=\"color: #000000;\">255</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"21\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">217</span>,<span style=\"color: #000000;\">222</span>,<span style=\"color: #000000;\">180</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"22\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">254</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">231</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"23\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">231</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">204</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"24\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">211</span>,<span style=\"color: #000000;\">235</span>,<span style=\"color: #000000;\">184</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"25\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">246</span>,<span style=\"color: #000000;\">224</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"26\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">230</span>,<span style=\"color: #000000;\">231</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"27\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">239</span>,<span style=\"color: #000000;\">235</span>,<span style=\"color: #000000;\">222</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"28\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">233</span>,<span style=\"color: #000000;\">176</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"29\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">231</span>,<span style=\"color: #000000;\">239</span>,<span style=\"color: #000000;\">222</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"30\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">213</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ELSEIF nDia == <span style=\"color: #ff0000;\">\"31\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cRGBColor:= nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">248</span>,<span style=\"color: #000000;\">242</span>,<span style=\"color: #000000;\">223</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">RETURN</span><span style=\"color: #000000;\">&#40;</span> cRGBColor <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #B900B9;\">//</span><br /><br />ó<br /><br /><span style=\"color: #B900B9;\">//</span><br />:<span style=\"color: #000000;\">bClrStd</span>:=ClrStd<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <br /><br /><span style=\"color: #B900B9;\">//----------------------- </span><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> ClrStd<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <br /><span style=\"color: #B900B9;\">//----------------------- </span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> aCol:=<span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span> <br />&nbsp; &nbsp;<span style=\"color: #00C800;\">IF</span> alias-><span style=\"color: #000000;\">&#40;</span>ordkeyno<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> % <span style=\"color: #000000;\">2</span> == <span style=\"color: #000000;\">0</span> <br />&nbsp; &nbsp; &nbsp; aCol:=<span style=\"color: #000000;\">&#123;</span>CLR_BLACK, RGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">193</span>,<span style=\"color: #000000;\">221</span>,<span style=\"color: #000000;\">255</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <br />&nbsp; &nbsp;<span style=\"color: #00C800;\">ELSE</span> <br />&nbsp; &nbsp; &nbsp; aCol:=<span style=\"color: #000000;\">&#123;</span>CLR_BLACK, RGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">221</span>,<span style=\"color: #000000;\">245</span>,<span style=\"color: #000000;\">255</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <br />&nbsp; &nbsp;<span style=\"color: #00C800;\">ENDIF</span> <br /><br /><span style=\"color: #00C800;\">RETURN</span><span style=\"color: #000000;\">&#40;</span> aCol <span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:ifljpj6g]", "time": "21:51", "topic": "Color get en rojo si es negativo...Anexo imagen", "username": "karinha" } ]
Color get en rojo si es negativo...Anexo imagen
[ { "date": "2014-02-21", "forum": "FiveWin para Harbour/xHarbour", "text": "O tambien:\n<!-- m --><a class=\"postlink\" href=\"https://imageshack.com/\">https://imageshack.com/</a><!-- m -->?", "time": "21:51", "topic": "Color get en rojo si es negativo...Anexo imagen", "username": "cnavarro" } ]
Color get en rojo si es negativo...Anexo imagen
[ { "date": "2014-02-21", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"cnavarro\":1omphmzi]O tambien:\n[url]https://imageshack.com/?[/url][/quote:1omphmzi]\n\nAlguien tiene idea de lo que quiero hacer ?....\n\nSaludos.", "time": "23:37", "topic": "Color get en rojo si es negativo...Anexo imagen", "username": "ACC69" } ]
Color get en rojo si es negativo...Anexo imagen
[ { "date": "2014-02-22", "forum": "FiveWin para Harbour/xHarbour", "text": "Creo que si es tecleandolo y que luego se ponga rojo, puedes usar el color del texto bajo condicion despues que el get pierda el focus, dependiendo si el valor es menor q cero, entonces pones letras en rojo con el fondo como quieras, de lo contrario, lo dejas como esta o colocas algun color, es la idea, nose si hacerlo es tan facil como decirlo, saludos... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->", "time": "02:45", "topic": "Color get en rojo si es negativo...Anexo imagen", "username": "joseluisysturiz" } ]
Color get en rojo si es negativo...Anexo imagen
[ { "date": "2014-02-22", "forum": "FiveWin para Harbour/xHarbour", "text": "Yo no se si hay un PICTURE que haga automaticamente eso cuando detecta en un campo numérico que se escriba el carácter `-`\nPuedes probar asi\n@ nf, nC GET oGet VAR nGet .... ;\nVALID (if( oGet:VarGet() < 0, (oGet:SetColor( CLR_HRED, CLR_WHITE ),oGet:Refresh(), .T.), .T. ))\n\nAunque si funciona, yo crearía una función pasando el objeto get y que siempre devuelva .T. y así no te producirá problemas con el resto de VALIDs que puedas tener en los GETs definidos y en los que tengas que aplicarlo\nEspero te sirva de algo", "time": "13:24", "topic": "Color get en rojo si es negativo...Anexo imagen", "username": "cnavarro" } ]
Color get en rojo si es negativo...Anexo imagen
[ { "date": "2014-02-24", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"cnavarro\":3a930ogv]Yo no se si hay un PICTURE que haga automaticamente eso cuando detecta en un campo numérico que se escriba el carácter `-`\nPuedes probar asi\n@ nf, nC GET oGet VAR nGet .... ;\nVALID (if( oGet:VarGet() < 0, (oGet:SetColor( CLR_HRED, CLR_WHITE ),oGet:Refresh(), .T.), .T. ))\n\nAunque si funciona, yo crearía una función pasando el objeto get y que siempre devuelva .T. y así no te producirá problemas con el resto de VALIDs que puedas tener en los GETs definidos y en los que tengas que aplicarlo\nEspero te sirva de algo[/quote:3a930ogv]\n\n\nGracias a todos los que me respondieron, muchas gracias y gusto saludarles.", "time": "17:56", "topic": "Color get en rojo si es negativo...Anexo imagen", "username": "ACC69" } ]
Color get en rojo si es negativo...Anexo imagen
[ { "date": "2006-09-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Antonio.\nI saw that you can show the disabled get in a dialog using the ldiscolors parameter that show the get with a normal color, not the light gray of windows.\nIf you have in a dialog some checkboxes, radios, combobox of multiple line gets, the color is always a light gray, that in some cases are really difficult to see.\nIs possible to change the disabled color of these objects ?\nThanks a lot.", "time": "10:17", "topic": "Color ob disabled objects", "username": "giuliano" } ]
Color ob disabled objects
[ { "date": "2006-09-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Giuliano,\n\nWith GETs its easier, but with other controls its more complex as we have to do the painting of the controls ourselves.", "time": "10:34", "topic": "Color ob disabled objects", "username": "Antonio Linares" } ]
Color ob disabled objects
[ { "date": "2006-09-25", "forum": "FiveWin for Harbour/xHarbour", "text": "With multiline gets is it possible ? Thanks", "time": "11:50", "topic": "Color ob disabled objects", "username": "giuliano" } ]
Color ob disabled objects
[ { "date": "2006-09-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Giuliano,\n\nYou may use the multiline GET clause READONLY, so it can not be edited, but it displays as enabled.", "time": "16:49", "topic": "Color ob disabled objects", "username": "Antonio Linares" } ]
Color ob disabled objects
[ { "date": "2017-01-09", "forum": "FiveWin for Harbour/xHarbour", "text": "To All\n\nI have noticed that the color of the combobox on Windows 10 turns a 'grey' color .. if one did not know, they would think the combobox was disabled. Here is the code .. any advice would be helpful.\n\nRick Lipkin\n\n[code=fw:d2iyuscd]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oTime  <span style=\"color: #0000ff;\">VAR</span> cTime       <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">114</span> <span style=\"color: #0000ff;\">of</span> oGrps ;<br />         <span style=\"color: #0000ff;\">ITEMS</span> aTime<br />         oTime:<span style=\"color: #000000;\">lIncSearch</span> = .T.<br /><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oTime_Back  <span style=\"color: #0000ff;\">var</span> cTime_Back <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">117</span> <span style=\"color: #0000ff;\">of</span> oGrps ;<br />         <span style=\"color: #0000ff;\">ITEMS</span> aTime_Back<br />         oTime_Back:<span style=\"color: #000000;\">lIncSearch</span> = .T.<br /><br /> </div>[/code:d2iyuscd]\n[img:d2iyuscd]http&#58;//i68&#46;tinypic&#46;com/2h30xgn&#46;jpg[/img:d2iyuscd]", "time": "21:10", "topic": "Color of Combobox on Windows 10 .. Greyish", "username": "Rick Lipkin" } ]
Color of Combobox on Windows 10 .. Greyish
[ { "date": "2017-01-10", "forum": "FiveWin for Harbour/xHarbour", "text": "It is a \"feature\" of W10. <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG", "time": "12:11", "topic": "Color of Combobox on Windows 10 .. Greyish", "username": "Enrico Maria Giordano" } ]
Color of Combobox on Windows 10 .. Greyish
[ { "date": "2017-01-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico\n\nThanks .. do you know of a way to manually set the appearance, foreground and text to any color ?\n\nRick Lipkin", "time": "14:57", "topic": "Color of Combobox on Windows 10 .. Greyish", "username": "Rick Lipkin" } ]
Color of Combobox on Windows 10 .. Greyish
[ { "date": "2017-01-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Rick,\n\nit seems that we cannot change the appearence of a themed control.\n\nEMG", "time": "15:31", "topic": "Color of Combobox on Windows 10 .. Greyish", "username": "Enrico Maria Giordano" } ]
Color of Combobox on Windows 10 .. Greyish
[ { "date": "2021-03-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear All,\n\nCan we still not change colors of COMBOBOX (Dropdown List) from resource?\n[quote=\"Enrico Maria Giordano\":3vjuwern]Rick,\n\nit seems that we cannot change the appearence of a themed control.\n\nEMG[/quote:3vjuwern]", "time": "15:32", "topic": "Color of Combobox on Windows 10 .. Greyish", "username": "dutch" } ]
Color of Combobox on Windows 10 .. Greyish
[ { "date": "2023-01-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nTo display lines in different colors in the xbrowse cell, I specify aCols [1]: aClrText: = {CLR _ BLACK, CLR_RED}.\nIs it possible to make this setting not for all xBrose lines, but according to a certain condition ?", "time": "12:59", "topic": "Color of rows in the cell", "username": "Natter" } ]
Color of rows in the cell
[ { "date": "2023-01-23", "forum": "FiveWin for Harbour/xHarbour", "text": "[code=fw:3jvxmtjx]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />....<br />....<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">bClrStd</span> &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; := &nbsp;<span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span>Len<span style=\"color: #000000;\">&#40;</span> aDeta <span style=\"color: #000000;\">&#41;</span> > <span style=\"color: #000000;\">0</span> , ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> CLR_BLACK,clrEstFondo<span style=\"color: #000000;\">&#40;</span>aDeta<span style=\"color: #000000;\">&#91;</span>oBrw:<span style=\"color: #000000;\">nArrayAt</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #ff0000;\">\"estado\"</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> ,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> CLR_BLACK,clrEstFondo<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"S\"</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">bClrSelFocus</span> &nbsp; &nbsp; &nbsp; := &nbsp;<span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span>Len<span style=\"color: #000000;\">&#40;</span> aDeta <span style=\"color: #000000;\">&#41;</span> > <span style=\"color: #000000;\">0</span> , ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> CLR_WHITE,clrEstSelec<span style=\"color: #000000;\">&#40;</span>aDeta<span style=\"color: #000000;\">&#91;</span>oBrw:<span style=\"color: #000000;\">nArrayAt</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #ff0000;\">\"estado\"</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> ,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> CLR_WHITE,clrEstSelec<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"S\"</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>&nbsp; &nbsp;<br /><br /><br />....<br />....<br /><br /><br />****************************<br />*CAMBIA EL <span style=\"color: #0000ff;\">COLOR</span> DE LA CELDA<br />****************************<br /><span style=\"color: #00C800;\">Function</span> clrEstFondo<span style=\"color: #000000;\">&#40;</span>valor<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">If</span> valor==<span style=\"color: #ff0000;\">\"S\"</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">Return</span> nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//Blanco</span><br />ElseIf valor==<span style=\"color: #ff0000;\">\"N\"</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">Return</span> nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">187</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">187</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//Verde Claro</span><br />ElseIf valor==<span style=\"color: #ff0000;\">\"M\"</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">Return</span> nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">187</span>,<span style=\"color: #000000;\">187</span>,<span style=\"color: #000000;\">255</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//Azul Claro</span><br />ElseIf valor==<span style=\"color: #ff0000;\">\"B\"</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">Return</span> nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">187</span>,<span style=\"color: #000000;\">187</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//Rojo Claro</span><br /><span style=\"color: #00C800;\">Else</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">Return</span> nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//Blanco</span><br /><span style=\"color: #00C800;\">Endif</span><br /><br />*****************************************<br />*CAMBIA EL <span style=\"color: #0000ff;\">COLOR</span> DE LA CELDA SELECCIONADO<br />*****************************************<br /><span style=\"color: #00C800;\">Function</span> clrEstSelec<span style=\"color: #000000;\">&#40;</span>valor<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">If</span> valor==<span style=\"color: #ff0000;\">\"S\"</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">Return</span> RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">117</span>, <span style=\"color: #000000;\">186</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span><br />ElseIf valor==<span style=\"color: #ff0000;\">\"N\"</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">Return</span> nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">210</span>,<span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//Verde Oscuro</span><br />ElseIf valor==<span style=\"color: #ff0000;\">\"M\"</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">Return</span> nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">119</span>,<span style=\"color: #000000;\">119</span>,<span style=\"color: #000000;\">255</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//Azul Oscuro</span><br />ElseIf valor==<span style=\"color: #ff0000;\">\"B\"</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">Return</span> nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">117</span>,<span style=\"color: #000000;\">117</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//Rojo Oscuro</span><br /><span style=\"color: #00C800;\">Else</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">Return</span> RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">117</span>, <span style=\"color: #000000;\">186</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span>&nbsp;<br /><span style=\"color: #00C800;\">Endif</span><br /><br /><br />&nbsp;</div>[/code:3jvxmtjx]", "time": "20:20", "topic": "Color of rows in the cell", "username": "leandro" } ]
Color of rows in the cell
[ { "date": "2023-01-24", "forum": "FiveWin for Harbour/xHarbour", "text": "This is an example for the whole cell, but I asked about coloring the lines in the cell with different colors.\n\ntex1+CRLF+text2+CRLF+text3", "time": "08:18", "topic": "Color of rows in the cell", "username": "Natter" } ]
Color of rows in the cell
[ { "date": "2023-01-25", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Natter\":1sj0kxhe]Hi,\n\nTo display lines in different colors in the xbrowse cell, I specify aCols [1]: aClrText: = {CLR _ BLACK, CLR_RED}.\nIs it possible to make this setting not for all xBrose lines, but according to a certain condition ?[/quote:1sj0kxhe]\n\n[code=fw:1sj0kxhe]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oDlg, oBrw, oCol, oFont, oBold, oItalic, oImpact<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> aClr1 := <span style=\"color: #000000;\">&#123;</span> CLR_HRED,CLR_GREEN,CLR_HBLUE <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> aClr2 := <span style=\"color: #000000;\">&#123;</span> CLR_HBLUE,CLR_HRED,CLR_GREEN <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> aData := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"123\"</span>, <span style=\"color: #ff0000;\">\"ONE\"</span> + CRLF + <span style=\"color: #ff0000;\">\"JANUARY\"</span> + CRLF + <span style=\"color: #ff0000;\">\"MONDAY\"</span> <span style=\"color: #000000;\">&#125;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"234\"</span>, <span style=\"color: #ff0000;\">\"TWO\"</span> + CRLF + <span style=\"color: #ff0000;\">\"FEBRUARY\"</span> + CRLF + <span style=\"color: #ff0000;\">\"TUESDAY\"</span> <span style=\"color: #000000;\">&#125;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"345\"</span>, <span style=\"color: #ff0000;\">\"THREE\"</span> + CRLF + <span style=\"color: #ff0000;\">\"MARCH\"</span> + CRLF + <span style=\"color: #ff0000;\">\"WEDNESDAY\"</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont &nbsp; &nbsp;<span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"TAHOMA\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-14</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oImpact &nbsp;<span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"IMPACT\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-35</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oBold &nbsp; &nbsp;<span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"VERDANA\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-18</span> BOLD<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oItalic &nbsp;<span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Times New Roman\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-16</span> BOLD ITALIC<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">500</span>,<span style=\"color: #000000;\">500</span> <span style=\"color: #0000ff;\">PIXEL</span> TRUEPIXEL <span style=\"color: #0000ff;\">FONT</span> oFont<br /><br /><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">20</span>,<span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrw <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">-20</span>,<span style=\"color: #000000;\">-20</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br />&nbsp; &nbsp; &nbsp; DATASOURCE aData <span style=\"color: #0000ff;\">AUTOCOLS</span> CELL LINES NOBORDER<br /><br />&nbsp; &nbsp;WITH OBJECT oBrw<br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">nDataStrAligns</span> &nbsp; := AL_CENTER<br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">oDataFont</span> &nbsp; := oImpact<br />&nbsp; &nbsp; &nbsp; WITH OBJECT <span style=\"color: #000000;\">&#40;</span> oCol := oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style=\"color: #000000;\">aDataFont</span> &nbsp;:= <span style=\"color: #000000;\">&#123;</span> oBold, oFont, oItalic <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style=\"color: #000000;\">bClrStd</span> &nbsp; &nbsp;:= <span style=\"color: #000000;\">&#123;</span> || oCol:<span style=\"color: #000000;\">aClrText</span> &nbsp; := <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> oBrw:<span style=\"color: #000000;\">KeyNo</span> % <span style=\"color: #000000;\">2</span> == <span style=\"color: #000000;\">0</span>, aClr1, aClr2 <span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">0</span>, CLR_WHITE <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; END<br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">nRowHeight</span> &nbsp; &nbsp;:= <span style=\"color: #000000;\">100</span><br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;END<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">FONT</span> oFont, oBold, oItalic, oImpact<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br />&nbsp;</div>[/code:1sj0kxhe]\n\n[url=https&#58;//imageshack&#46;com/i/pmBSX7Qcp:1sj0kxhe][img:1sj0kxhe]https&#58;//imagizer&#46;imageshack&#46;com/v2/xq90/922/BSX7Qc&#46;png[/img:1sj0kxhe][/url:1sj0kxhe]", "time": "21:25", "topic": "Color of rows in the cell", "username": "nageswaragunupudi" } ]
Color of rows in the cell
[ { "date": "2023-01-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank you, Rao!", "time": "10:59", "topic": "Color of rows in the cell", "username": "Natter" } ]
Color of rows in the cell
[ { "date": "2023-01-28", "forum": "FiveWin for Harbour/xHarbour", "text": "[b:v3wozy8t]Simplification in the next version:[/b:v3wozy8t]\n\n1) aDataFont and aClrText can also be codeblocks. These codeblocks are evaluated with two params, viz, the column object and lHiLite.\n\nThe above code can be written like this:\n[code=fw:v3wozy8t]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">WITH OBJECT oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp;:<span style=\"color: #000000;\">aClrText</span> &nbsp; := <span style=\"color: #000000;\">&#123;</span> |oCol,lHilite| <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> lHilite, <span style=\"color: #000000;\">&#123;</span> CLR_WHITE, CLR_WHITE, CLR_WHITE <span style=\"color: #000000;\">&#125;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> oCol:<span style=\"color: #000000;\">oBrw</span>:<span style=\"color: #000000;\">KeyNo</span> % <span style=\"color: #000000;\">2</span> == <span style=\"color: #000000;\">0</span>, aClr1, aClr2 <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />END<br />&nbsp;</div>[/code:v3wozy8t]\n\n2) We know bClrStd returns a color pair { nClrText, nClrBack }\n If instead of returning a single color as nClrText, if we return an array of colors, those colors are used in the place of aClrText.\n\nThis example code also works like the above sample:\n[code=fw:v3wozy8t]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">WITH OBJECT oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp;:<span style=\"color: #000000;\">bClrStd</span> := <span style=\"color: #000000;\">&#123;</span> || <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> oBrw:<span style=\"color: #000000;\">KeyNo</span> % <span style=\"color: #000000;\">2</span> == <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">&#123;</span> aClr1, CLR_WHITE <span style=\"color: #000000;\">&#125;</span>, <span style=\"color: #000000;\">&#123;</span> aClr2, CLR_WHITE <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />END<br />&nbsp;</div>[/code:v3wozy8t]", "time": "14:15", "topic": "Color of rows in the cell", "username": "nageswaragunupudi" } ]
Color of rows in the cell
[ { "date": "2020-03-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nHow can I change the color of text in the xBrowse record selector column", "time": "10:41", "topic": "Color of text in a selector column", "username": "Natter" } ]
Color of text in a selector column
[ { "date": "2020-03-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Una idea\n[code=fw:1o8khka2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />  oBrwMs:<span style=\"color: #000000;\">nColorPen</span>       := CLR_HGRAY<br />  oBrwMs:<span style=\"color: #000000;\">nColorBox</span>       := CLR_WHITE<br /> </div>[/code:1o8khka2]", "time": "18:19", "topic": "Color of text in a selector column", "username": "leandro" } ]
Color of text in a selector column
[ { "date": "2020-03-24", "forum": "FiveWin for Harbour/xHarbour", "text": "And here nColorPen and nColorBox ? <!-- s:? --><img src=\"{SMILIES_PATH}/icon_confused.gif\" alt=\":?\" title=\"Confused\" /><!-- s:? -->", "time": "06:36", "topic": "Color of text in a selector column", "username": "Natter" } ]
Color of text in a selector column
[ { "date": "2009-01-28", "forum": "FiveWin for Harbour/xHarbour", "text": "The colors of the folder-pages are now the same as the parent dialog using. But only, if the transparent-clause from the dialog is .T.\nIs this normal?", "time": "15:25", "topic": "Color of the folder-pages in 9.01", "username": "byte-one" } ]
Color of the folder-pages in 9.01
[ { "date": "2009-01-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Günther,\n\nHave you tested it with previous FWH versions ?\n\nWas it different ?", "time": "00:02", "topic": "Color of the folder-pages in 9.01", "username": "Antonio Linares" } ]
Color of the folder-pages in 9.01
[ { "date": "2009-01-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Its only from 9.01 on!!\nIn VISTA the background color from the folder dialogs was white, in XP it was a very very light brown as Windows-Standard. Now it is always the color from the parent dialog, when i use TRANSPARENT-clause in DIALOG. But I can set the colors with\n ...ON INIT oDlg:aDialogs[1...x]:setcolor(....).", "time": "10:35", "topic": "Color of the folder-pages in 9.01", "username": "byte-one" } ]
Color of the folder-pages in 9.01
[ { "date": "2020-05-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nCan I change the color and font of the oTree object in xBbrowse ?", "time": "20:37", "topic": "Color of the oTree", "username": "Natter" } ]
Color of the oTree
[ { "date": "2020-05-17", "forum": "FiveWin for Harbour/xHarbour", "text": "You can use codeblocks for colors and fonts based on oBrw:oTreeItem:nLevel or any other datas of oBrw:oTreeItem", "time": "06:11", "topic": "Color of the oTree", "username": "nageswaragunupudi" } ]
Color of the oTree
[ { "date": "2020-05-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks. Please give a small example", "time": "07:14", "topic": "Color of the oTree", "username": "Natter" } ]
Color of the oTree
[ { "date": "2020-05-17", "forum": "FiveWin for Harbour/xHarbour", "text": "[code=fw:mpq2lap9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oBrw:<span style=\"color: #000000;\">bClrStd</span> := <span style=\"color: #000000;\">&#123;</span> || <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> oBrw:<span style=\"color: #000000;\">oTreeItem</span>:<span style=\"color: #000000;\">nLevel</span> == <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">&#123;</span> ... <span style=\"color: #000000;\">&#125;</span>, <span style=\"color: #000000;\">&#123;</span> ... <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />oBrw:<span style=\"color: #000000;\">oDataFonts</span> := <span style=\"color: #000000;\">&#123;</span> || <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> oBrw:<span style=\"color: #000000;\">oTreeItem</span>:<span style=\"color: #000000;\">nLevel</span> == <span style=\"color: #000000;\">1</span>, oBold, oNormal <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp;</div>[/code:mpq2lap9]", "time": "07:51", "topic": "Color of the oTree", "username": "nageswaragunupudi" } ]
Color of the oTree
[ { "date": "2020-05-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Works. Thanks. I color the row for ::otree:nlevel=1, but it would be more convenient to combine columns in this row. I tried using column merging from the XBRUSER.PRG example Everything works, but the column separators are visible <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: -->", "time": "08:20", "topic": "Color of the oTree", "username": "Natter" } ]
Color of the oTree
[ { "date": "2011-08-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Is it possible to apply the same color of the dialog to an un-redefined object\n\nIn example I have a dialog with a lot OF SAY and GET objects\n\nIn the source code I have only GET objects\nCustomer ask to me to change color to the dialog\n\nREDEFINE DIALOG oDlg RESOURCE \"dialogo\" COLOR clr_blue, clr_red\n\nThe say objects remain of original color they do not inherit dialog color.\nIs it possible to obtain that without a lot of REDEFINE SAY oSay1 ID 401 OF oDlg COLOR clr_blue, clr_red?\n\nMany Thanks\n\nMarco", "time": "12:50", "topic": "Color of un-redefined Say Objects", "username": "MarcoBoschi" } ]
Color of un-redefined Say Objects
[ { "date": "2011-08-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Marco,\n\nJust add the TRANSPARENT clause when defining the dialog:\n\nDEFINE DIALOG oDlg RESOURCE \"dialogo\" COLOR clr_blue, clr_red TRANSPARENT", "time": "19:28", "topic": "Color of un-redefined Say Objects", "username": "Antonio Linares" } ]
Color of un-redefined Say Objects
[ { "date": "2011-08-05", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks Antonio", "time": "13:18", "topic": "Color of un-redefined Say Objects", "username": "MarcoBoschi" } ]
Color of un-redefined Say Objects
[ { "date": "2011-09-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n with TRANSPARENT clause in dialog I have now a little problem.\n\n DEFINE DIALOG oDlg RESOURCE \"lis_de\" FONT oFnt2 COLOR CLR_RED , nColore TRANSPARENT\n\nIf the dbf vieved by twbrowse object contains a few records the bottom of the dialog is of the same color of dialog itself.\nIs it possible to force oBrw object as not transparent?\nI've tried with oBrw:lTransparent without success\n\nThanks in advance\n\nmarco", "time": "08:34", "topic": "Color of un-redefined Say Objects", "username": "MarcoBoschi" } ]
Color of un-redefined Say Objects
[ { "date": "2011-09-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Marco,\n\nTry to set it from the ON INIT clause of the dialog:\n\nACTIVATE DIALOG oDlg ON INIT ( oBrw:lTransparent := .F., oBrw:Refresh() )", "time": "13:44", "topic": "Color of un-redefined Say Objects", "username": "Antonio Linares" } ]
Color of un-redefined Say Objects
[ { "date": "2011-09-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n i does not work.\nI will try it in another little sample program.\n\nBest regards\n\nmarco", "time": "14:33", "topic": "Color of un-redefined Say Objects", "username": "MarcoBoschi" } ]
Color of un-redefined Say Objects
[ { "date": "2011-09-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, \n This little sample code makes you understand the problem.\n\nIf you substitute the line code\n oBrw := TMyWBrowse():Redefine( 101 , , oDlg )\nwith\n oBrw := TWBrowse():Redefine( 101 , , oDlg )\nit works but I need TMyWbrowse class\n\nMany thanks\n\nmarco\n\n\n[code=fw:30wtahuf]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">LOCAL</span> oDlg<br /><span style=\"color: #00C800;\">LOCAL</span> oBrw<br /><br /><br />SET DELETED <span style=\"color: #0000ff;\">ON</span><br />SET EXCLUSIVE OFF<br /><br />USE customer<br /><span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> field->first TAG first <span style=\"color: #0000ff;\">TO</span> mycust <span style=\"color: #00C800;\">FOR</span> RECNO<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> < <span style=\"color: #000000;\">5</span><br /><br /><br /><span style=\"color: #00C800;\">PRIVATE</span> aRec := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span><br /><span style=\"color: #00C800;\">PRIVATE</span> nCur := <span style=\"color: #000000;\">1</span><br /><br />GO TOP<br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"DIALOG_1\"</span> <span style=\"color: #0000ff;\">COLOR</span> CLR_RED, CLR_BLUE TRANSPARENT<br /><br />   oBrw := TMyWBrowse<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">Redefine</span><span style=\"color: #000000;\">&#40;</span>   <span style=\"color: #000000;\">101</span>   , , oDlg <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #B900B9;\">//   oBrw := TWBrowse():Redefine(   101   , , oDlg )</span><br /><br /><br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTER</span><br /><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><br /><span style=\"color: #00C800;\">CLASS</span> TMyWBrowse <span style=\"color: #0000ff;\">FROM</span> TWBrowse<br /><br /><span style=\"color: #B900B9;\">//      METHOD Paint()</span><br /><br /><span style=\"color: #00C800;\">ENDCLASS</span><br /><br /><span style=\"color: #B900B9;\">//  METHOD Paint() CLASS TMyWBrowse</span><br /><span style=\"color: #B900B9;\">//</span><br /><span style=\"color: #B900B9;\">//      Super:Paint()</span><br /><span style=\"color: #B900B9;\">//</span><br /><span style=\"color: #B900B9;\">//</span><br /><span style=\"color: #B900B9;\">//      RETURN 0</span><br /> </div>[/code:30wtahuf]\n\n\n[code=fw:30wtahuf]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">/****************************************************************************<br /><br /><br />testa.rc<br /><br />produced by Borland Resource Workshop<br /><br /><br />*****************************************************************************/</span><br /><br /><br />DIALOG_1 <span style=\"color: #0000ff;\">DIALOG</span> <span style=\"color: #000000;\">22</span>, <span style=\"color: #000000;\">32</span>, <span style=\"color: #000000;\">390</span>, <span style=\"color: #000000;\">325</span><br /><span style=\"color: #0000ff;\">STYLE</span> DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU<br />CAPTION <span style=\"color: #ff0000;\">\"TestTransparent\"</span><br /><span style=\"color: #0000ff;\">FONT</span> <span style=\"color: #000000;\">8</span>, <span style=\"color: #ff0000;\">\"MS Sans Serif\"</span><br />LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL<br /><span style=\"color: #000000;\">&#123;</span><br /> CONTROL <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #000000;\">101</span>, <span style=\"color: #ff0000;\">\"TMyWBrowse\"</span>, <span style=\"color: #000000;\">0</span> | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP, <span style=\"color: #000000;\">15</span>, <span style=\"color: #000000;\">8</span>, <span style=\"color: #000000;\">356</span>, <span style=\"color: #000000;\">292</span><br /><span style=\"color: #000000;\">&#125;</span><br /><br /> </div>[/code:30wtahuf]", "time": "15:22", "topic": "Color of un-redefined Say Objects", "username": "MarcoBoschi" } ]
Color of un-redefined Say Objects
[ { "date": "2011-09-09", "forum": "FiveWin for Harbour/xHarbour", "text": "up!", "time": "12:49", "topic": "Color of un-redefined Say Objects", "username": "MarcoBoschi" } ]
Color of un-redefined Say Objects
[ { "date": "2011-09-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Please,\n someone can test this program please?\n\nThanks in advance\n\nmarco", "time": "09:01", "topic": "Color of un-redefined Say Objects", "username": "MarcoBoschi" } ]
Color of un-redefined Say Objects
[ { "date": "2011-09-11", "forum": "FiveWin for Harbour/xHarbour", "text": "I already tested it but not found a solution, sorry.\n\nEMG", "time": "09:35", "topic": "Color of un-redefined Say Objects", "username": "Enrico Maria Giordano" } ]
Color of un-redefined Say Objects
[ { "date": "2011-09-11", "forum": "FiveWin for Harbour/xHarbour", "text": "EMG,\n Thank you very much!", "time": "18:58", "topic": "Color of un-redefined Say Objects", "username": "MarcoBoschi" } ]
Color of un-redefined Say Objects
[ { "date": "2011-09-11", "forum": "FiveWin for Harbour/xHarbour", "text": "In your opinion is it a bug or is a normal behaviour?", "time": "18:59", "topic": "Color of un-redefined Say Objects", "username": "MarcoBoschi" } ]
Color of un-redefined Say Objects
[ { "date": "2011-09-11", "forum": "FiveWin for Harbour/xHarbour", "text": "I really don't know... <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG", "time": "19:09", "topic": "Color of un-redefined Say Objects", "username": "Enrico Maria Giordano" } ]
Color of un-redefined Say Objects
[ { "date": "2011-09-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello\n\nyour sample work to me\n\n[img:1sa5y76y]http&#58;//www&#46;danielgarciagil&#46;com/fivewin/screen/brwtrans&#46;png[/img:1sa5y76y]\n[url:1sa5y76y]http&#58;//www&#46;danielgarciagil&#46;com/fivewin/samples/dlgtrn&#46;zip[/url:1sa5y76y]\n\n[code=fw:1sa5y76y]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">LOCAL</span> oDlg<br /><span style=\"color: #00C800;\">LOCAL</span> oBrw<br /><br /><br />SET DELETED <span style=\"color: #0000ff;\">ON</span><br />SET EXCLUSIVE OFF<br /><br />USE customer<br /><span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> field->first TAG first <span style=\"color: #0000ff;\">TO</span> mycust <span style=\"color: #00C800;\">FOR</span> RECNO<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> < <span style=\"color: #000000;\">5</span><br /><br /><br /><span style=\"color: #00C800;\">PRIVATE</span> aRec := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span><br /><span style=\"color: #00C800;\">PRIVATE</span> nCur := <span style=\"color: #000000;\">1</span><br /><br />GO TOP<br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"DIALOG_1\"</span> <span style=\"color: #0000ff;\">COLOR</span> CLR_RED, CLR_BLUE TRANSPARENT<br /><br /><span style=\"color: #B900B9;\">//   oBrw := TMyWBrowse():Redefine(   101   , , oDlg )</span><br />   oBrw := TWBrowse<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">Redefine</span><span style=\"color: #000000;\">&#40;</span>   <span style=\"color: #000000;\">101</span>   , , oDlg <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTER</span><br /><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><br /><span style=\"color: #00C800;\">CLASS</span> TMyWBrowse <span style=\"color: #0000ff;\">FROM</span> TWBrowse<br /><br /><span style=\"color: #B900B9;\">//      METHOD Paint()</span><br /><br /><span style=\"color: #00C800;\">ENDCLASS</span><br /><br /><span style=\"color: #B900B9;\">//  METHOD Paint() CLASS TMyWBrowse</span><br /><span style=\"color: #B900B9;\">//</span><br /><span style=\"color: #B900B9;\">//      Super:Paint()</span><br /><span style=\"color: #B900B9;\">//</span><br /><span style=\"color: #B900B9;\">//</span><br /><span style=\"color: #B900B9;\">//      RETURN 0</span><br /> <br /> </div>[/code:1sa5y76y]\n\n[code=fw:1sa5y76y]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #B900B9;\">/****************************************************************************<br /><br /><br />testa.rc<br /><br />produced by Borland Resource Workshop<br /><br /><br />*****************************************************************************/</span><br /><br /><br />DIALOG_1 <span style=\"color: #0000ff;\">DIALOG</span> <span style=\"color: #000000;\">22</span>, <span style=\"color: #000000;\">32</span>, <span style=\"color: #000000;\">390</span>, <span style=\"color: #000000;\">325</span><br /><span style=\"color: #0000ff;\">STYLE</span> DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU<br />CAPTION <span style=\"color: #ff0000;\">\"TestTransparent\"</span><br /><span style=\"color: #0000ff;\">FONT</span> <span style=\"color: #000000;\">8</span>, <span style=\"color: #ff0000;\">\"MS Sans Serif\"</span><br />LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL<br /><span style=\"color: #000000;\">&#123;</span><br /> CONTROL <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #000000;\">101</span>, <span style=\"color: #ff0000;\">\"TWBrowse\"</span>, <span style=\"color: #000000;\">0</span> | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP, <span style=\"color: #000000;\">15</span>, <span style=\"color: #000000;\">8</span>, <span style=\"color: #000000;\">356</span>, <span style=\"color: #000000;\">292</span><br /><span style=\"color: #000000;\">&#125;</span><br /><br /> <br /> </div>[/code:1sa5y76y]", "time": "20:15", "topic": "Color of un-redefined Say Objects", "username": "Daniel Garcia-Gil" } ]
Color of un-redefined Say Objects
[ { "date": "2011-09-11", "forum": "FiveWin for Harbour/xHarbour", "text": "You have to comment TWBrowse and uncomment TMyWBrowse in order to see the problem.\n\nEMG", "time": "20:26", "topic": "Color of un-redefined Say Objects", "username": "Enrico Maria Giordano" } ]
Color of un-redefined Say Objects
[ { "date": "2011-09-12", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"MarcoBoschi\":2a6youpf]In your opinion is it a bug or is a normal behaviour?[/quote:2a6youpf]\nNot a bug at all. \n\nThere are two alternative ways:\nAlternative-1:\n\n[code=fw:2a6youpf]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">&#40;</span> oBrw:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">&#40;</span> CLR_BLACK, CLR_WHITE <span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span></div>[/code:2a6youpf]\n\nYou may also add oBrw:lTransparent := .f. also in the INIT clause.\nAlternative-2:\n\nPlease add this inline method to your derived class TMyWBrowse:\n[code=fw:2a6youpf]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">   <span style=\"color: #00C800;\">METHOD</span> Initiate<span style=\"color: #000000;\">&#40;</span> hDlg <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">INLINE</span> <span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lTransparent</span> := .f., <span style=\"color: #00C800;\">Super</span>:<span style=\"color: #000000;\">Initiate</span><span style=\"color: #000000;\">&#40;</span> hDlg <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:2a6youpf]\nIn this case, you do not have to do anything in the INIT clause of the dialog.", "time": "03:21", "topic": "Color of un-redefined Say Objects", "username": "nageswaragunupudi" } ]
Color of un-redefined Say Objects
[ { "date": "2011-09-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Great\nNow it works!\n\n\nKing regards\n\nMarco", "time": "09:34", "topic": "Color of un-redefined Say Objects", "username": "MarcoBoschi" } ]
Color of un-redefined Say Objects
[ { "date": "2020-02-11", "forum": "FiveWin for Harbour/xHarbour", "text": "I have this xbrowse\n\n[img:2lhwcrcp]https&#58;//i&#46;postimg&#46;cc/rppc6Rjn/gg&#46;png[/img:2lhwcrcp]\n\nI wish make a report and print also the color column, so how I can make ?", "time": "12:29", "topic": "Color on Report", "username": "Silvio.Falconi" } ]
Color on Report
[ { "date": "2020-02-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Resolved !!!!!! (thank Nages)\n\n.....making a temporaney bitmap with the colors\n\n[img:3q89xisp]https&#58;//i&#46;postimg&#46;cc/GmPMrMtz/yes&#46;png[/img:3q89xisp]", "time": "12:49", "topic": "Color on Report", "username": "Silvio.Falconi" } ]
Color on Report
[ { "date": "2020-02-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Good morning Silvio. Whenever possible, post the example of the solution, so that other users can enjoy the solution of the problem.\n\nIf it is not possible, there is no problem. The intention is always to help newbies who are starting in this wonderful universe of fivewin.\n\nThis report was very beautiful. Congratulations.\n\nThanks.\n\nGreetings.", "time": "15:41", "topic": "Color on Report", "username": "karinha" } ]
Color on Report
[ { "date": "2020-02-11", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"karinha\":15jxig5h]Good morning Silvio. Whenever possible, post the example of the solution, so that other users can enjoy the solution of the problem.\n\nIf it is not possible, there is no problem. The intention is always to help newbies who are starting in this wonderful universe of fivewin.\n\nThis report was very beautiful. Congratulations.\n\nThanks.\n\nGreetings.[/quote:15jxig5h]\n\nI found the solution on this forum from[b:15jxig5h] a Nages sample[/b:15jxig5h] to create bitmap from two colors with [b:15jxig5h] FW_MakeYourBitmap[/b:15jxig5h] function", "time": "17:07", "topic": "Color on Report", "username": "Silvio.Falconi" } ]
Color on Report
[ { "date": "2020-02-11", "forum": "FiveWin for Harbour/xHarbour", "text": "ok, thanks.\n\n[url:1607cwdj]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=3&t=35518&p=211553&hilit=FW_MakeYourBitmap#p211553[/url:1607cwdj]\n\n[url:1607cwdj]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=3&t=36838&p=219763&hilit=FW_MakeYourBitmap#p219763[/url:1607cwdj]\n\nRegards.", "time": "17:42", "topic": "Color on Report", "username": "karinha" } ]
Color on Report
[ { "date": "2008-07-03", "forum": "FiveWin for Harbour/xHarbour", "text": "To All\r\n\r\nWith the standard FWH folder class ... I have multiple folders with tabs and I would like to be able to turn the tab prompt a specific color based on certain data conditions..\r\n\r\nRick Lipkin", "time": "02:56", "topic": "Color on tab\\folder", "username": "Rick Lipkin" } ]
Color on tab\folder
[ { "date": "2008-07-03", "forum": "FiveWin for Harbour/xHarbour", "text": "It is not possible with the present FWH folder class, because it uses standard windows folders. \r\n\r\nFor 16-bit clipper the folder.prg uses folders drawn by fivewin itself.", "time": "08:06", "topic": "Color on tab\\folder", "username": "nageswaragunupudi" } ]
Color on tab\folder
[ { "date": "2008-07-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Rick,\r\n\r\nSee this: [url:1i5di0s6]http&#58;//www&#46;fivewin&#46;com&#46;br/forum/topic&#46;asp?whichpage=1&ARCHIVE=&TOPIC_ID=13108[/url:1i5di0s6]\r\n\r\nThis is the direct link to the download:\r\n[url:1i5di0s6]http&#58;//www&#46;vrmm&#46;com&#46;br/downloads/folder&#46;zip[/url:1i5di0s6]\r\n\r\nRegards,\r\n\r\nRossine.", "time": "21:05", "topic": "Color on tab\\folder", "username": "Rossine" } ]
Color on tab\folder
[ { "date": "2008-07-31", "forum": "FiveWin for Harbour/xHarbour", "text": "Rossine\r\n\r\nI have download the rfolder class and have an example .. I see no examples using a resource. Looking at the rfolder.ch .. it appears RESOURCE is supported ..\r\n\r\nGetting a can not create dialog error .. here is the snipit of rfolder code causing the problem and my code with the relevant portion of the error log. \r\n\r\nAny advice here would be welcome.\r\n\r\nRick Lipkin\r\n\r\n// from rfolder.prg\r\n \r\n\r\nDEFINE DIALOG oDlg2 Title \"\" OF Self;\r\n FROM 0, 0 TO ::aHSay[1]*::nLinhas, ::nWidth PIXEL ;\r\n FONT Self:oFont Color ::nClrFore2, ::nClrBack2 STYLE ::nStyle\r\n oDlg2:bLClicked := {|nCol, nRow| ::ClickArea( nCol, nRow ) }\r\n ACTIVATE DIALOG oDlg2 NoWait\r\n\r\n \r\nhas to do with TITLE .. \r\n\r\n Here is my code :\r\n\r\n \r\n\r\nDEFINE DIALOG oGOAL RESOURCE \"STGOALS\" ;\r\n COLOR rgb(192,192,192), rgb(172,163,157) ;\r\n TITLE cTITLE\r\n\r\n //------ set up all tabs\r\n\r\n REDEFINE RFOLDER oFLD1 ID 110 of oGOAL ;\r\n PROMPT \"Goal1 ab\", \"Goal1 cde\",\"Goal2 ab\", \"Goal2 cd\", \"Goal 2e\", \"Goal3\", \"Goal4 ab\", \"Goal4 cd\", \"Goal5 ab\", \"Goal5 cde\", \"None\" ;\r\n DIALOGS \"STG1\", \"STG1E\", \"STG2\", \"STG2D\" , \"STG2E\", \"STG3\", \"STG4\", \"STG4D\", \"STG5\",\"STG5E\", \"STG6\" ;\r\n COLOR CLR_BLACK, nRGB( 225, 231,220 )\r\n\r\n \r\n// error log\r\n\r\n Application\r\n===========\r\n Path and name: C:\\FOX\\PMOSQL\\PmoW32.Exe (32 bits)\r\n Size: 1,995,776 bytes\r\n Time from start: 0 hours 0 mins 9 secs \r\n Error occurred at: 07/30/2008, 11:37:32\r\n Error description: Error FiveWin/3 Cannot create Dialog Box: \r\n Title: \r\n\r\nStack Calls\r\n===========\r\n Called from: .\\source\\classes\\DIALOG.PRG => CREATEDLGERROR(0)\r\n Called from: .\\source\\classes\\DIALOG.PRG => TDIALOG:ACTIVATE(0)\r\n Called from: rfolder.prg => TRFOLDER:INICIAR(1296)\r\n Called from: rfolder.prg => TRFOLDER:REDEFINE(450)\r\n Called from: STGOALS.PRG => _STGOALS(335)\r\n Called from: PROJVIEW.PRG => (b)_PROJVIEW(464)\r\n Called from: .\\source\\classes\\BTNBMP.PRG => TBTNBMP:CLICK(0)\r\n Called from: .\\source\\classes\\BTNBMP.PRG => TBTNBMP:LBUTTONUP(0)\r\n Called from: => TWINDOW:HANDLEEVENT(0)\r\n Called from: .\\source\\classes\\CONTROL.PRG => TCONTROL:HANDLEEVENT(0)\r\n Called from: .\\source\\classes\\BTNBMP.PRG => TBTNBMP:HANDLEEVENT(0)\r\n Called from: .\\source\\classes\\WINDOW.PRG => _FWH(0)\r\n Called from: => DIALOGBOX(0)\r\n Called from: .\\source\\classes\\DIALOG.PRG => TDIALOG:ACTIVATE(0)\r\n Called from: PROJVIEW.PRG => _PROJVIEW(524)\r\n Called from: PROJBROW.PRG => (b)PROJMENU(313)\r\n Called from: .\\source\\classes\\MENU.PRG => TMENU:COMMAND(0)\r\n Called from: .\\source\\classes\\WINDOW.PRG => TWINDOW:COMMAND(0)\r\n Called from: .\\source\\classes\\MDIFRAME.PRG => TMDIFRAME:COMMAND(0)\r\n Called from: => TMDIFRAME:HANDLEEVENT(0)\r\n Called from: .\\source\\classes\\WINDOW.PRG => _FWH(0)\r\n Called from: => WINRUN(0)\r\n Called from: .\\source\\classes\\WINDOW.PRG => TMDIFRAME:ACTIVATE(0)\r\n Called from: MAIN.PRG => MAIN(311)", "time": "02:30", "topic": "Color on tab\\folder", "username": "Rick Lipkin" } ]
Color on tab\folder
[ { "date": "2008-07-31", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Rick,\r\n\r\nThe AUTHOR of this class Ricardo marques says:\r\n\r\n[quote:1ont9gr3]\n[SET PORTUGUESE]\nAinda não consegui coloca-la em recursos.\nComo já havia dito anteriormente, por não trabalhar com recursos, teria sim uma certa dificudade pra implementar isso.\n\nAinda não entendo, como é que o sistema busca algumas informações, como coordenadas, sizes, etc. Sei que elas estão declaradas no arquivo de recursos, mas ainda não sei como acessar esses dados. Se tiver alguma dica, ajudaria muito.\n[/quote:1ont9gr3]\r\n\r\nSee more here:[url:1ont9gr3]http&#58;//www&#46;fivewin&#46;com&#46;br/forum/topic&#46;asp?TOPIC_ID=13108&whichpage=4&ARCHIVE=[/url:1ont9gr3]\r\n\r\nSorry, <!-- s:oops: --><img src=\"{SMILIES_PATH}/icon_redface.gif\" alt=\":oops:\" title=\"Embarassed\" /><!-- s:oops: --> \r\n\r\nRossine.", "time": "13:23", "topic": "Color on tab\\folder", "username": "Rossine" } ]
Color on tab\folder
[ { "date": "2008-07-31", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Rossine\":1o1wbtrv]Hello Rick,\n\nThe AUTHOR of this class Ricardo marques says:\n\n[quote:1o1wbtrv]\n[SET PORTUGUESE]\nAinda não consegui coloca-la em recursos.\nComo já havia dito anteriormente, por não trabalhar com recursos, teria sim uma certa dificudade pra implementar isso.\n\nAinda não entendo, como é que o sistema busca algumas informações, como coordenadas, sizes, etc. Sei que elas estão declaradas no arquivo de recursos, mas ainda não sei como acessar esses dados. Se tiver alguma dica, ajudaria muito.\n[/quote:1o1wbtrv]\n\nSee more here:[url:1o1wbtrv]http&#58;//www&#46;fivewin&#46;com&#46;br/forum/topic&#46;asp?TOPIC_ID=13108&whichpage=4&ARCHIVE=[/url:1o1wbtrv]\n\nSorry, <!-- s:oops: --><img src=\"{SMILIES_PATH}/icon_redface.gif\" alt=\":oops:\" title=\"Embarassed\" /><!-- s:oops: --> \n\nRossine.[/quote:1o1wbtrv]\r\n\r\n\r\nBummer .. here is the translation :\r\n\r\nStill did not I obtain puts-her in resources. As already it to have said previously, by do not work with resources, would have yes a certain one dificudade for the implement that. \r\n\r\nStill not entendo, as is that the system seeks some information, like coordinates, sizes, etc. I know that they are declared in the file of resources, but still do not I know as access those facts. If will have some hint, would help very. \r\n\r\nSeems the root problem is from resource ?? \r\n\r\nRIck", "time": "14:38", "topic": "Color on tab\\folder", "username": "Rick Lipkin" } ]
Color on tab\folder
[ { "date": "2008-07-31", "forum": "FiveWin for Harbour/xHarbour", "text": "Rick,\r\n\r\n[quote:1xxp4cfe]\nSeems the root problem is from resource ?? \n[/quote:1xxp4cfe]\n\nYes.\n\nRicardo says:\n\n[quote:1xxp4cfe]\n If will have some hint, would help very\n[/quote:1xxp4cfe]\r\n\r\n\r\nThe author does not know as implement the changes for resources. \r\nCome in in contact with him, perhaps he already have some advancement about this ok? \r\n\r\nEmail: <!-- e --><a href=\"mailto:[email protected]\">[email protected]</a><!-- e -->\r\n\r\nRegards,\r\n\r\nRossine.", "time": "17:05", "topic": "Color on tab\\folder", "username": "Rossine" } ]
Color on tab\folder
[ { "date": "2008-07-31", "forum": "FiveWin for Harbour/xHarbour", "text": "Rossine\r\n\r\nRicardo and I have exchanged the initial e-mail when I enquired about his class .. however I have sent him two messages ( since ) asking for some help on this particular situation and I have not heard a word <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> \r\n\r\nRick Lipkin", "time": "19:26", "topic": "Color on tab\\folder", "username": "Rick Lipkin" } ]
Color on tab\folder
[ { "date": "2021-01-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello guys...\n\nI am looking for a solution to create a color palette for the user to select. Has anyone done?\n\n[img:12n3vs9f]https&#58;//comunidadeweb&#46;com&#46;br/wp-content/uploads/2016/07/tabeladecorescoreldraw&#46;png[/img:12n3vs9f]\n\nThanks", "time": "23:17", "topic": "Color palette", "username": "ctoas" } ]
Color palette
[ { "date": "2021-01-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Christiano,\n\nI think You want to select a color from a defined colorselection <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \nJust define a array with the colorvalues.\nYou can create Your own color palette (colorpicker) with xBrowse like :\n\nThis sample shows a array with the basiccolors.\n[img:3ax7aful]http&#58;//www&#46;service-fivewin&#46;de/IMAGES/colorpick7&#46;jpg[/img:3ax7aful]\n\n[code=fw:3ax7aful]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">FUNCTION</span> RGB_BASIC<span style=\"color: #000000;\">&#40;</span> oDlgMain <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">LOCAL</span> oBrw2, n<br /><span style=\"color: #B900B9;\">// array of cellcolors for colorselection</span><br /><span style=\"color: #00C800;\">LOCAL</span> aDat1 := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">128</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">128</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">128</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">128</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />                              nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">192</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>,; <br />                            <span style=\"color: #000000;\">&#123;</span> nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">64</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />                               nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">192</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">192</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>,;                 <br />                            <span style=\"color: #000000;\">&#123;</span> nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">64</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">64</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">128</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />                              nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">64</span>, <span style=\"color: #000000;\">128</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">64</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">128</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>,;         <br />                            <span style=\"color: #000000;\">&#123;</span> nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">64</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />                              nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">160</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">128</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>,;         <br />                            <span style=\"color: #000000;\">&#123;</span> nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">64</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">64</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">64</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">64</span>, <span style=\"color: #000000;\">64</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />                              nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">128</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">64</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">64</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">64</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">64</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">128</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>,;         <br />                            <span style=\"color: #000000;\">&#123;</span> nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">64</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">128</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />                              nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">64</span>, <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">128</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">192</span>, <span style=\"color: #000000;\">192</span>, <span style=\"color: #000000;\">192</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">64</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">64</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrw2 <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">120</span> <span style=\"color: #0000ff;\">OF</span> oDlgMain ARRAY aDat1 ;<br />FIELDS aDat1<span style=\"color: #000000;\">&#91;</span> oBrw2:<span style=\"color: #000000;\">nArrayAt</span> <span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>, aDat1<span style=\"color: #000000;\">&#91;</span> oBrw2:<span style=\"color: #000000;\">nArrayAt</span> <span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span>, aDat1<span style=\"color: #000000;\">&#91;</span> oBrw2:<span style=\"color: #000000;\">nArrayAt</span> <span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span>, ;<br />              aDat1<span style=\"color: #000000;\">&#91;</span> oBrw2:<span style=\"color: #000000;\">nArrayAt</span> <span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#93;</span>, aDat1<span style=\"color: #000000;\">&#91;</span> oBrw2:<span style=\"color: #000000;\">nArrayAt</span> <span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span>, aDat1<span style=\"color: #000000;\">&#91;</span> oBrw2:<span style=\"color: #000000;\">nArrayAt</span> <span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">&#93;</span>, ;<br />              aDat1<span style=\"color: #000000;\">&#91;</span> oBrw2:<span style=\"color: #000000;\">nArrayAt</span> <span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">7</span> <span style=\"color: #000000;\">&#93;</span>, aDat1<span style=\"color: #000000;\">&#91;</span> oBrw2:<span style=\"color: #000000;\">nArrayAt</span> <span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">8</span> <span style=\"color: #000000;\">&#93;</span> ;<br />LINES COLSIZES <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">30</span> <span style=\"color: #0000ff;\">PIXEL</span><br /><br />WITH OBJECT oBrw2<br />    :<span style=\"color: #000000;\">lRecordSelector</span>        := .F. <span style=\"color: #B900B9;\">// .t.</span><br />    :<span style=\"color: #000000;\">lColDividerComplete</span>    := .T. <span style=\"color: #B900B9;\">// .f.</span><br />    :<span style=\"color: #000000;\">lAllowColSwapping</span>      := .F.<br />    :<span style=\"color: #000000;\">lAllowColHiding</span>        := .F.<br />    :<span style=\"color: #000000;\">lFastEdit</span>              := .F.<br />    :<span style=\"color: #000000;\">lHeader</span>                := .F.<br />    :<span style=\"color: #000000;\">nStretchCol</span>            := <span style=\"color: #000000;\">-1</span><br />    :<span style=\"color: #000000;\">lRecordSelector</span>        := .F.<br />    :<span style=\"color: #000000;\">lAllowRowSizing</span>        := .F.<br />    :<span style=\"color: #000000;\">lHScroll</span>               := .F.<br />    :<span style=\"color: #000000;\">lVScroll</span>               := .F.<br />    :<span style=\"color: #000000;\">lDrawBorder</span>            := .T.<br />    :<span style=\"color: #000000;\">nMarqueeStyle</span>      := <span style=\"color: #000000;\">1</span><br />    :<span style=\"color: #000000;\">nRowHeight</span>         := <span style=\"color: #000000;\">30</span><br /><br />    :<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bClrstd</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">&#123;</span> , aDat1<span style=\"color: #000000;\">&#91;</span> oBrw2:<span style=\"color: #000000;\">KeyNo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br />    :<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bClrstd</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">&#123;</span> , aDat1<span style=\"color: #000000;\">&#91;</span> oBrw2:<span style=\"color: #000000;\">KeyNo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br />    :<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bClrstd</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">&#123;</span> , aDat1<span style=\"color: #000000;\">&#91;</span> oBrw2:<span style=\"color: #000000;\">KeyNo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br />    :<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bClrstd</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">&#123;</span> , aDat1<span style=\"color: #000000;\">&#91;</span> oBrw2:<span style=\"color: #000000;\">KeyNo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br />    :<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bClrstd</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">&#123;</span> , aDat1<span style=\"color: #000000;\">&#91;</span> oBrw2:<span style=\"color: #000000;\">KeyNo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br />    :<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">6</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bClrstd</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">&#123;</span> , aDat1<span style=\"color: #000000;\">&#91;</span> oBrw2:<span style=\"color: #000000;\">KeyNo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">6</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br />    :<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">7</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bClrstd</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">&#123;</span> , aDat1<span style=\"color: #000000;\">&#91;</span> oBrw2:<span style=\"color: #000000;\">KeyNo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">7</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br />    :<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">8</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bClrstd</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">&#123;</span> , aDat1<span style=\"color: #000000;\">&#91;</span> oBrw2:<span style=\"color: #000000;\">KeyNo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">8</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br />END<br /><br /><span style=\"color: #00C800;\">FOR</span> n := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> LEN<span style=\"color: #000000;\">&#40;</span> oBrw2:<span style=\"color: #000000;\">aCols</span> <span style=\"color: #000000;\">&#41;</span><br />      oBrw2:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span> n <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bPaintText</span> = <span style=\"color: #000000;\">&#123;</span> | oCol, hDC, cText | <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">&#125;</span><br />      oBrw2:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span> n <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">lAllowSizing</span> := .F.<br /><span style=\"color: #00C800;\">NEXT</span><br /><br />oBrw2:<span style=\"color: #000000;\">bLClicked</span> := <span style=\"color: #000000;\">&#123;</span> | nRow, nCol | <span style=\"color: #000000;\">&#40;</span> nRPos := oBrw2:<span style=\"color: #000000;\">KeyNo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, ;<br />                                                        nCPos := oBrw2:<span style=\"color: #000000;\">SelectedCol</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #000000;\">nCreationOrder</span>, ;<br />                            COLORVALUE<span style=\"color: #000000;\">&#40;</span> aDat1<span style=\"color: #000000;\">&#91;</span>nRPos<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span>nCPos<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <br />oBrw2:<span style=\"color: #000000;\">bChange</span> := <span style=\"color: #000000;\">&#123;</span> | nRow, nCol | <span style=\"color: #000000;\">&#40;</span>  nRPos := oBrw2:<span style=\"color: #000000;\">KeyNo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, ;<br />                                                        nCPos := oBrw2:<span style=\"color: #000000;\">SelectedCol</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #000000;\">nCreationOrder</span>, ;<br />                            COLORVALUE<span style=\"color: #000000;\">&#40;</span> aDat1<span style=\"color: #000000;\">&#91;</span>nRPos<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span>nCPos<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #B900B9;\">// -------------</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> COLORVALUE<span style=\"color: #000000;\">&#40;</span> nColor <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">LOCAL</span> nRed := nRGBRed<span style=\"color: #000000;\">&#40;</span> nColor <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">LOCAL</span> nGreen := nRGBGreen<span style=\"color: #000000;\">&#40;</span> nColor <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">LOCAL</span> nBlue := nRGBBlue<span style=\"color: #000000;\">&#40;</span> nColor <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">LOCal</span> cWordRGB := <span style=\"color: #ff0000;\">\"nRGB( \"</span> + ALLTRIM<span style=\"color: #000000;\">&#40;</span>STR<span style=\"color: #000000;\">&#40;</span>nRed<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\", \"</span> + ;<br />                                     ALLTRIM<span style=\"color: #000000;\">&#40;</span>STR<span style=\"color: #000000;\">&#40;</span>nGreen<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\", \"</span> + ;<br />                                     ALLTRIM<span style=\"color: #000000;\">&#40;</span>STR<span style=\"color: #000000;\">&#40;</span>nBlue<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\" )\"</span><br /><br /><span style=\"color: #B900B9;\">// save result to ???</span><br />MsgAlert<span style=\"color: #000000;\">&#40;</span> nColor, <span style=\"color: #ff0000;\">\"Color NUMERIC\"</span><span style=\"color: #000000;\">&#41;</span> <br />MsgAlert<span style=\"color: #000000;\">&#40;</span> cWordRGB, <span style=\"color: #ff0000;\">\"Color RGB\"</span><span style=\"color: #000000;\">&#41;</span> <br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /> </div>[/code:3ax7aful]\n\nbest regards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "13:44", "topic": "Color palette", "username": "ukoenig" } ]
Color palette
[ { "date": "2021-01-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank you, perfect!", "time": "22:30", "topic": "Color palette", "username": "ctoas" } ]
Color palette
[ { "date": "2021-02-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello guys.\n\nSome adjustments are still missing, but it's perfect! \n\n[img:148087se]http&#58;//maxxtech&#46;com&#46;br/forum/gac-window&#46;jpg[/img:148087se]", "time": "20:30", "topic": "Color palette", "username": "ctoas" } ]
Color palette
[ { "date": "2021-02-07", "forum": "FiveWin for Harbour/xHarbour", "text": "May I know why can't we use Microsoft Windows color picker? This is a standard Windows interface and all Windows users are familiar with its use and functionality.\nThis is available in fwh function ChooseColor( nClr ) ---> nClr", "time": "04:26", "topic": "Color palette", "username": "nageswaragunupudi" } ]
Color palette
[ { "date": "2021-02-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Nages.\n\nI didn't know this function, but I would only use it if there was no option since it is out of the standard of my screens.\n\nHugs", "time": "17:21", "topic": "Color palette", "username": "ctoas" } ]
Color palette
[ { "date": "2021-02-07", "forum": "FiveWin for Harbour/xHarbour", "text": "I*m building the needed array for this selection <!-- s:!: --><img src=\"{SMILIES_PATH}/icon_exclaim.gif\" alt=\":!:\" title=\"Exclamation\" /><!-- s:!: --> \n\n[quote:2f6m6f0h]I didn't know this function, but \nI would only use it if there was no option since it is out of the standard of my screens.[/quote:2f6m6f0h]\n\n[img:2f6m6f0h]http&#58;//www&#46;service-fivewin&#46;de/IMAGES/colors1&#46;jpg[/img:2f6m6f0h]\n\na defined column-array looks like\n\n[code=fw:2f6m6f0h]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />Row     Column <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#40;</span> red <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #000000;\">1</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">51</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">2</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">102</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">3</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">153</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">4</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">204</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">5</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">6</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">51</span>, <span style=\"color: #000000;\">51</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">7</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">102</span>, <span style=\"color: #000000;\">102</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">8</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">153</span>, <span style=\"color: #000000;\">153</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">9</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">204</span>, <span style=\"color: #000000;\">204</span> <span style=\"color: #000000;\">&#41;</span><br /><br />Row     Column <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#40;</span> brown <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #000000;\">1</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">51</span>, <span style=\"color: #000000;\">25</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">2</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">102</span>, <span style=\"color: #000000;\">51</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">3</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">153</span>, <span style=\"color: #000000;\">76</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">4</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">204</span>, <span style=\"color: #000000;\">102</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">5</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">6</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">153</span>, <span style=\"color: #000000;\">51</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">7</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">178</span>, <span style=\"color: #000000;\">102</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">8</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">204</span>, <span style=\"color: #000000;\">153</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">9</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">229</span>, <span style=\"color: #000000;\">204</span> <span style=\"color: #000000;\">&#41;</span><br /><br />Row     Column <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#40;</span> yellow <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #000000;\">1</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">51</span>, <span style=\"color: #000000;\">51</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">2</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">102</span>, <span style=\"color: #000000;\">102</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">3</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">153</span>, <span style=\"color: #000000;\">153</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">4</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">204</span>, <span style=\"color: #000000;\">204</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">5</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">6</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">51</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">7</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">102</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">8</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">153</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">9</span>       nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">204</span> <span style=\"color: #000000;\">&#41;</span><br /><br /> </div>[/code:2f6m6f0h]\n\nlike You can see with this function ChooseColor( nClr ) the colors are not splitted to the same brightness-level\nI think that is the solution You are looking for <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \n\n[img:2f6m6f0h]http&#58;//www&#46;service-fivewin&#46;de/IMAGES/colors2&#46;jpg[/img:2f6m6f0h]\n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "19:49", "topic": "Color palette", "username": "ukoenig" } ]
Color palette
[ { "date": "2021-02-07", "forum": "FiveWin for Harbour/xHarbour", "text": "This is Windows API ChooseColor() made available by FWH through its function ChooseColor().\nOne can make his own function, but can not easily match its functionality.", "time": "20:24", "topic": "Color palette", "username": "nageswaragunupudi" } ]
Color palette
[ { "date": "2013-10-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola.\n¿Puede alguien indicarme cómo establecer el color para la línea del browse que tiene el foco? He probado con oBrw:bClrSelFocus pero no funciona.\nGracias por adelantado.", "time": "08:24", "topic": "Color para línea de browse con foco", "username": "fernandomoralesdr" } ]
Color para línea de browse con foco
[ { "date": "2013-10-19", "forum": "FiveWin para Harbour/xHarbour", "text": "bClrStd for all lines and cells, when in focus and out of focus.\n\nbClrSelFocus : for Selected Cell when the browse is in focus\nbClrSel for Selected Cell when browse is not in focus", "time": "08:39", "topic": "Color para línea de browse con foco", "username": "nageswaragunupudi" } ]
Color para línea de browse con foco
[ { "date": "2013-10-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Fernando;\nSolo por si sos usuario nuevo de xbrowse\nTene en cuenta que xBrowse permite mostrar distintos tipos de \"barras\" de señalización o celda de señalización. Y esto se define con\n:nMarqueeStyle:= ... (valores en xbrowse.ch)\nY de ahí los colores que se pueden usar pararesaltar \"barra\" o \"celda\".\nQuizás tambien encuentres interesante esto: [url:mvs2sgat]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=6&t=27051&sid=c7426821ce419a4a875b0ec06715509a#p150243[/url:mvs2sgat]", "time": "14:26", "topic": "Color para línea de browse con foco", "username": "MarioG" } ]
Color para línea de browse con foco
[ { "date": "2019-03-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Using the tPrinter class, is there a way to print a column with a specific color ?\n\nI have a report that attaches to an Invoice. It is a checklist. The first column should be green, the second yellow, the third red, and the last ( and biggest ) is no color and contains the description. The first 3 columns will have printing but just a few characters each.", "time": "22:11", "topic": "Color printing", "username": "TimStone" } ]
Color printing
[ { "date": "2019-03-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes\nPlease use nClrText parameter in the Print (say) methods of Printer class.\nPlease refer to printer.prg", "time": "04:13", "topic": "Color printing", "username": "nageswaragunupudi" } ]
Color printing
[ { "date": "2019-03-21", "forum": "FiveWin for Harbour/xHarbour", "text": "I had looked at that. What I want is to have the column background color to be set. \n\nWith an xBrowse, we get this effect by using this:\n\n[code=fw:o4yufhh8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />        oLbx8:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">SetCheck</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />        oLbx8:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bClrstd</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">65280</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>         <span style=\"color: #B900B9;\">// Green</span><br />        oLbx8:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">SetCheck</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />        oLbx8:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bClrstd</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">0</span>,  <span style=\"color: #000000;\">65535</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>    <span style=\"color: #B900B9;\">// Yellow</span><br />        oLbx8:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">SetCheck</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />        oLbx8:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bClrstd</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">0</span>,  <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>        <span style=\"color: #B900B9;\">// Red</span><br />        oLbx8:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">SetCheck</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:o4yufhh8]\n\nNow I want to have the same result when I do a printout, where the first 3 COLUMNS can have the background color set to green, yellow, and red.\n\nI also noticed that I can use the SAYTEXT( ) method so I tried this:\n\n[code=fw:o4yufhh8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">IF</span> oPrintInspect:<span style=\"color: #000000;\">svcpas</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oPrn:<span style=\"color: #000000;\">SayText</span><span style=\"color: #000000;\">&#40;</span> nRow, <span style=\"color: #000000;\">2</span>*nCsp, <span style=\"color: #ff0000;\">\"PASS\"</span>,,, oFbold, , CLR_BLACK, &nbsp;CLR_GREEN &nbsp;<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ELSEIF oPrintInspect:<span style=\"color: #000000;\">svcwat</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oPrn:<span style=\"color: #000000;\">SayText</span><span style=\"color: #000000;\">&#40;</span> nRow, <span style=\"color: #000000;\">2</span>*nCsp, <span style=\"color: #ff0000;\">\"Watch\"</span>,,, oFbold , , CLR_BLACK, CLR_YELLOW &nbsp;<span style=\"color: #000000;\">&#41;</span> <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ELSEIF oPrintInspect:<span style=\"color: #000000;\">svcfal</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oPrn:<span style=\"color: #0000ff;\">Say</span><span style=\"color: #000000;\">&#40;</span> nRow, <span style=\"color: #000000;\">2</span>*nCsp, <span style=\"color: #ff0000;\">\"FAIL\"</span>,,, oFbold , , CLR_BLACK, CLR_RED <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">ENDIF</span> &nbsp;<br />&nbsp;</div>[/code:o4yufhh8]\n\nIt prints no color. I am using a Brother Color Laser Printer ... but not getting any output to Preview, or to Print, in color ... just black and white", "time": "18:00", "topic": "Color printing", "username": "TimStone" } ]
Color printing
[ { "date": "2019-03-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Tim,\ntry Fivewin’s EasyReport.\nBest regards\nOtto\n\n[img:2r23g0g9]https&#58;//mybergland&#46;com/FWForum/fontcolor2&#46;jpg[/img:2r23g0g9]", "time": "00:34", "topic": "Color printing", "username": "Otto" } ]
Color printing
[ { "date": "2019-03-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Tim\nnow with your green and red .\nBest regards\nOtto\n\n[img:3ja5x26q]https&#58;//mybergland&#46;com/FWForum/fontcolor3&#46;jpg[/img:3ja5x26q]\n\n\n[img:3ja5x26q]https&#58;//mybergland&#46;com/FWForum/fontcolor4&#46;jpg[/img:3ja5x26q]", "time": "00:44", "topic": "Color printing", "username": "Otto" } ]
Color printing
[ { "date": "2019-03-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Otto,\n\nI want to try EasyReport but I don't think I have a working build yet.\n\nHOWEVER, in this case I am creating an invoice that includes a variety of data to be presented. It is certainly not simple, and it has decisions to make as it is processed. I wrote it using tPrinter and it works quite well.\n\nI would like to work with EasyReport but I need to have a stable copy. It is my understanding that it was never finished ( thought Antonio told me in 12/2017 that was a priority for 2018 ). I believe it should be in our FWH distributions and useable as a report generator that we can build into our application. I think that was the original goal, so I can give my clients a tool to build custom reports.\n\nTim", "time": "18:51", "topic": "Color printing", "username": "TimStone" } ]
Color printing
[ { "date": "2019-03-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Tim,\nvrd.prg is renamed as esreport.prg and included in fwh\\functions.\nThe function and class names are changed.\neasyrep.ch translates the same commands to esreport.prg function names.\nNo need to link vrd.prg.\nCan you please post a screen of your bill. \nEasyReport is in FWH distributions and useable as a report generator.\nYou can build EasyReport into our application. \nPlease start with some reports.\nBest regards\nOtto", "time": "23:37", "topic": "Color printing", "username": "Otto" } ]
Color printing
[ { "date": "2019-03-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Otto,\n\nCan I have an email address to send you a copy ?\n\nTim", "time": "00:12", "topic": "Color printing", "username": "TimStone" } ]
Color printing
[ { "date": "2019-03-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Using printer object directly:\n\nFWH15.10 introduced enhanced methods for printing text and images.\n\n[code=fw:39yocbjs]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">METHOD</span> SayText<span style=\"color: #000000;\">&#40;</span> nRow, nCol, cText, nWidth, nHeight, oFont, cAlign, nClrText, nClrBack <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">METHOD</span> PrintImage<span style=\"color: #000000;\">&#40;</span> nRow, nCol, uImage, nWidth, nHeight, lStretch, nAlpha, lTransp, lGray <span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:39yocbjs]\n\nCommand syntax is provided for ease of use (see print.ch). We recommend use of command syntax.\n\nExample:\n[code=fw:39yocbjs]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oPrn, oFont<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oBrushGreen, oBrushRed, oBrushYellow<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> nRow, nRowSize<br /><br />&nbsp; &nbsp;USE CUSTOMER <span style=\"color: #00C800;\">NEW</span> <span style=\"color: #0000ff;\">ALIAS</span> CUST<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">PRINT</span> oPrn PREVIEW<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"ARIAL\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-14</span> <span style=\"color: #0000ff;\">OF</span> oPrn<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrushGreen &nbsp;<span style=\"color: #0000ff;\">COLOR</span> CLR_HGREEN<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrushRed &nbsp; &nbsp;<span style=\"color: #0000ff;\">COLOR</span> CLR_RED<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrushYellow <span style=\"color: #0000ff;\">COLOR</span> CLR_YELLOW<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">PAGE</span><br /><br />&nbsp; &nbsp; &nbsp; nRow &nbsp; &nbsp; &nbsp; &nbsp;:= <span style=\"color: #000000;\">1.0</span> &nbsp; <span style=\"color: #B900B9;\">// inch</span><br />&nbsp; &nbsp; &nbsp; nRowSize &nbsp; &nbsp;:= <span style=\"color: #000000;\">0.3</span> &nbsp; <span style=\"color: #B900B9;\">// inch</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">do</span> <span style=\"color: #00C800;\">while</span> RECNO<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> < <span style=\"color: #000000;\">11</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ nRow, <span style=\"color: #000000;\">1.0</span> <span style=\"color: #00C800;\">PRINT</span> <span style=\"color: #0000ff;\">TO</span> oPrn <span style=\"color: #0000ff;\">TEXT</span> CUST->FIRST <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">1.45</span>,nRowSize INCHES <span style=\"color: #0000ff;\">FONT</span> oFont ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">COLOR</span> CLR_BLACK, oBrushGreen<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ nRow, <span style=\"color: #000000;\">2.5</span> <span style=\"color: #00C800;\">PRINT</span> <span style=\"color: #0000ff;\">TO</span> oPrn <span style=\"color: #0000ff;\">TEXT</span> CUST->CITY &nbsp;<span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">1.45</span>,nRowSize INCHES <span style=\"color: #0000ff;\">FONT</span> oFont ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">COLOR</span> CLR_WHITE, oBrushRed<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ nRow, <span style=\"color: #000000;\">4.0</span> <span style=\"color: #00C800;\">PRINT</span> <span style=\"color: #0000ff;\">TO</span> oPrn <span style=\"color: #0000ff;\">TEXT</span> CUST->ZIP &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">1.25</span>,nRowSize INCHES <span style=\"color: #0000ff;\">FONT</span> oFont ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">COLOR</span> CLR_HBLUE, oBrushYellow<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ nRow, <span style=\"color: #000000;\">5.3</span> <span style=\"color: #00C800;\">PRINT</span> <span style=\"color: #0000ff;\">TO</span> oPrn <span style=\"color: #0000ff;\">IMAGE</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> CUST->MARRIED, FWBmpOn<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, FWBmpOff<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0.50</span>,nRowSize INCHES<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nRow &nbsp;+= nRowSize<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SKIP<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">enddo</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ENDPAGE</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ENDPRINT</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">FONT</span> oFont<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrushGreen, oBrushRed, oBrushYellow<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br />&nbsp;</div>[/code:39yocbjs]\n\nResult:\n[url=https&#58;//imageshack&#46;com/i/pnzcYKS4p:39yocbjs][img:39yocbjs]https&#58;//imagizer&#46;imageshack&#46;com/v2/xq90/923/zcYKS4&#46;png[/img:39yocbjs][/url:39yocbjs]", "time": "01:13", "topic": "Color printing", "username": "nageswaragunupudi" } ]
Color printing
[ { "date": "2019-03-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank you. Since all of my code is using the class rather than the command, I was getting an error trying to inject a COMMAND line. However, I translated to the SAYTEXT( ) successfully.\n\nI would still suggest you look at SAY( ) and SAYTEXT( ) in printer.prg. As I noted before, if you set a color with either one for a single line ( or section ) it remains in force for all further calls to the SAY. It becomes the default until changed. Sometimes we want to simply put a highlight on a word or phrase in a different color. This requires extra code on each call to SAY( ) or SAYTEXT( ). \n\nYou could modify the method to save the current color value(s), then specify the new ones for the print line specified, and then return to the original colors before exiting the method(s). I think this would be helpful.\n\nI can do it on my copy of printer.prg, and link that in, but then I have to make the change on every new version we receive.", "time": "20:11", "topic": "Color printing", "username": "TimStone" } ]
Color printing
[ { "date": "2019-03-25", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote:34k2cu9f]\nI would still suggest you look at SAY( ) and SAYTEXT( ) in printer.prg. As I noted before, if you set a color with either one for a single line ( or section ) it remains in force for all further calls to the SAY. It becomes the default until changed. Sometimes we want to simply put a highlight on a word or phrase in a different color. This requires extra code on each call to SAY( ) or SAYTEXT( ). \n[/quote:34k2cu9f]\nThis is the behaviour of the METHOD Say() but NOT the METHOD SayText(). Seems you made the comment without actually testing SayText().\n\nThis behaviour of :Say() has been in existence since beginning and there could be a lot of working software using this behaviour. Any change might affect the existing software. \n\n[quote:34k2cu9f]\nSince all of my code is using the class rather than the command, I was getting an error trying to inject a COMMAND line. However, I translated to the SAYTEXT( ) successfully.\n[/quote:34k2cu9f]\nUsage of command syntax should not give any errors. Proof is the posting above. In addition I have been using it in many software projects without any problem. However whether to use command syntax or method directly is a matter of programmers' choice.", "time": "03:38", "topic": "Color printing", "username": "nageswaragunupudi" } ]
Color printing
[ { "date": "2019-04-09", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote:30a2k6ik]This is the behaviour of the METHOD Say() but NOT the METHOD SayText(). Seems you made the comment without actually testing SayText().[/quote:30a2k6ik]\n\nSeems that's a rather unfair assumption since I DID adopt the SayText() method as YOU suggested ... and that is how it is performing ...\n\n[code=fw:30a2k6ik]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">// Prints FAIL as white on red </span><br />&nbsp; &nbsp; &nbsp; oPrn:<span style=\"color: #000000;\">SayText</span><span style=\"color: #000000;\">&#40;</span> nRow, <span style=\"color: #000000;\">2</span> * nCsp, <span style=\"color: #ff0000;\">\"FAIL\"</span>,<span style=\"color: #000000;\">6</span>*nCsp,nRsp, oFbold, , CLR_WHITE, oBrushRed <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #B900B9;\">// Prints text in White on Red</span><br />&nbsp; &nbsp; &nbsp;oPrn:<span style=\"color: #000000;\">SayText</span><span style=\"color: #000000;\">&#40;</span> nRow, <span style=\"color: #000000;\">10</span> * nCsp, MemoLine<span style=\"color: #000000;\">&#40;</span> oPrintInspect:<span style=\"color: #000000;\">svcdes</span>, <span style=\"color: #000000;\">60</span>, lx,, .T. <span style=\"color: #000000;\">&#41;</span>,,, oFnorm <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #B900B9;\">// Required to return text to default of black on white</span><br />&nbsp; &nbsp; &nbsp;oPrn:<span style=\"color: #000000;\">SayText</span><span style=\"color: #000000;\">&#40;</span> nRow, <span style=\"color: #000000;\">10</span> * nCsp, MemoLine<span style=\"color: #000000;\">&#40;</span> oPrintInspect:<span style=\"color: #000000;\">svcdes</span>, <span style=\"color: #000000;\">60</span>, lx,, .T. <span style=\"color: #000000;\">&#41;</span>,,, oFnorm, , CLR_BLACK, oBrushWhite <span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:30a2k6ik]", "time": "19:29", "topic": "Color printing", "username": "TimStone" } ]
Color printing
[ { "date": "2013-08-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Guys:\n\nIs there a sample program that returns / displays the color combination that the user selects ? For example how do I implement the following: \"W+/B\" ? Thank you.", "time": "02:45", "topic": "Color shemes.", "username": "HunterEC" } ]
Color shemes.
[ { "date": "2013-08-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Gustavo, \ncan You explain in detail, what You want to do ?\nSelecting a pair Background- / Textcolor and changing\nit at runtime for a defined / selected control ?\nWindow, Dialog, Folder or ???\n\nBest Regards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->", "time": "11:43", "topic": "Color shemes.", "username": "ukoenig" } ]
Color shemes.
[ { "date": "2013-08-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Gustavo,\n\nMsgInfo( ChooseColor() )", "time": "12:28", "topic": "Color shemes.", "username": "Antonio Linares" } ]
Color shemes.
[ { "date": "2013-08-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, Uwe:\n\nThank you very much.", "time": "00:41", "topic": "Color shemes.", "username": "HunterEC" } ]
Color shemes.
[ { "date": "2014-08-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola buenas tardes, de antemano, les envio cordial saludos.\n\nMis estimados, cuel es el metodo para [b:1syq9g2r]colorear texto en TXBrowse[/b:1syq9g2r], alguien me pudiera proporcionar algun ejemplo ,ya que en otros metodos, me pinta toda la celda o solo una celda, pero solo quiero colorear en color color rojo el texto, ya sea letra o numerico, en mi caso numerico, para identificar si es importe negativo que me coloree el texto en rojo [color=#BF0000:1syq9g2r]-5,940.00[/color:1syq9g2r].\n\nLes agradecere mucho si alguien me pudiera proporcionar algun ejemplo.\n\nSaludos y buen dia.!\n\nAtte: Adrian C. C.", "time": "21:16", "topic": "Color texto TXBrowse (Solucionado)", "username": "ACC69" } ]
Color texto TXBrowse (Solucionado)
[ { "date": "2014-08-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Puedes probar algo asi\n\n[code=fw:wkkip4fu]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oBrw:<span style=\"color: #000000;\">oCol7</span>:<span style=\"color: #000000;\">bClrStd</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">&#40;</span> aDatos<span style=\"color: #000000;\">&#91;</span>oBrw:<span style=\"color: #000000;\">KeyNo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">7</span><span style=\"color: #000000;\">&#93;</span><<span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">&#123;</span>CLR_RED,<span style=\"color: #000000;\">&#125;</span>, <span style=\"color: #000000;\">&#123;</span>CLR_BLACK,<span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#125;</span><br />&nbsp;</div>[/code:wkkip4fu]", "time": "21:45", "topic": "Color texto TXBrowse (Solucionado)", "username": "cnavarro" } ]
Color texto TXBrowse (Solucionado)
[ { "date": "2014-08-10", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"cnavarro\":q80dfq56]Puedes probar algo asi\n\n[code=fw:q80dfq56]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oBrw:<span style=\"color: #000000;\">oCol7</span>:<span style=\"color: #000000;\">bClrStd</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">&#40;</span> aDatos<span style=\"color: #000000;\">&#91;</span>oBrw:<span style=\"color: #000000;\">KeyNo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">7</span><span style=\"color: #000000;\">&#93;</span><<span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">&#123;</span>CLR_RED,<span style=\"color: #000000;\">&#125;</span>, <span style=\"color: #000000;\">&#123;</span>CLR_BLACK,<span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#125;</span><br /> </div>[/code:q80dfq56][/quote:q80dfq56]\n\n\nGracias Ing. Cristobal por responder, hare la prueba y le comento, estaba probando con otro metodo, que trabaja en TWBrowse, pero en TXBrowse, no me funciona o no es el metodo adecuado , esta es la instruccion:\n\n[code=fw:q80dfq56]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oBrw:<span style=\"color: #000000;\">bTextColor</span> := <span style=\"color: #000000;\">&#123;</span> | nRow, nCol, nStyleLine | ColoresTexto<span style=\"color: #000000;\">&#40;</span> nRow, nCol, nStyleLine, oDlg2 <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span></div>[/code:q80dfq56]\n\nSaludos y gracias de nuevo.!\n\nAtte: Adrian C. C.", "time": "22:18", "topic": "Color texto TXBrowse (Solucionado)", "username": "ACC69" } ]
Color texto TXBrowse (Solucionado)
[ { "date": "2014-08-11", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"ACC69\":3nccrtfj][quote=\"cnavarro\":3nccrtfj]Puedes probar algo asi\n\n[code=fw:3nccrtfj]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oBrw:<span style=\"color: #000000;\">oCol7</span>:<span style=\"color: #000000;\">bClrStd</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">&#40;</span> aDatos<span style=\"color: #000000;\">&#91;</span>oBrw:<span style=\"color: #000000;\">KeyNo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">7</span><span style=\"color: #000000;\">&#93;</span><<span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">&#123;</span>CLR_RED,<span style=\"color: #000000;\">&#125;</span>, <span style=\"color: #000000;\">&#123;</span>CLR_BLACK,<span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#125;</span><br /> </div>[/code:3nccrtfj][/quote:3nccrtfj]\n\n\nGracias Ing. Cristobal por responder, hare la prueba y le comento, estaba probando con otro metodo, que trabaja en TWBrowse, pero en TXBrowse, no me funciona o no es el metodo adecuado , esta es la instruccion:\n\n[code=fw:3nccrtfj]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oBrw:<span style=\"color: #000000;\">bTextColor</span> := <span style=\"color: #000000;\">&#123;</span> | nRow, nCol, nStyleLine | ColoresTexto<span style=\"color: #000000;\">&#40;</span> nRow, nCol, nStyleLine, oDlg2 <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span></div>[/code:3nccrtfj]\n\nSaludos y gracias de nuevo.!\n\nAtte: Adrian C. C.[/quote:3nccrtfj]\n\n\nHola Cristobal, aqui de nuevo con tu ejemplo, no me da el efecto deseado <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: --> o que estare haciendo mal, que no pinta color rojo en texto, solo me da color negro las celdas .\n[color=#BF0000:3nccrtfj]5,940.00[/color:3nccrtfj]\n\n[code=fw:3nccrtfj]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">6</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bClrStd</span> &nbsp; &nbsp;:= <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #00C800;\">IF</span> <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span>S13<span style=\"color: #000000;\">&#41;</span>->MV_CARG < <span style=\"color: #000000;\">0</span> .OR. <span style=\"color: #000000;\">&#40;</span>S13<span style=\"color: #000000;\">&#41;</span>->MV_ABON < <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">&#123;</span>CLR_RED,<span style=\"color: #000000;\">&#125;</span>, <span style=\"color: #000000;\">&#123;</span>CLR_BLACK,<span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#125;</span></div>[/code:3nccrtfj]\n\nO alguien mas que me pueda echar la mano, con esta simple sencillo de pintado de colores en texto ..\n\n\nSaludos y buen dia.\n\nAtte: Adrian C. C.", "time": "15:56", "topic": "Color texto TXBrowse (Solucionado)", "username": "ACC69" } ]
Color texto TXBrowse (Solucionado)
[ { "date": "2014-08-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Yo lo tengo asi :\n[code=fw:36xqeli4]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oBrow:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">03</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bClrStd</span> := <span style=\"color: #000000;\">&#123;</span>|| IIF<span style=\"color: #000000;\">&#40;</span>ARTICULOS->TOT_SALDO_CJA<=<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">&#123;</span>Rgb<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span>,CLR_WHITE<span style=\"color: #000000;\">&#125;</span>,<span style=\"color: #000000;\">&#123;</span>CLR_BLACK,CLR_WHITE<span style=\"color: #000000;\">&#125;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#125;</span><br /> </div>[/code:36xqeli4]", "time": "16:15", "topic": "Color texto TXBrowse (Solucionado)", "username": "VitalJavier" } ]
Color texto TXBrowse (Solucionado)