messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2022-08-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Jose Luis,\n\nYo creo que el problema es la confusion entre Tag y Bag. Con el comando de abajo estas creando un nuevo bag, es decir un nuevo .cdx que es el que queda activo y por eso no puedes recuperar el anterior order de indice\n\n[code=fw:2gcvqkb8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">index</span> <span style=\"color: #0000ff;\">on</span> <span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>->Fecha <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #ff0000;\">\"Tfecha1\"</span> <span style=\"color: #00C800;\">FOR</span> <span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>->tipo=<span style=\"color: #000000;\">2</span> .and. <span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>->liqui=.F. ADDITIVE MEMORY</div>[/code:2gcvqkb8]\n\nEl comando tendría que ser algo asi, sustituyendo XXXBAG por el bag correcto\n[code=fw:2gcvqkb8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">index</span> <span style=\"color: #0000ff;\">on</span> <span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>->Fecha TAG <span style=\"color: #ff0000;\">\"Tfecha1\"</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #ff0000;\">\"XXXBAG\"</span> <span style=\"color: #00C800;\">FOR</span> <span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>->tipo=<span style=\"color: #000000;\">2</span> .and. <span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>->liqui=.F. ADDITIVE MEMORY</div>[/code:2gcvqkb8]\n\nSalu2", "time": "16:44", "topic": "Cerrar un indice Temporal (Solucionado)", "username": "hmpaquito" } ]
Cerrar un indice Temporal (Solucionado)
[ { "date": "2022-08-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Muchas gracias\n\nCreo que por ahí van los tiros, voy a probar y veré si lo consigo\n\nUn saludo", "time": "16:55", "topic": "Cerrar un indice Temporal (Solucionado)", "username": "JoseLuis" } ]
Cerrar un indice Temporal (Solucionado)
[ { "date": "2022-08-06", "forum": "FiveWin para Harbour/xHarbour", "text": "He repasado y efectivamente van por ahí los tiros.\n\nPero no consigo remediar nada, si en lugar de TO \"Tfecha1\" pongo TAG \"Tfecha1\", lo que pasa es que además se corrompe o lo que sea el índice CDX que tengo en (aAlias[24]) y tengo que volver a indexar todo.", "time": "18:13", "topic": "Cerrar un indice Temporal (Solucionado)", "username": "JoseLuis" } ]
Cerrar un indice Temporal (Solucionado)
[ { "date": "2022-08-06", "forum": "FiveWin para Harbour/xHarbour", "text": "El tema que estoy viendo es que todo lo que le ponga que me haga antes de Return a la función del Reporte no me hace caso, regresa sin tenerlo en cuenta, incluso he probado a hacer un msginfo para que me indique los nombres de las etiquetas del alias y nada, no hace nada.\nAqui todo el codigo del reporte:\n[code=fw:3uzydtqd]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">Static</span> <span style=\"color: #00C800;\">function</span> i_contado<span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oFont1, oFont2<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oPrinter,oPrn,a<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> nindex:=<span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>-><span style=\"color: #000000;\">&#40;</span>Ordsetfocus<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> ctitle:= <span style=\"color: #ff0000;\">\"LISTADO DE ALBARANES DE CONTADO PENDIENTES DE COBRO\"</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">index</span> <span style=\"color: #0000ff;\">on</span> dtos<span style=\"color: #000000;\">&#40;</span>albaran->Fecha<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #ff0000;\">'Tfecha1'</span> <span style=\"color: #00C800;\">For</span> albaran->tipo=<span style=\"color: #000000;\">2</span> .and. albaran->liqui=.F. MEMORY<br />&nbsp; &nbsp; &nbsp;dbgotop<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />* &nbsp; &nbsp; <span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>-><span style=\"color: #000000;\">&#40;</span>Ordsetfocus<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">'Fecha'</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />* &nbsp; &nbsp; <span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>-><span style=\"color: #000000;\">&#40;</span>Dbgotop<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">printer</span> oPrn <span style=\"color: #0000ff;\">FROM</span> USER<br />&nbsp; &nbsp; &nbsp;oPrn:<span style=\"color: #000000;\">SetPortrait</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp;oPrn:<span style=\"color: #000000;\">SetPage</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">9</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont1 <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;\">-8</span> BOLD <br />&nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont2 <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;\">-8</span> &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;REPORT oReport ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">TITLE</span> &nbsp; ctitle, &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\"\"</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\"\"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">FONT</span> &nbsp; &nbsp;oFont1,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oFont2 ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; HEADER <span style=\"color: #ff0000;\">\"Página: \"</span>+str<span style=\"color: #000000;\">&#40;</span>oReport:<span style=\"color: #000000;\">nPage</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">CENTERED</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PREVIEW<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Num.\"</span> &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">DATA</span> <span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>->Albaran <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">7</span> <br />&nbsp; &nbsp; &nbsp; &nbsp; COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Fecha\"</span> &nbsp; &nbsp; <span style=\"color: #00C800;\">DATA</span> <span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>->Fecha &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">8</span><br />&nbsp; &nbsp; &nbsp; &nbsp; COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Codigo\"</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">DATA</span> <span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>->Codpro &nbsp;<span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">5</span><br />&nbsp; &nbsp; &nbsp; &nbsp; COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Nombre\"</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">DATA</span> oemtoansi<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>->Pro<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">Picture</span> <span style=\"color: #ff0000;\">\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"C/R\"</span> &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">DATA</span> <span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>->CR <span style=\"color: #0000ff;\">Picture</span> <span style=\"color: #ff0000;\">\"X\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Conductor\"</span> <span style=\"color: #00C800;\">DATA</span> oemtoansi<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>->nconductor<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">Picture</span> <span style=\"color: #ff0000;\">\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"B.Imponible\"</span> &nbsp; <span style=\"color: #00C800;\">DATA</span> <span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>->Baseimpo;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TOTAL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">RIGHT</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"@Z 9,999.99\"</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">8</span><br />&nbsp; &nbsp; &nbsp; &nbsp; COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Cargo\"</span> <span style=\"color: #00C800;\">DATA</span> <span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>->otrosn <span style=\"color: #0000ff;\">Picture</span> <span style=\"color: #ff0000;\">\"XXXXXXXXXXXXXXX\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Importe\"</span> <span style=\"color: #00C800;\">DATA</span> <span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>->otros;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TOTAL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">RIGHT</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"@Z 99.99\"</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">5</span><br />&nbsp; &nbsp; &nbsp; &nbsp; COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Seguro\"</span> <span style=\"color: #00C800;\">DATA</span> <span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>->Seguro;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TOTAL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">RIGHT</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"@Z 99.99\"</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">5</span><br />&nbsp; &nbsp; &nbsp; &nbsp; COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Iva\"</span> <span style=\"color: #00C800;\">DATA</span> <span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>->Iva;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TOTAL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">RIGHT</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"@Z 999.99\"</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">6</span><br />&nbsp; &nbsp; &nbsp; &nbsp; COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Total\"</span> &nbsp; <span style=\"color: #00C800;\">DATA</span> <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>->Baseimpo+<span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>->Otros+<span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>->Seguro+<span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>->Iva<span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TOTAL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">RIGHT</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"@Z 9,999.99\"</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">8</span><br />&nbsp; &nbsp; &nbsp;END REPORT<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">IF</span> oReport:<span style=\"color: #000000;\">lCreated</span><br />&nbsp; &nbsp; oReport:<span style=\"color: #000000;\">aColumns</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bDataFont</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; oReport:<span style=\"color: #000000;\">aColumns</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bDataFont</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oReport:<span style=\"color: #000000;\">aColumns</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bDataFont</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oReport:<span style=\"color: #000000;\">aColumns</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bDataFont</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oReport:<span style=\"color: #000000;\">aColumns</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bDataFont</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oReport:<span style=\"color: #000000;\">aColumns</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">6</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bDataFont</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oReport:<span style=\"color: #000000;\">aColumns</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">7</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bDataFont</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oReport:<span style=\"color: #000000;\">aColumns</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">8</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bDataFont</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oReport:<span style=\"color: #000000;\">aColumns</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">9</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bDataFont</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oReport:<span style=\"color: #000000;\">aColumns</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">10</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bDataFont</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oReport:<span style=\"color: #000000;\">aColumns</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">11</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bDataFont</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oReport:<span style=\"color: #000000;\">aColumns</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">12</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bDataFont</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">ENDIF</span><br />* &nbsp; &nbsp; &nbsp; &nbsp;oReport:<span style=\"color: #000000;\">oDevice</span>:<span style=\"color: #000000;\">lPrvModal</span>:=.t.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> REPORT oReport <span style=\"color: #B900B9;\">//for (aAlias[24])->tipo=2 .and. (aAlias[24])->liqui=.F.</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oFont1:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oFont2:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oReport:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">for</span> a &nbsp;= <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">20</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">msginfo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>-><span style=\"color: #000000;\">&#40;</span>Ordname<span style=\"color: #000000;\">&#40;</span>a<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">next</span> a<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>-><span style=\"color: #000000;\">&#40;</span>Ordsetfocus<span style=\"color: #000000;\">&#40;</span>nindex<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br />&nbsp;</div>[/code:3uzydtqd]", "time": "18:32", "topic": "Cerrar un indice Temporal (Solucionado)", "username": "JoseLuis" } ]
Cerrar un indice Temporal (Solucionado)
[ { "date": "2022-08-06", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"JoseLuis\":3ox2gkvp]\n[code=fw:3ox2gkvp]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>-><span style=\"color: #000000;\">&#40;</span>Ordsetfocus<span style=\"color: #000000;\">&#40;</span>nindex<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>-><span style=\"color: #000000;\">&#40;</span>Dbgotop<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /> </div>[/code:3ox2gkvp]\n[/quote:3ox2gkvp]\ny si le pones \n(aAlias[24])->(dbsetorder(nindex))", "time": "18:44", "topic": "Cerrar un indice Temporal (Solucionado)", "username": "artu01" } ]
Cerrar un indice Temporal (Solucionado)
[ { "date": "2022-08-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Vale, ya está solucionado\n\nEfectivamente era algo que no entiendo, y es que si llamo al Report desde una funcion intermedia\n[code=fw:3ma9q68y]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> contadopendiente<span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#41;</span><br />********************************<br /><span style=\"color: #00C800;\">local</span> nindex:=<span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>-><span style=\"color: #000000;\">&#40;</span>Ordsetfocus<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">local</span> oDlg<br /><span style=\"color: #00C800;\">local</span> oRadio,oGroup,nRadio1<br /><span style=\"color: #00C800;\">local</span> nOpcion,oboton,oboton1,osay,i<br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">23</span>, <span style=\"color: #000000;\">60</span> <br />&nbsp; &nbsp; &nbsp; &nbsp; oDlg:<span style=\"color: #000000;\">cTitle</span>:=<span style=\"color: #ff0000;\">\"Listado de Contados Pendientes de Cobro \"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">RADIO</span> oRadio <span style=\"color: #0000ff;\">VAR</span> nRadio1 <span style=\"color: #0000ff;\">ITEMS</span> <span style=\"color: #ff0000;\">\"Fecha\"</span>, <span style=\"color: #ff0000;\">\"Nombre\"</span>, <span style=\"color: #ff0000;\">\"Conductor\"</span> _3D <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">15</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">UPDATE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; @ <span style=\"color: #000000;\">60</span>, <span style=\"color: #000000;\">30</span> <span style=\"color: #0000ff;\">BUTTON</span> &nbsp;<span style=\"color: #ff0000;\">\"Aceptar\"</span> &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">25</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span>i_contado<span style=\"color: #000000;\">&#40;</span>aAlias,nRadio1<span style=\"color: #000000;\">&#41;</span>,oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; @ <span style=\"color: #000000;\">60</span>, <span style=\"color: #000000;\">100</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Cancelar\"</span> &nbsp;<span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">25</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span>oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /><br /><span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>-><span style=\"color: #000000;\">&#40;</span>Ordsetfocus<span style=\"color: #000000;\">&#40;</span>nindex<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:3ma9q68y]\n\nYa me responde, porque al final de ésta función pongo uq me cambie el orden del indice, pero si lo pongo al final de Repor, no hace caso.", "time": "21:13", "topic": "Cerrar un indice Temporal (Solucionado)", "username": "JoseLuis" } ]
Cerrar un indice Temporal (Solucionado)
[ { "date": "2022-08-08", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"JoseLuis\":16xgi6x2]Vale, ya está solucionado\n\nEfectivamente era algo que no entiendo, y es que si llamo al Report desde una funcion intermedia\n[code=fw:16xgi6x2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> contadopendiente<span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#41;</span><br />********************************<br /><span style=\"color: #00C800;\">local</span> nindex:=<span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>-><span style=\"color: #000000;\">&#40;</span>Ordsetfocus<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">local</span> oDlg<br /><span style=\"color: #00C800;\">local</span> oRadio,oGroup,nRadio1<br /><span style=\"color: #00C800;\">local</span> nOpcion,oboton,oboton1,osay,i<br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">23</span>, <span style=\"color: #000000;\">60</span> <br />        oDlg:<span style=\"color: #000000;\">cTitle</span>:=<span style=\"color: #ff0000;\">\"Listado de Contados Pendientes de Cobro \"</span><br />                @ <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">RADIO</span> oRadio <span style=\"color: #0000ff;\">VAR</span> nRadio1 <span style=\"color: #0000ff;\">ITEMS</span> <span style=\"color: #ff0000;\">\"Fecha\"</span>, <span style=\"color: #ff0000;\">\"Nombre\"</span>, <span style=\"color: #ff0000;\">\"Conductor\"</span> _3D <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">15</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">UPDATE</span><br />        @ <span style=\"color: #000000;\">60</span>, <span style=\"color: #000000;\">30</span> <span style=\"color: #0000ff;\">BUTTON</span>  <span style=\"color: #ff0000;\">\"Aceptar\"</span>   <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">25</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span>i_contado<span style=\"color: #000000;\">&#40;</span>aAlias,nRadio1<span style=\"color: #000000;\">&#41;</span>,oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />        @ <span style=\"color: #000000;\">60</span>, <span style=\"color: #000000;\">100</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Cancelar\"</span>  <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">25</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span>oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />        <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /><br /><span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>-><span style=\"color: #000000;\">&#40;</span>Ordsetfocus<span style=\"color: #000000;\">&#40;</span>nindex<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:16xgi6x2]\n\nYa me responde, porque al final de ésta función pongo uq me cambie el orden del indice, pero si lo pongo al final de Repor, no hace caso.[/quote:16xgi6x2]\n\n\nEl dialogo que estas usando NO es modal, con lo cual la ejecucion del programa 1º muestra dialogo y sin parar y dejando a la espera el dialogo 2º sale de la funcion pasando por [code=fw:16xgi6x2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>-><span style=\"color: #000000;\">&#40;</span>Ordsetfocus<span style=\"color: #000000;\">&#40;</span>nindex<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span></div>[/code:16xgi6x2]\n\nLa solucion es usar [code=fw:16xgi6x2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #000000;\">&#40;</span>aAlias<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>-><span style=\"color: #000000;\">&#40;</span>Ordsetfocus<span style=\"color: #000000;\">&#40;</span>nindex<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span></div>[/code:16xgi6x2] al cerrar el dialogo, bien por los botones, bien por la X del propio dialogo O BIEN hacer el dialogo modal", "time": "16:13", "topic": "Cerrar un indice Temporal (Solucionado)", "username": "hmpaquito" } ]
Cerrar un indice Temporal (Solucionado)
[ { "date": "2013-06-14", "forum": "FiveWin para Harbour/xHarbour", "text": "Como se puede hacer para Cerrar una Aplicacion despues de un tiempo de uso\n\nmuchas gracias\n\nDavid", "time": "16:47", "topic": "Cerrar una Aplicacion despues de un tiempo", "username": "davidObarrio" } ]
Cerrar una Aplicacion despues de un tiempo
[ { "date": "2013-06-14", "forum": "FiveWin para Harbour/xHarbour", "text": "Que tal un timer ...\n\nSaludos", "time": "18:08", "topic": "Cerrar una Aplicacion despues de un tiempo", "username": "horacio" } ]
Cerrar una Aplicacion despues de un tiempo
[ { "date": "2013-06-14", "forum": "FiveWin para Harbour/xHarbour", "text": "Aquí un ejemplo\n\n[code=fw:2av4ycxq]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><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;fTimer<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"probando\"</span>, <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br />&nbsp; &nbsp;<br /><span style=\"color: #00C800;\">function</span> fTimer<span style=\"color: #000000;\">&#40;</span> cMsg, nInterval <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oDlg, oProg, oTmr<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">TITLE</span> cMsg<br /><br />&nbsp; &nbsp;@<span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">3</span> <span style=\"color: #0000ff;\">PROGRESS</span> oProg POSITION <span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">10</span>; oDlg:<span style=\"color: #000000;\">lHelpIcon</span> = .F.<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTER</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">&#40;</span> oProg:<span style=\"color: #000000;\">SetRange</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">845</span> <span style=\"color: #000000;\">&#41;</span>, oTmr := <span style=\"color: #0000ff;\">Timer</span><span style=\"color: #000000;\">&#40;</span> oDlg, oProg, nInterval <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;oTmr:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00C800;\">Static</span> <span style=\"color: #00C800;\">function</span> <span style=\"color: #0000ff;\">Timer</span><span style=\"color: #000000;\">&#40;</span> oDlg, oProg, nInterval <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oTmr<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">TIMER</span> oTmr <span style=\"color: #0000ff;\">INTERVAL</span> nInterval ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oProg:<span style=\"color: #000000;\">nPosition</span> += <span style=\"color: #000000;\">5</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> oProg:<span style=\"color: #000000;\">nPosition</span> > <span style=\"color: #000000;\">1000</span>, oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">TIMER</span> oTmr<br /><br /><span style=\"color: #00C800;\">Return</span> oTmr<br />&nbsp;</div>[/code:2av4ycxq]\n\nSaludos,\n\nAdhemar", "time": "18:49", "topic": "Cerrar una Aplicacion despues de un tiempo", "username": "acuellar" } ]
Cerrar una Aplicacion despues de un tiempo
[ { "date": "2013-06-14", "forum": "FiveWin para Harbour/xHarbour", "text": "MUCHAS GRACIAS\n\nLO VEO Y AVISO COMO ME FUE...\n\nGRACIAS\n\nDAVID", "time": "21:54", "topic": "Cerrar una Aplicacion despues de un tiempo", "username": "davidObarrio" } ]
Cerrar una Aplicacion despues de un tiempo
[ { "date": "2013-06-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Amigos....\n\nno pude.... <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> \n\nDavid", "time": "22:04", "topic": "Cerrar una Aplicacion despues de un tiempo", "username": "davidObarrio" } ]
Cerrar una Aplicacion despues de un tiempo
[ { "date": "2013-06-27", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"acuellar\":sdgyeyti]Aquí un ejemplo\n\n[code=fw:sdgyeyti]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><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 />   fTimer<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"probando\"</span>, <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#41;</span><br />   <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br />   <br /><span style=\"color: #00C800;\">function</span> fTimer<span style=\"color: #000000;\">&#40;</span> cMsg, nInterval <span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">local</span> oDlg, oProg, oTmr<br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">TITLE</span> cMsg<br /><br />   @<span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">3</span> <span style=\"color: #0000ff;\">PROGRESS</span> oProg POSITION <span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">10</span>; oDlg:<span style=\"color: #000000;\">lHelpIcon</span> = .F.<br /><br />   <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTER</span> ;<br />      <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">&#40;</span> oProg:<span style=\"color: #000000;\">SetRange</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">845</span> <span style=\"color: #000000;\">&#41;</span>, oTmr := <span style=\"color: #0000ff;\">Timer</span><span style=\"color: #000000;\">&#40;</span> oDlg, oProg, nInterval <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />   oTmr:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00C800;\">Static</span> <span style=\"color: #00C800;\">function</span> <span style=\"color: #0000ff;\">Timer</span><span style=\"color: #000000;\">&#40;</span> oDlg, oProg, nInterval <span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">local</span> oTmr<br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">TIMER</span> oTmr <span style=\"color: #0000ff;\">INTERVAL</span> nInterval ;<br />      <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oProg:<span style=\"color: #000000;\">nPosition</span> += <span style=\"color: #000000;\">5</span>,;<br />               <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> oProg:<span style=\"color: #000000;\">nPosition</span> > <span style=\"color: #000000;\">1000</span>, oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br /><br />   <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">TIMER</span> oTmr<br /><br /><span style=\"color: #00C800;\">Return</span> oTmr<br /> </div>[/code:sdgyeyti]\n\nSaludos,\n\nAdhemar[/quote:sdgyeyti]\n\n\nPruébalo en una WINDOW; a mi en una MDICHILD me funciona perfectamente.", "time": "22:15", "topic": "Cerrar una Aplicacion despues de un tiempo", "username": "FiveWiDi" } ]
Cerrar una Aplicacion despues de un tiempo
[ { "date": "2012-08-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola a todos.\nEstoy usando esto WinExec(\"OSK.EXE\") para ejecutar el teclado en pantalla, pero no encuentro como cerrar esta aplicacion cuando deseo que desaparezca.\nMuchas gracias.", "time": "19:16", "topic": "Cerrar una aplicacion externa", "username": "Jorge Jaurena" } ]
Cerrar una aplicacion externa
[ { "date": "2012-08-17", "forum": "FiveWin para Harbour/xHarbour", "text": "<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?p=119458#p119458\">viewtopic.php?p=119458#p119458</a><!-- l -->\n\nSupongo que será:\n\nSendMessage( FindWindow( 0, \"On-Screen Keyboard\" ), WM_CLOSE )\n\nó en el idioma que te aparezca el titulo de la ventana", "time": "19:27", "topic": "Cerrar una aplicacion externa", "username": "Antonio Linares" } ]
Cerrar una aplicacion externa
[ { "date": "2012-08-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Buenas noches,\n\nYo ni siquiera puedo abrir el teclado en pantalla usando W7.\n\nProbé WinExec(\"OSK.EXE\") y también con ShellExecute pero sale el mensaje de error:\n\n[b:1g5xwk8x]\"[color=#0000BF:1g5xwk8x]No se pudo iniciar el teclado en pantalla\"[/color:1g5xwk8x][/b:1g5xwk8x]\n\nDestaco que desde DOS si funciona correctamente.\n\n¿Que podrá ser?\n\nGracias.\n\nRolando <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "02:08", "topic": "Cerrar una aplicacion externa", "username": "rolando" } ]
Cerrar una aplicacion externa
[ { "date": "2012-08-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Rolando,\n\n¿Qué versión de Windows, FWH y Harbour usas?.\n\nA mi me funciona perfecto.", "time": "23:24", "topic": "Cerrar una aplicacion externa", "username": "lucasdebeltran" } ]
Cerrar una aplicacion externa
[ { "date": "2012-08-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola,\n\nUso 10.4 de 32 bits y el W7 es de 64 bits.\n\nGenero el exe de 32 bits en esta pc con W7 64 bits y, salvo esto del asunto, funciona todo sin problemas en esta PC 64 bits y en pc's con XP 32 bits.\n\nRolando <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "23:42", "topic": "Cerrar una aplicacion externa", "username": "rolando" } ]
Cerrar una aplicacion externa
[ { "date": "2012-08-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola.\nAntonio, tu respuesta funciono correctamente en XP, pero en seven no, abre el teclado en pantalla pero no lo cierra y veo que el nombre de la aplicacion es el mismo: Teclado en pantalla.\n\nGracias\nJorge Jaurena", "time": "16:47", "topic": "Cerrar una aplicacion externa bis", "username": "Jorge Jaurena" } ]
Cerrar una aplicacion externa bis
[ { "date": "2012-08-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Jorge,\n\n[url:1auc3hvr]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=6&t=24281#p132864[/url:1auc3hvr]\n\n <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nIt's work fine in W7 for me.", "time": "17:36", "topic": "Cerrar una aplicacion externa bis", "username": "Lailton" } ]
Cerrar una aplicacion externa bis
[ { "date": "2012-08-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Lailton, agradezco tu respuesta pero no me quiere cerrar el teclado en Win 7.\n\nJorge Jaurena", "time": "18:32", "topic": "Cerrar una aplicacion externa bis", "username": "Jorge Jaurena" } ]
Cerrar una aplicacion externa bis
[ { "date": "2012-08-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Jorge,\n\nEsta tentando desta forma ?, para mi en w7 Ultimate (32bits) esta cerrando la ventana normal.\n\n[code=fw:qba1puuw]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">//--------------------------------------------------------------------------------------------------//</span><br />  <span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><span style=\"color: #B900B9;\">//--------------------------------------------------------------------------------------------------//</span><br />   <span style=\"color: #00D7D7;\">#define</span> WM_CLOSE                        0x0010<br /><span style=\"color: #B900B9;\">//--------------------------------------------------------------------------------------------------//</span><br />  <span style=\"color: #00C800;\">Function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   CerrarVentana<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Teclado virtual\"</span> <span style=\"color: #000000;\">&#41;</span><br />  <span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">Nil</span><br /><span style=\"color: #B900B9;\">//--------------------------------------------------------------------------------------------------//</span><br />  <span style=\"color: #00C800;\">Function</span> CerrarVentana<span style=\"color: #000000;\">&#40;</span>cTitle<span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">Local</span> hWnd<br />   <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span>hWnd:=FindWindow<span style=\"color: #000000;\">&#40;</span>,cTitle<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span>!=<span style=\"color: #000000;\">0</span><br />      PostMessage<span style=\"color: #000000;\">&#40;</span>hWnd,WM_CLOSE<span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">EndIf</span><br />  <span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">Nil</span><br /><span style=\"color: #B900B9;\">//--------------------------------------------------------------------------------------------------//</span></div>[/code:qba1puuw]", "time": "22:49", "topic": "Cerrar una aplicacion externa bis", "username": "Lailton" } ]
Cerrar una aplicacion externa bis
[ { "date": "2012-08-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Jorge,\nSi lo anterior no funciona, prueba:\n[url:14tkn362]http&#58;//www&#46;mediafire&#46;com/?hgalo1w62t6y1x1[/url:14tkn362] <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "23:50", "topic": "Cerrar una aplicacion externa bis", "username": "Lailton" } ]
Cerrar una aplicacion externa bis
[ { "date": "2009-01-18", "forum": "FiveWin para Harbour/xHarbour", "text": "En una aplicación, tengo un diálogo donde se incrusta, mediante activeX, una pagina web. El diálogo y consecuentemente la página web, solo puede cerrarse pulsando el icono \"X\", en la parte superior derecha de la ventana. En dicha página tengo una serie de rutinas y entre ellas, la de grabar una serie de eventos. Por ello necesitaria que al finalizar una de dichas rutinas, la ventana se cerrará automaticamente, sin tener que pulsar la \"X\". He intentado con varias rutinas en javascript, pero aunque me sale la ventana del Explorer para que le confirme el cierre de la ventana, no la cierra.\n¿Habría alguna manera que pulsando otro botón en la página, se pudiera cerrar la ventana?.", "time": "12:12", "topic": "Cerrar ventana Web", "username": "Manuel Valdenebro" } ]
Cerrar ventana Web
[ { "date": "2009-01-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Manuel,\n\nTal vez podrias asociar un evento, como el de pulsar un determinado boton o un enlace, y desde ese evento llamar a oWnd:End()", "time": "22:49", "topic": "Cerrar ventana Web", "username": "Antonio Linares" } ]
Cerrar ventana Web
[ { "date": "2009-01-19", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":20rpol2y]Manuel,\n\nTal vez podrias asociar un evento, como el de pulsar un determinado boton o un enlace, y desde ese evento llamar a oWnd:End()[/quote:20rpol2y]\n\nAntonio, muchas gracias por contestarme.\n\nEl problema lo tengo que una vez abierta la página web con el activeX, dentro de esa página, no se reconoce ni el objeto oActiveX, y consecuentemente, ninguna de sus propiedades.\n\nEn un ejemplo, en el módulo donde programo el dialogo, he puesto:\n\noActiveX&#058;Do( \"Navigate2\",(CurDrive() + \":\\\"+CurDir()+\"\\tem.htm\") )\n oActiveX&#058;SetProp( \"cSalir\", .t. )\n \npero despues, en la página, no reconoce el objeto oActiveX\nLo he intentado de las siguientes formas:\n var x = oAciveX.cSalir\n var x = document.getElementById(oActiveX.cSalir).value ;\n var x = document.cSalir ;\n var x = window.cSalir ;\n var x = oAciveX.cSalir\n var x = oActiveX&#058;GetProp( \"cSalir\" ) )\n\n¿Podrias ayudarme de como desde la página, bien en HTML o en JavaScript, podria conocerse el valor de la propiedad cSalir?\n\nMuchas gracias por tu ayuda", "time": "08:12", "topic": "Cerrar ventana Web", "username": "Manuel Valdenebro" } ]
Cerrar ventana Web
[ { "date": "2009-01-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Manuel,\n\nTe refieres a acceder al objeto oActiveX de FWH desde Javascript o VBscript ? No lo hemos probado nunca, habria que investigar la forma de hacerlo.\n\nYo me refería al uso de oActiveX&#058;bOnEvent. Por favor revisa FWH\\samples\\webexp.prg y verás como lo usamos para reaccionar a los eventos que se generan en la página web.", "time": "20:02", "topic": "Cerrar ventana Web", "username": "Antonio Linares" } ]
Cerrar ventana Web
[ { "date": "2009-01-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Muchas gracias Antonio,\n\nVoy a revisarlo.", "time": "23:09", "topic": "Cerrar ventana Web", "username": "Manuel Valdenebro" } ]
Cerrar ventana Web
[ { "date": "2009-01-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio, ¡ Triunfo total !\n\nEn la página web, a través de JavaScript, modifico el título de la página y este evento es captado por la función EventInfo que ejecuta el oDlg:End(). De esta manera, se cierra\nla ventana y además, se evita el molesto aviso de Windows \"Una aplicación está intentando cerrar esta ventana\". \n\nMuchas gracias de nuevo.", "time": "10:14", "topic": "Cerrar ventana Web", "username": "Manuel Valdenebro" } ]
Cerrar ventana Web
[ { "date": "2009-01-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Manuel,\n\nMuy bien! Me alegro de que lo hayas conseguido <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nPodrias mostrar parte del código para que otros usuarios veamos como lo has hecho ? gracias", "time": "19:23", "topic": "Cerrar ventana Web", "username": "Antonio Linares" } ]
Cerrar ventana Web
[ { "date": "2009-01-20", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":30c0wp6j]Manuel,\n\nMuy bien! Me alegro de que lo hayas conseguido <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\nPodrias mostrar parte del código para que otros usuarios veamos como lo has hecho ? gracias[/quote:30c0wp6j]\n\n\n1) En el código de la página web (HTML), al pulsar el botón GRABAR, se dispara una función Javascript que realiza una serie de tareas y al finalizar las mismas, colocamos la siguiente línea: \n\nwindow.document.title = \"cerrar\" ;\n\n\n2) En la aplicación FiveWin, cuando abrimos la página con activeX, añadimos lo siguiente:\n\noActiveX&#058;Do( \"Navigate2\",(CurDrive() + \":\\\"+CurDir()+\"\\temp.htm\") )\n\noActiveX&#058;bOnEvent = { | event, aParams, pParams | EventInfo( event, aParams, pParams, oActiveX, oDlg ) }\n\n.......\n.......\n\n\n3) La función EventInfo (ejemplo en samples\\webexp.prg), la dejamos con el siguiente código:\n\nfunction EventInfo( event, aParams, pParams, oActiveX, oDlg )\n if event == \"TitleChange\"\n if aParams[ 1 ] = \"cerrar\"\n oDlg:End() \n endif\n endif\nreturn nil\n\n\n-------------------------------------------------------------", "time": "20:42", "topic": "Cerrar ventana Web", "username": "Manuel Valdenebro" } ]
Cerrar ventana Web
[ { "date": "2009-01-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Manuel,\n\nUna solución simple y brillante <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\ngracias,", "time": "20:48", "topic": "Cerrar ventana Web", "username": "Antonio Linares" } ]
Cerrar ventana Web
[ { "date": "2012-06-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Con la funcion HelpTopic(\"Clave del tema\") abro la ventana de ayuda posicionado en el tema que deseo, ahora bien, como cierro esa ventana desde el sistema que la llamo?", "time": "20:55", "topic": "Cerrar ventana de ayuda", "username": "RodolfoRBG" } ]
Cerrar ventana de ayuda
[ { "date": "2012-06-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Rodolfo Buenas noches\n\nEs muy Fácil lo que necesitas, funciona perfectamente\nEn un botón, bien sea el de salir o el que tu elijas según el diseño que estés manejando\nPor Ejemplo:...............\n REDEFINE BUTTON ID 4003 OF oDlg1 ACTION (oDlg:End(),CerrarAyudas())\n\n [code=fw:2zjdx6zq]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> CerrarAyudas<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">local</span> oWnd <br />   <span style=\"color: #00C800;\">local</span> cTitles := <span style=\"color: #ff0000;\">\"Aquí colocas el titulo de la ventana de ayudas\"</span> <br />  <br />    <span style=\"color: #00C800;\">if</span>  !empty<span style=\"color: #000000;\">&#40;</span>cTitles <span style=\"color: #000000;\">&#41;</span><br />   <br />    oWnd := TWCapture<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span> AllTrim<span style=\"color: #000000;\">&#40;</span> cTitles <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />    Jugar<span style=\"color: #000000;\">&#40;</span>oWnd<span style=\"color: #000000;\">&#41;</span> <br />   <br />   <span style=\"color: #00C800;\">endIF</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;\">static</span> <span style=\"color: #00C800;\">function</span> Jugar<span style=\"color: #000000;\">&#40;</span>oWnd <span style=\"color: #000000;\">&#41;</span><br /><br />       cTitle := oWnd:<span style=\"color: #000000;\">cTitle</span><br /><br />        <span style=\"color: #00C800;\">if</span>   oWnd:<span style=\"color: #000000;\">lCaptured</span><br /> <br />             oWnd:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />      <br />        <span style=\"color: #00C800;\">endif</span><br /><br /><span style=\"color: #00C800;\">return</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">nil</span> <span style=\"color: #000000;\">&#41;</span></div>[/code:2zjdx6zq]\n\nAnexando desde luego la clase TWcaptur.prg. \nComo uno mas de tus PRGs\n\nSi no la tienes por favor me lo haces saber.\n\nUn Abrazo\n\nCordialmente\n\nJairo Barbosa", "time": "03:05", "topic": "Cerrar ventana de ayuda", "username": "Jairo Barbosa" } ]
Cerrar ventana de ayuda
[ { "date": "2012-06-22", "forum": "FiveWin para Harbour/xHarbour", "text": "Rodolfo no reportaste si pudiste hacer la implementacion \n\nMire este link, [url:1hlvarks]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=6&t=15842&p=82158&hilit=twcaptur#p82158[/url:1hlvarks]\n\ntambién tengo un pequeño ejemplo funcionando por si te interesa\n\nUn Abrazo\n\nJairo Barbosa", "time": "03:22", "topic": "Cerrar ventana de ayuda", "username": "Jairo Barbosa" } ]
Cerrar ventana de ayuda
[ { "date": "2012-07-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Mi estimado Jairo,\n\nNo habia probado tu sugerencia debido a que me ocupe en otros temas, pero finalmente lo probe y funciono de maravilla, ya vi incluso que una vez capturada la ventana no solo la puedo cerrar sino tambien manipularla para otros fines.\n\nMil gracias por tu ayuda.", "time": "02:07", "topic": "Cerrar ventana de ayuda", "username": "RodolfoRBG" } ]
Cerrar ventana de ayuda
[ { "date": "2012-07-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Sr Jairo,\n\npoderia fornecer o exemplo mencionado?\n\n<!-- e --><a href=\"mailto:ubiratan@sgsistemas.com.br\">ubiratan@sgsistemas.com.br</a><!-- e -->\n\nmuito obrigado", "time": "17:28", "topic": "Cerrar ventana de ayuda", "username": "MGA" } ]
Cerrar ventana de ayuda
[ { "date": "2012-07-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Aqui te va como yo lo uso:\n\n[code=fw:39o2n281]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">//=============================================================================</span><br /><span style=\"color: #B900B9;\">//Cierra ventana exterior</span><br /><span style=\"color: #00C800;\">FUNCTION</span> PN_CieVenExt<span style=\"color: #000000;\">&#40;</span>Titulo<span style=\"color: #000000;\">&#41;</span><br /> <span style=\"color: #00C800;\">LOCAL</span> oWndAC<br /> oWndAC:=TWCapture<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span>AllTrim<span style=\"color: #000000;\">&#40;</span>Titulo<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//Toma objeto de la ventana a cerrar segun su titulo</span><br /> <span style=\"color: #00C800;\">IF</span> oWndAC:<span style=\"color: #000000;\">lCaptured</span> ; oWndAC:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> ; <span style=\"color: #00C800;\">ENDIF</span> <span style=\"color: #B900B9;\">//Si esta abierta, la cierra</span><br /><span style=\"color: #00C800;\">RETURN</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #00C800;\">NIL</span><span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:39o2n281]\n\nTWCapture.prg\n[code=fw:39o2n281]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Objects.ch\"</span><br /><span style=\"color: #B900B9;\">//============================================================================//</span><br /><span style=\"color: #B900B9;\">//TWCapture</span><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><span style=\"color: #B900B9;\">//  AUTOR.....: Manuel Exp½sito Su rez    Soft 4U '2001                       //</span><br /><span style=\"color: #B900B9;\">//  e-Mail....: <!-- e --><a href=\"mailto:maex14@dipusevilla.es\">maex14@dipusevilla.es</a><!-- e -->                                         //</span><br /><span style=\"color: #B900B9;\">//  CLASE.....: TWCapture                                                     //</span><br /><span style=\"color: #B900B9;\">//  FECHA MOD.: 18/08/2001                                                    //</span><br /><span style=\"color: #B900B9;\">//  VERSION...: 1.00                                                          //</span><br /><span style=\"color: #B900B9;\">//  PROPOSITO.: Captura una ventana abierta por nuestro programa o por otra   //</span><br /><span style=\"color: #B900B9;\">//              aplicacion para poder enviarle mensajes como si fuera una     //</span><br /><span style=\"color: #B900B9;\">//              ventana mas de nuestro programa.                              //</span><br /><span style=\"color: #B900B9;\">//  Uso.......: Cerrar ventana de ayuda                                       //</span><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><span style=\"color: #B900B9;\">//  DATAS.....: * lCapture tiene un valor logico, .f. si la ventana no se     //</span><br /><span style=\"color: #B900B9;\">//              pudo capturar y .t. si si se hizo                             //</span><br /><span style=\"color: #B900B9;\">//                                                                            //</span><br /><span style=\"color: #B900B9;\">//  METODOS...: * New( cTitle ) es el constructor, cTitle es el titulo de una //</span><br /><span style=\"color: #B900B9;\">//              ventana, si se le pasa intentara capturarla y pondra .t. en   //</span><br /><span style=\"color: #B900B9;\">//              ::lCapture                                                    //</span><br /><span style=\"color: #B900B9;\">//              * WCapture se encarga de buscar la ventana y asignarla a      //</span><br /><span style=\"color: #B900B9;\">//              nuestro objeto TWindow. Si la captura podremos interactuar    //</span><br /><span style=\"color: #B900B9;\">//              como si fuera una ventana mas de nuestra aplicacion           //</span><br /><span style=\"color: #B900B9;\">//                                                                            //</span><br /><span style=\"color: #B900B9;\">//  NOTAS.....: TWCapture esta heredada de TWindows por lo que tendremos a    //</span><br /><span style=\"color: #B900B9;\">//              nuestra disposicion todas las datas y metodos de esta clase.  //</span><br /><span style=\"color: #B900B9;\">//              No distingue entre mayusculas y minuscula pero si se tienen   //</span><br /><span style=\"color: #B900B9;\">//              en cuenta los espacios                                        //</span><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><span style=\"color: #00C800;\">CLASS</span> TWCapture <span style=\"color: #0000ff;\">FROM</span> TWindow<br /> <span style=\"color: #00C800;\">DATA</span> lCaptured  AS LOGICAL<br /> <span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span> cTitle <span style=\"color: #000000;\">&#41;</span> CONSTRUCTOR<br /> <span style=\"color: #00C800;\">METHOD</span> WCapture<span style=\"color: #000000;\">&#40;</span> cTitle <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">ENDCLASS</span><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span> cTitle <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> TWCapture<br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> ValType<span style=\"color: #000000;\">&#40;</span> cTitle <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"C\"</span>, ::<span style=\"color: #000000;\">WCapture</span><span style=\"color: #000000;\">&#40;</span> cTitle <span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">lCaptured</span> := .f. <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">return</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">Self</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><span style=\"color: #00C800;\">METHOD</span> WCapture<span style=\"color: #000000;\">&#40;</span> cTitle <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> TWCapture<br /> <span style=\"color: #00C800;\">local</span> hWnd := FindWindow<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, cTitle <span style=\"color: #000000;\">&#41;</span><br /> ::<span style=\"color: #000000;\">lCaptured</span> := <span style=\"color: #000000;\">&#40;</span> hWnd > <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br /> ::<span style=\"color: #000000;\">hWnd</span> := <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lCaptured</span>, hWnd, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">return</span><span style=\"color: #000000;\">&#40;</span>::<span style=\"color: #000000;\">lCaptured</span><span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:39o2n281]\n\nSalu2", "time": "23:14", "topic": "Cerrar ventana de ayuda", "username": "RodolfoRBG" } ]
Cerrar ventana de ayuda
[ { "date": "2012-07-20", "forum": "FiveWin para Harbour/xHarbour", "text": "More easy:\n[code=fw:30bmuww2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#40;</span>hWnd:=FindWindow<span style=\"color: #000000;\">&#40;</span>,<span style=\"color: #ff0000;\">\"cTitleOfWnd\"</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span>!=<span style=\"color: #000000;\">0</span>,CloseWindow<span style=\"color: #000000;\">&#40;</span>hWnd<span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">&#41;</span></div>[/code:30bmuww2]\nOr:\n[code=fw:30bmuww2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">CerrarVentana<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"cTitleOfWnd\"</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">Function</span> CerrarVentana<span style=\"color: #000000;\">&#40;</span>cTitle<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#40;</span>hWnd:=FindWindow<span style=\"color: #000000;\">&#40;</span>,cTitle<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span>!=<span style=\"color: #000000;\">0</span>,CloseWindow<span style=\"color: #000000;\">&#40;</span>hWnd<span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">&#41;</span></div>[/code:30bmuww2]\n<!-- s8) --><img src=\"{SMILIES_PATH}/icon_cool.gif\" alt=\"8)\" title=\"Cool\" /><!-- s8) -->", "time": "22:24", "topic": "Cerrar ventana de ayuda", "username": "Lailton" } ]
Cerrar ventana de ayuda
[ { "date": "2012-07-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Lailton,\n\nExcelente!!! Muchas gracias.", "time": "22:26", "topic": "Cerrar ventana de ayuda", "username": "RodolfoRBG" } ]
Cerrar ventana de ayuda
[ { "date": "2012-07-24", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Lailton,\n\nFijate que despues me di cuenta que tu sugerencia no cierra realmente la ventana de ayuda, solo la minimiza, mientras que TWCapture si la cierra.", "time": "03:22", "topic": "Cerrar ventana de ayuda", "username": "RodolfoRBG" } ]
Cerrar ventana de ayuda
[ { "date": "2012-07-24", "forum": "FiveWin para Harbour/xHarbour", "text": "Rodolfo\n\nSobretodo que puedes construir la aplicación de tal manera que cierre las ayudas en el momento que tu consideres,\nBien sea al abrir la siguiente ventana de ayuda que cierre la anterior al finalizar la aplicación cierra todas las\nventanas de ayuda o aplicaciones que tenga abiertas.\n\nUn Abrazo Rodolfo y Laiton", "time": "18:39", "topic": "Cerrar ventana de ayuda", "username": "Jairo Barbosa" } ]
Cerrar ventana de ayuda
[ { "date": "2012-07-24", "forum": "FiveWin para Harbour/xHarbour", "text": "En efecto Jairo, esa era la idea, aunque habia notado que al cerrar la aplicacion automaticamente cierra las ventanas de ayuda, por eso pense que sin necesidad de agregar la clase TWCapture existia alguna instruccion ya preestablecida para hacerlo pero no la encontre, asi que tu sugerencia es la que estoy usando.\n\nGracias de nuevo y Salu2", "time": "20:12", "topic": "Cerrar ventana de ayuda", "username": "RodolfoRBG" } ]
Cerrar ventana de ayuda
[ { "date": "2012-07-31", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Rodolfo y Jairo,\n\nprobar asi:\n[code=fw:3hglcp7l]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#define</span> WM_CLOSE                        0x0010<br /><span style=\"color: #00C800;\">Function</span> CerrarVentana<span style=\"color: #000000;\">&#40;</span>cTitle<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">Local</span> hWnd<br /><span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span>hWnd:=FindWindow<span style=\"color: #000000;\">&#40;</span>,cTitle<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span>!=<span style=\"color: #000000;\">0</span><br />   PostMessage<span style=\"color: #000000;\">&#40;</span>hWnd,WM_CLOSE<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">EndIf</span><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">Nil</span></div>[/code:3hglcp7l]\n <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) --> \n\n[quote=\"RodolfoRBG\":3hglcp7l]Hola Lailton,\n\nFijate que despues me di cuenta que tu sugerencia no cierra realmente la ventana de ayuda, solo la minimiza, mientras que TWCapture si la cierra.[/quote:3hglcp7l]", "time": "20:40", "topic": "Cerrar ventana de ayuda", "username": "Lailton" } ]
Cerrar ventana de ayuda
[ { "date": "2020-11-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola a todos,\n\nAlguien me puede ayudar con el el tema de certificado de código para los instaladores,\nquiero que los instaladores que preparo con Innosetup puedan ir firmados con certificado de\ncódigo y evitar las alertas de windows al instalar o descargar estos instaladores.\n\nTambién conocer como se firman estos instaladores con alguna herramienta especial ?\n\nSi alguien tiene experiencia con proveedores de estos, cual es mejor precio, fácil instalación, etc.\n\nLes agradezco su ayuda.", "time": "16:43", "topic": "Certificado de código", "username": "audisys" } ]
Certificado de código
[ { "date": "2020-11-09", "forum": "FiveWin para Harbour/xHarbour", "text": "+1", "time": "13:22", "topic": "Certificado de código", "username": "cmsoft" } ]
Certificado de código
[ { "date": "2020-11-09", "forum": "FiveWin para Harbour/xHarbour", "text": "[url:1y0iwunq]https&#58;//stackoverflow&#46;com/questions/19160779/innosetup-code-signing-certificate[/url:1y0iwunq]", "time": "19:45", "topic": "Certificado de código", "username": "Antonio Linares" } ]
Certificado de código
[ { "date": "2005-12-21", "forum": "FiveWin for Pocket PC", "text": "Is there a function which permits to retrieve/exchange Date and Time of last modif. in any file. Somethig similar to the FWH SetFDate()/GetFTime() functions?\nThanks\nRafael", "time": "15:22", "topic": "Chage Date/Time in a File", "username": "Rafael Clemente" } ]
Chage Date/Time in a File
[ { "date": "2005-12-22", "forum": "FiveWin for Pocket PC", "text": "Rafael,\n\nYou can use Directory() to retrieve the date and time. Here you have a working sample:\n\n[code:mwjp5yps]#include \"FWCE&#46;ch\"\n\nfunction Main&#40;&#41;\n\n local oWnd\n \n DEFINE WINDOW oWnd TITLE \"DateTime\"\n \n @ 9, 2 BUTTON \"Date-Time\" ;\n SIZE 210, 30 ACTION ShowDateTime&#40;&#41;\n\n ACTIVATE WINDOW oWnd\n \nreturn nil \n\nfunction ShowDateTime&#40;&#41;\n\n local aInfo &#58;= Directory&#40; CurDir&#40;&#41; + \"\\datetime&#46;exe\" &#41;\n\n if Len&#40; aInfo &#41; > 0\n MsgInfo&#40; DToC&#40; aInfo&#91; 1 &#93;&#91; 3 &#93; &#41; &#41;\n MsgInfo&#40; aInfo&#91; 1 &#93;&#91; 4 &#93; &#41;\n endif \n \nreturn nil\n[/code:mwjp5yps]", "time": "07:36", "topic": "Chage Date/Time in a File", "username": "Antonio Linares" } ]
Chage Date/Time in a File
[ { "date": "2005-12-22", "forum": "FiveWin for Pocket PC", "text": "To change the date and time we need to use Windows API SetFileTime(). \n\nWe are going to build a sample of its use.", "time": "08:11", "topic": "Chage Date/Time in a File", "username": "Antonio Linares" } ]
Chage Date/Time in a File
[ { "date": "2005-12-22", "forum": "FiveWin for Pocket PC", "text": "Antonio.\nThanks. I'll apreciate that. I need a certain control over the dates and times of the DBFs so that I can control their syncronization through ActiveSync\nRegards\nRafael", "time": "09:39", "topic": "Chage Date/Time in a File", "username": "Rafael Clemente" } ]
Chage Date/Time in a File
[ { "date": "2007-04-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nsomebody know how can I change the get alignment (rigth, left, center) in run time, the get is defined from resource\n\nsome idea\n\nregards\n\nMarcelo", "time": "19:20", "topic": "Chage GET alignment", "username": "Marcelo Via Giglio" } ]
Chage GET alignment
[ { "date": "2007-04-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Marcelo,\n\nYou may try this:\n\nnStyle = GetWindowLong( oGet:hWnd, GWL_STYLE )\n\n// Changes nStyle from ES_LEFT to ES_RIGHT\nnStyle = nOr( nXor( nStyle, ES_LEFT ), ES_RIGHT )\n\nSetWindowLong( oGet:hWnd, GWL_STYLE, nStyle )", "time": "00:57", "topic": "Chage GET alignment", "username": "Antonio Linares" } ]
Chage GET alignment
[ { "date": "2007-04-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Antonio,\n\nthanks for your reply, I tryed it but not work, the get disappear, another suggestion ?\n\nthanks and regards\n\nMarcelo", "time": "13:45", "topic": "Chage GET alignment", "username": "Marcelo Via Giglio" } ]
Chage GET alignment
[ { "date": "2007-04-18", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Marcelo Via Giglio\":ies6mep6]Hello,\n\nsomebody know how can I change the get alignment (rigth, left, center) in run time, the get is defined from resource\n\nsome idea\n\nregards\n\nMarcelo[/quote:ies6mep6]\n\nYou can't, as far as I know. Try to define three GETs, one for each style, and hide all of them but the one with the requested style.\n\nEMG", "time": "15:19", "topic": "Chage GET alignment", "username": "Enrico Maria Giordano" } ]
Chage GET alignment
[ { "date": "2007-04-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nYes, thats a good idea <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "15:41", "topic": "Chage GET alignment", "username": "Antonio Linares" } ]
Chage GET alignment
[ { "date": "2007-04-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico.\n\nyes these was an idea, but I wanted to know another way, ok, if you konw other way, please tell me, and if I find other solution I will post here\n\nregards\n\nMarcelo", "time": "16:02", "topic": "Chage GET alignment", "username": "Marcelo Via Giglio" } ]
Chage GET alignment
[ { "date": "2007-04-18", "forum": "FiveWin for Harbour/xHarbour", "text": "There is no other way, I'm afraid.\n\nEMG", "time": "16:05", "topic": "Chage GET alignment", "username": "Enrico Maria Giordano" } ]
Chage GET alignment
[ { "date": "2018-04-11", "forum": "FiveWin for Harbour/xHarbour", "text": "If I have a Main Window Not Mdi \nCan I change the state on Mdi on line and viceversa ?\n\n\nthanks", "time": "13:55", "topic": "Change state of Window on line", "username": "Silvio.Falconi" } ]
Change state of Window on line
[ { "date": "2018-04-12", "forum": "FiveWin for Harbour/xHarbour", "text": "No, sorry\n\nYou have to destroy it and create a MDI one", "time": "09:43", "topic": "Change state of Window on line", "username": "Antonio Linares" } ]
Change state of Window on line
[ { "date": "2018-04-12", "forum": "FiveWin for Harbour/xHarbour", "text": "I'm sorry then I cannot make it \nyou Know how insert the activex to view a webpage into window not MDI ?", "time": "12:11", "topic": "Change state of Window on line", "username": "Silvio.Falconi" } ]
Change state of Window on line
[ { "date": "2008-11-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello\r\n\r\nWith Stefan's solution (saving the gradient as BMP ), i could solve the problem :\r\n\r\n[code:3fa1gljw]\n//------------- 1 GRADIENT HOR / VERT -----------\n\nFUNCTION DRAW_GRAD&#40; hDC,oBitmap,nDirection,nVColor, nBColor, nMove &#41; \nLOCAL nGRADIENT, oDlg_temp\n\naGrad &#58;= &#123; &#123; nMove, nVColor, nBColor &#125;, ;\n &#123; nMove, nBColor, nVColor &#125; &#125;\n\naRect &#58;= GETCLIENTRECT&#40; oBitmap&#58;hWnd &#41;\n\nIF nDirection = 1\n DEFINE DIALOG oDlg_temp FROM 0,0 TO aRect &#91;3&#93;, aRect&#91;4&#93; PIXEL STYLE nOr&#40;WS_POPUP,4&#41;\n ACTIVATE DIALOG oDlg_temp ; \n ON PAINT &#40; GradientFill&#40; oDlg_temp&#58;hDC, 0, 0, 130, 180, aGrad, &#46;T&#46; &#41;,; \n\t\t oDlg_temp&#58;SaveToBmp&#40;\"Temp&#46;bmp\"&#41;, oDlg_temp&#58;end&#40;&#41;&#41; \nENDIF\nIF nDirection = 2\n DEFINE DIALOG oDlg_temp FROM 0,0 TO aRect &#91;3&#93;, aRect&#91;4&#93; PIXEL STYLE nOr&#40;WS_POPUP,4&#41;\n ACTIVATE DIALOG oDlg_temp ; \n ON PAINT &#40; GradientFill&#40; oDlg_temp&#58;hDC, 0, 0, 130, 180, aGrad, &#46;F&#46; &#41;,; \n\t\t oDlg_temp&#58;SaveToBmp&#40;\"Temp&#46;bmp\"&#41;, oDlg_temp&#58;end&#40;&#41;&#41; \nENDIF\n\nDEFINE BRUSH oNewbrush FILE \"Temp&#46;bmp\"\nFillRect&#40; oBitmap&#58;hDC, aRect, oNewbrush&#58;hBrush &#41;\nRELEASE BRUSH oNewbrush\nFERASE&#40; \"Temp&#46;bmp\" &#41; \n\nRETURN NIL\n\n[/code:3fa1gljw]\n\nTo show project-settings, I use a Image-Browser to show all kinds\nof backgrounds. For gradient-preview I used before :\n\n[code:3fa1gljw]\naRect &#58;= GETCLIENTRECT&#40; oBitmap&#58;hWnd &#41;\n\nIF nDirection = 1\n // Horizont&#46; \n nGRADIENT &#58;= Gradient&#40; hDC, aRect, nVColor, nBColor, &#46;T&#46; &#41; \nELSE\n // Vertical\n nGRADIENT &#58;= Gradient&#40; hDC, aRect, nVColor, nBColor, &#46;F&#46; &#41; \nENDIF\n\nDEFINE BRUSH oNewbrush COLOR nGRADIENT\nFillRect&#40; oBitmap&#58;hDC, aRect, oNewbrush&#58;hBrush &#41;\nRELEASE BRUSH oNewbrush\n\n[/code:3fa1gljw]\n\nIt works but doesn't support color-adjustment.\n\n[img:3fa1gljw]http&#58;//www&#46;pflegeplus&#46;com/pictures/gradient12&#46;jpg[/img:3fa1gljw]\n\nBecause the gradient-colors must shown centered and \nthe 3. value < nMOVE > is not supported, I want to change from \n<Gradient> to <Gradientfill> using :\n\n[code:3fa1gljw]\n\naGrad &#58;= &#123; &#123; nMove, nVColor, nBColor &#125;, ;\n\t &#123; nMove, nBColor, nVColor &#125; &#125;\n\naRect &#58;= GETCLIENTRECT&#40; oBitmap&#58;hWnd &#41;\n\nIF nDirection = 1\n // Horizont&#46; \n nGRADIENT &#58;= GradientFill&#40; hDC, aRect, aGrad, &#46;T&#46; &#41; \nELSE\n // Vertical\n nGRADIENT &#58;= GradientFill&#40; hDC, aRect, aGrad, &#46;F&#46; &#41; \nENDIF\n\nDEFINE BRUSH oNewbrush COLOR nGRADIENT\nFillRect&#40; oBitmap&#58;hDC, aRect, oNewbrush&#58;hBrush &#41;\nRELEASE BRUSH oNewbrush\n\n[/code:3fa1gljw]\r\n\r\nIt doesn't work.\r\nThe exact preview ( windows and dialog ) looks like :\r\n\r\n[img:3fa1gljw]http&#58;//www&#46;pflegeplus&#46;com/pictures/gradient23&#46;jpg[/img:3fa1gljw]\r\n\r\nAll other combinations are working :\r\n\r\nClear color\r\n\r\n[img:3fa1gljw]http&#58;//www&#46;pflegeplus&#46;com/pictures/gradtest1&#46;jpg[/img:3fa1gljw]\r\n\r\nPredefined Brush\r\n\r\n[img:3fa1gljw]http&#58;//www&#46;pflegeplus&#46;com/pictures/gradtest2&#46;jpg[/img:3fa1gljw]\r\n\r\nTiled\r\n\r\n[img:3fa1gljw]http&#58;//www&#46;pflegeplus&#46;com/pictures/gradtest3&#46;jpg[/img:3fa1gljw]\r\n\r\nImage\r\n\r\n[img:3fa1gljw]http&#58;//www&#46;pflegeplus&#46;com/pictures/gradtest4a&#46;jpg[/img:3fa1gljw]\r\n\r\nIs it possible to change from <Gradient> to <GradientFill> for BMP's,\r\nto use the < move-color > option ?\r\n( solved, if saving as BMP )\r\n \r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "22:35", "topic": "Change <Gradient>to<GradientFill> ? (solved)", "username": "ukoenig" } ]
Change <Gradient>to<GradientFill> ? (solved)
[ { "date": "2007-02-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello all,\n\nIs it possible to change the ACL permission of a file from within FHW (something like the \"Permission: everyone-modify\" parameter of InnoSetup) ?\n\nTIA\nDavide", "time": "02:09", "topic": "Change ACL file permission", "username": "Davide" } ]
Change ACL file permission
[ { "date": "2007-02-10", "forum": "FiveWin for Harbour/xHarbour", "text": "On FAT32 or NTFS?", "time": "13:48", "topic": "Change ACL file permission", "username": "Rochinha" } ]
Change ACL file permission
[ { "date": "2007-02-10", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Rochinha\":34ihy0n5]On FAT32 or NTFS?[/quote:34ihy0n5]\nAFAIK ACL is on NTFS only.\nAre there issues with FAT32 too ?\n\nRegards,\nDavide", "time": "14:19", "topic": "Change ACL file permission", "username": "Davide" } ]
Change ACL file permission
[ { "date": "2007-02-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Friend\n\nThe FAT32 security is poor. Maybe you can use ATTRIB.EXE.\n\nRead this for more information: [url=http&#58;//www&#46;windowsecurity&#46;com/articles/Securing_the_Windows_2000_Registry&#46;html?printversion:noux4079]Windows Security[/url:noux4079]", "time": "15:25", "topic": "Change ACL file permission", "username": "Rochinha" } ]
Change ACL file permission
[ { "date": "2009-01-22", "forum": "FiveWin for Pocket PC", "text": "Hi,\n\nOn a main screen that shows few buttons, I need to create another button which, when clicking it, it will show another permanent BOX / SAY with a string. Each click changes the string in the box from \"DISCHARGE\" <--> \"LOAD\". I don't want to draw all the screen on each click, but the string in the box.\n\n\nThe main screen is drawn using:\n @ 0, 0 BTNBMP NAME \"setup\" SIZE 40, 30 OF oWnd ACTION TalySetupMain()\n\n @ 0, 40 BTNBMP NAME \"DschLoad\" SIZE 40, 30 OF oWnd ACTION TalyHeadMain()\n\n @ 0, 80 BTNBMP NAME \"shfting\" SIZE 40, 30 OF oWnd ACTION TalyContShifting()\n\n @ 0, 120 BTNBMP NAME \"empty\" SIZE 40, 30 OF oWnd ACTION ( cFSE := \"EMPTY\", TalyContMain() )\n\n\n\nThanks,\nMoshe Yarden", "time": "20:34", "topic": "Change BOX content", "username": "yardenmo" } ]
Change BOX content
[ { "date": "2009-01-23", "forum": "FiveWin for Pocket PC", "text": "Hi,\n\nIf I need just to show a string somewhere on the screen, how can I use the SAY command?\n\nI'm trying:\n @ 0, 0 BTNBMP NAME \"setup\" SIZE 40, 30 OF oWnd ACTION TalySetupMain()\n\n @ 0, 40 BTNBMP NAME \"DschLoad\" SIZE 40, 30 OF oWnd ACTION TalyHeadMain()\n\n @ 0, 80 BTNBMP NAME \"shfting\" SIZE 40, 30 OF oWnd ACTION TalyContShifting()\n\nand: \n @ 0, 40 SAY \"I022345\" OF oWnd //BOX //cManifest\n\nThe buttons do work, but the SAY is not shown.\n\nWhat do I do wrong?\n\n\nThanks,\nMoshe Yarden", "time": "10:30", "topic": "Change BOX content", "username": "yardenmo" } ]
Change BOX content
[ { "date": "2009-01-23", "forum": "FiveWin for Pocket PC", "text": "The following sample works fine here:\n\n[code:3e3gw3cr]#include \"Fivewin&#46;ch\"\n\n\nFUNCTION MAIN()\n\n LOCAL oWnd\n\n DEFINE WINDOW oWnd\n\n @ 1, 1 SAY \"This is a test\"\n\n ACTIVATE WINDOW oWnd\n\n RETURN NIL[/code:3e3gw3cr]\n\nEMG", "time": "11:28", "topic": "Change BOX content", "username": "Enrico Maria Giordano" } ]
Change BOX content
[ { "date": "2009-01-23", "forum": "FiveWin for Pocket PC", "text": "Thanks EMG,\n\nNow it is shown. I've used row and column like in BTNBMP.\n\nI'm trying to use the SAY and then redefine it (with each click, on another button)\nWhen trying:\n @ 4, 10 SAY oSay cManifest OF oWnd COLOR nRGB( 255, 255, 255 ), nRGB( 0, 255, 0 )\nI receive: \"syntax error at '@'\"\n Using SAY without oSay works:\n @ 4, 10 SAY cManifest OF oWnd COLOR nRGB( 255, 255, 255 ), nRGB( 0, 255, 0 )\n\nBit then I don't know how ro use redine from an outer function.\n\n\nThanks,\nMoshe Yarden", "time": "13:49", "topic": "Change BOX content", "username": "yardenmo" } ]
Change BOX content
[ { "date": "2009-01-23", "forum": "FiveWin for Pocket PC", "text": "[code:2mk6sm86]@ row, col SAY oSay PROMPT cManifest &#46;&#46;&#46;[/code:2mk6sm86]\n\nEMG", "time": "17:22", "topic": "Change BOX content", "username": "Enrico Maria Giordano" } ]
Change BOX content
[ { "date": "2014-03-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi everyone.\n\nI need to create a BtnBmp, really an array of BtnBmps, but I need to change Its bitmap according to external conditions.\nI can't \"preload\" the image, since I don't know which is going to be in each position.\nI already change its prompt, associated Action, tooltip but the Image, I can't\n\nI tried \n hBmp = FILoadFromMemory( oDbPro:IMAGEN)\n aBoton[x,y]:hBitmap1:=hBmp\n aBoton[x,y]:Refresh()\n\nwith no success at all\nAny Idea will be appreciated.\n\nThanks in Advance\n\nFrom Chile\nAdolfo", "time": "15:26", "topic": "Change BtnBmp Image at runtime", "username": "Adolfo" } ]
Change BtnBmp Image at runtime
[ { "date": "2014-03-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Adolfo,\n\nI will add a sample to Your post.\n\nBest regards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "15:55", "topic": "Change BtnBmp Image at runtime", "username": "ukoenig" } ]
Change BtnBmp Image at runtime
[ { "date": "2014-03-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks Uwe.\nI'll be waiting... <!-- s;-) --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\";-)\" title=\"Wink\" /><!-- s;-) -->\n\nFrom Chile\nAdolfo", "time": "16:38", "topic": "Change BtnBmp Image at runtime", "username": "Adolfo" } ]
Change BtnBmp Image at runtime
[ { "date": "2014-03-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Adolfo,\nthe sample :\n\n[color=#0000FF:378txqmx][b:378txqmx]oBtn1:SetFile( ..\\bitmaps\\Info.Bmp\", ..\\bitmaps\\Info.Bmp\" ) // can be different \noBtn2:SetFile( ..\\bitmaps\\Info.Bmp\", ..\\bitmaps\\Info.Bmp\" ) [/b:378txqmx][/color:378txqmx]\n\n[b:378txqmx]Original Bmp's changed to Info.bmp\nButton 1 changes button 2\nand button 2 changes button 1\nBmp-change with radio and checkbox-selection[/b:378txqmx]\n\n[color=#008040:378txqmx][b:378txqmx]You can define two images UP and DOWN ![/b:378txqmx][/color:378txqmx]\n\n[img:378txqmx]http&#58;//www&#46;pflegeplus&#46;com/pictures/changebmp&#46;jpg[/img:378txqmx]\n\n[code=fw:378txqmx]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#Include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><span style=\"color: #00C800;\">STATIC</span> oFont<br /><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> oWnd, oDlg, oFld, oBtn1, oBtn2, oBtn3<br /><span style=\"color: #00C800;\">Local</span> oFont, oBrush1, oBrush2, oBrush3<br /><span style=\"color: #00C800;\">Local</span> c_path, c_path1<br /><span style=\"color: #00C800;\">Local</span> oCbx1, nCbx1 := <span style=\"color: #000000;\">3</span>, oRadio1, nRadio1 := <span style=\"color: #000000;\">3</span><br /><br />c_path := cFilePath<span style=\"color: #000000;\">&#40;</span>GetModuleFileName<span style=\"color: #000000;\">&#40;</span> GetInstance<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <br />c_path1 := c_path + <span style=\"color: #ff0000;\">\"SYSTEM<span style=\"color: #000000;\">\\\"</span> <br /><br />oFont  := TFont():New(\"</span>Arial<span style=\"color: #ff0000;\">\",,-14,.F.,.T. ,,,,.F. )<br /><br />DEFINE BRUSH oBrush1  GRADIENT { { 0.50, 16710607, 16759929 }, { 0.50, 16759929, 16710607 } }<br />DEFINE BRUSH oBrush2 GRADIENT { { 1, 16710607, 16759929 } }<br />DEFINE BRUSH oBrush3 GRADIENT { { 1, 16759929, 16710607 } }<br /><br />oFont  := TFont():New(\"</span>Arial<span style=\"color: #ff0000;\">\",,-14,.F.,.F. ,,,,.F. )<br /><br />DEFINE WINDOW oWnd TITLE \"</span>Foldertest FWH-version => <span style=\"color: #ff0000;\">\"  + FWVERSION  BRUSH oBrush1<br /><br />DEFINE DIALOG oDlg FROM 50, 50 TO 450, 610 TITLE \"</span>Test <span style=\"color: #0000ff;\">folder</span><span style=\"color: #ff0000;\">\" PIXEL OF oWnd BRUSH oBrush2 <br /><br />@ 15, 10 FOLDEREX SIZE 260, 170 oFld PIXEL ROUND 5 UPDATE ;<br />PROMPT  \"</span><span style=\"color: #0000ff;\">Page</span> &<span style=\"color: #000000;\">1</span><span style=\"color: #ff0000;\">\", \"</span><span style=\"color: #0000ff;\">Page</span> &<span style=\"color: #000000;\">2</span><span style=\"color: #ff0000;\">\", \"</span>&EXIT<span style=\"color: #ff0000;\">\" OF oDlg ;<br />ON PAINT TAB PaintTab( Self, nOption );<br />ON CHANGE ( nSavePage := oFld:nOption, ;<br />                            IF( nOption == 3, If( MsgYesNo( \"</span><span style=\"color: #00C800;\">Do</span> you want exit??<span style=\"color: #ff0000;\">\" ), ;<br />                                                                oWnd:End(), ( ::SetOption( nOldOption ), ::Refresh() ) ), ) ) ;                         <br />ON PAINT TEXT( If( nOption == ::nOption .and. nOption == 2, 8388608, 0 ) );<br />TOP OPTION 1 ALIGN 0, 0, 0 <br /><br /> oFld:lTransparent := .T.<br />oFld:nFolderHeight := 40<br />oFld:nSeparator := 2<br />oFld:bClrText := {| o, n | 128 }<br />oFld:oFont := oFont<br />oFld:nOption := 1<br /><br />oFld:aDialogs[ 1 ]:SetBrush( oBrush1 )<br />oFld:aDialogs[ 2 ]:SetBrush( oBrush2 )<br />oFld:aDialogs[ 3 ]:SetBrush( oBrush3 )<br /><br />@ 20, 50 BTNBMP oBtn1 OF oFld:adialogs[1] ;<br />SIZE 50, 30 PIXEL 2007 ;<br />NOBORDER ;<br />PROMPT \"</span> <span style=\"color: #0000ff;\">Change</span> &<span style=\"color: #000000;\">2</span><span style=\"color: #ff0000;\">\" ;<br />FILENAME c_path1 + \"</span>Exit1.Bmp<span style=\"color: #ff0000;\">\" ;<br />ACTION oBtn2:SetFile( c_path1 + \"</span>Info.Bmp<span style=\"color: #ff0000;\">\", c_path1 + \"</span>Info.Bmp<span style=\"color: #ff0000;\">\" ) ;<br />FONT oFont ;<br />TOP<br />oBtn1:bClrGrad = { | lMouseOver | If( ! lMouseOver,;<br />    { { 0.50, 11513775, 16777215 }, ;<br />    { 0.50, 16777215, 11513775 } }, ;<br />    { { 0.50, 16761992, 16777215 }, ;<br />    { 0.50, 16777215, 16761992 } } ) }<br />oBtn1:lTransparent := .t.<br />oBtn1:cToolTip =  { \"</span>Test<span style=\"color: #ff0000;\">\" + CRLF + \"</span><span style=\"color: #0000ff;\">Button</span> <span style=\"color: #000000;\">1</span><span style=\"color: #ff0000;\">\",\"</span><span style=\"color: #0000ff;\">Button</span><span style=\"color: #ff0000;\">\", 1, CLR_BLACK, 14089979 }<br />oBtn1:SetColor( 0, )<br /><br />@ 60, 50 BTNBMP oBtn2 OF oFld:adialogs[1] ;<br />SIZE 50, 30 PIXEL 2007 ;<br />NOBORDER ;<br />PROMPT \"</span> <span style=\"color: #0000ff;\">Change</span> &<span style=\"color: #000000;\">1</span><span style=\"color: #ff0000;\">\" ;<br />FILENAME c_path1 + \"</span>Preview.Bmp<span style=\"color: #ff0000;\">\" ;<br />ACTION oBtn1:SetFile( c_path1 + \"</span>Info.Bmp<span style=\"color: #ff0000;\">\", c_path1 + \"</span>Info.Bmp<span style=\"color: #ff0000;\">\" ) ;<br />FONT oFont ;<br />TOP<br />oBtn2:bClrGrad = { | lMouseOver | If( ! lMouseOver,;<br />    { { 0.50, 6711039, 16777215 }, ;<br />    { 0.50, 16777215, 6711039 } }, ;<br />    { { 0.50, 16761992, 16777215 }, ;<br />    { 0.50, 16777215, 16761992 } } ) }<br />oBtn2:lTransparent := .t.<br />oBtn2:cToolTip =  { \"</span><span style=\"color: #0000ff;\">Change</span> <span style=\"color: #0000ff;\">Image</span><span style=\"color: #ff0000;\">\" + CRLF + \"</span><span style=\"color: #0000ff;\">Button</span> <span style=\"color: #000000;\">1</span><span style=\"color: #ff0000;\">\",\"</span><span style=\"color: #0000ff;\">CHANGE</span><span style=\"color: #ff0000;\">\", 1, CLR_BLACK, 14089979 }<br />oBtn2:SetColor( 0, )<br /><br />@ 100, 50 BTNBMP oBtn3 OF oFld:adialogs[1] ;<br />SIZE 50, 30 PIXEL 2007 ;<br />NOBORDER ;<br />PROMPT \"</span> &Reset<span style=\"color: #ff0000;\">\" ;<br />FILENAME c_path1 + \"</span>Recall.Bmp<span style=\"color: #ff0000;\">\" ;<br />ACTION ( nSelect1 := .F., nSelect2 := .F. , ;<br />              oBtn1:SetFile( c_path1 + \"</span>Exit1.Bmp<span style=\"color: #ff0000;\">\", c_path1 + \"</span>Exit1.Bmp<span style=\"color: #ff0000;\">\" ), ;<br />              oBtn2:SetFile( c_path1 + \"</span>Preview.Bmp<span style=\"color: #ff0000;\">\", c_path1 + \"</span>Preview.Bmp<span style=\"color: #ff0000;\">\" ), ;<br />              nRadio1 := 3, oRadio1:Refresh(), ;<br />          nCbx1 := 3, oCbx1:Refresh() ) ;         <br />FONT oFont ;<br />TOP<br />oBtn3:bClrGrad = { | lMouseOver | If( ! lMouseOver,;<br />    { { 0.50, 3067734, 16777215 }, ;<br />    { 0.50, 16777215, 3067734 } }, ;<br />    { { 0.50, 3145727, 16777215 }, ;<br />    { 0.50, 16777215, 3145727 } } ) }<br />oBtn3:lTransparent := .t.<br />oBtn3:cToolTip =  { \"</span><span style=\"color: #0000ff;\">Change</span> <span style=\"color: #0000ff;\">Image</span><span style=\"color: #ff0000;\">\" + CRLF + \"</span><span style=\"color: #0000ff;\">Button</span> <span style=\"color: #000000;\">1</span><span style=\"color: #ff0000;\">\",\"</span><span style=\"color: #0000ff;\">CHANGE</span><span style=\"color: #ff0000;\">\", 1, CLR_BLACK, 14089979 }<br />oBtn3:SetColor( 0, )<br /><br />// ------------------------<br /><br />@ 20, 125 COMBOBOX oCbx1 VAR nCbx1  ITEMS { \"</span><span style=\"color: #0000ff;\">Change</span> <span style=\"color: #0000ff;\">Button</span> <span style=\"color: #000000;\">1</span><span style=\"color: #ff0000;\">\", \"</span><span style=\"color: #0000ff;\">Change</span> <span style=\"color: #0000ff;\">Button</span> <span style=\"color: #000000;\">2</span><span style=\"color: #ff0000;\">\", \"</span>Reset<span style=\"color: #ff0000;\">\" } ;<br />SIZE 110, 100 OF oFld:adialogs[1]  PIXEL ;<br />ON CHANGE ( IIF( nCbx1 = 1, oBtn1:SetFile( c_path1 + \"</span>Info.Bmp<span style=\"color: #ff0000;\">\", c_path1 + \"</span>Info.Bmp<span style=\"color: #ff0000;\">\" ), NIL ), ;  <br />     IIF( nCbx1 = 2, oBtn2:SetFile( c_path1 + \"</span>Info.Bmp<span style=\"color: #ff0000;\">\", c_path1 + \"</span>Info.Bmp<span style=\"color: #ff0000;\">\" ), NIL ), ;<br />     IIF( nCbx1 = 3, ( oBtn1:SetFile( c_path1 + \"</span>Exit1.Bmp<span style=\"color: #ff0000;\">\", c_path1 + \"</span>Exit1.Bmp<span style=\"color: #ff0000;\">\" ), ;<br />          oBtn2:SetFile( c_path1 + \"</span>Preview.Bmp<span style=\"color: #ff0000;\">\", c_path1 + \"</span>Preview.Bmp<span style=\"color: #ff0000;\">\" ) ), NIL ) )              <br />                <br />oCbx1:oFont := oFont<br /><br />// -----<br /><br />@ 55, 125 RADIO oRadio1 VAR nRadio1 ITEMS \"</span><span style=\"color: #0000ff;\">Button</span> <span style=\"color: #000000;\">1</span><span style=\"color: #ff0000;\">\", \"</span><span style=\"color: #0000ff;\">Button</span> <span style=\"color: #000000;\">2</span><span style=\"color: #ff0000;\">\", \"</span>Reset<span style=\"color: #ff0000;\">\" SIZE 40, 15 ;<br />OF oFld:adialogs[1] PIXEL ;<br />ON CHANGE { || ( IIF( nRadio1 = 1, oBtn1:SetFile( c_path1 + \"</span>Info.Bmp<span style=\"color: #ff0000;\">\", c_path1 + \"</span>Info.Bmp<span style=\"color: #ff0000;\">\" ), NIL ), ;  <br />    IIF( nRadio1 = 2, oBtn2:SetFile( c_path1 + \"</span>Info.Bmp<span style=\"color: #ff0000;\">\", c_path1 + \"</span>Info.Bmp<span style=\"color: #ff0000;\">\" ),NIL), ;<br />    IIF( nRadio1 = 3, ( oBtn1:SetFile( c_path1 + \"</span>Exit1.Bmp<span style=\"color: #ff0000;\">\", c_path1 + \"</span>Exit1.Bmp<span style=\"color: #ff0000;\">\" ), ;<br />         oBtn2:SetFile( c_path1 + \"</span>Preview.Bmp<span style=\"color: #ff0000;\">\", c_path1 + \"</span>Preview.Bmp<span style=\"color: #ff0000;\">\" ) ),NIL) ) } UPDATE <br /><br />AEval( oRadio1:aItems, { | oRad | oRad:lTransparent := .T., ;<br />     oRad:SetFont ( oFont ), oRad:nClrText := 0 } )<br /><br />ACTIVATE DIALOG oDlg NOWAIT CENTER <br /><br />ACTIVATE WINDOW oWnd MAXIMIZED <br /><br />RELEASE BRUSH oBrush1, oBrush2, oBrush3, oFont<br /><br />RETURN NIL<br /><br />// ------------------------<br /><br />FUNCTION PaintTab( o, nOption )<br /><br />IF nOption == o:nOver .OR. nOption == o:nOption<br />      o:SetAlphaLevel( nOption, 255 )<br />ELSE <br />      o:SetAlphaLevel( nOption, 50 )<br />ENDIF <br />   <br />RETURN o:SetFldColors( o, nOption )    <br /></span></div>[/code:378txqmx]\n\nBest regards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "20:03", "topic": "Change BtnBmp Image at runtime", "username": "ukoenig" } ]
Change BtnBmp Image at runtime
[ { "date": "2014-03-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks.\n\nBut there is a tiny problem... The Image is loaded from a BLOB field in an Mysql DB... so the use of oBtn2:SetFile() won't work, since theres no \"file\" to load.\nI do have the image handle in hBmp\n\nI tried ti load it directly with ::loadbitmaps() with no success\n\nAny idea will be appreciated\n\nFrom Chile\nAdolfo", "time": "20:45", "topic": "Change BtnBmp Image at runtime", "username": "Adolfo" } ]
Change BtnBmp Image at runtime
[ { "date": "2014-03-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Done...\n\nHere's the code\n\n\n.............\n If Len(Alltrim(oDbPro:IMAGEN)) > 0\n aBoton[x,y]:hBitmap1 := FILoadFromMemory( oDbPro:IMAGEN, 10 )\n aBoton[x,y]:hPalette1 := 0\n Endif\n \nFor some reason, if the first BMP is null, the others won't work, so asking if there is something inside oDbPro:IMAGEN solve the problem.", "time": "21:02", "topic": "Change BtnBmp Image at runtime", "username": "Adolfo" } ]
Change BtnBmp Image at runtime
[ { "date": "2014-03-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Adolfo\n\nCheck out this thread .. I asked the same question myself ..\n\nRick Lipkin\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=3&t=26855&p=148946#p148946\">viewtopic.php?f=3&t=26855&p=148946#p148946</a><!-- l -->", "time": "20:06", "topic": "Change BtnBmp Image at runtime", "username": "Rick Lipkin" } ]
Change BtnBmp Image at runtime
[ { "date": "2014-07-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi All\n\nWhen I use REDEFINE RADIO oObj VAR nType ID 131,133 the captions are stored in the resource file. Is it possible to change the two captions at runtime?\n\nTIA\nDavid", "time": "16:32", "topic": "Change Caption on Radio at Run Time?", "username": "David Williams" } ]
Change Caption on Radio at Run Time?
[ { "date": "2014-07-02", "forum": "FiveWin for Harbour/xHarbour", "text": "oRadio:aItems[ 2 ]:SetText( \"Hello\" )\n\noRadio:aItems[ 2 ]:Refresh()\n\n<!-- m --><a class=\"postlink\" href=\"http://wiki.fivetechsoft.com/doku.php?id=fivewin_class_tradio\">http://wiki.fivetechsoft.com/doku.php?i ... ass_tradio</a><!-- m -->\n\nRegards,", "time": "18:27", "topic": "Change Caption on Radio at Run Time?", "username": "karinha" } ]
Change Caption on Radio at Run Time?
[ { "date": "2014-07-02", "forum": "FiveWin for Harbour/xHarbour", "text": "[code=fw:ovjfygls]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">// Radio Buttons management sample - \\samples\\TESTRAD.PRG modified.</span><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</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, oRadMenu, oBrush<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> nOption := <span style=\"color: #000000;\">2</span><br /><br />&nbsp; &nbsp;SET _3DLOOK <span style=\"color: #0000ff;\">ON</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"Radios\"</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">RADIO</span> oRadMenu <span style=\"color: #0000ff;\">VAR</span> nOption <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">110</span>, <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">130</span>, <span style=\"color: #000000;\">140</span>, <span style=\"color: #000000;\">150</span> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> SWAP_CAPTION<span style=\"color: #000000;\">&#40;</span> oRadMenu <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">//ON CHANGE MsgBeep()</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">100</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">ACTION</span> oRadMenu:<span style=\"color: #000000;\">GoNext</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">WHEN</span> nOption == <span style=\"color: #000000;\">3</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">102</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">ACTION</span> oRadMenu:<span style=\"color: #000000;\">GoPrev</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> oRadMenu:<span style=\"color: #000000;\">aItems</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Hello\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;SET _3DLOOK OFF<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> SWAP_CAPTION<span style=\"color: #000000;\">&#40;</span> oRadMenu <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;oRadMenu:<span style=\"color: #000000;\">aItems</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Chang\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;oRadMenu:<span style=\"color: #000000;\">aItems</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">RETURN</span><span style=\"color: #000000;\">&#40;</span> .T. <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br />procedure AppSys &nbsp;<span style=\"color: #B900B9;\">// XBase++ requirement</span><br /><br /><span style=\"color: #00C800;\">return</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br />&nbsp;</div>[/code:ovjfygls]", "time": "18:52", "topic": "Change Caption on Radio at Run Time?", "username": "karinha" } ]
Change Caption on Radio at Run Time?
[ { "date": "2014-07-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks for your help Karinha <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) --> \n\nI implemented it this way:\n\n ACTIVATE DIALOG oDlg ON INIT (oObj[3]:aItems[1]:SetText(\"Rounds\"), oObj[3]:aItems[1]:Refresh(), oDlg:Center(oMainWnd)) ;\n VALID (oFont:End(), SysRefresh(), .T.)\n\nDavid", "time": "17:49", "topic": "Change Caption on Radio at Run Time?", "username": "David Williams" } ]
Change Caption on Radio at Run Time?
[ { "date": "2013-09-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi;\n\nI'm trying to change the caption on a TbtnBmp, but so far -no luck.\n\n[code=fw:3is38svi]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">LOCAL</span> oBtn<br /><span style=\"color: #00C800;\">LOCAL</span> oSelf := <span style=\"color: #00C800;\">SELF</span> <br />...<br />::<span style=\"color: #000000;\">cText</span> := <span style=\"color: #ff0000;\">\"Some Initial Text\"</span><br /><span style=\"color: #0000ff;\">REDEFINE</span> BUTTONBMP ::<span style=\"color: #000000;\">oBtm</span> <span style=\"color: #B900B9;\">/*BITMAP \"dotgreen\"*/</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">501</span> <span style=\"color: #0000ff;\">OF</span> ::<span style=\"color: #000000;\">oDlg</span> TEXTLEFT <span style=\"color: #0000ff;\">PROMPT</span> ::<span style=\"color: #000000;\">cText</span> <span style=\"color: #0000ff;\">UPDATE</span><br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> ::<span style=\"color: #000000;\">oDlg</span> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> oSelf:<span style=\"color: #000000;\">oBtn</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />...<br /><br />::<span style=\"color: #000000;\">cText</span> := <span style=\"color: #ff0000;\">\"Some Other Text\"</span><br />oBtn:<span style=\"color: #000000;\">cCaption</span> := ::<span style=\"color: #000000;\">cText</span> <br />oBtn:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:3is38svi]\n\nI must add that the TbtnBmp object is disabled, still I wish to change the caption at some point. I even tried oBtn:Paint(), but nothing happens.\n\nCan someone help?\n\nReinaldo.", "time": "02:03", "topic": "Change Caption on TBtnBmp object", "username": "reinaldocrespo" } ]
Change Caption on TBtnBmp object
[ { "date": "2013-09-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Hola Reinaldo,\n\nI think your problem is with ButtonBMP not with BtnBmp, because ::cCaption work with BtnBmp, with ButtonBMP try sending message like\n\nSendMessage( buttonBmp:hwnd, WM_SETTEXT, 0, \"New Caption\" )\n\nusing \n\n#define WM_SETTEXT 0x000C \n\n\nsaludos\n\nMarcelo", "time": "02:51", "topic": "Change Caption on TBtnBmp object", "username": "Marcelo Via Giglio" } ]
Change Caption on TBtnBmp object
[ { "date": "2013-09-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Reinaldo,\n\nYou can use:\n\noBtn:SetText( \"whatever\" )\n\nthis works with most windows, dialogs and controls <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "10:41", "topic": "Change Caption on TBtnBmp object", "username": "Antonio Linares" } ]
Change Caption on TBtnBmp object
[ { "date": "2013-09-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Marcelo - It is always good to see you around. Hope you are doing well. I'm sure your solution would have worked but Antonio's just seems simpler. BTW - :SetText( ::cText ) worked as expected. Thank you very much Antonio.\n\nReinaldo.", "time": "20:25", "topic": "Change Caption on TBtnBmp object", "username": "reinaldocrespo" } ]
Change Caption on TBtnBmp object
[ { "date": "2013-09-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Reinaldo,\n\nyes of course, Antonio´s solution is the way, my proposal work too but we can take it for sample only <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nun abrazo\n\nMarcelo", "time": "20:32", "topic": "Change Caption on TBtnBmp object", "username": "Marcelo Via Giglio" } ]
Change Caption on TBtnBmp object
[ { "date": "2010-01-13", "forum": "FiveWin for Pocket PC", "text": "I build my Windows at runtime, i.e. I don't use resources. I have a windows with a number of SAY objects, for example:\n[code=fw:51uyxvk1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">@ nTop, nLeft <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Prompt\"</span> <span style=\"color: #0000ff;\">SIZE</span> nClientWidth, nFontHeight <span style=\"color: #0000ff;\">FONT</span> oFont BORDER <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">CENTER</span> <span style=\"color: #0000ff;\">COLOR</span> CLR_BLACK, CLR_WHITE <span style=\"color: #0000ff;\">UPDATE</span></div>[/code:51uyxvk1]\n\nI already use [code=fw:51uyxvk1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oSay:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Something Else\"</span><span style=\"color: #000000;\">&#41;</span></div>[/code:51uyxvk1]quite successfully.\n\nBut I also need to change either the Text or Background Color of the SAY. [code=fw:51uyxvk1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oSay:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">&#40;</span>CLR_GREEN, CLR_BLUE<span style=\"color: #000000;\">&#41;</span></div>[/code:51uyxvk1] does not exist.\n\nI have tried [code=fw:51uyxvk1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">SetTextColor<span style=\"color: #000000;\">&#40;</span>oSay:<span style=\"color: #000000;\">hWnd</span>, nRGB<span style=\"color: #000000;\">&#40;</span>CLR_GREEN<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span></div>[/code:51uyxvk1] but that does not seem to do anything.\n\nAnd [code=fw:51uyxvk1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">SAY</span> oSAY <span style=\"color: #0000ff;\">COLOR</span> CLR_GREEN, CLR_BLUE</div>[/code:51uyxvk1] gives a method not defined error.\n\nCan somebody point me in the right direction.\n\nRegards\nChris Millard", "time": "15:45", "topic": "Change Color of Say", "username": "ChrisMillard" } ]
Change Color of Say
[ { "date": "2010-01-13", "forum": "FiveWin for Pocket PC", "text": "[quote=\"ChrisMillard\":18e4q36p][code=fw:18e4q36p]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oSay:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">&#40;</span>CLR_GREEN, CLR_BLUE<span style=\"color: #000000;\">&#41;</span></div>[/code:18e4q36p][/quote:18e4q36p]\n\nIt should work fine.\n\nEMG", "time": "18:16", "topic": "Change Color of Say", "username": "Enrico Maria Giordano" } ]
Change Color of Say
[ { "date": "2010-01-13", "forum": "FiveWin for Pocket PC", "text": "Well how strange, I am sure I tried it first.\n\nMany thanks for making me go back and try it again, I have spent quite some time trying to figure how to do something that should have been simple, to now find it was simple all the time. lol <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nHappy New Year\n\nChris Millard", "time": "21:40", "topic": "Change Color of Say", "username": "ChrisMillard" } ]
Change Color of Say
[ { "date": "2016-06-16", "forum": "FiveWin for Harbour/xHarbour", "text": "To All\n\nI am re-working a legacy FWH app and I am going with an all 'grey' color scheme. I would like to be able to change the color of the standard light blue for the column headers and footers of xBrowse to a light grey if that is possible.\n\nMany Thanks\nRick Lipkin", "time": "13:07", "topic": "Change Color of xBrowse Column Headers and Footers", "username": "Rick Lipkin" } ]
Change Color of xBrowse Column Headers and Footers
[ { "date": "2016-06-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi, Rick.\nTry this partial code.\n[code=fw:8cvg7pwf]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">STATIC</span> bClrGradBtn<br /><br /><span style=\"color: #B900B9;\">//--------------</span><br /><span style=\"color: #00C800;\">Function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />SetDlgGradient<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, RGB<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>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">229</span>, <span style=\"color: #000000;\">233</span>, <span style=\"color: #000000;\">238</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />bClrGradBtn := <span style=\"color: #000000;\">&#123;</span> | lPressed | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ! lPressed,;   <span style=\"color: #B900B9;\">//Plomo</span><br />                 <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, RGB<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>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">229</span>, <span style=\"color: #000000;\">233</span>, <span style=\"color: #000000;\">238</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />                 <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">194</span>, <span style=\"color: #000000;\">197</span>, <span style=\"color: #000000;\">201</span> <span style=\"color: #000000;\">&#41;</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">240</span>, <span style=\"color: #000000;\">240</span>, <span style=\"color: #000000;\">240</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><br /><br /><span style=\"color: #B900B9;\">//-----------------------</span><br /><span style=\"color: #00C800;\">Function</span> xxx<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   @ .<span style=\"color: #000000;\">5</span>, .<span style=\"color: #000000;\">5</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrw <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">544</span>,<span style=\"color: #000000;\">254</span> <span style=\"color: #0000ff;\">OF</span> oDlg ; <br />            <span style=\"color: #0000ff;\">ALIAS</span> cAlias <span style=\"color: #0000ff;\">AUTOCOLS</span> CELL LINES<br /><br />   oBrwStyle<span style=\"color: #000000;\">&#40;</span>oBrw<span style=\"color: #000000;\">&#41;</span><br /><br />   oBrw:<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   @ nHt<span style=\"color: #000000;\">-15</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBt1 <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Nuevo\"</span>    <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">35</span>,<span style=\"color: #000000;\">12</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"NEW16X16\"</span>    <span style=\"color: #0000ff;\">LEFT</span> NOBORDER ;<br />                <span style=\"color: #0000ff;\">ACTION</span> xAction<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   @ nHt<span style=\"color: #000000;\">-15</span>, <span style=\"color: #000000;\">48</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBt2 <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&Modific \"</span>  <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">35</span>,<span style=\"color: #000000;\">12</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"EDIT16X16\"</span>   <span style=\"color: #0000ff;\">LEFT</span> NOBORDER ;<br />                <span style=\"color: #0000ff;\">ACTION</span> yAction<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   @ nHt<span style=\"color: #000000;\">-15</span>,<span style=\"color: #000000;\">162</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBt5 <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&Salir  \"</span>   <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">35</span>,<span style=\"color: #000000;\">12</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"SALIR16X16\"</span>  <span style=\"color: #0000ff;\">LEFT</span> NOBORDER ;<br />                <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span>oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   BtnDegrad<span style=\"color: #000000;\">&#40;</span>oDlg<span style=\"color: #000000;\">&#41;</span>  <span style=\"color: #B900B9;\">//Botones degradados (BTNBMP)</span><br /><br />  <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><br /><span style=\"color: #B900B9;\">//-----------------------------</span><br /><span style=\"color: #00C800;\">Function</span> oBrwStyle<span style=\"color: #000000;\">&#40;</span>oBrw<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">Local</span> aRowGrad     := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> .<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;\">255</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">240</span>, <span style=\"color: #000000;\">240</span>, <span style=\"color: #000000;\">240</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>, ; <br />                           <span style=\"color: #000000;\">&#123;</span> .<span style=\"color: #000000;\">5</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">240</span>, <span style=\"color: #000000;\">240</span>, <span style=\"color: #000000;\">240</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">232</span>, <span style=\"color: #000000;\">232</span>, <span style=\"color: #000000;\">232</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><span style=\"color: #00C800;\">Local</span> aSelGrad      := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> .<span style=\"color: #000000;\">5</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">180</span> <span style=\"color: #000000;\">&#41;</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">237</span>, <span style=\"color: #000000;\">178</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>, ;<br />                           <span style=\"color: #000000;\">&#123;</span> .<span style=\"color: #000000;\">5</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">218</span>, <span style=\"color: #000000;\">103</span> <span style=\"color: #000000;\">&#41;</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">233</span>, <span style=\"color: #000000;\">162</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />WITH OBJECT  oBrw               <br />  :<span style=\"color: #000000;\">nColDividerStyle</span> := <span style=\"color: #000000;\">5</span><br />  :<span style=\"color: #000000;\">nMarqueeStyle</span>    := <span style=\"color: #000000;\">5</span> <span style=\"color: #B900B9;\">//MARQSTYLE_HIGHLCELL</span><br />  :<span style=\"color: #000000;\">nColorPen</span>        := Rgb<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">225</span>, <span style=\"color: #000000;\">225</span>, <span style=\"color: #000000;\">225</span> <span style=\"color: #000000;\">&#41;</span><br />  :<span style=\"color: #000000;\">nRecSelColor</span>     := nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">240</span>, <span style=\"color: #000000;\">240</span>, <span style=\"color: #000000;\">240</span> <span style=\"color: #000000;\">&#41;</span><br />  :<span style=\"color: #000000;\">bClrSel</span>          := <span style=\"color: #000000;\">&#123;</span> || <span style=\"color: #000000;\">&#123;</span> CLR_BLACK, RGB<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 />  :<span style=\"color: #000000;\">bClrSelFocus</span>     := <span style=\"color: #000000;\">&#123;</span> || <span style=\"color: #000000;\">&#123;</span> CLR_BLACK, aSelGrad <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br />  :<span style=\"color: #000000;\">bClrRowFocus</span>     := <span style=\"color: #000000;\">&#123;</span> || <span style=\"color: #000000;\">&#123;</span> CLR_BLACK, aRowGrad <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br />  :<span style=\"color: #000000;\">bClrGrad</span>         := <span style=\"color: #000000;\">&#123;</span> | lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> !lInvert,  <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">0.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;\">255</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">240</span>, <span style=\"color: #000000;\">240</span>, <span style=\"color: #000000;\">240</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>, ;<br />                         <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">0.5</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">240</span>, <span style=\"color: #000000;\">240</span>, <span style=\"color: #000000;\">240</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">232</span>, <span style=\"color: #000000;\">232</span>, <span style=\"color: #000000;\">232</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,; <br />                         <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">0.50</span>, <span style=\"color: #000000;\">12961221</span>, <span style=\"color: #000000;\">16777215</span> <span style=\"color: #000000;\">&#125;</span>, <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">0.50</span>, <span style=\"color: #000000;\">16777215</span>, <span style=\"color: #000000;\">12961221</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />  :<span style=\"color: #000000;\">bClrHeader</span>       := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">&#123;</span> CLR_BLUE, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">245</span>, <span style=\"color: #000000;\">245</span>, <span style=\"color: #000000;\">245</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> <br />  :<span style=\"color: #000000;\">bClrFooter</span>       := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">&#123;</span> CLR_BLUE, <span style=\"color: #000000;\">16777215</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> <br />  :<span style=\"color: #000000;\">lAllowRowSizing</span>  := .f.<br />  :<span style=\"color: #000000;\">lAllowColSwapping</span> := .f.<br />  :<span style=\"color: #000000;\">lAllowColHiding</span>   := .f.          <br />  :<span style=\"color: #000000;\">lKinetic</span>          := .f. <br />  :<span style=\"color: #000000;\">lColDividerComplete</span> := .t.<br />  :<span style=\"color: #000000;\">lFooter</span>   := .t.<br />  :<span style=\"color: #000000;\">nHeaderHeight</span>     := <span style=\"color: #000000;\">24</span><br />  :<span style=\"color: #000000;\">nFooterHeight</span>     := :<span style=\"color: #000000;\">nHeaderHeight</span><br />END<br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">//------------------------</span><br /><span style=\"color: #00C800;\">Function</span> BtnDegrad<span style=\"color: #000000;\">&#40;</span>oWn<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">local</span> n<br /><span style=\"color: #00C800;\">if</span> bClrGradBtn != <span style=\"color: #00C800;\">NIL</span><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>oWn:<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">&#41;</span><br />       <span style=\"color: #00C800;\">if</span> oWn:<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">ClassName</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>==<span style=\"color: #ff0000;\">\"TBTNBMP\"</span><br />          oWn:<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bClrGrad</span> = bClrGradBtn<br />       <span style=\"color: #00C800;\">endif</span><br />   <span style=\"color: #00C800;\">Next</span><br /><span style=\"color: #00C800;\">endif</span><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:8cvg7pwf]\nRegards.", "time": "15:02", "topic": "Change Color of xBrowse Column Headers and Footers", "username": "FranciscoA" } ]
Change Color of xBrowse Column Headers and Footers
[ { "date": "2016-06-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Rick,\n\nxBrowse Header and Footer with gradient light grey\n\n[color=#0000FF:3l7jdzq1]oBrw1:bClrGrad := { | lInvert | If( ! lInvert, ;\n\t\t\t{ { 0.50, 14342874, 16777215 }, ;\n\t\t\t{ 0.50, 16777215, 14342874 } }, ;\n\t\t\t{ { 0.50, 14342874, 16777215 }, ;\n\t\t\t{ 0.50, 16777215, 14342874 } } ) } [/color:3l7jdzq1] // default colour gradient spec\n\n\nsome grey-values to replace 14342874 ( very light grey ) : \n16777215 = white\n\n[color=#004040:3l7jdzq1]11250603\n12632256\n13684944\n15066597[/color:3l7jdzq1]\n\n[img:3l7jdzq1]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Header1&#46;jpg[/img:3l7jdzq1]", "time": "15:43", "topic": "Change Color of xBrowse Column Headers and Footers", "username": "ukoenig" } ]
Change Color of xBrowse Column Headers and Footers
[ { "date": "2016-06-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Uwe \n\nThank you .. I am playing with the colors .. without making all the values the same .. is there a way to just make the color a solid light grey without any gradient ?\n\nRick Lipkin", "time": "17:27", "topic": "Change Color of xBrowse Column Headers and Footers", "username": "Rick Lipkin" } ]
Change Color of xBrowse Column Headers and Footers
[ { "date": "2016-06-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Francisco\n\nThank you for your suggestion .. going to try your solution :\n[code=fw:hbfbg230]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />:<span style=\"color: #000000;\">bClrHeader</span> &nbsp; &nbsp; &nbsp; := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">&#123;</span> CLR_BLUE, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">245</span>, <span style=\"color: #000000;\">245</span>, <span style=\"color: #000000;\">245</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> <br />:<span style=\"color: #000000;\">bClrFooter</span> &nbsp; &nbsp; &nbsp; := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">&#123;</span> CLR_BLUE, <span style=\"color: #000000;\">16777215</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> <br />&nbsp;</div>[/code:hbfbg230] \n\nRick Lipkin", "time": "17:31", "topic": "Change Color of xBrowse Column Headers and Footers", "username": "Rick Lipkin" } ]
Change Color of xBrowse Column Headers and Footers
[ { "date": "2016-06-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Francisco\n\nUnfortunately the above interpretation of your solution did not work .. still have the light blue headers and footers <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( -->\n\nRick Lipkin", "time": "17:40", "topic": "Change Color of xBrowse Column Headers and Footers", "username": "Rick Lipkin" } ]
Change Color of xBrowse Column Headers and Footers
[ { "date": "2016-06-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Rick, try with oBrw:l2007 := .F.", "time": "17:47", "topic": "Change Color of xBrowse Column Headers and Footers", "username": "cnavarro" } ]
Change Color of xBrowse Column Headers and Footers
[ { "date": "2016-06-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Cristobol and Uwe\n\nBoth of these solutions worked .. \n\n[code=fw:1cw368zc]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> oLbx:<span style=\"color: #000000;\">l2007</span> := .F.   <span style=\"color: #B900B9;\">// light grey</span><br /> </div>[/code:1cw368zc]\n\nUwe .. Your solution allows control over the color \n[code=fw:1cw368zc]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <br />oLbx:<span style=\"color: #000000;\">bClrGrad</span> := <span style=\"color: #000000;\">&#123;</span> | lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ! lInvert, ;<br />                                         <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">0.50</span>, <span style=\"color: #000000;\">15790320</span>, <span style=\"color: #000000;\">15790320</span> <span style=\"color: #000000;\">&#125;</span>, ;<br />                                         <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">0.50</span>,   <span style=\"color: #000000;\">15790320</span>, <span style=\"color: #000000;\">15790320</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>, ;<br />                                         <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">0.50</span>, <span style=\"color: #000000;\">15790320</span>, <span style=\"color: #000000;\">15790320</span> <span style=\"color: #000000;\">&#125;</span>, ;<br />                                         <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">0.50</span>,   <span style=\"color: #000000;\">15790320</span>, <span style=\"color: #000000;\">15790320</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /> </div>[/code:1cw368zc]\n\nThank you ALL for your ideas, inspiration, and solutions !\nRick Lipkin", "time": "17:55", "topic": "Change Color of xBrowse Column Headers and Footers", "username": "Rick Lipkin" } ]
Change Color of xBrowse Column Headers and Footers
[ { "date": "2016-06-16", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Rick Lipkin\":1x6ox5ma]Francisco\n\nThank you for your suggestion .. going to try your solution :\n[code=fw:1x6ox5ma]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />:<span style=\"color: #000000;\">bClrHeader</span>       := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">&#123;</span> CLR_BLUE, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">245</span>, <span style=\"color: #000000;\">245</span>, <span style=\"color: #000000;\">245</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> <br />:<span style=\"color: #000000;\">bClrFooter</span>       := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">&#123;</span> CLR_BLUE, <span style=\"color: #000000;\">16777215</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> <br /> </div>[/code:1x6ox5ma] \n\nRick Lipkin[/quote:1x6ox5ma]\n\nRick, code of Francisco with oBrw:l2007 := .F., have to work well", "time": "18:00", "topic": "Change Color of xBrowse Column Headers and Footers", "username": "cnavarro" } ]
Change Color of xBrowse Column Headers and Footers
[ { "date": "2016-06-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Rick, please try this way. (As Cristobal said)\n\n[quote:1zdbw0gc]is there a way to just make the color a solid light grey without any gradient ?\n[/quote:1zdbw0gc]\n[code=fw:1zdbw0gc]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">//------------------------</span><br /><span style=\"color: #00C800;\">Function</span> FapBrwSetup<span style=\"color: #000000;\">&#40;</span>oBrw<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">local</span> nFONDO1 := RGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">215</span>, <span style=\"color: #000000;\">215</span>, <span style=\"color: #000000;\">215</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">local</span> nFONDO2 := RGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">235</span>, <span style=\"color: #000000;\">235</span>, <span style=\"color: #000000;\">235</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">local</span> nAZUL &nbsp; := RGB<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><br /><br />&nbsp; &nbsp;WITH OBJECT oBrw<br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">l2007</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:= .f.<br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">nRecSelColor</span> &nbsp; &nbsp; := &nbsp;nFONDO1<br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">nStyle</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; := nAnd<span style=\"color: #000000;\">&#40;</span> :<span style=\"color: #000000;\">nStyle</span>, nNot<span style=\"color: #000000;\">&#40;</span> WS_BORDER <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">nMarqueeStyle</span> &nbsp; &nbsp;:= MARQSTYLE_HIGHLROW &nbsp; <span style=\"color: #B900B9;\">//ilumina toda la linea</span><br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">bClrHeader</span> &nbsp; &nbsp; &nbsp; := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">&#123;</span> nAZUL, nFONDO1, <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> <br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">bClrFooter</span> &nbsp; &nbsp; &nbsp; := :<span style=\"color: #000000;\">bClrHeader</span> &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">// Colores texto de footers</span><br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">bClrStd</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:= <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #00C800;\">IF</span><span style=\"color: #000000;\">&#40;</span> oBrw:<span style=\"color: #000000;\">nArrayAt</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> % <span style=\"color: #000000;\">2</span> == <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">&#123;</span>nAZUL, nFONDO1<span style=\"color: #000000;\">&#125;</span>, <span style=\"color: #000000;\">&#123;</span>nAZUL, nFONDO2<span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> &nbsp;<br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">bClrSel</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:= <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">&#123;</span> nAZUL, CLR_WHITE <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> &nbsp;<span style=\"color: #B900B9;\">// para barra de linea selecc cuando el control no tiene el foco</span><br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">bClrSelFocus</span> &nbsp; &nbsp; := <span style=\"color: #000000;\">&#123;</span> || <span style=\"color: #000000;\">&#123;</span> CLR_WHITE, nAZUL <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> &nbsp; &nbsp; <span style=\"color: #B900B9;\">// para barra de linea selecc cuando el control tiene el foco</span><br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">nColDividerStyle</span> := LINESTYLE_LIGHTGRAY<br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">nRowDividerStyle</span> := LINESTYLE_LIGHTGRAY<br />&nbsp; &nbsp;END<br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:1zdbw0gc]", "time": "18:08", "topic": "Change Color of xBrowse Column Headers and Footers", "username": "FranciscoA" } ]
Change Color of xBrowse Column Headers and Footers