messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2010-07-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Compañeros del foro, nuevamente solicitando su ayuda.\n\nTengo un combobox en el que tengo una lista de modelos para elegir, el ultimo elemento del array tiene el valor \"AGREGAR\", obviamente para dar de alta un nuevo modelo, el combobox tiene la clausula \"ON CHANGE\" que al elegir esta opción muestra una pequeña ventana pidiendo el nuevo modelo, hasta aqui todo perfecto, el problema es que cuando el usuario ha agregado un nuevo modelo necesito que el ultimo elemento del array cambie al valor que el usuario escribio y se actualize en el dialogo que lo llamó, cosa que no hace, es decir que una vez que el usuario escribe un nuevo modelo y da click para aceptar sigo viendo la lista original de elementos en el combobox.\n\nEspero haberme explicado correctamente y tambien espero contar con su ayuda.\n\nMuchas gracias.\n[code=fw:oc31ozrp]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">   use &dbtmp1<br />   tregse=reccount<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   regm1=tregse<span style=\"color: #000000;\">+1</span><br />   declare aModel<span style=\"color: #000000;\">&#91;</span>regm1<span style=\"color: #000000;\">&#93;</span><br />   <span style=\"color: #00C800;\">for</span> urm=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> tregse<br />      goto urm<br />      aModel<span style=\"color: #000000;\">&#91;</span>urm<span style=\"color: #000000;\">&#93;</span> := model<br />      skip<br />   <span style=\"color: #00C800;\">next</span><br />   aModel<span style=\"color: #000000;\">&#91;</span>regm1<span style=\"color: #000000;\">&#93;</span> := <span style=\"color: #ff0000;\">\"AGREGAR\"</span>........<br /><br />   <span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">dialog</span> oDialna <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"DLGNUACT\"</span> <span style=\"color: #0000ff;\">of</span> oVentprinc<br />   <span style=\"color: #0000ff;\">redefine</span> <span style=\"color: #0000ff;\">combobox</span> oCbox1na <span style=\"color: #0000ff;\">var</span> cModel <span style=\"color: #0000ff;\">items</span> aModel <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #0000ff;\">of</span> oDialna <span style=\"color: #0000ff;\">style</span> CBS_DROPDOWN <span style=\"color: #0000ff;\">on</span> <span style=\"color: #0000ff;\">change</span> vernm<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">update</span><br />   <span style=\"color: #0000ff;\">activate</span> <span style=\"color: #0000ff;\">dialog</span> odialna.......<br /><br /><span style=\"color: #00C800;\">function</span> vernm<br />   <span style=\"color: #00C800;\">local</span> oDialnmm, oBtn1nm<br />   <span style=\"color: #00C800;\">if</span> cModel=<span style=\"color: #ff0000;\">\"AGREGAR\"</span><br />      <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">dialog</span> oDialnm <span style=\"color: #0000ff;\">from</span> <span style=\"color: #000000;\">5</span>,<span style=\"color: #000000;\">5</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">50</span> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Adición de modelo\"</span> <span style=\"color: #0000ff;\">of</span> odialna<br />      @.<span style=\"color: #000000;\">4</span>,<span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">Say</span><span style=\"color: #ff0000;\">\"Indica el modelo a agregar\"</span><br />      @.<span style=\"color: #000000;\">5</span>,<span style=\"color: #000000;\">13</span> <span style=\"color: #0000ff;\">get</span> oGet1nm <span style=\"color: #0000ff;\">var</span> cModel <span style=\"color: #0000ff;\">of</span> oDialnm <span style=\"color: #0000ff;\">picture</span> <span style=\"color: #ff0000;\">\"!!!!!!!!!!\"</span><br />      @<span style=\"color: #000000;\">1.2</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">button</span> oBtn1inm <span style=\"color: #0000ff;\">prompt</span><span style=\"color: #ff0000;\">\"&Aceptar\"</span> <span style=\"color: #0000ff;\">of</span> oDialnm <span style=\"color: #0000ff;\">action</span> <span style=\"color: #000000;\">&#40;</span>odialnm:<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: #0000ff;\">size</span> <span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">12</span><br />      <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">dialog</span> oDialnm <span style=\"color: #0000ff;\">center</span><br />      aModel<span style=\"color: #000000;\">&#91;</span>regm1<span style=\"color: #000000;\">&#93;</span> := cModel<br />      oCbox1na:<span style=\"color: #0000ff;\">update</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />      oDialna:<span style=\"color: #0000ff;\">update</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">endif</span><br /><span style=\"color: #00C800;\">return</span><span style=\"color: #000000;\">&#40;</span>cModel<span style=\"color: #000000;\">&#41;</span><br /><br /><br /><br /> </div>[/code:oc31ozrp]", "time": "18:03", "topic": "Actualizar array en combobox", "username": "mariordz" } ]
Actualizar array en combobox
[ { "date": "2010-07-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola...\nLuego de agregar, eliminar o modificar un item en el array debes nuevamente cargar el combo.\n\nPrueba de esta forma:\n[code=fw:ghmvoslw]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">FOR</span> Q=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> LEN<span style=\"color: #000000;\">&#40;</span>aModel<span style=\"color: #000000;\">&#41;</span><br />   oCbox1na:<span style=\"color: #000000;\">Modify</span><span style=\"color: #000000;\">&#40;</span> aModel<span style=\"color: #000000;\">&#91;</span>Q<span style=\"color: #000000;\">&#93;</span> , Q <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">NEXT</span><br />oCbox1na:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span></div>[/code:ghmvoslw]\n\nEspero te sirva.\nSaludos, Esteban.", "time": "19:00", "topic": "Actualizar array en combobox", "username": "jrestojeda" } ]
Actualizar array en combobox
[ { "date": "2010-07-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola,\n\nprueba con:\n\n[code=fw:g52hcydk]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />...<br />aModel<span style=\"color: #000000;\">&#91;</span>last<span style=\"color: #000000;\">&#93;</span> := newmodel<br />...<br />oCbox1na:<span style=\"color: #000000;\">SetItems</span><span style=\"color: #000000;\">&#40;</span> aModel <span style=\"color: #000000;\">&#41;</span><br />oCbox1na:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />...<br /> </div>[/code:g52hcydk]\n\nsaludos\n\nMarcelo", "time": "19:12", "topic": "Actualizar array en combobox", "username": "Marcelo Via Giglio" } ]
Actualizar array en combobox
[ { "date": "2010-07-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Muchas gracias por su valiosa ayuda.\n\nLo voy a probar.", "time": "21:48", "topic": "Actualizar array en combobox", "username": "mariordz" } ]
Actualizar array en combobox
[ { "date": "2021-11-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Buenos días compañeros, tengo dos ComboBox, uno de sección, y otro de curso. La idea es que primero el usuario seleccione la sección, y que el ComboBox de curso se actualice con los cursos que corresponden a la sección selecionada. Metí un On Change en el ComboBox de sección, donde llamo a una función que construye el array que desplegará los items en el ComboBox de curso. A esta función le paso como parámetro la variable del ComboBox de curso, y en esta función la actualizo con un Refresh, pero el ComboBox no se actualiza. Gracias de antemano.", "time": "14:00", "topic": "Actualizar contenido de ComboBox", "username": "santidedos" } ]
Actualizar contenido de ComboBox
[ { "date": "2021-11-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola, en lugar de hacer el refres, prueba a utilizar el método con el array que has modificado en el on change del anterior.\n[code=fw:3p2chhj4]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">METHOD</span> SetItems<span style=\"color: #000000;\">&#40;</span> aItems, lChanged <span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:3p2chhj4]", "time": "14:47", "topic": "Actualizar contenido de ComboBox", "username": "cnavarro" } ]
Actualizar contenido de ComboBox
[ { "date": "2021-11-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Mil gracias Cristobal, me sirvió. Saludos!", "time": "21:31", "topic": "Actualizar contenido de ComboBox", "username": "santidedos" } ]
Actualizar contenido de ComboBox
[ { "date": "2007-02-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola foro.\n Tengo una aplicación tipo MDI. Una de las ventanas (child) es un cliente telnet, y dependiendo de los datos recibidos en esta ventana, tengo que dar de alta un registro, y actualizar un browse en otra ventana.\n\n Ahora lo hago recorriendo el array de la ventana principal oWnd:oClient:aWnd, para detectar si la ventana a actualizar esta abierta, y luego recorro el array de controles de la ventana, y detecto el control a acutalizar con ClassName(). \n\n Aunque esto funciona bien, la pregunta es, existe alguna otra forma más directa para poder hacerlo.", "time": "12:44", "topic": "Actualizar controles.", "username": "Biel EA6DD" } ]
Actualizar controles.
[ { "date": "2007-02-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Biel,\n\nEs correcto como lo haces. Podría simplificarse si usas una variable donde tienes la ventana del terminal e igual para los controles a actualizar, así no tienes que buscarlos", "time": "17:01", "topic": "Actualizar controles.", "username": "Antonio Linares" } ]
Actualizar controles.
[ { "date": "2014-09-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Amigos\n\nNecesito actualizar los datos de una tabla de 1300 registros y mucho tarda, antes lo hacia con REPLACE con DBF y es rápido\nAhora lo hago asi:\n[code=fw:3vg7iqaq]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; <br />&nbsp;oDATA:=oServer:<span style=\"color: #000000;\">Query</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"SELECT * FROM DATPER ORDER BY CODIGO FOR UPDATE\"</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Do</span> <span style=\"color: #00C800;\">While</span> !oDATA:<span style=\"color: #000000;\">Eof</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; Vacacion<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//Obtengo los valores</span><br />&nbsp; &nbsp; &nbsp; nPend:=nTiene-nTomodas<br />&nbsp; &nbsp; &nbsp; &nbsp;oDATA:<span style=\"color: #000000;\">TIENE</span>:=nTiene;oDATA:<span style=\"color: #000000;\">TOMADAS</span>:=nTomadas;oDATA:<span style=\"color: #000000;\">PEND</span>:=nPend<br />&nbsp; &nbsp; &nbsp; &nbsp;oDATA:<span style=\"color: #000000;\">Save</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; oDATA:<span style=\"color: #000000;\">Skip</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Enddo</span><br />&nbsp;</div>[/code:3vg7iqaq]\n\nHe encontrado un ejemplo de Daniel usando UPDATE pero le pone el mismo valor a todos los registros y también tarda, lo hago asi\n[code=fw:3vg7iqaq]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; &nbsp; oDATA:=oServer:<span style=\"color: #000000;\">Query</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"SELECT * FROM DATPER ORDER BY CODIGO FOR UPDATE\"</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; <span style=\"color: #00C800;\">Do</span> <span style=\"color: #00C800;\">While</span> !oDATA:<span style=\"color: #000000;\">Eof</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; Vacacion<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//Obtengo los valores</span><br />&nbsp; &nbsp; &nbsp; nPend:=nTiene-nTomodas<br />&nbsp; &nbsp; &nbsp; &nbsp;cQry:=<span style=\"color: #ff0000;\">\"UPDATE datper SET TIENE = \"</span> + ClipValue2SQL<span style=\"color: #000000;\">&#40;</span>nTiene<span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\"TOMADAS = \"</span> + ClipValue2SQL<span style=\"color: #000000;\">&#40;</span>nTomadas<span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\" PEND = \"</span> + ClipValue2SQL<span style=\"color: #000000;\">&#40;</span>nPend<span style=\"color: #000000;\">&#41;</span> <br />&nbsp; &nbsp; &nbsp; &nbsp;oDATA:<span style=\"color: #000000;\">oServer</span>:<span style=\"color: #000000;\">SqlQuery</span><span style=\"color: #000000;\">&#40;</span> cQry <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oDATA:<span style=\"color: #000000;\">LoadQuery</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oDATA:<span style=\"color: #000000;\">Skip</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Enddo</span><br />&nbsp;</div>[/code:3vg7iqaq]\n\nQuizás hay otra manera de hacer la actualización más rápida.\n\nGracias por la ayuda.\n\nSaludos,\n\nAdhemar", "time": "19:07", "topic": "Actualizar datos en MySql con TDolphin", "username": "acuellar" } ]
Actualizar datos en MySql con TDolphin
[ { "date": "2014-09-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Acuellar,la forma de usar UPDATE para que no te coloque todos los registros con el mismo valor es usarlo conjuntamente con la condicion WHERE, ya que el UPDATE recorre toda la tabla sino la condicionas, fue mi primera leccion con mysql, cualquier duda estamos a la orden, saludos... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->", "time": "19:32", "topic": "Actualizar datos en MySql con TDolphin", "username": "joseluisysturiz" } ]
Actualizar datos en MySql con TDolphin
[ { "date": "2014-09-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Prueba asi:, EL UPDATE se debe condicionar, de otro modo se barre toda la tabla, ahora depende de como este estructurado tu tabla\n\n[code=fw:1ks4vmzl]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">Do</span> <span style=\"color: #00C800;\">While</span> !oDATA:<span style=\"color: #000000;\">Eof</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; Vacacion<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//Obtengo los valores</span><br />&nbsp; &nbsp; &nbsp; cCodigo := oData:<span style=\"color: #000000;\">AlgunCodigo</span><br />&nbsp; &nbsp; &nbsp; nPend:=nTiene-nTomodas<br />&nbsp; &nbsp; &nbsp; &nbsp;cQry:=<span style=\"color: #ff0000;\">\"UPDATE datper SET TIENE = \"</span> + ClipValue2SQL<span style=\"color: #000000;\">&#40;</span>nTiene<span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\"TOMADAS = \"</span> + ClipValue2SQL<span style=\"color: #000000;\">&#40;</span>nTomadas<span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\" PEND = \"</span> + ClipValue2SQL<span style=\"color: #000000;\">&#40;</span>nPend<span style=\"color: #000000;\">&#41;</span> &nbsp;+ &nbsp;<span style=\"color: #ff0000;\">\" WHERE código = '\"</span> + cCodigo + <span style=\"color: #ff0000;\">\"'\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oDATA:<span style=\"color: #000000;\">oServer</span>:<span style=\"color: #000000;\">SqlQuery</span><span style=\"color: #000000;\">&#40;</span> cQry <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oDATA:<span style=\"color: #000000;\">LoadQuery</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oDATA:<span style=\"color: #000000;\">Skip</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Enddo</span><br />&nbsp;</div>[/code:1ks4vmzl]", "time": "20:35", "topic": "Actualizar datos en MySql con TDolphin", "username": "Willi Quintana" } ]
Actualizar datos en MySql con TDolphin
[ { "date": "2014-09-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias amigos por las respuestas\n\nCon UPDATE lo he logrado agregando\n[code=fw:3ndpj610]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />nRowID:=oDATA:=sql_rowid<br /><span style=\"color: #ff0000;\">\" WHERE sql_rowid = \"</span> + ClipValue2SQL<span style=\"color: #000000;\">&#40;</span>nRowID<span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:3ndpj610]\n\nPero no hay mucha diferencia en velocidad y se tiene que escribir mucho más código.\n\nSaludos,\n\nAdhemar", "time": "21:59", "topic": "Actualizar datos en MySql con TDolphin", "username": "acuellar" } ]
Actualizar datos en MySql con TDolphin
[ { "date": "2014-09-18", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"acuellar\":1tr0kx5l]Gracias amigos por las respuestas\n\nCon UPDATE lo he logrado agregando\n[code=fw:1tr0kx5l]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />nRowID:=oDATA:=sql_rowid<br /><span style=\"color: #ff0000;\">\" WHERE sql_rowid = \"</span> + ClipValue2SQL<span style=\"color: #000000;\">&#40;</span>nRowID<span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:1tr0kx5l]\n\nPero no hay mucha diferencia en velocidad y se tiene que escribir mucho más código.\n\nSaludos,\n\nAdhemar[/quote:1tr0kx5l]\nComo dicen por alli, esto es MYSQL, hay que olvidar la mentalidad de DBF y nada es perfecto, pero aun sigo creyendo que es mucho mas rapido y seguro que usar DBF, intenta depurar tu query, que no estes cargando y relacionando tablas innecesariamente, a mi me trabaja el UPDATE/WHERE a buena velocidad...saludos... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->", "time": "02:48", "topic": "Actualizar datos en MySql con TDolphin", "username": "joseluisysturiz" } ]
Actualizar datos en MySql con TDolphin
[ { "date": "2014-09-18", "forum": "FiveWin para Harbour/xHarbour", "text": "[code=fw:2osim7kd]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oDATA:=oServer:<span style=\"color: #000000;\">Query</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"SELECT * FROM DATPER ORDER BY CODIGO FOR UPDATE\"</span><span style=\"color: #000000;\">&#41;</span><br />oData:<span style=\"color: #000000;\">oServer</span>:<span style=\"color: #000000;\">BeginTransaction</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">///<----</span><br />  <span style=\"color: #00C800;\">Do</span> <span style=\"color: #00C800;\">While</span> !oDATA:<span style=\"color: #000000;\">Eof</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />      Vacacion<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//Obtengo los valores</span><br />      nPend:=nTiene-nTomodas<br />       cQry:=<span style=\"color: #ff0000;\">\"UPDATE datper SET TIENE = \"</span> + ClipValue2SQL<span style=\"color: #000000;\">&#40;</span>nTiene<span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\"TOMADAS = \"</span> + ClipValue2SQL<span style=\"color: #000000;\">&#40;</span>nTomadas<span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\" PEND = \"</span> + ClipValue2SQL<span style=\"color: #000000;\">&#40;</span>nPend<span style=\"color: #000000;\">&#41;</span> <br />       oDATA:<span style=\"color: #000000;\">oServer</span>:<span style=\"color: #000000;\">SqlQuery</span><span style=\"color: #000000;\">&#40;</span> cQry <span style=\"color: #000000;\">&#41;</span><br />      <span style=\"color: #B900B9;\">// oDATA:LoadQuery() //Creo que no es necesario</span><br />       oDATA:<span style=\"color: #000000;\">Skip</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">Enddo</span><br />oData:<span style=\"color: #000000;\">oServer</span>:<span style=\"color: #000000;\">CommitTransaction</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #B900B9;\">//<----</span><br /> </div>[/code:2osim7kd]\nEn tu caso hacerlo con un update o directamente sobre oData, no creo que varie mucho, ya que el update afecta unicamente a un registro, y en el fondo eso mismo es lo que va a hacer la clase.\nPrueba a quitar el loadQuery, y añadir transaccionabilidad si tu base de datos es InnoDB.", "time": "07:58", "topic": "Actualizar datos en MySql con TDolphin", "username": "Biel EA6DD" } ]
Actualizar datos en MySql con TDolphin
[ { "date": "2014-09-18", "forum": "FiveWin para Harbour/xHarbour", "text": "[code=fw:26muw0cb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> oDATA:=oServer:<span style=\"color: #000000;\">Query</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"SELECT * FROM DATPER ORDER BY CODIGO FOR UPDATE\"</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Do</span> <span style=\"color: #00C800;\">While</span> !oDATA:<span style=\"color: #000000;\">Eof</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; Vacacion<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//Obtengo los valores // <<=== Muestra que hay aqui.. es otro Query ???</span><br />&nbsp; &nbsp; &nbsp; nPend:=nTiene-nTomodas<br />&nbsp; &nbsp; &nbsp; &nbsp;oDATA:<span style=\"color: #000000;\">TIENE</span>:=nTiene;oDATA:<span style=\"color: #000000;\">TOMADAS</span>:=nTomadas;oDATA:<span style=\"color: #000000;\">PEND</span>:=nPend<br />&nbsp; &nbsp; &nbsp; &nbsp;oDATA:<span style=\"color: #000000;\">Save</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; oDATA:<span style=\"color: #000000;\">Skip</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Enddo</span></div>[/code:26muw0cb]", "time": "12:12", "topic": "Actualizar datos en MySql con TDolphin", "username": "pablovidal" } ]
Actualizar datos en MySql con TDolphin
[ { "date": "2014-09-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias distinguidos\n\nCon la recomendación de Biel funciona bien rápido.\n\nGracias una vez más.\n\nSaludos,\n\nAdhemar", "time": "16:30", "topic": "Actualizar datos en MySql con TDolphin", "username": "acuellar" } ]
Actualizar datos en MySql con TDolphin
[ { "date": "2009-03-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola a todos.\nSiguiendo algunos consejos en el foro de que es mejor tener el ejecutable el las terminales, y con el aporte de varios.\nles envio como actualizar el EXE y la DLL (por si están usando)\n\n[code=fw:26uyqw33]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp;<span style=\"color: #00C800;\">If</span> File<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"FACTURAS.DLL\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; DllOn:=<span style=\"color: #ff0000;\">\"FACTURAS.DLL\"</span><br />&nbsp; &nbsp; &nbsp; DllNew:=<span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\\\</span>SERVER<span style=\"color: #000000;\">\\F</span>ACTURAS<span style=\"color: #000000;\">\\F</span>ACTURAS.DLL\"</span><br />&nbsp; &nbsp; &nbsp; HoraNew:=FILETIME<span style=\"color: #000000;\">&#40;</span>DllNew<span style=\"color: #000000;\">&#41;</span>; HoraOn:=FILETIME<span style=\"color: #000000;\">&#40;</span>DllOn<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;FecDllOn:=dToS<span style=\"color: #000000;\">&#40;</span>FILEDATE<span style=\"color: #000000;\">&#40;</span>DllOn<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span>+<span style=\"color: #0000ff;\">Left</span><span style=\"color: #000000;\">&#40;</span>HoraOn,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>+Subs<span style=\"color: #000000;\">&#40;</span>HoraOn,<span style=\"color: #000000;\">4</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>+<span style=\"color: #0000ff;\">Right</span><span style=\"color: #000000;\">&#40;</span>HoraOn,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;FecDllNew:=dToS<span style=\"color: #000000;\">&#40;</span>FILEDATE<span style=\"color: #000000;\">&#40;</span>DllNew<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span>+<span style=\"color: #0000ff;\">Left</span><span style=\"color: #000000;\">&#40;</span>HoraNew,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>+Subs<span style=\"color: #000000;\">&#40;</span>HoraNew,<span style=\"color: #000000;\">4</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>+<span style=\"color: #0000ff;\">Right</span><span style=\"color: #000000;\">&#40;</span>HoraNew,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">IF</span> FecDllNew > FecDllOn<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;COPY FILE \\\\<span style=\"color: #00C800;\">SERVER</span>\\FACTURAS\\FACTURAS.DLL <span style=\"color: #0000ff;\">TO</span> FACTURAS.DLL<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">Endif</span><br />&nbsp;Endi<br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp;ExeOn:=<span style=\"color: #ff0000;\">\"FACTURAS.EXE\"</span><br />&nbsp; &nbsp;ExeNew:=<span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\\\</span>SERVER<span style=\"color: #000000;\">\\F</span>ACTURAS<span style=\"color: #000000;\">\\F</span>ACTURAS.EXE\"</span><br />&nbsp; &nbsp;HoraNew:=FILETIME<span style=\"color: #000000;\">&#40;</span>ExeNew<span style=\"color: #000000;\">&#41;</span>; HoraOn:=FILETIME<span style=\"color: #000000;\">&#40;</span>ExeOn<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;FecExeOn:=dToS<span style=\"color: #000000;\">&#40;</span>FILEDATE<span style=\"color: #000000;\">&#40;</span>ExeOn<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span>+<span style=\"color: #0000ff;\">Left</span><span style=\"color: #000000;\">&#40;</span>HoraOn,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>+Subs<span style=\"color: #000000;\">&#40;</span>HoraOn,<span style=\"color: #000000;\">4</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>+<span style=\"color: #0000ff;\">Right</span><span style=\"color: #000000;\">&#40;</span>HoraOn,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;FecExeNew:=dToS<span style=\"color: #000000;\">&#40;</span>FILEDATE<span style=\"color: #000000;\">&#40;</span>ExeNew<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span>+<span style=\"color: #0000ff;\">Left</span><span style=\"color: #000000;\">&#40;</span>HoraNew,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>+Subs<span style=\"color: #000000;\">&#40;</span>HoraNew,<span style=\"color: #000000;\">4</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>+<span style=\"color: #0000ff;\">Right</span><span style=\"color: #000000;\">&#40;</span>HoraNew,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">IF</span> FecExeNew > FecExeOn<br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;RENAME FACTURAS.EXE <span style=\"color: #0000ff;\">TO</span> FACTURAx.EXE<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;COPY FILE \\\\<span style=\"color: #00C800;\">SERVER</span>\\FACTURAS\\FACTURAS.EXE <span style=\"color: #0000ff;\">To</span> FACTURAS.EXE<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WinExec<span style=\"color: #000000;\">&#40;</span>ExeOn<span style=\"color: #000000;\">&#41;</span> <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Quit<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Endif</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">If</span> File<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"FACTURAx.EXE\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DELETE FILE FACTURAx.EXE&nbsp; &nbsp;<br />&nbsp; &nbsp; Endi<br />&nbsp;</div>[/code:26uyqw33]\n\nSaludos para todos\n\nAdhemar Cuéllar", "time": "13:57", "topic": "Actualizar el Ejecutable automáticamente", "username": "acuellar" } ]
Actualizar el Ejecutable automáticamente
[ { "date": "2009-04-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Adhemar,\n\ngracias! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "08:17", "topic": "Actualizar el Ejecutable automáticamente", "username": "Antonio Linares" } ]
Actualizar el Ejecutable automáticamente
[ { "date": "2018-02-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola a todos,\n\nEstoy intentando usar una rutina de Biel Maimó (muchas gracias Biel !!) para actualizar el programa que he desarrollado a través de una conexión FTP.\n\nEl caso es que la rutina de Biel me da estos errores al compilar:\n\nc:\\desarrol\\treball\\Ampa1507\\obj\\UPDATE00.c:\nWarning W8075 c:\\\\desarrol\\\\treball\\\\Ampa1507\\\\prg\\\\arquitec\\\\UPDATE00.PRG 151:\nSuspicious pointer conversion in function HB_FUN_FILETIMES\nWarning W8065 c:\\\\desarrol\\\\treball\\\\Ampa1507\\\\prg\\\\arquitec\\\\UPDATE00.PRG 152:\nCall to function 'ISNUM' with no prototype in function HB_FUN_FILETIMES\nError E2227 c:\\\\desarrol\\\\treball\\\\Ampa1507\\\\prg\\\\arquitec\\\\UPDATE00.PRG 183: Ex\ntra parameter in call to hb_storni in function HB_FUN_FILETIMES\nError E2227 c:\\\\desarrol\\\\treball\\\\Ampa1507\\\\prg\\\\arquitec\\\\UPDATE00.PRG 184: Ex\ntra parameter in call to hb_storni in function HB_FUN_FILETIMES\nError E2227 c:\\\\desarrol\\\\treball\\\\Ampa1507\\\\prg\\\\arquitec\\\\UPDATE00.PRG 185: Ex\ntra parameter in call to hb_storni in function HB_FUN_FILETIMES\nError E2227 c:\\\\desarrol\\\\treball\\\\Ampa1507\\\\prg\\\\arquitec\\\\UPDATE00.PRG 186: Ex\ntra parameter in call to hb_storni in function HB_FUN_FILETIMES\nError E2227 c:\\\\desarrol\\\\treball\\\\Ampa1507\\\\prg\\\\arquitec\\\\UPDATE00.PRG 187: Ex\ntra parameter in call to hb_storni in function HB_FUN_FILETIMES\nError E2227 c:\\\\desarrol\\\\treball\\\\Ampa1507\\\\prg\\\\arquitec\\\\UPDATE00.PRG 188: Ex\ntra parameter in call to hb_storni in function HB_FUN_FILETIMES\nWarning W8065 c:\\\\desarrol\\\\treball\\\\Ampa1507\\\\prg\\\\arquitec\\\\UPDATE00.PRG 208:\nCall to function 'ISNUM' with no prototype in function HB_FUN_FILESIZE\n*** 6 errors in Compile ***\n\nlínea 151 LPSTR cFileName = hb_parc( 1 ) ;\nlínea 152 int nTime = ( ISNUM( 2 ) ? hb_parni( 2 ) : 1 ) ; // defaults to 1\nlínea 183 hb_storni( stTime.wYear, -1, 1 ) ;\nlínea 184, 185, 186, 187 y 188 similares a la 183\n\nEl código es:\n\n[code=fw:15988mby]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#pragma</span> BEGINDUMP<br /><span style=\"color: #00D7D7;\">#include</span> <Windows.h><br /><span style=\"color: #00D7D7;\">#include</span> <mapiwin.h><br /><span style=\"color: #00D7D7;\">#include</span> <hbApi.h><br />                     <span style=\"color: #B900B9;\">//nTime 1=Last Update, 2=Last Acces, 3=Creation, defecto last update</span><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> FILETIMES <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// params cFileName, nTime --> { nYear, nMonth, nDay, nHour, nMin, nSec }</span><br /><span style=\"color: #000000;\">&#123;</span><br />   LPSTR cFileName = hb_parc<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> ;<br />   int nTime       = <span style=\"color: #000000;\">&#40;</span> ISNUM<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span> ? hb_parni<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span> :  <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> ; <span style=\"color: #B900B9;\">// defaults to 1</span><br /><br />   FILETIME ftCreate, ftAccess, ftWrite ;<br />   SYSTEMTIME stTime ;<br />   BOOL bRet ;<br />   HANDLE hFile = CreateFile<span style=\"color: #000000;\">&#40;</span> cFileName, GENERIC_READ, FILE_SHARE_READ, <span style=\"color: #000000;\">0</span>, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span> ;<br /><br />   <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> ! hFile <span style=\"color: #000000;\">&#41;</span><br />      <span style=\"color: #00C800;\">return</span> ;<br /><br />   GetFileTime<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span>HANDLE<span style=\"color: #000000;\">&#41;</span> hFile, &ftCreate, &ftAccess, &ftWrite <span style=\"color: #000000;\">&#41;</span> ;<br /><br />   <span style=\"color: #00C800;\">switch</span><span style=\"color: #000000;\">&#40;</span> nTime <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #000000;\">&#123;</span><br />      <span style=\"color: #00C800;\">case</span> <span style=\"color: #000000;\">1</span> : <span style=\"color: #B900B9;\">// last update</span><br />         FileTimeToSystemTime<span style=\"color: #000000;\">&#40;</span> &ftWrite, &stTime <span style=\"color: #000000;\">&#41;</span> ;<br />         <span style=\"color: #00C800;\">break</span> ;<br />      <span style=\"color: #00C800;\">case</span> <span style=\"color: #000000;\">2</span> : <span style=\"color: #B900B9;\">// last access</span><br />         FileTimeToSystemTime<span style=\"color: #000000;\">&#40;</span> &ftAccess, &stTime <span style=\"color: #000000;\">&#41;</span> ;<br />         <span style=\"color: #00C800;\">break</span> ;<br />      <span style=\"color: #00C800;\">case</span> <span style=\"color: #000000;\">3</span> : <span style=\"color: #B900B9;\">// creation</span><br />         FileTimeToSystemTime<span style=\"color: #000000;\">&#40;</span> &ftCreate, &stTime <span style=\"color: #000000;\">&#41;</span> ;<br />         <span style=\"color: #00C800;\">break</span> ;<br />      <span style=\"color: #00C800;\">default</span> : <span style=\"color: #B900B9;\">// last update</span><br />         FileTimeToSystemTime<span style=\"color: #000000;\">&#40;</span> &ftWrite, &stTime <span style=\"color: #000000;\">&#41;</span> ;<br />         <span style=\"color: #00C800;\">break</span> ;<br />   <span style=\"color: #000000;\">&#125;</span><br /><br />   SystemTimeToTzSpecificLocalTime<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">NULL</span>, &stTime, &stTime <span style=\"color: #000000;\">&#41;</span> ;<br />   CloseHandle<span style=\"color: #000000;\">&#40;</span> hFile <span style=\"color: #000000;\">&#41;</span> ;<br />   hb_reta<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">&#41;</span> ;<br />   hb_storni<span style=\"color: #000000;\">&#40;</span> stTime.wYear,   <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> ;<br />   hb_storni<span style=\"color: #000000;\">&#40;</span> stTime.wMonth,  <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span> ;<br />   hb_storni<span style=\"color: #000000;\">&#40;</span> stTime.wDay,    <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span> ;<br />   hb_storni<span style=\"color: #000000;\">&#40;</span> stTime.wHour,   <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#41;</span> ;<br />   hb_storni<span style=\"color: #000000;\">&#40;</span> stTime.wMinute, <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#41;</span> ;<br />   hb_storni<span style=\"color: #000000;\">&#40;</span> stTime.wSecond, <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">&#41;</span> ;<br /><span style=\"color: #000000;\">&#125;</span><br /> </div>[/code:15988mby]\n\nQue está mal y cómo se arregla?\n\nMuchas gracias,", "time": "23:58", "topic": "Actualizar el programa desde FTP.", "username": "FiveWiDi" } ]
Actualizar el programa desde FTP.
[ { "date": "2018-02-28", "forum": "FiveWin para Harbour/xHarbour", "text": "Olá,\n\nProcure por uma rotina do José Javier Lloris - PFtp ela mostra tudo como fazer ftp de uma arquivo. Bastante detalhada.\n\nAtt.,\n\nOliveiros Junior", "time": "14:10", "topic": "Actualizar el programa desde FTP.", "username": "oliveiros junior" } ]
Actualizar el programa desde FTP.
[ { "date": "2018-02-28", "forum": "FiveWin para Harbour/xHarbour", "text": "Carlos, prueba asi\n\n[code=fw:3nfm9097]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #00D7D7;\">#pragma</span> BEGINDUMP<br /><br /><span style=\"color: #00D7D7;\">#include</span> <windows.h><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"hbapi.h\"</span><br /><span style=\"color: #B900B9;\">//#include \"hbapierr.h\"</span><br /><span style=\"color: #B900B9;\">//#include \"hbapifs.h\"</span><br /><br />                     <span style=\"color: #B900B9;\">//nTime 1=Last Update, 2=Last Acces, 3=Creation, defecto last update</span><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> FILETIMES <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// params cFileName, nTime --> { nYear, nMonth, nDay, nHour, nMin, nSec }</span><br /><span style=\"color: #000000;\">&#123;</span><br />   LPSTR cFileName = <span style=\"color: #000000;\">&#40;</span> LPSTR <span style=\"color: #000000;\">&#41;</span> hb_parc<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> ;<br />   int nTime       = <span style=\"color: #000000;\">&#40;</span> HB_ISNUM<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span> ? hb_parni<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span> :  <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> ; <span style=\"color: #B900B9;\">// defaults to 1</span><br /><br />   FILETIME ftCreate, ftAccess, ftWrite ;<br />   SYSTEMTIME stTime ;<br />   BOOL bRet ;<br />   HANDLE hFile = CreateFile<span style=\"color: #000000;\">&#40;</span> cFileName, GENERIC_READ, FILE_SHARE_READ, <span style=\"color: #000000;\">0</span>, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span> ;<br /><br />   <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> ! hFile <span style=\"color: #000000;\">&#41;</span><br />      <span style=\"color: #00C800;\">return</span> ;<br /><br />   GetFileTime<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span>HANDLE<span style=\"color: #000000;\">&#41;</span> hFile, &ftCreate, &ftAccess, &ftWrite <span style=\"color: #000000;\">&#41;</span> ;<br /><br />   <span style=\"color: #00C800;\">switch</span><span style=\"color: #000000;\">&#40;</span> nTime <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #000000;\">&#123;</span><br />      <span style=\"color: #00C800;\">case</span> <span style=\"color: #000000;\">1</span> : <span style=\"color: #B900B9;\">// last update</span><br />         FileTimeToSystemTime<span style=\"color: #000000;\">&#40;</span> &ftWrite, &stTime <span style=\"color: #000000;\">&#41;</span> ;<br />         <span style=\"color: #00C800;\">break</span> ;<br />      <span style=\"color: #00C800;\">case</span> <span style=\"color: #000000;\">2</span> : <span style=\"color: #B900B9;\">// last access</span><br />         FileTimeToSystemTime<span style=\"color: #000000;\">&#40;</span> &ftAccess, &stTime <span style=\"color: #000000;\">&#41;</span> ;<br />         <span style=\"color: #00C800;\">break</span> ;<br />      <span style=\"color: #00C800;\">case</span> <span style=\"color: #000000;\">3</span> : <span style=\"color: #B900B9;\">// creation</span><br />         FileTimeToSystemTime<span style=\"color: #000000;\">&#40;</span> &ftCreate, &stTime <span style=\"color: #000000;\">&#41;</span> ;<br />         <span style=\"color: #00C800;\">break</span> ;<br />      <span style=\"color: #00C800;\">default</span> : <span style=\"color: #B900B9;\">// last update</span><br />         FileTimeToSystemTime<span style=\"color: #000000;\">&#40;</span> &ftWrite, &stTime <span style=\"color: #000000;\">&#41;</span> ;<br />         <span style=\"color: #00C800;\">break</span> ;<br />   <span style=\"color: #000000;\">&#125;</span><br /><br />   SystemTimeToTzSpecificLocalTime<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">NULL</span>, &stTime, &stTime <span style=\"color: #000000;\">&#41;</span> ;<br />   CloseHandle<span style=\"color: #000000;\">&#40;</span> hFile <span style=\"color: #000000;\">&#41;</span> ;<br />   hb_reta<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">&#41;</span> ;<br />   hb_storvni<span style=\"color: #000000;\">&#40;</span> stTime.wYear,   <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> ;<br />   hb_storvni<span style=\"color: #000000;\">&#40;</span> stTime.wMonth,  <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span> ;<br />   hb_storvni<span style=\"color: #000000;\">&#40;</span> stTime.wDay,    <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span> ;<br />   hb_storvni<span style=\"color: #000000;\">&#40;</span> stTime.wHour,   <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#41;</span> ;<br />   hb_storvni<span style=\"color: #000000;\">&#40;</span> stTime.wMinute, <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#41;</span> ;<br />   hb_storvni<span style=\"color: #000000;\">&#40;</span> stTime.wSecond, <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">&#41;</span> ;<br /><span style=\"color: #000000;\">&#125;</span><br /> <br /><span style=\"color: #00D7D7;\">#pragma</span> ENDDUMP<br /> </div>[/code:3nfm9097]\n\nAunque no sé si te servirán, también tienes las funciones\n\n[code=fw:3nfm9097]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />? FDate<span style=\"color: #000000;\">&#40;</span> cFile <span style=\"color: #000000;\">&#41;</span>, FTime<span style=\"color: #000000;\">&#40;</span> cFile <span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:3nfm9097]", "time": "14:25", "topic": "Actualizar el programa desde FTP.", "username": "cnavarro" } ]
Actualizar el programa desde FTP.
[ { "date": "2018-03-02", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias Cristobal,\n\nAl final he optado por no usar esta función.\n\nEsta función en el código de Biel se utiliza para obtener la fecha y hora de la versión que está disponible en la red, y con ello saber si es más actual que la que se está ejecutando.\n\nEntiendo que esto implica que sólo puede haber una actualización disponible en la red, con lo cual las versiones distribuídas en los usuarios se actualizarían directamente a esta última versión.\n\nYo he optado por que el nombre de la distribución contenga el número de versión, con lo cual puede haber 'n' actualizaciones disponibles en la red y con ello iría actualizando paso a paso; pero claro si uso la manera de Biel de comprobar la fecha del fichero, cuando bajo éste desde la red a local, la fecha será la del momento de bajada, y esta fecha sería siempre superior al resto de versiones que quedan disponibles para actualizar en la red.\n\nCreo que me he enrollado; es viernes y las neuronas van como quieren.\n\nBuen fin de semana,", "time": "21:00", "topic": "Actualizar el programa desde FTP.", "username": "FiveWiDi" } ]
Actualizar el programa desde FTP.
[ { "date": "2020-05-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola necesito poner una imagen como fondo de una ventana, en una parte de ella necesito tener texto Fijo transparente pero también necesito colocar una variable que deberá actualizarse cada determinado tiempo\n\npor ejemplo:\n @ 5, 5 BITMAP oBmp2 FILENAME \"c:\\conteo\\logo.bmp\" SIZE 500, 400 OF oWnd NOBORDER\n\n oBmp:bPainted = { || SetBkMode( oBmp:hDC, 1 ),;\n SetTextColor( oBmp:hDC, CLR_YELLOW ),;\n TextOut( oBmp:hDC, 50, 15, \"Actualmente con nosotros\" ) }\n \n //¿ Se puede cambiar el tamaño de la fuente ?\n\n¿ Como se haría para que en otra parte de la misma ventana muestre una variable que cambiará de valor por medio de un timer ?\n\nGracias a todos, saludos", "time": "22:56", "topic": "Actualizar en un BMP", "username": "servicomver" } ]
Actualizar en un BMP
[ { "date": "2020-05-12", "forum": "FiveWin para Harbour/xHarbour", "text": "No sé si te he entendido bien\nConstruye este ejemplo\n<!-- m --><a class=\"postlink\" href=\"https://bitbucket.org/fivetech/fivewin-contributions/downloads/TESTGDI.prg\">https://bitbucket.org/fivetech/fivewin- ... ESTGDI.prg</a><!-- m -->", "time": "00:53", "topic": "Actualizar en un BMP", "username": "cnavarro" } ]
Actualizar en un BMP
[ { "date": "2020-05-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias por contestar, necesito mostrar una imagen en una ventana maximizada, arriba de la imagen necesito escribir digamos:\n\nNumero de Clientes: [48] \"ese numero variará cada 5 minutos\"\nLugares disponibles: [152] \"ese numero variará cada 5 minutos\"\n\nlo que requiero es que se vean de forma \"Transparente\", como lo hace:\n\noBmp:bPainted = { || SetBkMode( oBmp:hDC, 1 ),;\n SetTextColor( oBmp:hDC, CLR_BLACK ),;\n TextOut( oBmp:hDC, 20, 540, \"Numero de Clientes:\" ) }\n\nPero necesito cambiarle, el color, el tamaño y la fuente, y poner varios textos, Constantes y Variables,\n\nSe puede hacer ?\n\nGracias, Saludos", "time": "03:34", "topic": "Actualizar en un BMP", "username": "servicomver" } ]
Actualizar en un BMP
[ { "date": "2020-05-12", "forum": "FiveWin para Harbour/xHarbour", "text": "[code=fw:sanclwsw]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> &nbsp; oBmp:<span style=\"color: #000000;\">bPainted</span> := <|hDC|<br />&nbsp; &nbsp; &nbsp; SetBkMode<span style=\"color: #000000;\">&#40;</span> hDC, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; SetTextColor<span style=\"color: #000000;\">&#40;</span> hDC, CLR_YELLOW <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; oFont1:<span style=\"color: #0000ff;\">Activate</span><span style=\"color: #000000;\">&#40;</span> hDC <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; TextOut<span style=\"color: #000000;\">&#40;</span> hDC, <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">15</span>, <span style=\"color: #ff0000;\">\"Actualmente con nosotros\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; oFont1:<span style=\"color: #000000;\">DeActivate</span><span style=\"color: #000000;\">&#40;</span> hDC <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br />&nbsp; &nbsp; &nbsp; ><br />&nbsp;</div>[/code:sanclwsw]", "time": "03:46", "topic": "Actualizar en un BMP", "username": "nageswaragunupudi" } ]
Actualizar en un BMP
[ { "date": "2014-05-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio y todos los compañeros del foro, después de mucho tiempo de estar usando Fivewin, por fin me autorizaron a comprar la nueva versión (sigo usando la versión 2.7 <!-- s:? --><img src=\"{SMILIES_PATH}/icon_confused.gif\" alt=\":?\" title=\"Confused\" /><!-- s:? --> ) también estoy por comprar el Uestudio, que según he leído es una maravilla, actualmente estoy usando el XDevStudio y me ha funcionado bien (aunque mi Portugués es tan bueno como mi Ruso), mi duda es si al adquirir la nueva versión de Fivewin recibiré las versiones adecuadas de todas las librerías necesarias o tengo que adquirir algo mas.\n\nGracias y saludos.", "time": "15:21", "topic": "Actualizar fivewin", "username": "mariordz" } ]
Actualizar fivewin
[ { "date": "2014-05-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Mario,\n\nAl adquirir FWH recibes todo lo que necesitas, a falta del compilador de C, que puedes usar el que prefieras entre Borland, Microsoft y el MinGW. El más popular y el que más se usa es Borland que puedes conseguir gratuitamente desde las páginas web de Embarcadero. Si tienes problema en localizarlo aqui te indicaremos como obtenerlo.\n\nPor lo demás, solo necesitas un editor de recursos. Hay bastantes y buenos. A nivel gratuito, el PellesC, y a nivel comercial el ResEdit. Ambas son muy buenas opciones.\n\nY en cuanto al editor de código fuente, tienes la libertad de usar el que prefieras (que suele ser el que mejor sabemos usar). Yo llevo años usando el UEStudio y de momento sigo con él. FiveWin se programa desde hace años con él <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nPuedes adquirir FWH desde <!-- w --><a class=\"postlink\" href=\"http://www.fivetechsoft.com\">www.fivetechsoft.com</a><!-- w --> gracias! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "01:28", "topic": "Actualizar fivewin", "username": "Antonio Linares" } ]
Actualizar fivewin
[ { "date": "2010-04-03", "forum": "FiveWin para Harbour/xHarbour", "text": "Saludos a todos\n\nAmigos, deseo por razones de actualizacion realizar la generacion de mis librerias en general\nLas versiones que tengo son: Fwh 8.11, xH 1.1.0, Bcc 5.5, Tsbrowse 6.0, tsbutton 4.0\ny lo que quiero actualizar es xH ?, Bcc ? y Tsbrowse 8.0, Tsbutton 6.0 pero necesiria general las librerias necesarias.\n\nAdemas, que aplicacion me funcionaria en lugar RMAKE porque trato de generar las librerias de tsbrowse y tsbutton y me marca: Error rmake/r2001 Exit 12: 'harbour ...\n\nAlguien me podria oriantar que versiones me convienen ecepto la de fwh 8.11?", "time": "20:24", "topic": "Actualizar mis librerias", "username": "noe aburto" } ]
Actualizar mis librerias
[ { "date": "2010-04-03", "forum": "FiveWin para Harbour/xHarbour", "text": "Noe,\n\nLa versión actual de FWH es la 10.3\n\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=16&t=18455\">viewtopic.php?f=16&t=18455</a><!-- l -->", "time": "21:24", "topic": "Actualizar mis librerias", "username": "Antonio Linares" } ]
Actualizar mis librerias
[ { "date": "2022-04-12", "forum": "mod_harbour", "text": "Saludos a todos\n\nInstalé mod_harbour hace dos años, desde entonces he compilado pequeños programas con ADS sin problemas. Ahora deseo usar mod_harbour.vw, seguí las intrucciones para descargalo e instalarlo.\nPero cuando inició apache desde xampp con la nueva configuración, apache no corre <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nSi regreso la configuración con mod_harbour, trabaja muy bien.\n\nAlguna sugerencia ?\n\nSaludos", "time": "23:04", "topic": "Actualizar mod_habour a mod_harbour.v2", "username": "VikthorThomas" } ]
Actualizar mod_habour a mod_harbour.v2
[ { "date": "2022-04-13", "forum": "mod_harbour", "text": "<!-- m --><a class=\"postlink\" href=\"https://discord.gg/Hv7wRrKJ\">https://discord.gg/Hv7wRrKJ</a><!-- m -->", "time": "21:47", "topic": "Actualizar mod_habour a mod_harbour.v2", "username": "cnavarro" } ]
Actualizar mod_habour a mod_harbour.v2
[ { "date": "2017-06-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola tengo una linea\nnDato:=123.44\n @ 3.2, 9 GET oGet3 VAR nImp1 PICTURE \"999,999.99\" SIZE 40, 12 COLOR \"B+/W/\" FONT fntArial RIGHT\n oGet3:Disable()\n\nDespues de una evaluacion la VAR nImp1 se tiene que activar y tomar un valor de nDato y activar el oGet3\n\nEn una funcion hago\nnImp1:=nDato\noGet3:Enable()\noGet3:Refresh()\n\nPero no pasa el valor, si habilita el get pero no pasa el valor, alguna forma de forzarlo ?? como en el oSay:Settext(nValor) ?\nAlguna sugerencia ?\n\nGracias", "time": "20:18", "topic": "Actualizar oGet", "username": "servicomver" } ]
Actualizar oGet
[ { "date": "2017-06-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Probastes con con Valput.? creo es asi que se llama, saludos... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->", "time": "04:20", "topic": "Actualizar oGet", "username": "joseluisysturiz" } ]
Actualizar oGet
[ { "date": "2017-06-16", "forum": "FiveWin para Harbour/xHarbour", "text": "servicomver:\n\nIntenta con la clausula UPDATE\n[code=fw:3icthqwm]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />@ <span style=\"color: #000000;\">3.2</span>, <span style=\"color: #000000;\">9</span> <span style=\"color: #0000ff;\">GET</span> oGet3 <span style=\"color: #0000ff;\">VAR</span> nImp1 <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"999,999.99\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">12</span> <span style=\"color: #0000ff;\">COLOR</span> <span style=\"color: #ff0000;\">\"B+/W/\"</span> <span style=\"color: #0000ff;\">FONT</span> fntArial <span style=\"color: #0000ff;\">RIGHT</span> &nbsp;<span style=\"color: #0000ff;\">UPDATE</span><br /> </div>[/code:3icthqwm]\n\nSaludos", "time": "16:04", "topic": "Actualizar oGet", "username": "Armando" } ]
Actualizar oGet
[ { "date": "2006-05-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Holas,\n\ntengo un problemita, tengo definido un GET\n\n REDEFINE GET oGet VAR cNota ID 101 OF oDlg\n REDEFINE SAY oSay VAR cLen ID 102 OF oDlg\n\n oGet:bChange := {|| cLne := STR( 300 - LEN( ALLTRIM( cNota ))), oSay:refresh() }\n \n he probado oSay:setText( cLen ) mas sysrefresh() tambien say:paint() todo en el bloque\n bChange del GET pero el SAY no se actualiza, pero si pongo un msginfo() dentro el bloque recien se actualiza, alguna sugerencia para que funcione esto\n\n saludos\n\nMarcelo", "time": "15:16", "topic": "Actualizar un SAY al estar modificando un GET", "username": "Marcelo Via Giglio" } ]
Actualizar un SAY al estar modificando un GET
[ { "date": "2006-05-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Marcelo, \n\nLa clase TGET (creo) actualiza un Get despues del siguiente GET.- Si te parece, prueba a ponerle un Get a continuación de prueba. Si te actualiza el SAY una vez pasado este Get de prueba, hemos dado en el clavo. En este caso tienes que modificar la clase TGET. \n\nSi este fuera el caso, dímelo y comentamos que lineas hay que modificar en el TGET.", "time": "15:28", "topic": "Actualizar un SAY al estar modificando un GET", "username": "Manuel Valdenebro" } ]
Actualizar un SAY al estar modificando un GET
[ { "date": "2006-05-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Manuel,\n\ngracias por responder, pero mi problema es de actualizacion del SAY en el momento que escribo en el GET, lo que especificamente deseo hacer es que mientras escriben en el GET se informe cuantos caracteres quedan libres para escribir en la variable asociada al GET.\n\nsaludos\n\nMarcelo\n\n[quote=\"Manuel Valdenebro\":3arw1mpq]Marcelo, \n\nLa clase TGET (creo) actualiza un Get despues del siguiente GET.- Si te parece, prueba a ponerle un Get a continuación de prueba. Si te actualiza el SAY una vez pasado este Get de prueba, hemos dado en el clavo. En este caso tienes que modificar la clase TGET. \n\nSi este fuera el caso, dímelo y comentamos que lineas hay que modificar en el TGET.[/quote:3arw1mpq]", "time": "15:59", "topic": "Actualizar un SAY al estar modificando un GET", "username": "Marcelo Via Giglio" } ]
Actualizar un SAY al estar modificando un GET
[ { "date": "2006-05-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Marcelo,\nEl siguiente código lo he probado y funciona perfectamente. A medida que voy escribiendo el GET simultaneamente me dice en el SAY cuantos caracteres quedan. Si a tí no te funciona, tienes que cambiar la clase TGET:\n\n\n@ 0.8, 1.0 SAY \"TITULAR 1:\"\n@ 1.0, 8.0 GET oGet1 VAR cNombre OF oDlg ;\n ON CHANGE (cLen := STR (300-LEN(ALLTRIM(cNombre))), ; oDlg:UPDATE())\n \n@ 2.0, 1.0 SAY cLen OF oDlg SIZE 40,10 UPDATE", "time": "18:33", "topic": "Actualizar un SAY al estar modificando un GET", "username": "Manuel Valdenebro" } ]
Actualizar un SAY al estar modificando un GET
[ { "date": "2006-05-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Manuel,\n\ngracias, pero tu ejemplo no funciona aqui, seguro mi problema es la version de FWH que estoy utilizando, la mia es la version 2.6 de abril de 2005.\n\nBueno ni modo, vere que puedo encontrar en el codigo fuente\n\ngracias\n\nMarcelo\n\n[quote=\"Manuel Valdenebro\":2fdouf9x]Marcelo,\nEl siguiente código lo he probado y funciona perfectamente. A medida que voy escribiendo el GET simultaneamente me dice en el SAY cuantos caracteres quedan. Si a tí no te funciona, tienes que cambiar la clase TGET:\n\n\n@ 0.8, 1.0 SAY \"TITULAR 1:\"\n@ 1.0, 8.0 GET oGet1 VAR cNombre OF oDlg ;\n ON CHANGE (cLen := STR (300-LEN(ALLTRIM(cNombre))), ; oDlg:UPDATE())\n \n@ 2.0, 1.0 SAY cLen OF oDlg SIZE 40,10 UPDATE[/quote:2fdouf9x]", "time": "23:00", "topic": "Actualizar un SAY al estar modificando un GET", "username": "Marcelo Via Giglio" } ]
Actualizar un SAY al estar modificando un GET
[ { "date": "2006-05-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Marcelo,\n\nSi el código anterior no funciona, estoy casi seguro, que el problema está en la clase TGET. Yo lo tuve hace tiempo y lo solucione gracias a LKM, añadiendo una línea en TGET en el Method EditUpdate():\n\nMETHOD EditUpdate() CLASS TGet\n\n if ::oGet:HasFocus\n ::DispText()\n [b:3kjijdsc]::oGet:Assign() //LKM actualiza buffer actual[/b:3kjijdsc]\n endif\n\n ::SetPos( ::oGet:Pos )\n\nreturn nil", "time": "06:09", "topic": "Actualizar un SAY al estar modificando un GET", "username": "Manuel Valdenebro" } ]
Actualizar un SAY al estar modificando un GET
[ { "date": "2006-05-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Manuel,\n\ngracias, esta modifcacion al la clase qet soluciono mi problema, seguro que en las versiones mas actuales de FW, ya esta solucionado\n\nsaludos\n\nMarcelo\n\n[quote=\"Manuel Valdenebro\":3frmggbp]Marcelo,\n\nSi el código anterior no funciona, estoy casi seguro, que el problema está en la clase TGET. Yo lo tuve hace tiempo y lo solucione gracias a LKM, añadiendo una línea en TGET en el Method EditUpdate():\n\nMETHOD EditUpdate() CLASS TGet\n\n if ::oGet:HasFocus\n ::DispText()\n [b:3frmggbp]::oGet:Assign() //LKM actualiza buffer actual[/b:3frmggbp]\n endif\n\n ::SetPos( ::oGet:Pos )\n\nreturn nil[/quote:3frmggbp]", "time": "22:27", "topic": "Actualizar un SAY al estar modificando un GET", "username": "Marcelo Via Giglio" } ]
Actualizar un SAY al estar modificando un GET
[ { "date": "2006-05-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Yo creo que el problema está en que evaluas cNote. Prueba a evaluar [b:3emo39ok]oGet:cText[/b:3emo39ok]. O sea:\n\noGet:bChange := {|| cLne := STR( 300 - LEN( ALLTRIM( [u:3emo39ok][b:3emo39ok]oGet:cText[/b:3emo39ok][/u:3emo39ok] ))) }\n\nEn cuanto a \"oSay:refresh()\", creo que no es necesario, no lo he probado, pero nunca me ha hecho falta cuando he actualizado algún SAY.", "time": "09:41", "topic": "Actualizar un SAY al estar modificando un GET", "username": "manuramos" } ]
Actualizar un SAY al estar modificando un GET
[ { "date": "2006-05-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Manuramos,\n\nlo que dices es cierto, pero tambien esta bien para mi la correccion de LKM que especifico Manuel\n\ngracias\n\nMarcelo\n\n[quote=\"manuramos\":189ftmmw]Yo creo que el problema está en que evaluas cNote. Prueba a evaluar [b:189ftmmw]oGet:cText[/b:189ftmmw]. O sea:\n\noGet:bChange := {|| cLne := STR( 300 - LEN( ALLTRIM( [u:189ftmmw][b:189ftmmw]oGet:cText[/b:189ftmmw][/u:189ftmmw] ))) }\n\nEn cuanto a \"oSay:refresh()\", creo que no es necesario, no lo he probado, pero nunca me ha hecho falta cuando he actualizado algún SAY.[/quote:189ftmmw]", "time": "16:50", "topic": "Actualizar un SAY al estar modificando un GET", "username": "Marcelo Via Giglio" } ]
Actualizar un SAY al estar modificando un GET
[ { "date": "2011-07-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Distinguidos,\n\nGuardo información en bases por mes, muestro la actual y necesito ver un mes anterior carga la nueva base pero me desactivan los indices\n\nCómo se actualiza el xbrowse, he intentado con\n[code=fw:1zacqtp8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />xBrw:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />xBrw:<span style=\"color: #0000ff;\">Update</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />oBrw:<span style=\"color: #000000;\">DrawSelect</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:1zacqtp8]\n\nGracias por la ayuda\n\nSaludos,\n\nAdhemar", "time": "23:08", "topic": "Actualizar xBrowse con nueva base", "username": "acuellar" } ]
Actualizar xBrowse con nueva base
[ { "date": "2011-07-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Can you make a small sample which we can compile here?", "time": "05:32", "topic": "Actualizar xBrowse con nueva base", "username": "nageswaragunupudi" } ]
Actualizar xBrowse con nueva base
[ { "date": "2011-07-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Si actalizas el oBrw:CALIAS ?", "time": "06:33", "topic": "Actualizar xBrowse con nueva base", "username": "RodolfoRBG" } ]
Actualizar xBrowse con nueva base
[ { "date": "2011-07-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias amigos\n\nLo solucione asi:\n[code=fw:2xxvaqsf]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; &nbsp;oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">cSortOrder</span>:=<span style=\"color: #ff0000;\">\"INDICE1\"</span><br />&nbsp; &nbsp;oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">cSortOrder</span>:=<span style=\"color: #ff0000;\">\"INDICE2\"</span><br />&nbsp;</div>[/code:2xxvaqsf]\n\nSaludos,\n\nAdhemar", "time": "13:42", "topic": "Actualizar xBrowse con nueva base", "username": "acuellar" } ]
Actualizar xBrowse con nueva base
[ { "date": "2023-08-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Saludos amigos del foro:\n\nEs posible actualizar la celda de un xBrowse (FastEdit) con solo un clic del ratón?\n\nPretendo que con un solo clic se actualice la celda con el valor que traigo\nen una variable.\n\nNo me vale utilizar el RETURN para entrar a la celda, teclear el valor y luego RETURN\npara salir de la celda editada.\n\nSaludos y muchas gracias de antemano", "time": "02:06", "topic": "Actualizar xBrowse con un Clic del ratón?", "username": "Armando" } ]
Actualizar xBrowse con un Clic del ratón?
[ { "date": "2023-08-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Armando, y como truco el copy/paste no te funcionara?\nsi no estoy mal el xbrowse tiene métodos para pegar el contenido del portapapeles a una celda.", "time": "03:07", "topic": "Actualizar xBrowse con un Clic del ratón?", "username": "carlos vargas" } ]
Actualizar xBrowse con un Clic del ratón?
[ { "date": "2023-08-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Carlos:\n\nSuena bien, agradeceré un ejemplo pues aún soy ñoño en el tema.\n\nMientras tanto, voy a buscar en el foro.\n\nSaludos", "time": "03:53", "topic": "Actualizar xBrowse con un Clic del ratón?", "username": "Armando" } ]
Actualizar xBrowse con un Clic del ratón?
[ { "date": "2023-08-18", "forum": "FiveWin para Harbour/xHarbour", "text": "[code=fw:2ikmpw8a]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oCol:<span style=\"color: #000000;\">VarPut</span><span style=\"color: #000000;\">&#40;</span> newValie _</div>[/code:2ikmpw8a]\n\nFor pasting initially set \n[code=fw:2ikmpw8a]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oBrw:<span style=\"color: #000000;\">lCanPaste</span> := .t.</div>[/code:2ikmpw8a]\nThen, you can copy any text any where and then press Ctrl-V in the active cell. The value is pasted and browse updated.\nThis applies even for pasting images in memo fields.", "time": "13:40", "topic": "Actualizar xBrowse con un Clic del ratón?", "username": "nageswaragunupudi" } ]
Actualizar xBrowse con un Clic del ratón?
[ { "date": "2023-08-18", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote:2zatrzna]Then, you can copy any text any where and then press Ctrl-V in the active cell. The value is pasted and browse updated.\nThis applies even for pasting images in memo fields.[/quote:2zatrzna]\nAprovechado el hilo, como debería definirse si quiero hacerlo con un Xbrowse con Array?", "time": "16:26", "topic": "Actualizar xBrowse con un Clic del ratón?", "username": "cmsoft" } ]
Actualizar xBrowse con un Clic del ratón?
[ { "date": "2023-08-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Mr. Rao:\n\nThank you so much, I'll try it.\n\nWith best regards", "time": "16:44", "topic": "Actualizar xBrowse con un Clic del ratón?", "username": "Armando" } ]
Actualizar xBrowse con un Clic del ratón?
[ { "date": "2023-08-18", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote:24cau5e7]Aprovechado el hilo, como debería definirse si quiero hacerlo con un Xbrowse con Array?[/quote:24cau5e7]\n\n[code=fw:24cau5e7]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> XbrPaste<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">local</span> aData := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"olga     \"</span>, MEMOREAD<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"c:<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\o</span>lga1.jpg\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>, ;<br />                    <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Two      \"</span>, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">&#125;</span>, <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Three      \"</span>, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />   XBROWSER aData FASTEDIT SETUP <span style=\"color: #000000;\">&#40;</span> ;<br />      oBrw:<span style=\"color: #000000;\">lCanPaste</span>    := .t., ;<br />      oBrw:<span style=\"color: #000000;\">nRowHeight</span>   := <span style=\"color: #000000;\">100</span>, ;<br />      oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">cDataType</span>:= <span style=\"color: #ff0000;\">\"P\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:24cau5e7]\n\n[url=https&#58;//imageshack&#46;com/i/po9zntyGg:24cau5e7][img:24cau5e7]https&#58;//imagizer&#46;imageshack&#46;com/img924/377/9zntyG&#46;gif[/img:24cau5e7][/url:24cau5e7]", "time": "18:43", "topic": "Actualizar xBrowse con un Clic del ratón?", "username": "nageswaragunupudi" } ]
Actualizar xBrowse con un Clic del ratón?
[ { "date": "2023-08-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Excelente, como siempre Mr. Rao.\nMuchas gracias!\n\nConsulta. Si el arreglo inicial esta vacio, puede ser que no me deje pegar?", "time": "21:31", "topic": "Actualizar xBrowse con un Clic del ratón?", "username": "cmsoft" } ]
Actualizar xBrowse con un Clic del ratón?
[ { "date": "2023-08-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Si lo quiero hacer desde un xbrowse por codigo me da este error\n[code=fw:2ct74cmr]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Error description: <span style=\"color: #000000;\">Error</span> BASE/<span style=\"color: #000000;\">44</span> &nbsp;Assigned value is wrong <span style=\"color: #00C800;\">class</span>: <span style=\"color: #000000;\">TXBRWCOLUMN</span>:<span style=\"color: #000000;\">HEDITTYPE</span><br />&nbsp; &nbsp;Args:<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> &nbsp; <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> = C &nbsp; P<br /><br />Stack Calls<br />===========<br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: &nbsp;=> TXBRWCOLUMN:_HEDITTYPE<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">XBROWSE</span>.PRG => TXBRWCOLUMN:_NEDITTYPE<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">15905</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">prueba</span>.prg => MAIN<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">19</span> <span style=\"color: #000000;\">&#41;</span></div>[/code:2ct74cmr]\nCon este codigo\n[code=fw:2ct74cmr]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"xbrowse.ch\"</span><br />*****************************************************************<br />** Importar Articulos<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> oDlg1, acor:= ARRAY<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#41;</span>, mrta:=.F., oBot1, oBot2, oBrwTmp,;<br />&nbsp; &nbsp; &nbsp; aCols := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">0</span>,SPACE<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">50</span><span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #ff0000;\">\"\"</span><span style=\"color: #000000;\">&#125;</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; i, cError, cSql,cSql2<br />&nbsp; &nbsp; &nbsp; &nbsp;<br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg1 <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Importar\"</span> <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">03</span>,<span style=\"color: #000000;\">15</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">35</span>,<span style=\"color: #000000;\">140</span><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">20</span>, <span style=\"color: #000000;\">05</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrwTmp <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">465</span>,<span style=\"color: #000000;\">180</span> <span style=\"color: #0000ff;\">pixel</span> <span style=\"color: #0000ff;\">OF</span> oDlg1 ARRAY aCols ;<br />&nbsp; &nbsp; &nbsp; HEADERS <span style=\"color: #ff0000;\">\"Codigo\"</span>, <span style=\"color: #ff0000;\">\"Descripcion\"</span>,<span style=\"color: #ff0000;\">\"Costo\"</span>,<span style=\"color: #ff0000;\">\"Utilidad\"</span>,<span style=\"color: #ff0000;\">\"Precio Venta\"</span>,<span style=\"color: #ff0000;\">\"Stock\"</span>,<span style=\"color: #ff0000;\">\"Depto\"</span>,<span style=\"color: #ff0000;\">\"IVA\"</span>,<span style=\"color: #ff0000;\">\"Foto\"</span>;<br />&nbsp; &nbsp; &nbsp; COLUMNS <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span> ,<span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">4</span>, <span style=\"color: #000000;\">5</span>,<span style=\"color: #000000;\">6</span>,<span style=\"color: #000000;\">7</span>,<span style=\"color: #000000;\">8</span>, <span style=\"color: #000000;\">9</span>;<br />&nbsp; &nbsp; &nbsp; SIZES <span style=\"color: #000000;\">60</span>,<span style=\"color: #000000;\">250</span>,<span style=\"color: #000000;\">70</span>,<span style=\"color: #000000;\">70</span>,<span style=\"color: #000000;\">70</span>,<span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">100</span>;<br />&nbsp; &nbsp; &nbsp; CELL LINES NOBORDER FASTEDIT<br />&nbsp; &nbsp;WITH OBJECT oBrwTmp<br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">lCanPaste</span> &nbsp; &nbsp;:= .t.<br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">nRowHeight</span> &nbsp; := <span style=\"color: #000000;\">100</span><br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nEditType</span> &nbsp;:= <span style=\"color: #ff0000;\">\"P\"</span> &nbsp;<br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">bKeyDown</span> := <span style=\"color: #000000;\">&#123;</span> |nKey| <span style=\"color: #00C800;\">IF</span> <span style=\"color: #000000;\">&#40;</span>nKey == VK_DELETE,oBrwTmp:<span style=\"color: #000000;\">Delete</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#125;</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp;END &nbsp; &nbsp; <br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg1 <span style=\"color: #0000ff;\">CENTER</span> <br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">nil</span> <br />&nbsp;</div>[/code:2ct74cmr]\nAlgo estoy haciendo mal pero no puedo darme cuenta que", "time": "22:03", "topic": "Actualizar xBrowse con un Clic del ratón?", "username": "cmsoft" } ]
Actualizar xBrowse con un Clic del ratón?
[ { "date": "2023-08-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Not\n[code=fw:3mtshwbk]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> &nbsp; &nbsp; :<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nEditType</span> &nbsp;:= <span style=\"color: #ff0000;\">\"P\"</span> &nbsp;<br />&nbsp;</div>[/code:3mtshwbk]\n\nCorrect:\n[code=fw:3mtshwbk]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> &nbsp; &nbsp; :<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">cDataType</span> &nbsp;:= <span style=\"color: #ff0000;\">\"P\"</span> &nbsp;<br />&nbsp;</div>[/code:3mtshwbk]", "time": "22:38", "topic": "Actualizar xBrowse con un Clic del ratón?", "username": "nageswaragunupudi" } ]
Actualizar xBrowse con un Clic del ratón?
[ { "date": "2023-08-18", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote:31lufrup]Consulta. Si el arreglo inicial esta vacio, puede ser que no me deje pegar?\n[/quote:31lufrup]\nSorry, this was due to the mistake in my post.\nNow corrected.\nIt will work now.\nSet\n[quote:31lufrup]oCol:cDataType := \"P\"[/quote:31lufrup]", "time": "22:52", "topic": "Actualizar xBrowse con un Clic del ratón?", "username": "nageswaragunupudi" } ]
Actualizar xBrowse con un Clic del ratón?
[ { "date": "2023-08-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Perfecto, ahi funciona. \nTuve que agregar la clausula :nEditTypes := 1 para que permitiera editar y pegar\n[code=fw:1l9tzsvn]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"xbrowse.ch\"</span><br />*****************************************************************<br />** Importar Articulos<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> oDlg1, acor:= ARRAY<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#41;</span>, mrta:=.F., oBot1, oBot2, oBrwTmp,;<br />&nbsp; &nbsp; &nbsp; aCols := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">0</span>,SPACE<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">50</span><span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #ff0000;\">\"\"</span><span style=\"color: #000000;\">&#125;</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; i, cError, cSql,cSql2<br />&nbsp; &nbsp; &nbsp; &nbsp;<br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg1 <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Importar\"</span> <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">03</span>,<span style=\"color: #000000;\">15</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">35</span>,<span style=\"color: #000000;\">140</span><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">20</span>, <span style=\"color: #000000;\">05</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrwTmp <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">465</span>,<span style=\"color: #000000;\">180</span> <span style=\"color: #0000ff;\">pixel</span> <span style=\"color: #0000ff;\">OF</span> oDlg1 ARRAY aCols ;<br />&nbsp; &nbsp; &nbsp; HEADERS <span style=\"color: #ff0000;\">\"Codigo\"</span>, <span style=\"color: #ff0000;\">\"Descripcion\"</span>,<span style=\"color: #ff0000;\">\"Costo\"</span>,<span style=\"color: #ff0000;\">\"Utilidad\"</span>,<span style=\"color: #ff0000;\">\"Precio Venta\"</span>,<span style=\"color: #ff0000;\">\"Stock\"</span>,<span style=\"color: #ff0000;\">\"Depto\"</span>,<span style=\"color: #ff0000;\">\"IVA\"</span>,<span style=\"color: #ff0000;\">\"Foto\"</span>;<br />&nbsp; &nbsp; &nbsp; COLUMNS <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span> ,<span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">4</span>, <span style=\"color: #000000;\">5</span>,<span style=\"color: #000000;\">6</span>,<span style=\"color: #000000;\">7</span>,<span style=\"color: #000000;\">8</span>, <span style=\"color: #000000;\">9</span>;<br />&nbsp; &nbsp; &nbsp; SIZES <span style=\"color: #000000;\">60</span>,<span style=\"color: #000000;\">250</span>,<span style=\"color: #000000;\">70</span>,<span style=\"color: #000000;\">70</span>,<span style=\"color: #000000;\">70</span>,<span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">100</span>;<br />&nbsp; &nbsp; &nbsp; CELL LINES NOBORDER FASTEDIT<br />&nbsp; &nbsp;WITH OBJECT oBrwTmp<br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">lCanPaste</span> &nbsp; &nbsp;:= .t.<br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">nEditTypes</span> &nbsp; := <span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">nRowHeight</span> &nbsp; := <span style=\"color: #000000;\">100</span><br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">cDataType</span> &nbsp;:= <span style=\"color: #ff0000;\">\"P\"</span> &nbsp;<br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">bKeyDown</span> := <span style=\"color: #000000;\">&#123;</span> |nKey| <span style=\"color: #00C800;\">IF</span> <span style=\"color: #000000;\">&#40;</span>nKey == VK_DELETE,oBrwTmp:<span style=\"color: #000000;\">Delete</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#125;</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp;END &nbsp; &nbsp; <br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg1 <span style=\"color: #0000ff;\">CENTER</span> <br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">nil</span></div>[/code:1l9tzsvn]", "time": "23:44", "topic": "Actualizar xBrowse con un Clic del ratón?", "username": "cmsoft" } ]
Actualizar xBrowse con un Clic del ratón?
[ { "date": "2023-08-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Mr. Rao, abusando de su conocimiento, como puedo hacer para que si pongo una url en una celda para que traiga una imagen, y esa imagen no existe en el servidor web, que me muestre una imagen por default (o nada), ya que sino, da error\nEste es el ejemplo:\n[code=fw:33igf85p]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"xbrowse.ch\"</span><br />*****************************************************************<br />** Vista de articulos<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> oDlg1, oBrwTmp,;<br />      aCols := <span style=\"color: #000000;\">&#123;</span>;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA CLASICA'</span>,  <span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120 grs. Cheddar, Lechuga, Tomate y Mayonesa, Mostaza y Kétchup. Incluye Papas Fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00010110.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA CLASICA 2'</span>,  <span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120 grs. Cheddar, Lechuga, Tomate y Mayonesa, Mostaza y Kétchup. Incluye Papas Fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00010114.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA MIX'</span>,  <span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120 grs. Cheddar, Huevo Bacon y BBQ. Incluye Papas Fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000020.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA CHEESE ONION'</span>, <span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120 grs. Cheddar, Cebolla Caramelizada Bacon y BBQ. Incluye Papas Fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000021.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA MEGA'</span>, <span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120grs. Cheddar, lechuga, pepinos, cebolla picada y salsa mil islas. Incluye papas fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000022.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA NAPO'</span>, <span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120 grs. Jamón, Queso, Tomate y Mayonesa. Incluye Papas Fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000023.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'BRAHMA 1 L.'</span>, <span style=\"color: #000000;\">300.00</span> , <span style=\"color: #ff0000;\">'Bien fria'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000054.jpg'</span><span style=\"color: #000000;\">&#125;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br />       <br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg1 <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Visor de productos\"</span> <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">03</span>,<span style=\"color: #000000;\">15</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">35</span>,<span style=\"color: #000000;\">140</span> <br />   @ <span style=\"color: #000000;\">20</span>, <span style=\"color: #000000;\">05</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrwTmp <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">465</span>,<span style=\"color: #000000;\">180</span> <span style=\"color: #0000ff;\">pixel</span> <span style=\"color: #0000ff;\">OF</span> oDlg1 ARRAY aCols  ;<br />      HEADERS <span style=\"color: #ff0000;\">\"Producto\"</span>, <span style=\"color: #ff0000;\">\"Descripcion\"</span>,<span style=\"color: #ff0000;\">\"Precio\"</span>,<span style=\"color: #ff0000;\">\"Foto\"</span>;<br />      COLUMNS <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">3</span>,<span style=\"color: #000000;\">4</span>;<br />      SIZES <span style=\"color: #000000;\">250</span>,<span style=\"color: #000000;\">250</span>,<span style=\"color: #000000;\">100</span>,<span style=\"color: #000000;\">250</span>;<br />      CELL LINES NOBORDER <br />   WITH OBJECT oBrwTmp<br />      :<span style=\"color: #000000;\">nRowHeight</span>   := <span style=\"color: #000000;\">100</span> <br />      :<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">cDataType</span> := <span style=\"color: #ff0000;\">\"P\"</span><br />      :<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>      <br />   END   <br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg1   <br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">nil</span></div>[/code:33igf85p]\n\nEl error lo da aqui\n[code=fw:33igf85p]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />Error description: <span style=\"color: #000000;\">Error</span> BASE/<span style=\"color: #000000;\">1109</span> &nbsp;Argument error: $<br />&nbsp; &nbsp;Args:<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> &nbsp; <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> = C &nbsp; base64<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> &nbsp; <span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> = U &nbsp; <br /><br />Stack Calls<br />===========<br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\<span style=\"color: #00C800;\">function</span>\\IMGTXTIO.PRG => WEBIMAGE<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2615</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\<span style=\"color: #00C800;\">function</span>\\IMGTXTIO.PRG => FW_READIMAGE<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1359</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>TWINDOW<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">602</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => TXBROWSE:<span style=\"color: #000000;\">READIMAGE</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:33igf85p]", "time": "00:20", "topic": "Actualizar xBrowse con un Clic del ratón?", "username": "cmsoft" } ]
Actualizar xBrowse con un Clic del ratón?
[ { "date": "2023-08-19", "forum": "FiveWin para Harbour/xHarbour", "text": "First thing is to fix the runtime error in our library function. It is failing with non-existent URLs.\n\nPlease apply this fix in the file \\fwh\\source\\function\\imgtxtio.prg:\nPlease locate\n[code=fw:7eu249b2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> WebPageContents<span style=\"color: #000000;\">&#40;</span> cUrl, lText <span style=\"color: #000000;\">&#41;</span></div>[/code:7eu249b2]\nAt the end of this function, you will see:\n[code=fw:7eu249b2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">return</span> cContents</div>[/code:7eu249b2]\n\nPlease change this like as:\n[code=fw:7eu249b2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">return</span> IfNil<span style=\"color: #000000;\">&#40;</span> cContents, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">&#41;</span></div>[/code:7eu249b2]\n\nNow, this fixes the runtime error.\nInstead of getting runtime error, you will see a blank space instead of image.\n\nNow how to use a default image?\nPlease wait for my next post.", "time": "03:40", "topic": "Actualizar xBrowse con un Clic del ratón?", "username": "nageswaragunupudi" } ]
Actualizar xBrowse con un Clic del ratón?
[ { "date": "2023-08-19", "forum": "FiveWin para Harbour/xHarbour", "text": "[code=fw:whzctfcz]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">FUNCTION</span> cmsoft<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">LOCAL</span> oDlg1, oBrwTmp,;<br />&nbsp; &nbsp; &nbsp; aCols := <span style=\"color: #000000;\">&#123;</span>;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA CLASICA'</span>, &nbsp;<span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120 grs. Cheddar, Lechuga, Tomate y Mayonesa, Mostaza y Kétchup. Incluye Papas Fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00010110.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA CLASICA 2'</span>, &nbsp;<span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120 grs. Cheddar, Lechuga, Tomate y Mayonesa, Mostaza y Kétchup. Incluye Papas Fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00010114.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA MIX'</span>, &nbsp;<span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120 grs. Cheddar, Huevo Bacon y BBQ. Incluye Papas Fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000020.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA CHEESE ONION'</span>, <span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120 grs. Cheddar, Cebolla Caramelizada Bacon y BBQ. Incluye Papas Fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000021.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA MEGA'</span>, <span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120grs. Cheddar, lechuga, pepinos, cebolla picada y salsa mil islas. Incluye papas fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000022.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA NAPO'</span>, <span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120 grs. Jamón, Queso, Tomate y Mayonesa. Incluye Papas Fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000023.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'BRAHMA 1 L.'</span>, <span style=\"color: #000000;\">300.00</span> , <span style=\"color: #ff0000;\">'Bien fria'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000054.jpg'</span><span style=\"color: #000000;\">&#125;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> cDefault := MEMOREAD<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"c:<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\s</span>ea.bmp\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;AEval<span style=\"color: #000000;\">&#40;</span> aCols, <span style=\"color: #000000;\">&#123;</span> |a,i| a<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#93;</span> := WebPageContents<span style=\"color: #000000;\">&#40;</span> a<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> Empty<span style=\"color: #000000;\">&#40;</span> a<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span>, a<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#93;</span> := cDefault, <span style=\"color: #00C800;\">nil</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg1 <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Visor de productos\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">700</span>,<span style=\"color: #000000;\">700</span> <span style=\"color: #0000ff;\">PIXEL</span> TRUEPIXEL RESIZABLE<br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">20</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrwTmp <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">-20</span>,<span style=\"color: #000000;\">-20</span> <span style=\"color: #0000ff;\">pixel</span> <span style=\"color: #0000ff;\">OF</span> oDlg1 ARRAY aCols &nbsp;;<br />&nbsp; &nbsp; &nbsp; HEADERS <span style=\"color: #ff0000;\">\"Producto\"</span>, <span style=\"color: #ff0000;\">\"Precio\"</span>, <span style=\"color: #ff0000;\">\"Descripcion\"</span>,<span style=\"color: #ff0000;\">\"Foto\"</span>;<br />&nbsp; &nbsp; &nbsp; COLUMNS <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">3</span>,<span style=\"color: #000000;\">4</span>;<br />&nbsp; &nbsp; &nbsp; SIZES <span style=\"color: #00C800;\">nil</span>, <span style=\"color: #00C800;\">nil</span>, <span style=\"color: #000000;\">150</span>,<span style=\"color: #000000;\">200</span>;<br />&nbsp; &nbsp; &nbsp; CELL LINES NOBORDER<br />&nbsp; &nbsp;WITH OBJECT oBrwTmp<br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">nStretchCol</span> &nbsp; := <span style=\"color: #000000;\">3</span><br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">nRowHeight</span> &nbsp; &nbsp;:= <span style=\"color: #000000;\">150</span><br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">cDataType</span> := <span style=\"color: #ff0000;\">\"P\"</span><br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;END<br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg1 <span style=\"color: #0000ff;\">CENTERED</span><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">nil</span><br />&nbsp;</div>[/code:whzctfcz]", "time": "09:14", "topic": "Actualizar xBrowse con un Clic del ratón?", "username": "nageswaragunupudi" } ]
Actualizar xBrowse con un Clic del ratón?
[ { "date": "2023-08-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias por su tiempo Mr. Rao\nEsto solucionó el error en tiempo de ejecucion\n[quote:268uns58]return IfNil( cContents, \"\" )[/quote:268uns58]\n\n[quote:268uns58]local cDefault := MEMOREAD( \"c:\\fwh\\bitmaps\\sea.bmp\" )\n\n AEval( aCols, { |a,i| a[ 4 ] := WebPageContents( a[ 4 ] ), ;\n If( Empty( a[ 4 ] ), a[ 4 ] := cDefault, nil ) } )[/quote:268uns58]\nEsto muestra solamente la primer foto faltante, pero si hay muchas, las otras no las muestra\nPruebe este ejemplo:\n[code=fw:268uns58]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"xbrowse.ch\"</span><br /><span style=\"color: #00C800;\">FUNCTION</span> cmsoft<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">LOCAL</span> oDlg1, oBrwTmp,;<br />&nbsp; &nbsp; &nbsp; aCols := <span style=\"color: #000000;\">&#123;</span>;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA CLASICA'</span>, &nbsp;<span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120 grs. Cheddar, Lechuga, Tomate y Mayonesa, Mostaza y Kétchup. Incluye Papas Fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00010110.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA CLASICA 2'</span>, &nbsp;<span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120 grs. Cheddar, Lechuga, Tomate y Mayonesa, Mostaza y Kétchup. Incluye Papas Fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00010114.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA MIX'</span>, &nbsp;<span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120 grs. Cheddar, Huevo Bacon y BBQ. Incluye Papas Fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000020.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA CHEESE ONION'</span>, <span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120 grs. Cheddar, Cebolla Caramelizada Bacon y BBQ. Incluye Papas Fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000021.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA MEGA'</span>, <span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120grs. Cheddar, lechuga, pepinos, cebolla picada y salsa mil islas. Incluye papas fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000022.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA NAPO'</span>, <span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120 grs. Jamón, Queso, Tomate y Mayonesa. Incluye Papas Fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000023.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'BRAHMA 1 L.'</span>, <span style=\"color: #000000;\">300.00</span> , <span style=\"color: #ff0000;\">'Bien fria'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000054.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'BRAHMA 2 L.'</span>, <span style=\"color: #000000;\">400.00</span> , <span style=\"color: #ff0000;\">'Bien fria'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000055.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'BRAHMA 3 L.'</span>, <span style=\"color: #000000;\">500.00</span> , <span style=\"color: #ff0000;\">'Bien fria'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000056.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'BRAHMA 4 L.'</span>, <span style=\"color: #000000;\">600.00</span> , <span style=\"color: #ff0000;\">'Bien fria'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000057.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'BRAHMA 5 L.'</span>, <span style=\"color: #000000;\">700.00</span> , <span style=\"color: #ff0000;\">'Bien fria'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000058.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'BRAHMA 6 L.'</span>, <span style=\"color: #000000;\">800.00</span> , <span style=\"color: #ff0000;\">'Bien fria'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000059.jpg'</span><span style=\"color: #000000;\">&#125;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> cDefault := MEMOREAD<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"c:<span style=\"color: #000000;\">\\f</span>wh21<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\s</span>ea.bmp\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;AEval<span style=\"color: #000000;\">&#40;</span> aCols, <span style=\"color: #000000;\">&#123;</span> |a,i| a<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#93;</span> := WebPageContents<span style=\"color: #000000;\">&#40;</span> a<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> Empty<span style=\"color: #000000;\">&#40;</span> a<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span>, a<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#93;</span> := cDefault, <span style=\"color: #00C800;\">nil</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg1 <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Visor de productos\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">700</span>,<span style=\"color: #000000;\">700</span> <span style=\"color: #0000ff;\">PIXEL</span> TRUEPIXEL RESIZABLE<br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">20</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrwTmp <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">-20</span>,<span style=\"color: #000000;\">-20</span> <span style=\"color: #0000ff;\">pixel</span> <span style=\"color: #0000ff;\">OF</span> oDlg1 ARRAY aCols &nbsp;;<br />&nbsp; &nbsp; &nbsp; HEADERS <span style=\"color: #ff0000;\">\"Producto\"</span>, <span style=\"color: #ff0000;\">\"Precio\"</span>, <span style=\"color: #ff0000;\">\"Descripcion\"</span>,<span style=\"color: #ff0000;\">\"Foto\"</span>;<br />&nbsp; &nbsp; &nbsp; COLUMNS <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">3</span>,<span style=\"color: #000000;\">4</span>;<br />&nbsp; &nbsp; &nbsp; SIZES <span style=\"color: #00C800;\">nil</span>, <span style=\"color: #00C800;\">nil</span>, <span style=\"color: #000000;\">150</span>,<span style=\"color: #000000;\">200</span>;<br />&nbsp; &nbsp; &nbsp; CELL LINES NOBORDER<br />&nbsp; &nbsp;WITH OBJECT oBrwTmp<br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">nStretchCol</span> &nbsp; := <span style=\"color: #000000;\">3</span><br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">nRowHeight</span> &nbsp; &nbsp;:= <span style=\"color: #000000;\">150</span><br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">cDataType</span> := <span style=\"color: #ff0000;\">\"P\"</span><br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;END<br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg1 <span style=\"color: #0000ff;\">CENTERED</span><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">nil</span></div>[/code:268uns58]\n\nTambien, ya que en realidad los datos los obtengo de una consulta sql, en caso de usar DATASOURCE en lugar de ARRAY habia intentado esto\n[code=fw:268uns58]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bStrData</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #00C800;\">IF</span><span style=\"color: #000000;\">&#40;</span>EMPTY<span style=\"color: #000000;\">&#40;</span>WebPageContents<span style=\"color: #000000;\">&#40;</span> oQry:<span style=\"color: #000000;\">url</span>, .f. <span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span>,MemoRead<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\l</span>ogo.jpg\"</span><span style=\"color: #000000;\">&#41;</span>,WebPageContents<span style=\"color: #000000;\">&#40;</span>oQry:<span style=\"color: #000000;\">url</span>,.f.<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> &nbsp;<span style=\"color: #000000;\">&#125;</span><br />&nbsp;</div>[/code:268uns58]\nY obtenia el mismo efecto, solo mostraba en la primer imagen faltante\nPor que puede ser?\nAgradezco su interes en el tema", "time": "13:52", "topic": "Actualizar xBrowse con un Clic del ratón?", "username": "cmsoft" } ]
Actualizar xBrowse con un Clic del ratón?
[ { "date": "2023-08-19", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote:18c9o17e]This shows only the first missing photo, but if there are too many, it doesn't show the others.[/quote:18c9o17e]\nBut here it is working fine.\nI got the default image in all cases.\n\nI extended the array like this:\n[code=fw:18c9o17e]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA NAPO'</span>, <span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120 grs. Jamón, Queso, Tomate y Mayonesa. Incluye Papas Fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000023.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'BRAHMA 1 L.'</span>, <span style=\"color: #000000;\">300.00</span> , <span style=\"color: #ff0000;\">'Bien fria'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000054.jpg'</span><span style=\"color: #000000;\">&#125;</span>, ;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'BRAHMA 2 L.'</span>, <span style=\"color: #000000;\">500.00</span> , <span style=\"color: #ff0000;\">'Bien fria'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000054.jpg'</span><span style=\"color: #000000;\">&#125;</span>, ;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'BRAHMA 3 L.'</span>, <span style=\"color: #000000;\">600.00</span> , <span style=\"color: #ff0000;\">'Bien fria'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000054.jpg'</span><span style=\"color: #000000;\">&#125;</span>, ;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'BRAHMA 4 L.'</span>, <span style=\"color: #000000;\">700.00</span> , <span style=\"color: #ff0000;\">'Bien fria'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000054.jpg'</span><span style=\"color: #000000;\">&#125;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br /> </div>[/code:18c9o17e]\nI see the default image in all the 4 last rows.\n\n[url=https&#58;//imageshack&#46;com/i/pmiNTMrcp:18c9o17e][img:18c9o17e]https&#58;//imagizer&#46;imageshack&#46;com/v2/xq70/922/iNTMrc&#46;png[/img:18c9o17e][/url:18c9o17e]\n\nWondering why is not working for you.\nMay I know your FWH version? Let me check with your version at my end.", "time": "14:22", "topic": "Actualizar xBrowse con un Clic del ratón?", "username": "nageswaragunupudi" } ]
Actualizar xBrowse con un Clic del ratón?
[ { "date": "2023-08-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Compiler version: Harbour 3.2.0dev (r2008190002)\nFiveWin version: FWH 22.06\nC compiler version: Borland/Embarcadero C++ 7.0 (32-bit)", "time": "14:37", "topic": "Actualizar xBrowse con un Clic del ratón?", "username": "cmsoft" } ]
Actualizar xBrowse con un Clic del ratón?
[ { "date": "2023-08-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Mr. Rao:\n[quote:e3a5g79n]I extended the array like this:[/quote:e3a5g79n]\nEn la extension del array puso siempre la misma url\nCambie por \n[code=fw:e3a5g79n]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> &nbsp; &nbsp; &nbsp;aCols := <span style=\"color: #000000;\">&#123;</span>;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA CLASICA'</span>, &nbsp;<span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120 grs. Cheddar, Lechuga, Tomate y Mayonesa, Mostaza y Kétchup. Incluye Papas Fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00010110.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA CLASICA 2'</span>, &nbsp;<span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120 grs. Cheddar, Lechuga, Tomate y Mayonesa, Mostaza y Kétchup. Incluye Papas Fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00010114.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA MIX'</span>, &nbsp;<span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120 grs. Cheddar, Huevo Bacon y BBQ. Incluye Papas Fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000020.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA CHEESE ONION'</span>, <span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120 grs. Cheddar, Cebolla Caramelizada Bacon y BBQ. Incluye Papas Fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000021.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA MEGA'</span>, <span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120grs. Cheddar, lechuga, pepinos, cebolla picada y salsa mil islas. Incluye papas fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000022.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'VIRTUOSA NAPO'</span>, <span style=\"color: #000000;\">1900.00</span>, <span style=\"color: #ff0000;\">'Carne 120 grs. Jamón, Queso, Tomate y Mayonesa. Incluye Papas Fritas.'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000023.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'BRAHMA 1 L.'</span>, <span style=\"color: #000000;\">300.00</span> , <span style=\"color: #ff0000;\">'Bien fria'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000054.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'BRAHMA 2 L.'</span>, <span style=\"color: #000000;\">400.00</span> , <span style=\"color: #ff0000;\">'Bien fria'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000055.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'BRAHMA 3 L.'</span>, <span style=\"color: #000000;\">500.00</span> , <span style=\"color: #ff0000;\">'Bien fria'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000056.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'BRAHMA 4 L.'</span>, <span style=\"color: #000000;\">600.00</span> , <span style=\"color: #ff0000;\">'Bien fria'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000057.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'BRAHMA 5 L.'</span>, <span style=\"color: #000000;\">700.00</span> , <span style=\"color: #ff0000;\">'Bien fria'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000058.jpg'</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">'BRAHMA 6 L.'</span>, <span style=\"color: #000000;\">800.00</span> , <span style=\"color: #ff0000;\">'Bien fria'</span>,<span style=\"color: #ff0000;\">'https://bcnresto.com/img/000010/00000059.jpg'</span><span style=\"color: #000000;\">&#125;</span>;<br /><span style=\"color: #000000;\">&#125;</span></div>[/code:e3a5g79n]\nEl error fue mio al copiar y pegar las urls\nPuede decirme si esto le muestra todas las imagenes por default?", "time": "14:49", "topic": "Actualizar xBrowse con un Clic del ratón?", "username": "cmsoft" } ]
Actualizar xBrowse con un Clic del ratón?
[ { "date": "2023-08-19", "forum": "FiveWin para Harbour/xHarbour", "text": "You are right.\n\nPlease use this:\n[code=fw:z44kplxg]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> &nbsp; AEval<span style=\"color: #000000;\">&#40;</span> aCols, <span style=\"color: #000000;\">&#123;</span> |a,i| a<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#93;</span> := WebPageContents<span style=\"color: #000000;\">&#40;</span> a<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#93;</span>, .f. <span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> IsBinaryData<span style=\"color: #000000;\">&#40;</span> a<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">nil</span>, a<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#93;</span> := cDefault <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:z44kplxg]", "time": "15:45", "topic": "Actualizar xBrowse con un Clic del ratón?", "username": "nageswaragunupudi" } ]
Actualizar xBrowse con un Clic del ratón?
[ { "date": "2023-08-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Excelente Mr. Rao!!\nAhora si funciona perfecto!\nAprovechando la sugerencia, también hice para el caso de que quiera leer directamente desde la Query\n[code=fw:15io6zwp]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bStrData</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #00C800;\">IF</span><span style=\"color: #000000;\">&#40;</span>!IsBinaryData<span style=\"color: #000000;\">&#40;</span>WebPageContents<span style=\"color: #000000;\">&#40;</span> oQry:<span style=\"color: #000000;\">url</span>, .f. <span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span>,;<br />                               MemoRead<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\l</span>ogo.jpg\"</span><span style=\"color: #000000;\">&#41;</span>,WebPageContents<span style=\"color: #000000;\">&#40;</span>oQry:<span style=\"color: #000000;\">url</span>,.f.<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span>  <span style=\"color: #000000;\">&#125;</span><br /> </div>[/code:15io6zwp]\nY tambien funcionó perfecto!\nSi bien, funciona, si quiero hacer un oBrw:Report() luego, no pone las imagenes de los url vacios\nSi funciona perfecto si lo hago desde array.\nPero seguire investigando para ver como poder hacerlo.\nMuchas gracias por el tiempo dedicado!", "time": "16:03", "topic": "Actualizar xBrowse con un Clic del ratón?", "username": "cmsoft" } ]
Actualizar xBrowse con un Clic del ratón?
[ { "date": "2023-08-22", "forum": "FiveWin para Harbour/xHarbour", "text": "Please try this code as it is and then modify to Dolphin\nYou need to change the default image to your default image in this sample.\n[code=fw:39ohy8i6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">FUNCTION</span> cmsoft<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oDlg, oBrw<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> cDefault<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oCn, oRs<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> hImages<br /><br />&nbsp; &nbsp;oCn &nbsp; := maria_Connect<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"208.91.198.197:3306,fwhdemo,gnraofwh,Bharat@1950\"</span>, .t. <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> oCn == <span style=\"color: #00C800;\">nil</span><br />&nbsp; &nbsp; &nbsp; ? <span style=\"color: #ff0000;\">\"can not connect to server\"</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br /><br />&nbsp; &nbsp;oRs &nbsp; := oCn:<span style=\"color: #000000;\">cmsoft_images</span><br /><br />&nbsp; &nbsp;cDefault := MEMOREAD<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"c:<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\s</span>ea.bmp\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;cDefault := cValToChar<span style=\"color: #000000;\">&#40;</span> FW_ReadImage<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">nil</span>, cDefault <span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;MsgRun<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Reading\"</span>, <span style=\"color: #ff0000;\">\"Images\"</span>, <span style=\"color: #000000;\">&#123;</span> || hImages := ReadImages<span style=\"color: #000000;\">&#40;</span> oRs, cDefault <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Visor de productos\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">700</span>,<span style=\"color: #000000;\">730</span> <span style=\"color: #0000ff;\">PIXEL</span> TRUEPIXEL RESIZABLE<br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrw <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">-20</span>,<span style=\"color: #000000;\">-20</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br />&nbsp; &nbsp; &nbsp; DATASOURCE oRs &nbsp;;<br />&nbsp; &nbsp; &nbsp; COLUMNS <span style=\"color: #ff0000;\">\"Producto\"</span>, <span style=\"color: #ff0000;\">\"Precio\"</span>, <span style=\"color: #ff0000;\">\"Descripcion\"</span>,<span style=\"color: #ff0000;\">\"Foto\"</span>;<br />&nbsp; &nbsp; &nbsp; HEADERS <span style=\"color: #00C800;\">nil</span>, <span style=\"color: #00C800;\">nil</span>, <span style=\"color: #00C800;\">nil</span>, <span style=\"color: #ff0000;\">\"Foto\"</span> ;<br />&nbsp; &nbsp; &nbsp; SIZES <span style=\"color: #00C800;\">nil</span>, <span style=\"color: #00C800;\">nil</span>, <span style=\"color: #000000;\">150</span>,<span style=\"color: #000000;\">200</span>;<br />&nbsp; &nbsp; &nbsp; CELL LINES NOBORDER<br /><br />&nbsp; &nbsp;WITH OBJECT oBrw<br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">nStretchCol</span> &nbsp; := <span style=\"color: #000000;\">3</span><br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">nRowHeight</span> &nbsp; &nbsp;:= <span style=\"color: #000000;\">150</span><br />&nbsp; &nbsp; &nbsp; WITH OBJECT :<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style=\"color: #000000;\">cDataType</span> := <span style=\"color: #ff0000;\">\"P\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style=\"color: #000000;\">bEditValue</span> := <span style=\"color: #000000;\">&#123;</span> || hImages<span style=\"color: #000000;\">&#91;</span> oRs:<span style=\"color: #000000;\">foto</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; END<br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;END<br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"REPORT\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>,<span style=\"color: #000000;\">30</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">ACTION</span> oBrw:<span style=\"color: #000000;\">Report</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 /><br />&nbsp; &nbsp;oRs:<span style=\"color: #000000;\">Close</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;oCn:<span style=\"color: #000000;\">Close</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;PalBmpFree<span style=\"color: #000000;\">&#40;</span> Val<span style=\"color: #000000;\">&#40;</span> cDefault <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;HEval<span style=\"color: #000000;\">&#40;</span> hImages, <span style=\"color: #000000;\">&#123;</span> |k,v| PalBmpFree<span style=\"color: #000000;\">&#40;</span> Val<span style=\"color: #000000;\">&#40;</span> v <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</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> ReadImages<span style=\"color: #000000;\">&#40;</span> oRs, cDefault <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> hImages, c, n, nRecs<br /><br />&nbsp; &nbsp;nRecs := oRs:<span style=\"color: #000000;\">RecCount</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;oRs:<span style=\"color: #000000;\">GoTop</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;hImages &nbsp;:= <span style=\"color: #000000;\">&#123;</span>=><span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">for</span> n := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> nRecs<br />&nbsp; &nbsp; &nbsp; c &nbsp;:= WebPageContents<span style=\"color: #000000;\">&#40;</span> oRs:<span style=\"color: #000000;\">foto</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> IsBinaryData<span style=\"color: #000000;\">&#40;</span> c <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hImages<span style=\"color: #000000;\">&#91;</span> oRs:<span style=\"color: #000000;\">foto</span> <span style=\"color: #000000;\">&#93;</span> := cValToChar<span style=\"color: #000000;\">&#40;</span> FW_ReadImage<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">nil</span>, c <span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hImages<span style=\"color: #000000;\">&#91;</span> oRs:<span style=\"color: #000000;\">foto</span> <span style=\"color: #000000;\">&#93;</span> := cDefault<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; oRs:<span style=\"color: #000000;\">Skip</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">next</span><br />&nbsp; &nbsp;oRs:<span style=\"color: #000000;\">GoTop</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">return</span> hImages</div>[/code:39ohy8i6]\nClick on \"REPORT\" button on the top to generate report", "time": "03:46", "topic": "Actualizar xBrowse con un Clic del ratón?", "username": "nageswaragunupudi" } ]
Actualizar xBrowse con un Clic del ratón?
[ { "date": "2023-08-22", "forum": "FiveWin para Harbour/xHarbour", "text": "Excelente Mr. Rao!\nFuncionó perfecto!\nMuchas gracias por su tiempo!", "time": "12:33", "topic": "Actualizar xBrowse con un Clic del ratón?", "username": "cmsoft" } ]
Actualizar xBrowse con un Clic del ratón?
[ { "date": "2023-05-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Hol Amigos\n\nTengo un Xbrowse con los datos de una Dbf, los cuales se muestran con un filtro, tengo una opcion para activar o desactivar cada profesional, para lo cual debe dar doble click.\n\nEl problema que el Xbrowse se actuliza solo si muevo el mouse sobre la lista.\n\n\nMuchos Saludos\n\nAntonio\n\nCodigo:\n[code=fw:3np64sge]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; &nbsp; &nbsp;@ <span style=\"color: #000000;\">00</span>,<span style=\"color: #000000;\">90</span> &nbsp;<span style=\"color: #0000ff;\">SAY</span> otitu1 <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\" MAESTRO PROFESIONALES MEDICOS \"</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg4 COLORS RGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">12</span>, <span style=\"color: #000000;\">135</span>, <span style=\"color: #000000;\">27</span><span style=\"color: #000000;\">&#41;</span> &nbsp; <span style=\"color: #0000ff;\">FONT</span> oFont1<br /><br />&nbsp; &nbsp; &nbsp;@ <span style=\"color: #000000;\">018</span>,<span style=\"color: #000000;\">103</span> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #ff0000;\">\"Seleccione\"</span> &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">80</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg4 &nbsp;<span style=\"color: #0000ff;\">RIGHT</span> &nbsp;<span style=\"color: #0000ff;\">FONT</span> oFont2<br />&nbsp; &nbsp; &nbsp;@ <span style=\"color: #000000;\">018</span>,<span style=\"color: #000000;\">190</span> <span style=\"color: #0000ff;\">ComboBox</span> oPro <span style=\"color: #0000ff;\">Var</span> nPro <span style=\"color: #0000ff;\">Items</span> ArrTranspose<span style=\"color: #000000;\">&#40;</span>aProfe<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">70</span>,<span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg4 &nbsp;COLORS RGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">55</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">153</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; <span style=\"color: #0000ff;\">FONT</span> oFont5;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#40;</span>cPro:=ArrTranspose<span style=\"color: #000000;\">&#40;</span>aProfe<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span>oPro:<span style=\"color: #000000;\">nAt</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #00C800;\">IF</span><span style=\"color: #000000;\">&#40;</span>!Filtra_Conve<span style=\"color: #000000;\">&#40;</span>cPro<span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">&#40;</span>MsgStop<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"TODO BIEN\"</span><span style=\"color: #000000;\">&#41;</span>,oBrw2:<span style=\"color: #000000;\">Setfocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,.F.<span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">&#40;</span>oBrw2:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,oBrw2:<span style=\"color: #000000;\">Setfocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, .T.<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><br />&nbsp; &nbsp; &nbsp;@ <span style=\"color: #000000;\">45</span>,<span style=\"color: #000000;\">60</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrw2 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">-10</span>,<span style=\"color: #000000;\">-35</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg4 DATASOURCE <span style=\"color: #ff0000;\">\"Profe\"</span> <span style=\"color: #0000ff;\">FONT</span> oFont6;<br />&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; HEADERS <span style=\"color: #ff0000;\">'Código'</span>,<span style=\"color: #ff0000;\">'Nombre Profesional'</span>,<span style=\"color: #ff0000;\">'Espe.'</span>,<span style=\"color: #ff0000;\">'R.u.t.'</span>,<span style=\"color: #ff0000;\">'Estado'</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; COLUMNS <span style=\"color: #ff0000;\">'Cod_Pro'</span>,<span style=\"color: #ff0000;\">'Nom_Pro'</span>,<span style=\"color: #ff0000;\">'Tip_Esp'</span>,<span style=\"color: #ff0000;\">'Rut_Pro'</span>,<span style=\"color: #ff0000;\">'Est_Pro'</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PICTURES <span style=\"color: #ff0000;\">\"@!\"</span>,<span style=\"color: #ff0000;\">\"@!\"</span>,<span style=\"color: #ff0000;\">\"@!\"</span>,<span style=\"color: #ff0000;\">\"@!\"</span>,<span style=\"color: #ff0000;\">\"@!\"</span>;<br />&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; ColSizes <span style=\"color: #000000;\">60</span>,<span style=\"color: #000000;\">180</span>,<span style=\"color: #000000;\">60</span>,<span style=\"color: #000000;\">100</span>,<span style=\"color: #000000;\">50</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AUTOSORT NOBORDER FOOTERS LINES CELL<br />&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">nMarqueeStyle</span> :=MARQSTYLE_HIGHLROW<br />&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">nColDividerStyle</span> := LINESTYLE_INSET<br />&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">nRowDividerStyle</span> := LINESTYLE_INSET<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">bClrHeader</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">&#123;</span> nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">140</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">231</span>, <span style=\"color: #000000;\">242</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 />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">nOpacity</span> &nbsp; &nbsp;:= <span style=\"color: #000000;\">230</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">nHeaderHeight</span> &nbsp; &nbsp; &nbsp;:= <span style=\"color: #000000;\">35</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">nFreeze</span> &nbsp; &nbsp; &nbsp; := <span style=\"color: #000000;\">2</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">nStretchCol</span> &nbsp; &nbsp; &nbsp; &nbsp; := STRETCHCOL_LAST<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">nStretchCol</span> &nbsp; &nbsp; &nbsp; &nbsp; := STRETCHCOL_WIDEST<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">// oBrw2:lSeekBar:= .t.</span><br />&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCol := oBrw2:<span style=\"color: #000000;\">AddCol</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCol:<span style=\"color: #000000;\">AddResource</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"#10\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCol:<span style=\"color: #000000;\">AddResource</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"#14\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCol:<span style=\"color: #000000;\">cHeader</span> = <span style=\"color: #ff0000;\">\"Agenda\"</span><br />&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCol:<span style=\"color: #000000;\">bBmpData</span> &nbsp; := <span style=\"color: #000000;\">&#123;</span> || IIF<span style=\"color: #000000;\">&#40;</span>Profe->Ate_Hor = <span style=\"color: #ff0000;\">\"S\"</span>,<span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">bClrStd</span> &nbsp;:= <span style=\"color: #000000;\">&#123;</span> || <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> Eval<span style=\"color: #000000;\">&#40;</span> oBrw2:<span style=\"color: #000000;\">bKeyNo</span>,,oBrw2<span style=\"color: #000000;\">&#41;</span> % <span style=\"color: #000000;\">2</span> == <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">&#123;</span> CLR_BLACK, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">198</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">198</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> CLR_BLACK, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">232</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">232</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> &nbsp; &nbsp;<span style=\"color: #B900B9;\">// Efecto Cebra</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">oDataFont</span> := oFont6<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">bClrStd</span> &nbsp; &nbsp; &nbsp; := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">&#123;</span> nRGB<span style=\"color: #000000;\">&#40;</span> &nbsp;<span style=\"color: #000000;\">0</span>, &nbsp;<span style=\"color: #000000;\">0</span>, &nbsp;<span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">248</span>,<span style=\"color: #000000;\">220</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">bClrSelFocus</span> &nbsp;:= <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">&#123;</span> nRGB<span style=\"color: #000000;\">&#40;</span> &nbsp;<span style=\"color: #000000;\">255</span>, &nbsp;<span style=\"color: #000000;\">255</span>, &nbsp;<span style=\"color: #000000;\">255</span><span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">102</span>, <span style=\"color: #000000;\">178</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 />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">bClrSel</span> &nbsp; &nbsp; &nbsp; := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #000000;\">&#123;</span> nRGB<span style=\"color: #000000;\">&#40;</span> &nbsp;<span style=\"color: #000000;\">0</span>, &nbsp;<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">255</span><span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">241</span>,<span style=\"color: #000000;\">222</span>,<span style=\"color: #000000;\">088</span><span style=\"color: #000000;\">&#41;</span> <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; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">lAutoSort</span> := .t.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">nFooterLines</span>:=<span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">lFooter</span> := .t.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">lHScroll</span> := .f.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">lIncrFilter</span> &nbsp; := .T.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">lSeekWild</span> &nbsp; &nbsp; := .T. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; && &nbsp;.T. Busca Contenido, .F. Que comience con lo que digita<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">SetStyle</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2018</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">nColorPen</span> := CLR_RED<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">nRowHeight</span> &nbsp; &nbsp; &nbsp; &nbsp; := <span style=\"color: #000000;\">18</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">bChange</span> := <span style=\"color: #000000;\">&#123;</span>|| oBrw2:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bClrHeader</span> := <span style=\"color: #000000;\">&#123;</span> || <span style=\"color: #000000;\">&#123;</span> CLR_HRED,CLR_WHITE <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">// Aplico Color a Una Columna</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bClrHeader</span> := <span style=\"color: #000000;\">&#123;</span> || <span style=\"color: #000000;\">&#123;</span> CLR_HRED,CLR_WHITE <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">// Aplico Color a Una Columna</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">oHeaderFont</span> := &nbsp;oFont7 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">// Aplico Font a una Columna</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">oHeaderFont</span> := &nbsp;oFont7 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">// Aplico Font a una Columna</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">oHeaderFont</span> := &nbsp;oFont7 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">// Aplico Font a una Columna</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">oHeaderFont</span> := &nbsp;oFont7 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">// Aplico Font a una Columna</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">oHeaderFont</span> := &nbsp;oFont7 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">// Aplico Font a una Columna</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">Seek</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">01</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bFooter</span> &nbsp; := <span style=\"color: #000000;\">&#123;</span> || Ltrim<span style=\"color: #000000;\">&#40;</span> Str<span style=\"color: #000000;\">&#40;</span> oBrw2:<span style=\"color: #000000;\">KeyNo</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: #ff0000;\">\" / \"</span> + LTrim<span style=\"color: #000000;\">&#40;</span> Str<span style=\"color: #000000;\">&#40;</span> oBrw2:<span style=\"color: #000000;\">KeyCount</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: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">05</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nDataStrAlign</span> := AL_CENTER<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oBrw2:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">06</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nDataStrAlign</span> := AL_CENTER<br /><br /><br />&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WITH OBJECT oBrw2<br />&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oBrw2:<span style=\"color: #000000;\">bLDblClick</span>:=<span style=\"color: #000000;\">&#123;</span>||Cambia<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,oBrw2:<span style=\"color: #0000ff;\">Update</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,oBrw2:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; END<br /><br /><br /><br />......<br /><br /><span style=\"color: #00C800;\">Static</span> <span style=\"color: #00C800;\">Function</span> Cambia<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; Sele Profe<br />&nbsp; &nbsp; &nbsp; &nbsp; Est:=<span style=\"color: #ff0000;\">\"\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; Estado:=<span style=\"color: #ff0000;\">\"\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">Do</span> <span style=\"color: #00C800;\">Case</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Case</span> Profe->Est_Pro=<span style=\"color: #ff0000;\">\"S\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; Est:=<span style=\"color: #ff0000;\">\"N\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Estado:=<span style=\"color: #ff0000;\">\"DESHABILITAR\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Case</span> Profe->Est_Pro#<span style=\"color: #ff0000;\">\"S\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; Est:=<span style=\"color: #ff0000;\">\"S\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Estado:=<span style=\"color: #ff0000;\">\"HABILITAR\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">EndCase</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">IF</span> MsgYesNo<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\" ¿ Desea \"</span>+Estado+<span style=\"color: #ff0000;\">\"?\"</span>,<span style=\"color: #ff0000;\">\"ATENCION\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">Do</span> <span style=\"color: #00C800;\">While</span> .t.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">If</span> Rlock<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Repl Est_Pro with Est<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DbCommit<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DbUnlock<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Exit<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">EndIf</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">EndDo</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">Endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">Return</span> .T.<br /><br /><br />&nbsp;</div>[/code:3np64sge]", "time": "18:52", "topic": "Actuliza Pantalla de XBrowse", "username": "remtec" } ]
Actuliza Pantalla de XBrowse
[ { "date": "2023-05-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Amigo pues según lo que entendí el xbrowse tiene el comportamiento correcto al igual que la dbf. Sugiero mostrar el estado del profesional en una columna, quitando el Set Filter to Est_Pro=\"S\"\n\n[code=fw:1sttfgyz]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oBrw2:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">02</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bStrData</span> = <span style=\"color: #000000;\">&#123;</span> || Estadoprofesional<span style=\"color: #000000;\">&#40;</span> dbf->estado<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00C800;\">function</span> Estadoprofesional<span style=\"color: #000000;\">&#40;</span> cEstd<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">Local</span> cEtd := space<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">if</span> cEstd=<span style=\"color: #ff0000;\">\"S\"</span><br />&nbsp; &nbsp;cEtd := <span style=\"color: #ff0000;\">\"activo\"</span><br /><span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp;cEtd := <span style=\"color: #ff0000;\">\"bloqueado\"</span><br /><span style=\"color: #00C800;\">endif</span><br /><span style=\"color: #00C800;\">Return</span> cEtd <br />&nbsp;</div>[/code:1sttfgyz]", "time": "18:12", "topic": "Actuliza Pantalla de XBrowse", "username": "leandro" } ]
Actuliza Pantalla de XBrowse
[ { "date": "2023-05-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Quizás te pueda ayudar si refrescas el xbrowse cada de tome el foco\n[code=fw:11td8jjs]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oBrw2:<span style=\"color: #000000;\">bGotFocus</span> := <span style=\"color: #000000;\">&#123;</span>|| oBrw2:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /> </div>[/code:11td8jjs]", "time": "10:53", "topic": "Actuliza Pantalla de XBrowse", "username": "leandro" } ]
Actuliza Pantalla de XBrowse
[ { "date": "2023-05-12", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"leandro\":11tijo02]Quizás te pueda ayudar si refrescas el xbrowse cada de tome el foco\n[code=fw:11tijo02]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oBrw2:<span style=\"color: #000000;\">bGotFocus</span> := <span style=\"color: #000000;\">&#123;</span>|| oBrw2:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /> </div>[/code:11tijo02][/quote:11tijo02]\n\nHola Amigo Leandro.\n\nMuchas gracias por responder.\n\nLo aplique pero no funciona.\n\nLa base entra con un filtro aplicado:\n\t\tSet Filter to Est_Pro=\"S\"\nAl dar doble click sobre algun registro puedo cambiar el Est_Pro S o N, si esta con S, lo cambio a N, despues de cambiar el el estado en la base, vuelve a Xbrowse y este sigue manteniendo este registro, mostrando la ahora con N, pero al hacer click sobre el xbrowse este actuliza la pantalla sacando de la lista el registro modificado.\n\nMuchas gracias.\n\nSaludos\n\nAntonio", "time": "14:27", "topic": "Actuliza Pantalla de XBrowse", "username": "remtec" } ]
Actuliza Pantalla de XBrowse
[ { "date": "2023-05-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio, no sé con qué condición tienes hecho el tema del refresh del browse ( definiendo el bChange, etc. )\nSi es asi, recuerda que la clase tiene una DATA lColChangeNotify ( por defecto en .F. ), que llama al bChange definido ( que habitualmente solo es ejecutado cuando cambias de posicion en el browse ), al detectar que se ha modificado un valor en una columna\nAprovecho para indicarte por si lo necesitas ( quizás no en este caso ), que tienes el metodo RefreshCurrent que solo refresca la fila en la que te encuentras, no siendo necesario hacer el refresh de todo el browse ( que en el caso que describes si será necesario evidentemente )", "time": "15:13", "topic": "Actuliza Pantalla de XBrowse", "username": "cnavarro" } ]
Actuliza Pantalla de XBrowse
[ { "date": "2023-05-15", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"cnavarro\":2u9p7rne]Antonio, no sé con qué condición tienes hecho el tema del refresh del browse ( definiendo el bChange, etc. )\nSi es asi, recuerda que la clase tiene una DATA lColChangeNotify ( por defecto en .F. ), que llama al bChange definido ( que habitualmente solo es ejecutado cuando cambias de posicion en el browse ), al detectar que se ha modificado un valor en una columna\nAprovecho para indicarte por si lo necesitas ( quizás no en este caso ), que tienes el metodo RefreshCurrent que solo refresca la fila en la que te encuentras, no siendo necesario hacer el refresh de todo el browse ( que en el caso que describes si será necesario evidentemente )[/quote:2u9p7rne]\n\nHola Cristobal.\n\nMuchas gracias por responder.\n\nComo lo muestro en el codigo de arriba, tengo un xbrowse, que entra con un filtro de todos los registros que tienen estado \"S\", ademas de cuenta con un combobox que puede seleccionar otras condiciones como todos los registro o los con estado \"N\".\n\nEn el xbrowse, tengo esta opcion que al dar click en la fila, esta manda a una rutina que puede cambiar el estado de ese registro en la DBF, que esta con el Set Filter, al volver, ese registro que se modifico su estado, debiera desaparecer de la lista al volver, pero esto no se realiza visualmente, mientras no me posecione en la pantalla o haga algun click.\n\nMuchas gracias.\n\nSaludos.\nAntonio\n\n\nCodigo de donde mando a realizar el cambio:\n[code=fw:2u9p7rne]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WITH OBJECT oBrw2<br />&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oBrw2:<span style=\"color: #000000;\">bLDblClick</span>:=<span style=\"color: #000000;\">&#123;</span>||Cambia<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,oBrw2:<span style=\"color: #000000;\">RefreshCurrent</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#125;</span> &nbsp; <span style=\"color: #B900B9;\">// <-----</span><br /><br />&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; END<br /><br />........<br />........<br /><span style=\"color: #00C800;\">Static</span> <span style=\"color: #00C800;\">Function</span> Filtra_Conve<span style=\"color: #000000;\">&#40;</span>cPro2<span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; Sele Profe<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">Do</span> <span style=\"color: #00C800;\">Case</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">Case</span> cPro2=<span style=\"color: #ff0000;\">\"T\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Set Filter <span style=\"color: #0000ff;\">to</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">Case</span> cPro2=<span style=\"color: #ff0000;\">\"S\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Set Filter <span style=\"color: #0000ff;\">to</span> Est_Pro=<span style=\"color: #ff0000;\">\"S\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">Case</span> cPro2=<span style=\"color: #ff0000;\">\"N\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Set Filter <span style=\"color: #0000ff;\">to</span> Est_Pro#<span style=\"color: #ff0000;\">\"S\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">EndCase</span><br />&nbsp; &nbsp; &nbsp; &nbsp; Go Top<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">Return</span> .t.<br /><br /><span style=\"color: #00C800;\">Static</span> <span style=\"color: #00C800;\">Function</span> Cambia<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; Sele Profe<br />&nbsp; &nbsp; &nbsp; &nbsp; Est:=<span style=\"color: #ff0000;\">\"\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; Estado:=<span style=\"color: #ff0000;\">\"\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">Do</span> <span style=\"color: #00C800;\">Case</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Case</span> Profe->Est_Pro=<span style=\"color: #ff0000;\">\"S\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; Est:=<span style=\"color: #ff0000;\">\"N\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Estado:=<span style=\"color: #ff0000;\">\"DESHABILITAR\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Case</span> Profe->Est_Pro#<span style=\"color: #ff0000;\">\"S\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; Est:=<span style=\"color: #ff0000;\">\"S\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Estado:=<span style=\"color: #ff0000;\">\"HABILITAR\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">EndCase</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">IF</span> MsgYesNo<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\" ¿ Desea \"</span>+Estado+<span style=\"color: #ff0000;\">\"?\"</span>,<span style=\"color: #ff0000;\">\"ATENCION\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">Do</span> <span style=\"color: #00C800;\">While</span> .t.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">If</span> Rlock<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Repl Est_Pro with Est<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DbCommit<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DbUnlock<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Exit<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">EndIf</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">EndDo</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">Endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">Return</span> .T.<br /><br /><br /><br />&nbsp;</div>[/code:2u9p7rne]", "time": "15:02", "topic": "Actuliza Pantalla de XBrowse", "username": "remtec" } ]
Actuliza Pantalla de XBrowse
[ { "date": "2023-05-15", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"leandro\":1ke6l2wf]Amigo pues según lo que entendí el xbrowse tiene el comportamiento correcto al igual que la dbf. Sugiero mostrar el estado del profesional en una columna, quitando el Set Filter to Est_Pro=\"S\"\n\n[code=fw:1ke6l2wf]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oBrw2:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">02</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bStrData</span> = <span style=\"color: #000000;\">&#123;</span> || Estadoprofesional<span style=\"color: #000000;\">&#40;</span> dbf->estado<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00C800;\">function</span> Estadoprofesional<span style=\"color: #000000;\">&#40;</span> cEstd<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">Local</span> cEtd := space<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">if</span> cEstd=<span style=\"color: #ff0000;\">\"S\"</span><br />   cEtd := <span style=\"color: #ff0000;\">\"activo\"</span><br /><span style=\"color: #00C800;\">else</span><br />   cEtd := <span style=\"color: #ff0000;\">\"bloqueado\"</span><br /><span style=\"color: #00C800;\">endif</span><br /><span style=\"color: #00C800;\">Return</span> cEtd <br /> </div>[/code:1ke6l2wf][/quote:1ke6l2wf]\n\nHola Leandro.\n\nMuchas gracias por responder.\n\nTengo la solicitud que el usuario pueda seleccionar en el combobox el estado de los profesionales que desea visualizar, en la columna 05 se muestra el estado de cada registro, en el Combo esta la opcion de Todos, Activos y Desactivados (\"S\",\"N\",\"T\"), motivo por lo cual debo usar un set filter, claro a menos que exista otra opcion que no sepa.\n\nMuchas gracias.\n\nSaludos\n\nAntonio.", "time": "15:08", "topic": "Actuliza Pantalla de XBrowse", "username": "remtec" } ]
Actuliza Pantalla de XBrowse
[ { "date": "2009-06-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Buenas tardes,\n\nDebo completar un formulario en una Web. en dicho formulario se avanza entre los campos con TAB.\n\nComo tiene veinte campos y los datos los tengo en mi aplicación, normalmente los voy copiando al potapapeles y pasando de a uno. Esto resulta tedioso y estoy buscando el modo de \"extraer\" los datos de mi aplicación y para ello se me ocurrió copiarlos al clipboard así \n\n[code=fw:13zhewxx]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#define</span> tab chr<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">9</span><span style=\"color: #000000;\">&#41;</span><br /><br />... <span style=\"color: #0000ff;\">action</span> <span style=\"color: #000000;\">&#40;</span>oClp:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Campo1\"</span> + tab + <span style=\"color: #ff0000;\">\"Campo2\"</span> + tab + .....<span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:13zhewxx]\n\nEn teoría debiera funcionar pero al posicionarme en el primer campo del formulario web y darle al CTRL+V para copiar, copia todos los datos en el primer campo y no en todos los campos del formulario como pretendo.\n\nCalculo que se debe a que el clipboard en FW sólo admite texto y no caracteres de control.\n\n¿Hay alguna forma de hacerlo?\n\nGracias.\n\nRolando <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "21:21", "topic": "Acutocompletar formulario WEB con clipboard", "username": "rolando" } ]
Acutocompletar formulario WEB con clipboard
[ { "date": "2021-01-09", "forum": "FiveWin para Harbour/xHarbour", "text": "busca por DISPLAY3", "time": "14:16", "topic": "Adaptación del tamaño de los diálogos", "username": "MGA" } ]
Adaptación del tamaño de los diálogos
[ { "date": "2021-01-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Buenos días,\n\n¿Hay alguna forma de adaptar automáticamente el tamaño de los diálogos definidos en recursos a la resolución de pantalla?\n\nDe esta forma, en resoluciones de pantalla altas se verían automáticamente ajustados a un tamaño más grande.\n\nMuchas gracias y feliz 2021", "time": "13:22", "topic": "Adaptación del tamaño de los diálogos", "username": "mgsoft" } ]
Adaptación del tamaño de los diálogos
[ { "date": "2021-01-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola, el equipo de FW creo que está trabajado en eso.\nSería una gran solución, hace tiempo la estoy esperando.\n\nSaludos", "time": "18:30", "topic": "Adaptación del tamaño de los diálogos", "username": "D.Fernandez" } ]
Adaptación del tamaño de los diálogos
[ { "date": "2021-01-09", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"D.Fernandez\":22slfss3]Hola, el equipo de FW creo que está trabajado en eso.\nSería una gran solución, hace tiempo la estoy esperando.\n\nSaludos[/quote:22slfss3]\n\n+ 1\n\nSalu2", "time": "19:50", "topic": "Adaptación del tamaño de los diálogos", "username": "karinha" } ]
Adaptación del tamaño de los diálogos
[ { "date": "2015-10-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi All,\n\nI'd like to know if anyone using SAP ASE in [x]Harbour + FiveWin?\n\nI am interested because my company will acquire SAP ECC and one of the option is using ASE as the database.\n\nKind regards,\nFrances", "time": "01:56", "topic": "Adaptive Server Ent.", "username": "fraxzi" } ]
Adaptive Server Ent.
[ { "date": "2015-10-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Anyone?", "time": "04:02", "topic": "Adaptive Server Ent.", "username": "fraxzi" } ]
Adaptive Server Ent.
[ { "date": "2015-10-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Frances,\n\nGive a look to adordd.\nYou can work with it as any other rdd and/or with sql directly.\n\nThere isnt any support for ASE although it supports other engines (Access, MySql, MsSql, etc).\nIf you see any interest and you have con strings, field types,how autoincrement works it should be pretty easy to include in adordd support for it.\n\nJust an idea.", "time": "12:55", "topic": "Adaptive Server Ent.", "username": "AHF" } ]
Adaptive Server Ent.
[ { "date": "2015-11-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Antonio,\n\nThanks! I will look into it.\n\nKind regards,\nFrances", "time": "06:30", "topic": "Adaptive Server Ent.", "username": "fraxzi" } ]
Adaptive Server Ent.
[ { "date": "2019-06-08", "forum": "FiveWin for Harbour/xHarbour", "text": "How can I add 10minutes to a datetime() value?\nIf I do datetime()+1, it add 1 day.", "time": "11:47", "topic": "Add 10 minutes to datetime()", "username": "Marc Vanzegbroeck" } ]
Add 10 minutes to datetime()
[ { "date": "2019-06-08", "forum": "FiveWin for Harbour/xHarbour", "text": "[code=fw:1s7usxpd]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />t := datetime<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />t2 := t + <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">10</span>/<span style=\"color: #000000;\">24</span>/<span style=\"color: #000000;\">60</span> <span style=\"color: #000000;\">&#41;</span><br />? t,t2<br />&nbsp;</div>[/code:1s7usxpd]", "time": "12:10", "topic": "Add 10 minutes to datetime()", "username": "nageswaragunupudi" } ]
Add 10 minutes to datetime()
[ { "date": "2019-06-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank you.\nIt's working fine.", "time": "12:20", "topic": "Add 10 minutes to datetime()", "username": "Marc Vanzegbroeck" } ]
Add 10 minutes to datetime()
[ { "date": "2015-04-06", "forum": "FiveWin for Harbour/xHarbour", "text": "To All\n\nHow to I add Color to the Group Frame .. I can add color to the text .. but how can I make the frame stand out by defining it ( lets say ) White ?? \n\nI am also using the XPManifest if that makes any difference.\n\nHere is my Group Code:\n[code=fw:1yt78444]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> <span style=\"color: #0000ff;\">REDEFINE</span> GROUP oGrp1 <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">of</span> oGrps<br />             oGrp1:<span style=\"color: #000000;\">SetFont</span><span style=\"color: #000000;\">&#40;</span> oFontB <span style=\"color: #000000;\">&#41;</span><br />             oGrp1:<span style=\"color: #000000;\">nClrText</span> := nRgb<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">7</span>,<span style=\"color: #000000;\">7</span>,<span style=\"color: #000000;\">224</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// blue</span><br /> </div>[/code:1yt78444]\n[img:1yt78444]http&#58;//i62&#46;tinypic&#46;com/30jmxki&#46;jpg[/img:1yt78444]\n\nThanks\nRick Lipkin", "time": "23:11", "topic": "Add Color to a Group Frame", "username": "Rick Lipkin" } ]
Add Color to a Group Frame
[ { "date": "2015-04-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Rick,\n\nhave a look at < TESTGROU.prg > in sample-folder.\nI think it will answer You question.\n\n( my first time after 2 weeks in hospital, visiting the forum )\n\n[img:1atvswwx]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Group1&#46;jpg[/img:1atvswwx]\n\nbest regards\nUwe <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->", "time": "10:33", "topic": "Add Color to a Group Frame", "username": "ukoenig" } ]
Add Color to a Group Frame
[ { "date": "2015-04-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Uwe,\n\n[quote=\"ukoenig\":1p5vnwfj]( my first time after 2 weeks in hospital, visiting the forum )[/quote:1p5vnwfj]\n\nHope you have had a good recovery!\n\nEMG", "time": "10:49", "topic": "Add Color to a Group Frame", "username": "Enrico Maria Giordano" } ]
Add Color to a Group Frame
[ { "date": "2015-04-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Uwe\n\nUnfortunately, I could not seem to adapt the code .. I made this change( added nClrPane ) , but the frame remained the same color with no change from my picture above <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> \n\nHope you are feeling better !\n\nRick Lipkin\n[code=fw:32jg7az9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> <span style=\"color: #0000ff;\">REDEFINE</span> GROUP oGrp1 <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">of</span> oGrps<br />             oGrp1:<span style=\"color: #000000;\">SetFont</span><span style=\"color: #000000;\">&#40;</span> oFontB <span style=\"color: #000000;\">&#41;</span><br />             oGrp1:<span style=\"color: #000000;\">nClrText</span> := nRgb<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">7</span>,<span style=\"color: #000000;\">7</span>,<span style=\"color: #000000;\">224</span> <span style=\"color: #000000;\">&#41;</span>     <span style=\"color: #B900B9;\">// blue</span><br />             oGrp1:<span style=\"color: #000000;\">nClrPane</span> := nRgb<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// white</span><br /> </div>[/code:32jg7az9]\n\nps .. I am also using SetDlgGradient(), which automatically sets the TransParent logical.", "time": "14:17", "topic": "Add Color to a Group Frame", "username": "Rick Lipkin" } ]
Add Color to a Group Frame
[ { "date": "2015-04-07", "forum": "FiveWin for Harbour/xHarbour", "text": "To All\n\nHere is the sample code .. please note that the Group Frame is all washed out and I have not been able to find the right combination to add color to the frame .. This only seems to occur with the XpManifest linked in .. \n\nRick Lipkin\n\n[code=fw:3j1wy0hr]<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 /><br />Func Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">local</span> oDlg,oGrp1,oGrp2,oFontB<br /><br />oFontB  := TFont<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Ms Sans Serif\"</span>,,<span style=\"color: #000000;\">-6</span>,.F.,.T. ,,,,.F. <span style=\"color: #000000;\">&#41;</span><br />SetDlgGradient<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">0.01</span>,<span style=\"color: #000000;\">9408399</span>,<span style=\"color: #000000;\">14671839</span> <span style=\"color: #000000;\">&#125;</span>,<span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">0.01</span>,<span style=\"color: #000000;\">14671839</span>,<span style=\"color: #000000;\">9408399</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span>   <span style=\"color: #B900B9;\">// light grey</span><br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">300</span>, <span style=\"color: #000000;\">300</span><br /><br />   @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> GROUP oGrp1 <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">4</span>, <span style=\"color: #000000;\">12</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"First\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br />          oGrp1:<span style=\"color: #000000;\">SetFont</span><span style=\"color: #000000;\">&#40;</span> oFontB <span style=\"color: #000000;\">&#41;</span><br />          oGrp1:<span style=\"color: #000000;\">nClrText</span> := nRgb<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">7</span>,<span style=\"color: #000000;\">7</span>,<span style=\"color: #000000;\">224</span> <span style=\"color: #000000;\">&#41;</span>     <span style=\"color: #B900B9;\">// blue</span><br />          oGrp1:<span style=\"color: #000000;\">nClrPane</span> := nRgb<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// white</span><br /><br /><br />   @ <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">1</span> GROUP oGrp2 <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">8</span>, <span style=\"color: #000000;\">12</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Second\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br />          oGrp2:<span style=\"color: #000000;\">SetFont</span><span style=\"color: #000000;\">&#40;</span> oFontB <span style=\"color: #000000;\">&#41;</span><br />          oGrp2:<span style=\"color: #000000;\">nClrText</span> := nRgb<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// white</span><br />          oGrp2:<span style=\"color: #000000;\">nClrPane</span> := nRgb<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// white</span><br /><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: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">FONT</span> oFontB<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><br /> </div>[/code:3j1wy0hr]\n\nWindowsXP.Manifest\n[code=fw:3j1wy0hr]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><?xml version=<span style=\"color: #ff0000;\">\"1.0\"</span> encoding=<span style=\"color: #ff0000;\">\"UTF-8\"</span> standalone=<span style=\"color: #ff0000;\">\"yes\"</span>?><br /><assembly xmlns=<span style=\"color: #ff0000;\">\"urn:schemas-microsoft-com:asm.v1\"</span> manifestVersion=<span style=\"color: #ff0000;\">\"1.0\"</span>><br /><assemblyIdentity<br />    version=<span style=\"color: #ff0000;\">\"1.0.0.0\"</span><br />    processorArchitecture=<span style=\"color: #ff0000;\">\"X86\"</span><br />    <span style=\"color: #0000ff;\">name</span>=<span style=\"color: #ff0000;\">\"FiveTech Software.FiveWin.32bits\"</span><br />    type=<span style=\"color: #ff0000;\">\"win32\"</span><br />/><br /><description>Your application description here.</description><br /><dependency><br />    <dependentAssembly><br />        <assemblyIdentity<br />            type=<span style=\"color: #ff0000;\">\"win32\"</span><br />            <span style=\"color: #0000ff;\">name</span>=<span style=\"color: #ff0000;\">\"Microsoft.Windows.Common-Controls\"</span><br />            version=<span style=\"color: #ff0000;\">\"6.0.0.0\"</span><br />            processorArchitecture=<span style=\"color: #ff0000;\">\"X86\"</span><br />            publicKeyToken=<span style=\"color: #ff0000;\">\"6595b64144ccf1df\"</span><br />            language=<span style=\"color: #ff0000;\">\"*\"</span><br />        /><br />    </dependentAssembly><br /></dependency><br /></assembly><br /> </div>[/code:3j1wy0hr]\n\nXpLook.Rc\n[code=fw:3j1wy0hr]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">// Add this to your resources RC file</span><br /><br />#ifdef __FLAT__<br />   <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">24</span> <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\W</span>indowsXP.Manifest\"</span><br />#endif<br /> </div>[/code:3j1wy0hr]", "time": "18:49", "topic": "Add Color to a Group Frame", "username": "Rick Lipkin" } ]
Add Color to a Group Frame
[ { "date": "2015-04-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Rick,\n\nPlease move these lines to the ON INIT clause of the dialog:\n\nACTIVATE DIALOG oDlg ;\nON INIT ( oGrp1:SetFont( oFontB ), oGrp1:nClrText := nRgb( 7,7,224 ), oGrp1:nClrPane := nRgb( 255,255,255 ) )\n\nBetter if you use Method SetColor():\n\nACTIVATE DIALOG oDlg ;\nON INIT ( oGrp1:SetFont( oFontB ), oGrp1:SetColor( nRgb( 7,7,224 ), nRgb( 255,255,255 ) ) )", "time": "19:14", "topic": "Add Color to a Group Frame", "username": "Antonio Linares" } ]
Add Color to a Group Frame
[ { "date": "2015-04-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Uwe,\n\nGlad to know you are fine <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "19:14", "topic": "Add Color to a Group Frame", "username": "Antonio Linares" } ]
Add Color to a Group Frame
[ { "date": "2015-04-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio\n\nI removed the oGrp1 lines and added your second INIT line to my above example .. and the frame stayed the same color .. only the text changed Blue on White <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( -->\n\nAgain, this behavior seems to only happen with the XpManifest.\n\nRick Lipkin\n\n[img:2hpqfgox]http&#58;//i62&#46;tinypic&#46;com/fmrric&#46;jpg[/img:2hpqfgox]", "time": "20:12", "topic": "Add Color to a Group Frame", "username": "Rick Lipkin" } ]
Add Color to a Group Frame
[ { "date": "2015-04-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Rick,\n\nSurely with the manifest we are not allowed to change its color", "time": "20:13", "topic": "Add Color to a Group Frame", "username": "Antonio Linares" } ]
Add Color to a Group Frame