messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2009-08-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Aqui teneis un ejemplo de plantilla a usar para la documentación de clases en el wiki:\n[url:s716rnii]http&#58;//wiki&#46;fivetechsoft&#46;com/doku&#46;php?id=fivewin_clase_tacctable[/url:s716rnii]\n\nEste es el formato usado:\n[code=fw:s716rnii]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />====== Clase TAccTable ======<br /><br />Clase tabla de Aceleradores<br /><br />====== DATOS ======<br /><br />|nHandle|manejador de la tabla de aceleradores |<br />|aItems|Un array que contiene un array por cada acelerador |<br /><br />====== METODOS ======<br /><br />|New|Crea una nueva tabla de aceleradores |<br />|Activate|Establece esta tabla de aceleradores como la activa |<br />|Add|Añade un nuevo elemento acelerador  |<br />|DeActivate|Desactiva esta tabla de aceleradores |<br />|Del|Borra un acelerador |<br />|End|Destruye la tabla de aceleradores y la desactiva en caso de estar en uso |<br /><br />====== ejemplo ======<br />FWH\\source\\classes\\<span style=\"color: #0000ff;\">menuitem</span>.prg<br /><code clipper><br />      <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">oMenu</span>:<span style=\"color: #000000;\">oAccTable</span> == <span style=\"color: #00C800;\">nil</span><br />         ::<span style=\"color: #000000;\">oMenu</span>:<span style=\"color: #000000;\">oAccTable</span> = TAccTable<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: #000000;\">&#41;</span><br />      <span style=\"color: #00C800;\">endif</span><br />      ::<span style=\"color: #000000;\">oMenu</span>:<span style=\"color: #000000;\">oAccTable</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> nVirtKey, nVKState, ::<span style=\"color: #000000;\">nId</span> <span style=\"color: #000000;\">&#41;</span><br /></code><br /><br />====== código fuente ======<br />FWH\\source\\classes\\tacctbl.prg<br /><br />====== ver también ======<br /><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">&#91;</span>fivewin_clase_tmenuitem|Class TMenuItem<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#93;</span><br /> </div>[/code:s716rnii]", "time": "14:19", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "Antonio Linares" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2009-08-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio,\n\n¿ Existe una forma de subir varias definiciones en forma masiva ? ¿ Por ejemplo en varios archivos txt ? y despues agregarlos al indice\n\n\nAtte.,\n\nLautaro", "time": "14:29", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "Lautaro" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2009-08-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Lautaro,\n\nNo, que yo sepa. Solo copiar y pegar, todo el contenido en una página.\n\nDe todas formas, estamos usando dokuwiki para el wiki de FiveTech, y a lo mejor buscando en google aparezca una forma de hacerlo masivamente.", "time": "14:34", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "Antonio Linares" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2009-08-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Ok,\n\nBuscaremos. <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: --> \n\nAtte.,\n\nLautaro", "time": "14:44", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "Lautaro" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2009-08-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Contenidos del wiki:\n\n* 773 funciones en español (y no está actualizado a la versión FWH 9.07)\n* 149 Classes (igualmente, no está actualizado a la versión más reciente)\n\n<!-- m --><a class=\"postlink\" href=\"http://wiki.fivetechsoft.com\">http://wiki.fivetechsoft.com</a><!-- m -->", "time": "18:47", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "Antonio Linares" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2009-08-22", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Antonio,\nEstas son las clases que he puesto en la wiki, saludos...\n\nticon\ntini\ntradio\ntradmenu\ntras\nTRColumn\ntSay\nTTimer\nturllink\nttrayicon", "time": "04:57", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "pablovidal" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2009-08-22", "forum": "FiveWin para Harbour/xHarbour", "text": "Pablo,\n\nMuchas gracias <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nTe enviamos un FWH 9.07", "time": "09:08", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "Antonio Linares" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2009-08-22", "forum": "FiveWin para Harbour/xHarbour", "text": "Sip...", "time": "18:46", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "pablovidal" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2009-08-22", "forum": "FiveWin para Harbour/xHarbour", "text": "Pablo,\n\nDebes haberlo recibido ya <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "18:49", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "Antonio Linares" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2009-08-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio, enviamela a pabloalbertovidal arroba gmail punto com", "time": "03:27", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "pablovidal" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2009-08-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Pablo,\n\nEnviada <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "08:23", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "Antonio Linares" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2009-08-26", "forum": "FiveWin para Harbour/xHarbour", "text": "A todos los que han ayudado en el wiki y eligieron FWH:\n\nLa versión que estamos entregando, y que es la que se anunció aqui, es la 9.07.\n\nSi quereis conseguir la 9.08, entonces vuestra ayuda en el wiki es nuevamente bienvenida, gracias <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "07:55", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "Antonio Linares" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2009-08-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Por favor, al describir los comandos siempre poned una líneas al final\npara asi enlazar con la clase asociada. Gracias! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\n====== Ver también ======\n[[fivewin_clase_tnombre|Class TNombre]]\n\nDe igual forma en las clases podemos especificar el enlace a su descripción de comandos:\n\n====== Ver también ======\n[[fivewin_comandos_nombre|Comandos Nombre]]", "time": "19:19", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "Antonio Linares" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2009-08-27", "forum": "FiveWin para Harbour/xHarbour", "text": "En este momento el wiki ha avanzado mucho y necesitamos ayuda para completar y mejorar lo que ya hay. La idea es disponer de la mejor documentación de FWH en el wiki, disponible online.\n\nLa oferta de las 20 funciones ya no es válida, puesto que ahora es la cantidad de trabajo y el esfuerzo lo que realmente necesitamos y lo que valoraremos (de alguna forma) <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "10:10", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "Antonio Linares" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2009-08-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Bueno, dada la cantidad de solicitudes, hacemos una nueva oferta:\n\n10 Classes de FWH completadas y bien documentadas en el wiki: <!-- m --><a class=\"postlink\" href=\"http://wiki.fivetechsoft.com\">http://wiki.fivetechsoft.com</a><!-- m -->\n\ny obteneis el nuevo FWH 9.08 <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\ngracias!", "time": "13:09", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "Antonio Linares" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2009-09-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio,\n\nBuena oferta, felicidades! <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: --> \n\nPor cierto... esto no tiene carácter retroactivo verdad? jajajaja <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: --> \n\nEspero poder seguir colaborando!\n\nSaludos!", "time": "16:04", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "triumvirato" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2009-09-17", "forum": "FiveWin para Harbour/xHarbour", "text": "David,\n\nAun queda mucho trabajo por hacer en el wiki, asi que si estás interesado, envíanos un email y te daremos acceso de escritura al wiki <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\ngracias!", "time": "18:07", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "Antonio Linares" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2009-09-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio,\n\nTengo acceso al wiki desde hace mucho, de hecho llegué introduciendo comandos hasta la letra \"D\" en su día (ahora muchos ya están actualizados y otros he podido comprobar que han perdido el formato no sé por qué motivo) y pretendo seguir haciéndolo \"altruistamente\" como hasta ahora. Tan sólo quería felicitarte por esta iniciativa, pues en su día comprobé que poca ayuda recibía el wiki y ahora ha recibido un empujoncito, que espero que pueda ir yendo a más.\n\nA ver si esta (con perdón pero ando de los nervios) p... crisis me deja algo de tiempo para empezar-seguir con mi desarrollo.\n\nMuchas Gracias Antonio.", "time": "18:12", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "triumvirato" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2009-09-17", "forum": "FiveWin para Harbour/xHarbour", "text": "David,\n\nNo lo recordaba, discúlpame <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEn el historico de cambios de cada página del wiki puede verse cuando se ha modificado y por quien.\n\nGracias por tu ayuda, y por la de todos, y ojalá consigamos tener un estupendo wiki realmente útil <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "21:44", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "Antonio Linares" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2011-01-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Buenos días Antonio.\n\n¿El wiki se abandonó o sigue actualizándose?.\nUn saludo. Fernando", "time": "13:30", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "fergonm" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2012-05-09", "forum": "FiveWin para Harbour/xHarbour", "text": "El wiki sigue actualizandose constantemente <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nToda nuestra documentación esta online (en la nube) ahora <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "10:36", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "Antonio Linares" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2012-05-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Y tambien sigue en pie nuestra oferta de que quien ayude en él, recibe una actualización gratuita <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "10:48", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "Antonio Linares" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2014-01-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola. Aunque sea un hilo antiguo se me ha ocurrido una historia. He visto que la wiki está hecha con DokuWiki. Existen plugins que se pueden instalar y exportan toda la web o parte de ella a un PDF o un ODT (dw2pdf plugin, pdfbook Plugin, etc...). Podría ser un primer paso para hacer algo que se pueda imprimir sin tanto trabajo de prepararlo. Si la documentación que viene con FW ya está obsoleta, podría sustituirse con estos ficheros en PDF, uno para FWH en inglés, otro para FWH español, ...\n\nUn saludo.", "time": "01:20", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "informaticaeloy" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2014-01-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Eloy,\n\nY no es más sencillo consultar el wiki directamente online ? <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "11:30", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "Antonio Linares" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2014-01-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Antonio, si es mejor, e incluso puedes copiar y pegar, pero soy el único informático del mundo que no tiene ADSL en casa <!-- s:oops: --><img src=\"{SMILIES_PATH}/icon_redface.gif\" alt=\":oops:\" title=\"Embarassed\" /><!-- s:oops: --> , jeje. Era también no por tema consulta, sino por que cuando alguien empiece con FW o una versión nueva como yo, me centré en leer la ayuda que viene en la propia instalación, y te desanimas al ver que hay cosas que no funcionan y el manual es de 2006. Tal vez sería mejor eliminar esa ayuda y poner que la información actualizada no es esa sino que está en la wiki. No se, por unificar y eliminar lo antiguo. Un saludo.", "time": "11:39", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "informaticaeloy" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2014-01-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Eloy, \n\nTienes razon, esa documentacion en fichero esta obsoleta y no debieramos distribuirla, sino apuntar directamente al wiki\n\ngracias por la sugerencia <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "16:51", "topic": "Ayuda a completar el wiki y gana un FWH 9.07 !!!", "username": "Antonio Linares" } ]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
[ { "date": "2006-05-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Estimados, \n\nEstoy queriendo ver si esta funcion me dan una idea de optimizacion,\nyo no tengo la facilidad que tienen otros de optimizar ya que no\nconozco bien el lenguaje. alguien podría darme una mano.\nQue quede claro algo, esta funcion no está completamente terminada\nvan a ver que hay variables declaradas pero aun no las uso.\nlo que me interesa es ver si lo que esta dentro del DO WHILE se puede optimizar.\n\n[code:1kvlstlh]FUNCTION STATUS&#40;&#41;\n\n LOCAL cRespuesta &#58;= \"\"\n\n LOCAL nItem &#58;= 1\n LOCAL cSurtidor &#58;= Space&#40; 02 &#41;\n LOCAL nSurtidor &#58;= 1\n LOCAL nManguera &#58;= 1\n LOCAL alCambio &#58;= Array&#40; Len&#40; aEstados &#41; &#41;\n\n AFill&#40; alCambio, &#46;f&#46; &#41;\n\n oTimer&#58;deactivate&#40;&#41;\n\n\n DBSelectArea&#40; \"CARGAS\" &#41;\n\n CARGAS->&#40; DBGoTop&#40;&#41; &#41;\n nItem&#58;= 1\n\n DO WHILE !eof&#40;&#41;\n IF cSurtidor != CARGAS->SURTIDOR\n nItem &#58;= 1\n cSurtidor &#58;= CARGAS->SURTIDOR\n ENDIF\n\n IF &#40; aEstados&#91; Val&#40; CARGAS-> SURTIDOR &#41; &#93;&#91; nItem &#93;!= CARGAS->ULT_ST &#41;\n alCambio&#91; Val&#40; CARGAS->SURTIDOR &#41; &#93;&#58;= &#46;T&#46;\n ENDIF\n\n aEstados&#91; Val&#40; CARGAS-> SURTIDOR &#41; &#93;&#91; nItem &#93; &#58;= CARGAS->ULT_ST\n\n nItem++\n\n CARGAS->&#40; DBSkip&#40;&#41; &#41;\n ENDDO\n\n cRespuesta&#58;= AllTrim&#40; cRespuesta &#41;\n grabarlogdbf&#40; 99, cRespuesta &#41;\n\n oTimer&#58;activate&#40;&#41;\n\n RETURN &#40; cRespuesta &#41;[/code:1kvlstlh]\n\nGracias.", "time": "01:46", "topic": "Ayuda a optimizar...", "username": "goosfancito" } ]
Ayuda a optimizar...
[ { "date": "2017-02-22", "forum": "FiveWin para Harbour/xHarbour", "text": "Buenos días/tardes/noches:\n\nCon mucha ayuda de los artículos del foro sobre webservices, he podido consumir los webservices de un software de terceros en la empresa que trabajo, hasta ahí, todo un éxito.\n\nLo hago así:\n\n[code=fw:2he9wvsr]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> WSInac2 <span style=\"color: #B900B9;\">//Entrada Desosado</span><br />       <span style=\"color: #00C800;\">LOCAL</span> cXml, cErrorMsg, http, doc, cRespWS, cfecha<br /><br />       cfecha := <span style=\"color: #ff0000;\">'20/02/2017'</span><br /><br />       <span style=\"color: #B900B9;\">// objeto http</span><br />       <span style=\"color: #00C800;\">try</span><br />             http:=createobject<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Microsoft.XMLHTTP\"</span><span style=\"color: #000000;\">&#41;</span><br />       catch    <br />             <span style=\"color: #00C800;\">try</span><br />                    http:=createobject<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Microsoft.XMLHTTP\"</span><span style=\"color: #000000;\">&#41;</span><br />             catch<br />                    Alert<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Error en la creacion del objeto Microsoft.XMLHTTP : \"</span> + Ole2TxtError<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />                    <span style=\"color: #00C800;\">return</span> .F.<br />             end<br />       end<br /><br />       <span style=\"color: #B900B9;\">//Objeto XML</span><br />       <span style=\"color: #00C800;\">try</span><br />             doc := CreateObject<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"MSXML2.DOMDocument\"</span> <span style=\"color: #000000;\">&#41;</span><br />       catch<br />             <span style=\"color: #00C800;\">try</span><br />                    doc := CreateObject<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"MSXML2.DOMDocument\"</span> <span style=\"color: #000000;\">&#41;</span><br />             catch<br />                    Alert<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Error en la creacion del objeto MSXML2.DOMDocument : \"</span> + Ole2TxtError<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />             end<br />             <span style=\"color: #00C800;\">RETURN</span> .F.<br />       end<br /><br /><br />       <span style=\"color: #B900B9;\">//XML con la consulta</span><br />       cXml:=<span style=\"color: #ff0000;\">''</span><br />       cXml+= <span style=\"color: #ff0000;\">'<?xml version=\"1.0\" encoding=\"utf-8\"?>'</span> + CRLF<br />       cXml+= <span style=\"color: #ff0000;\">'<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">'</span> + CRLF<br />       cXml+= <span style=\"color: #ff0000;\">'<soap:Body>'</span> + CRLF<br />       cXml+= <span style=\"color: #ff0000;\">'<Desosado xmlns=\"http://gateway/inacapi/salidas\">'</span> + CRLF<br />       cXml+= <span style=\"color: #ff0000;\">'<Fecha>'</span> + cfecha + <span style=\"color: #ff0000;\">'</Fecha>'</span> + CRLF<br />       cXml+= <span style=\"color: #ff0000;\">'</Desosado>'</span> + CRLF<br />       cXml+= <span style=\"color: #ff0000;\">'</soap:Body>'</span> + CRLF<br />       cXml+= <span style=\"color: #ff0000;\">'</soap:Envelope>'</span><br />    <br />       http:<span style=\"color: #000000;\">Open</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"POST\"</span> , <span style=\"color: #ff0000;\">\"http://un_server_local/inacapi/salidas.asmx\"</span> , .F. <span style=\"color: #000000;\">&#41;</span>   <span style=\"color: #B900B9;\">//llamas al URL donde se aloja el servicio Web y usas el método que necesitas</span><br />       http:<span style=\"color: #000000;\">SetRequestHeader</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Content-Type\"</span> ,<span style=\"color: #ff0000;\">\"text/xml; charset=utf-8\"</span><span style=\"color: #000000;\">&#41;</span><br />       http:<span style=\"color: #000000;\">SetRequestHeader</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"SOAPAction\"</span> , <span style=\"color: #ff0000;\">\"http://gateway/inacapi/salidas/Desosado\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//ejecutas acción</span><br />        http:<span style=\"color: #000000;\">SetRequestHeader</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Connection:\"</span>, <span style=\"color: #ff0000;\">\"Keep-Alive\"</span> <span style=\"color: #000000;\">&#41;</span><br />        http:<span style=\"color: #000000;\">SetRequestHeader</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Content-length: \"</span>, Str<span style=\"color: #000000;\">&#40;</span> Len<span style=\"color: #000000;\">&#40;</span> cXml <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />       doc:<span style=\"color: #000000;\">LoadXML</span><span style=\"color: #000000;\">&#40;</span> cXml <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// Carga el documento xml</span><br />       <span style=\"color: #00C800;\">IF</span> doc:<span style=\"color: #000000;\">parseError</span>:<span style=\"color: #000000;\">errorCode</span> = <span style=\"color: #000000;\">0</span><br />             ?<span style=\"color: #ff0000;\">'Documento xml cargado sin problemas'</span><br />       <span style=\"color: #00C800;\">ELSE</span><br />             cErrorMsg = <span style=\"color: #ff0000;\">\"No fue posible cargar documento pues este no corresponde a su Schema\"</span><br />             cErrorMsg = cErrorMsg + <span style=\"color: #ff0000;\">\" Linea: \"</span> + STR<span style=\"color: #000000;\">&#40;</span>xmldom:<span style=\"color: #000000;\">parseError</span>:<span style=\"color: #000000;\">line</span><span style=\"color: #000000;\">&#41;</span><br />             cErrorMsg = cErrorMsg + <span style=\"color: #ff0000;\">\" Caracter en linea: \"</span> + STR<span style=\"color: #000000;\">&#40;</span>xmldom:<span style=\"color: #000000;\">parseError</span>:<span style=\"color: #000000;\">linepos</span><span style=\"color: #000000;\">&#41;</span><br />             cErrorMsg = cErrorMsg + <span style=\"color: #ff0000;\">\" Causa del error: \"</span> + xmldom:<span style=\"color: #000000;\">parseError</span>:<span style=\"color: #000000;\">reason</span>+<span style=\"color: #ff0000;\">\" Codigo: \"</span>+STR<span style=\"color: #000000;\">&#40;</span>xmldom:<span style=\"color: #000000;\">parseError</span>:<span style=\"color: #000000;\">errorCode</span><span style=\"color: #000000;\">&#41;</span><br />             <span style=\"color: #0000ff;\">msginfo</span><span style=\"color: #000000;\">&#40;</span>cErrorMsg<span style=\"color: #000000;\">&#41;</span><br />       <span style=\"color: #00C800;\">ENDIF</span><br /><br />       <span style=\"color: #00C800;\">TRY</span><br />             http:<span style=\"color: #000000;\">send</span><span style=\"color: #000000;\">&#40;</span> doc:<span style=\"color: #000000;\">xml</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// Lo envio al WS</span><br />       CATCH<br />             cErrorMsg:=<span style=\"color: #ff0000;\">\"No Se Pudo Enviar Documento XML...\"</span>+ CRLF +<span style=\"color: #ff0000;\">\"no fue posible conectar\"</span><br />             <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span>cErrorMsg,<span style=\"color: #ff0000;\">\"Intente Nuevamente\"</span><span style=\"color: #000000;\">&#41;</span><br />             <span style=\"color: #00C800;\">return</span> .f.<br />       END<br />    <br />       <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Xml Enviado!!\"</span> <span style=\"color: #000000;\">&#41;</span><br />    <br />       cRespWS := http:<span style=\"color: #000000;\">responseText</span><br /><br />           ? <span style=\"color: #000000;\">&#40;</span> cRespWS <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /> </div>[/code:2he9wvsr]\n\nCon esto obtengo en cRespWS la respuesta del servicio web que es otro xml \n\nNecesito pasar ahora esta variable a una dbf, he visto que xharbour tiene la clase TXmlDocument() y hay bastante información de como levanar el archivo xml y convertirlo en lo que uno quiera... el tema es que este xml no es un archivo, está en memoria en esta variable.\n\n[b:2he9wvsr][u:2he9wvsr]LA PREGUNTA ES:\n¿ Cómo convierto una variable que contiene un xml en una dbf o en su defecto como la convierto en un archivo xml en disco que luego pueda pasar a dbf con TXmlDocument() ?[/u:2he9wvsr][/b:2he9wvsr]", "time": "11:31", "topic": "Ayuda acerca de variable con un XML", "username": "jose_murugosa" } ]
Ayuda acerca de variable con un XML
[ { "date": "2017-02-22", "forum": "FiveWin para Harbour/xHarbour", "text": "José;\n\nTal vez digo una barrabasada, Que tal la función MEMOWRITE()\n\nSaludos", "time": "16:48", "topic": "Ayuda acerca de variable con un XML", "username": "Armando" } ]
Ayuda acerca de variable con un XML
[ { "date": "2017-02-22", "forum": "FiveWin para Harbour/xHarbour", "text": "mmm.... curiosamente no se me ocurrió, probaré y te cuento <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->", "time": "16:53", "topic": "Ayuda acerca de variable con un XML", "username": "jose_murugosa" } ]
Ayuda acerca de variable con un XML
[ { "date": "2017-02-22", "forum": "FiveWin para Harbour/xHarbour", "text": "[code=fw:2vm94zhg]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> FACTURA_CREA_FILE<span style=\"color: #000000;\">&#40;</span>cFileCrea,cCadenaCrea<span style=\"color: #000000;\">&#41;</span> &nbsp; <span style=\"color: #B900B9;\">//Archivo con todo y Path, &nbsp;Todo lo que va adentro</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> nMio := FCreate<span style=\"color: #000000;\">&#40;</span>cFileCrea,<span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span> &nbsp; <br />&nbsp; &nbsp; FWrite<span style=\"color: #000000;\">&#40;</span>nMio,cCadenaCrea<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; FClose<span style=\"color: #000000;\">&#40;</span>nMio<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">RETURN</span> .T.<br /><br />&nbsp;</div>[/code:2vm94zhg]\n\nCon MEMOWRITE me pone un carácter al final", "time": "18:39", "topic": "Ayuda acerca de variable con un XML", "username": "VitalJavier" } ]
Ayuda acerca de variable con un XML
[ { "date": "2017-02-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola, en primer lugar gracias a todos por la ayuda y el soporte de siempre, es un gran tesoro para los programadores.\nBueno, ambos métodos me han dado excelente resultado en guardar el archivo, pero me graban el xml como una sola línea de texto extremadamente larga... \nHay alguna clase o algo que permita convertir la variable que contiene el xml en un archivo xml con el formato correcto?\n\nGracias desde ya por vuestra ayuda e interés.", "time": "10:39", "topic": "Ayuda acerca de variable con un XML", "username": "jose_murugosa" } ]
Ayuda acerca de variable con un XML
[ { "date": "2017-02-23", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"VitalJavier\":30870yxt][code=fw:30870yxt]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> FACTURA_CREA_FILE<span style=\"color: #000000;\">&#40;</span>cFileCrea,cCadenaCrea<span style=\"color: #000000;\">&#41;</span>   <span style=\"color: #B900B9;\">//Archivo con todo y Path,  Todo lo que va adentro</span><br />    <span style=\"color: #00C800;\">LOCAL</span> nMio := FCreate<span style=\"color: #000000;\">&#40;</span>cFileCrea,<span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span>   <br />    FWrite<span style=\"color: #000000;\">&#40;</span>nMio,cCadenaCrea<span style=\"color: #000000;\">&#41;</span><br />    FClose<span style=\"color: #000000;\">&#40;</span>nMio<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">RETURN</span> .T.<br /><br /> </div>[/code:30870yxt]\n\nCon MEMOWRITE me pone un carácter al final[/quote:30870yxt]\n\nEn lugar de MemoWrite usa HB_MemoWrit(), no escribe el caracter EOF del final.\n\nCosillas del Harbour que no las pone por ningún lado y nos ahorra código... <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->", "time": "12:44", "topic": "Ayuda acerca de variable con un XML", "username": "Carlos Mora" } ]
Ayuda acerca de variable con un XML
[ { "date": "2017-02-23", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"jose_murugosa\":32ywl9ov]Hola, en primer lugar gracias a todos por la ayuda y el soporte de siempre, es un gran tesoro para los programadores.\nBueno, ambos métodos me han dado excelente resultado en guardar el archivo, pero me graban el xml como una sola línea de texto extremadamente larga... \nHay alguna clase o algo que permita convertir la variable que contiene el xml en un archivo xml con el formato correcto?\n\nGracias desde ya por vuestra ayuda e interés.[/quote:32ywl9ov]\nDefine \"formato correcto\". Porque si es una respuesta y el servicio funciona bien el resultado debe ser correcto. Creo que no estás dando suficientes pistas de que resultado quieres obtener, es dificil saber como darte ideas. Tienes un XML, ya lo escribes en un archivo, ¿Para que lo quieres ahí?\n\nEn un prinicpio lo querias transformar a dbf, por lo que si tienes un campo memo, haces directamente\n[code=fw:32ywl9ov]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> Field->Memo := cRespWS</div>[/code:32ywl9ov]\nEl memo soporta CRLF, EOF, etc. (si se usa FTP)", "time": "12:50", "topic": "Ayuda acerca de variable con un XML", "username": "Carlos Mora" } ]
Ayuda acerca de variable con un XML
[ { "date": "2017-02-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Carlos, gracias por tu comentario.\nYo opino igual, es la primera vez que trabajo con webservices y esperaba un xml perfecto, sin embargo el xml no tiene los CRLF, por lo que aparece como una tira larga de caracteres.\nVeo los datos y están bien, pero el tema es que aparecen uno a continuación del otro sin los CRLF de cada línea ni indentaciones ni nada.\nLa verdad no me doy cuenta porque sucede esto.", "time": "15:30", "topic": "Ayuda acerca de variable con un XML", "username": "jose_murugosa" } ]
Ayuda acerca de variable con un XML
[ { "date": "2017-03-03", "forum": "FiveWin para Harbour/xHarbour", "text": "Bueno, había dejado este hilo sin cerrar....\n\nQuisiera agradecer a todos los que me ayudaron y dieron sugerencias.\n\nGRACIAS !!!!\n\nLuego de agregar los CRLF faltantes del xml mediante Strtran( cxml, '><', ( '>'+CRLF+'<' ) ) todo anduvo sobre ruedas.\n\ninteresante función hb_memowrit <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) --> .\n\nEl tema ha quedado resuelto no sin vuestra ayuda por cierto, gracias nuevamente por todo el tiempo que dedican a ayudar y enseñar. <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "10:49", "topic": "Ayuda acerca de variable con un XML", "username": "jose_murugosa" } ]
Ayuda acerca de variable con un XML
[ { "date": "2007-01-23", "forum": "FiveWin para CA-Clipper", "text": "Hola Amigos:\n\nTengo un programa que permite generar una cotización, para lo que me actualizan lo datos por pantalla, luego de grabar, debo imprimir la cotización, uso el Preview para permitir ver en pantalla, seleccionar la impresora. El problema es que la pantalla del Preview desaparece, quedando solo en la barra de abajo, y solo me muestra la pantalla de ingreso de datos. Necesito que la pantalla de impresion quede activa y visible.\n\nAsi uso en comando:\n\nPrint oPrint From User Preview\n\nEn espera de su ayuda, les saluda,\n\nMiguel Rivera", "time": "20:44", "topic": "Ayuda al IMPRIMIR.", "username": "Miguel Rivera" } ]
Ayuda al IMPRIMIR.
[ { "date": "2007-01-23", "forum": "FiveWin para CA-Clipper", "text": "Miguel,\n\nPor favor prueba samples\\TestPrn2.prg y observa si se comporta igual que en tu programa", "time": "22:57", "topic": "Ayuda al IMPRIMIR.", "username": "Antonio Linares" } ]
Ayuda al IMPRIMIR.
[ { "date": "2007-01-24", "forum": "FiveWin para CA-Clipper", "text": "Miguel prueba esto...\n\ncambia esto:\n\nPrint oPrint From User Preview \n\nPor\n\n\n\nPrint oPrint From User Preview MODAL", "time": "15:30", "topic": "Ayuda al IMPRIMIR.", "username": "Armando Picon" } ]
Ayuda al IMPRIMIR.
[ { "date": "2015-02-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Compañeros nuevamente su ayuda por favor, estoy compilando utilizando el test.mak, que viene en el FWH64\\MAKES\\VS2010_MAKE.ZIP, pero me lanza este error.\n\n[b:3v4hk9sk]NMAKE : fatal error U1077: 'link' : código devuelto '0x470'[/b:3v4hk9sk]\n\nGenera bien los .obj, los .c, pero ya no me genera el .exe por causa del error anterior.\n\nSi puedieran ayudarme por favor, tengo el tiempo limitado para entregar mi aplicación.\n\nGracias.\n\n\nFWH64 14.12, Harbour 3.2 a 64 bits", "time": "19:28", "topic": "Ayuda al compilar", "username": "Yessica" } ]
Ayuda al compilar
[ { "date": "2015-02-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Usas Visual Studio?\n\n[url:1uvwfsdr]http&#58;//qt-project&#46;org/forums/viewthread/5362[/url:1uvwfsdr]\n\nSaludos.", "time": "19:59", "topic": "Ayuda al compilar", "username": "karinha" } ]
Ayuda al compilar
[ { "date": "2015-02-18", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"karinha\":318xrgzl]Usas Visual Studio?\n\n[url:318xrgzl]http&#58;//qt-project&#46;org/forums/viewthread/5362[/url:318xrgzl]\n\nSaludos.[/quote:318xrgzl]\n\n\nHola Kari gracias por contestarme, no uso visual studio, es fivewin 64 para harbour 3.2, utilizando el pelles C para mis recursos.\n\nAgradecería tu ayuda.", "time": "20:13", "topic": "Ayuda al compilar", "username": "Yessica" } ]
Ayuda al compilar
[ { "date": "2015-02-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Talvez:\n\n[url:ygm7r8qv]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=3&t=29907&p=170068&hilit=nmake#p170068[/url:ygm7r8qv]\n\n[url:ygm7r8qv]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=6&t=28959&p=163012&hilit=nmake#p163012[/url:ygm7r8qv]\n\nSaludos.", "time": "20:20", "topic": "Ayuda al compilar", "username": "karinha" } ]
Ayuda al compilar
[ { "date": "2013-10-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Estoy buscando un ejemplo de uso de __TracePrgCalls( .T. ) pues como se comenta en la documentación:\n\n[quote:d0dkavw1] * Once the tracing decribed below is turned on, you can call this\n * in a PRG to trace PRG-level function calls:\n * \n * __TRACEPRGCALLS( <lOnOff> ) --> <lOldValue>\n * \n * It turns on|off tracing of PRG-level function and method calls.\n * The symbol name is written just before it's called.\n * This is very useful when debugging GPFs as it\n * will trace all PRG-level calls up until the crash.\n * Uses HB_TRACE so traces are in line with any C-level traces.[/quote:d0dkavw1]\n\nAlguien lo usa ? gracias\n\nEntiendo que esto puede ayudar a muchos cuando a alguien le aparece un GPF <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "11:11", "topic": "Ayuda ante un GPF", "username": "Antonio Linares" } ]
Ayuda ante un GPF
[ { "date": "2013-10-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Mira se ayuda maestro,\n\n<!-- m --><a class=\"postlink\" href=\"https://groups.google.com/forum/#!msg/harbour-devel/pTzooOHGSQw/znV9Q1nmwlwJ\">https://groups.google.com/forum/#!msg/h ... V9Q1nmwlwJ</a><!-- m -->\n\n<!-- m --><a class=\"postlink\" href=\"http://permalink.gmane.org/gmane.comp.lang.xharbour.devel/476\">http://permalink.gmane.org/gmane.comp.l ... .devel/476</a><!-- m -->\n\n<!-- m --><a class=\"postlink\" href=\"https://code.google.com/p/visualfw/source/browse/trunk/source/visual.prg?r=6\">https://code.google.com/p/visualfw/sour ... al.prg?r=6</a><!-- m -->\n\n<!-- m --><a class=\"postlink\" href=\"http://compgroups.net/comp.lang.xharbour/documentation-from-source-code/1421146\">http://compgroups.net/comp.lang.xharbou ... de/1421146</a><!-- m -->\n\nSaludos", "time": "12:21", "topic": "Ayuda ante un GPF", "username": "karinha" } ]
Ayuda ante un GPF
[ { "date": "2013-10-25", "forum": "FiveWin para Harbour/xHarbour", "text": "<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?p=153552#p153552\">viewtopic.php?p=153552#p153552</a><!-- l -->", "time": "14:30", "topic": "Ayuda ante un GPF", "username": "Antonio Linares" } ]
Ayuda ante un GPF
[ { "date": "2006-11-28", "forum": "FiveWin para Harbour/xHarbour", "text": "Estimados Colegas\n\nAlguien tiene algun bat sencillo para compilar , enlazar varios prg\ny generar un exe con xharbour\n\ndesde ya muchas gracias\nFabian\n<!-- e --><a href=\"mailto:databaselab2002@yahoo.com.ar\">databaselab2002@yahoo.com.ar</a><!-- e -->", "time": "19:37", "topic": "Ayuda bat para compilar y enlazar varios prg", "username": "Databaselab2002" } ]
Ayuda bat para compilar y enlazar varios prg
[ { "date": "2006-11-29", "forum": "FiveWin para Harbour/xHarbour", "text": "Fabian,\n\nfwh\\makes\\bormake.zip y msmake.zip", "time": "07:47", "topic": "Ayuda bat para compilar y enlazar varios prg", "username": "Antonio Linares" } ]
Ayuda bat para compilar y enlazar varios prg
[ { "date": "2010-07-10", "forum": "FiveMac / FivePhone (iPhone, iPad)", "text": "He vuelto sobre el tema :\nla idea es la siguiente , con una func\nion le digo que columna quiero que tenga imagenes .\n[code=fw:1p8f3d0p]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> BRWSETCOLBMP <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// hTableView, nIndex, lOnOff</span><br /><span style=\"color: #000000;\">&#123;</span><br />&nbsp; &nbsp; <br />&nbsp; &nbsp; NSTableView * browse = <span style=\"color: #000000;\">&#40;</span> NSTableView * <span style=\"color: #000000;\">&#41;</span> hb_parnl<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; NSTableColumn * column = &nbsp;<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#91;</span> browse tableColumns <span style=\"color: #000000;\">&#93;</span> objectAtIndex :<span style=\"color: #000000;\"><span style=\"color: #000000;\">&#40;</span>hb_parnl</span><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: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; NSImageCell &nbsp;*imageCell&nbsp;= <span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">&#91;</span>NSImageCell alloc<span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">init</span><span style=\"color: #000000;\">&#93;</span> autorelease<span style=\"color: #000000;\">&#93;</span>;<br />&nbsp; &nbsp; <span style=\"color: #000000;\">&#91;</span>column setDataCell : <span style=\"color: #000000;\">imageCell</span> <span style=\"color: #000000;\">&#93;</span> ;&nbsp;<br /><br /><span style=\"color: #000000;\">&#125;</span><br />&nbsp;</div>[/code:1p8f3d0p]\n\nluego en el tableview le digo que carge imagenes en vez string\n[code=fw:1p8f3d0p]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />- <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">&#41;</span> tableView : <span style=\"color: #000000;\"><span style=\"color: #000000;\">&#40;</span></span> NSTableView * <span style=\"color: #000000;\">&#41;</span> aTableView objectValueForTableColumn : <span style=\"color: #000000;\"><span style=\"color: #000000;\">&#40;</span></span> NSTableColumn * <span style=\"color: #000000;\">&#41;</span> aTableColumn row : <span style=\"color: #000000;\"><span style=\"color: #000000;\">&#40;</span></span> NSInteger <span style=\"color: #000000;\">&#41;</span> rowIndex<br /><span style=\"color: #000000;\">&#123;</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> symFMH == <span style=\"color: #00C800;\">NULL</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; symFMH = hb_dynsymSymbol<span style=\"color: #000000;\">&#40;</span> hb_dynsymFindName<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"_FMH\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp;<br />&nbsp; &nbsp;hb_vmPushSymbol<span style=\"color: #000000;\">&#40;</span> symFMH <span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp;hb_vmPushNil<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp;hb_vmPushLong<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> LONG <span style=\"color: #000000;\">&#41;</span> hWnd <span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp;hb_vmPushLong<span style=\"color: #000000;\">&#40;</span> WM_BRWVALUE <span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp;hb_vmPushLong<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> LONG <span style=\"color: #000000;\">&#41;</span> aTableView <span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp;hb_vmPushLong<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> TableColumn * <span style=\"color: #000000;\">&#41;</span> aTableColumn <span style=\"color: #000000;\">&#41;</span>->id <span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp;hb_vmPushLong<span style=\"color: #000000;\">&#40;</span> rowIndex <span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp;hb_vmDo<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp;NSString * string = <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#91;</span> NSString alloc <span style=\"color: #000000;\">&#93;</span> initWithCString: <span style=\"color: #000000;\">ISCHAR</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">-1</span> <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> : <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">&#93;</span> autorelease <span style=\"color: #000000;\">&#93;</span>;<br />&nbsp; &nbsp; NSInteger * type = &nbsp;<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">&#91;</span>aTableColumn dataCell <span style=\"color: #000000;\">&#93;</span> type <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> type &nbsp;== &nbsp;NSImageCellType <span style=\"color: #000000;\">&#41;</span>&nbsp;<span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#91;</span> NSImage alloc <span style=\"color: #000000;\">&#93;</span> initWithContentsOfFile : <span style=\"color: #000000;\">string</span> &nbsp;<span style=\"color: #000000;\">&#93;</span> ; &nbsp; &nbsp; <br />&nbsp; &nbsp; <span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#91;</span> NSImage alloc <span style=\"color: #000000;\">&#93;</span> initWithContentsOfFile : <span style=\"color: #000000;\">string</span> &nbsp;<span style=\"color: #000000;\">&#93;</span> ; <br />&nbsp; &nbsp; <span style=\"color: #00C800;\">return</span> string ;<br /><span style=\"color: #000000;\">&#125;</span> &nbsp; <br />@end<br /><br />&nbsp;</div>[/code:1p8f3d0p]\n\nel problema esta en las lineas :\n[code=fw:1p8f3d0p]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />NSInteger * type = &nbsp;<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">&#91;</span>aTableColumn dataCell <span style=\"color: #000000;\">&#93;</span> type <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> type &nbsp;== &nbsp;NSImageCellType <span style=\"color: #000000;\">&#41;</span>&nbsp;<span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#91;</span> NSImage alloc <span style=\"color: #000000;\">&#93;</span> initWithContentsOfFile : <span style=\"color: #000000;\">string</span> &nbsp;<span style=\"color: #000000;\">&#93;</span> ; &nbsp; &nbsp; <br />&nbsp;</div>[/code:1p8f3d0p]\nno consiguo que me devuelva in integer para comparar .... que otras opciones tengo?", "time": "17:30", "topic": "Ayuda browse con imagenes", "username": "mastintin" } ]
Ayuda browse con imagenes
[ { "date": "2010-07-10", "forum": "FiveMac / FivePhone (iPhone, iPad)", "text": "porfin me funciona :\n[code=fw:t0n3wtt7]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />- <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">&#41;</span> tableView : <span style=\"color: #000000;\"><span style=\"color: #000000;\">&#40;</span></span> NSTableView * <span style=\"color: #000000;\">&#41;</span> aTableView objectValueForTableColumn : <span style=\"color: #000000;\"><span style=\"color: #000000;\">&#40;</span></span> NSTableColumn * <span style=\"color: #000000;\">&#41;</span> aTableColumn row : <span style=\"color: #000000;\"><span style=\"color: #000000;\">&#40;</span></span> NSInteger <span style=\"color: #000000;\">&#41;</span> rowIndex<br /><span style=\"color: #000000;\">&#123;</span><br />    <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> symFMH == <span style=\"color: #00C800;\">NULL</span> <span style=\"color: #000000;\">&#41;</span><br />      symFMH = hb_dynsymSymbol<span style=\"color: #000000;\">&#40;</span> hb_dynsymFindName<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"_FMH\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>;<br />   <br />   hb_vmPushSymbol<span style=\"color: #000000;\">&#40;</span> symFMH <span style=\"color: #000000;\">&#41;</span>;<br />   hb_vmPushNil<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>;<br />   hb_vmPushLong<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> LONG <span style=\"color: #000000;\">&#41;</span> hWnd <span style=\"color: #000000;\">&#41;</span>;<br />   hb_vmPushLong<span style=\"color: #000000;\">&#40;</span> WM_BRWVALUE <span style=\"color: #000000;\">&#41;</span>;<br />   hb_vmPushLong<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> LONG <span style=\"color: #000000;\">&#41;</span> aTableView <span style=\"color: #000000;\">&#41;</span>;<br />   hb_vmPushLong<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> TableColumn * <span style=\"color: #000000;\">&#41;</span> aTableColumn <span style=\"color: #000000;\">&#41;</span>->id <span style=\"color: #000000;\">&#41;</span>;<br />   hb_vmPushLong<span style=\"color: #000000;\">&#40;</span> rowIndex <span style=\"color: #000000;\">&#41;</span>;<br />   hb_vmDo<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#41;</span>;<br />   NSString * string = <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#91;</span> NSString alloc <span style=\"color: #000000;\">&#93;</span> initWithCString: <span style=\"color: #000000;\">ISCHAR</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">-1</span> <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> : <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">&#93;</span> autorelease <span style=\"color: #000000;\">&#93;</span>;<br />   NSCell * celda = <span style=\"color: #000000;\">&#91;</span>aTableColumn dataCell <span style=\"color: #000000;\">&#93;</span>  ;<br />    <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#91;</span>celda type <span style=\"color: #000000;\">&#93;</span> ==  <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>   <span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#91;</span> NSImage alloc <span style=\"color: #000000;\">&#93;</span> initWithContentsOfFile : <span style=\"color: #000000;\">string</span>  <span style=\"color: #000000;\">&#93;</span> ;     <br /><br />        <span style=\"color: #00C800;\">return</span> string ;<br />    <br />    <span style=\"color: #000000;\">&#125;</span>   <br /> </div>[/code:t0n3wtt7]\n\n[img:t0n3wtt7]http&#58;//img682&#46;imageshack&#46;us/img682/7749/screencaptureb&#46;png[/img:t0n3wtt7]", "time": "22:50", "topic": "Ayuda browse con imagenes", "username": "mastintin" } ]
Ayuda browse con imagenes
[ { "date": "2010-07-11", "forum": "FiveMac / FivePhone (iPhone, iPad)", "text": "Manuel,\n\nHe modificado el código así:\n[code=fw:181uj9la]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">- <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">&#41;</span> tableView : <span style=\"color: #000000;\"><span style=\"color: #000000;\">&#40;</span></span> NSTableView * <span style=\"color: #000000;\">&#41;</span> aTableView objectValueForTableColumn : <span style=\"color: #000000;\"><span style=\"color: #000000;\">&#40;</span></span> NSTableColumn * <span style=\"color: #000000;\">&#41;</span> aTableColumn row : <span style=\"color: #000000;\"><span style=\"color: #000000;\">&#40;</span></span> NSInteger <span style=\"color: #000000;\">&#41;</span> rowIndex<br /><span style=\"color: #000000;\">&#123;</span><br />&nbsp; &nbsp;NSString * string;<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> symFMH == <span style=\"color: #00C800;\">NULL</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; symFMH = hb_dynsymSymbol<span style=\"color: #000000;\">&#40;</span> hb_dynsymFindName<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"_FMH\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp;<br />&nbsp; &nbsp;hb_vmPushSymbol<span style=\"color: #000000;\">&#40;</span> symFMH <span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp;hb_vmPushNil<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp;hb_vmPushLong<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> LONG <span style=\"color: #000000;\">&#41;</span> hWnd <span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp;hb_vmPushLong<span style=\"color: #000000;\">&#40;</span> WM_BRWVALUE <span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp;hb_vmPushLong<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> LONG <span style=\"color: #000000;\">&#41;</span> aTableView <span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp;hb_vmPushLong<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> TableColumn * <span style=\"color: #000000;\">&#41;</span> aTableColumn <span style=\"color: #000000;\">&#41;</span>->id <span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp;hb_vmPushLong<span style=\"color: #000000;\">&#40;</span> rowIndex <span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp;hb_vmDo<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp;<br />&nbsp; &nbsp;string = <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#91;</span> NSString alloc <span style=\"color: #000000;\">&#93;</span> initWithCString: <span style=\"color: #000000;\">ISCHAR</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">-1</span> <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> : <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">&#93;</span> autorelease <span style=\"color: #000000;\">&#93;</span>;<br />&nbsp; &nbsp;&nbsp;<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> NSCellType <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#91;</span> aTableColumn dataCell <span style=\"color: #000000;\">&#93;</span> type <span style=\"color: #000000;\">&#93;</span> == NSImageCellType <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#91;</span> NSImage alloc <span style=\"color: #000000;\">&#93;</span> initWithContentsOfFile : <span style=\"color: #000000;\">string</span> <span style=\"color: #000000;\">&#93;</span> autorelease <span style=\"color: #000000;\">&#93;</span>; <br />&nbsp; &nbsp;<span style=\"color: #00C800;\">else</span>&nbsp;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">return</span> string;<br /><span style=\"color: #000000;\">&#125;</span> &nbsp; <br />&nbsp;</div>[/code:181uj9la]\nSolo faltaría antes de intentar crear la imagen, ver si el nombre del fichero existe pues si no da error al no encontrarlo y no poder crear la imagen. Creo recordar que publicastes el código para detectar la existencia de un fichero, ando buscándolo <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "08:13", "topic": "Ayuda browse con imagenes", "username": "Antonio Linares" } ]
Ayuda browse con imagenes
[ { "date": "2010-07-11", "forum": "FiveMac / FivePhone (iPhone, iPad)", "text": "He mirado una cosa no funciona bien porque :\n[code=fw:2q997zee]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> NSCellType <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#91;</span> aTableColumn dataCell <span style=\"color: #000000;\">&#93;</span> type <span style=\"color: #000000;\">&#93;</span> == NSImageCellType <span style=\"color: #000000;\">&#41;</span><br />      <span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#91;</span> NSImage alloc <span style=\"color: #000000;\">&#93;</span> initWithContentsOfFile : <span style=\"color: #000000;\">string</span> <span style=\"color: #000000;\">&#93;</span> autorelease <span style=\"color: #000000;\">&#93;</span>; <br /> </div>[/code:2q997zee]\n NSImageCellType tiene valor 3 y type devuelve valor 0 porque aun no tiene datos .\n\naun mejor pues sirve para mas tipos de NSCells y funciona :\n\n[code=fw:2q997zee]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br />    <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#91;</span>aTableColumn dataCell <span style=\"color: #000000;\">&#93;</span> className <span style=\"color: #000000;\">&#93;</span> isEqual : @<span style=\"color: #ff0000;\">\"NSImageCell\"</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span>   <br />        <span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#91;</span> NSImage alloc <span style=\"color: #000000;\">&#93;</span> initWithContentsOfFile : <span style=\"color: #000000;\">string</span> <span style=\"color: #000000;\">&#93;</span> autorelease <span style=\"color: #000000;\">&#93;</span>;<br /> <br /> </div>[/code:2q997zee]", "time": "09:40", "topic": "Ayuda browse con imagenes", "username": "mastintin" } ]
Ayuda browse con imagenes
[ { "date": "2010-07-11", "forum": "FiveMac / FivePhone (iPhone, iPad)", "text": "Manuel,\n\nRealmente buena tu solución ! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEs una gran satisfacción estar programando contigo en FiveMac <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\ngracias!", "time": "10:43", "topic": "Ayuda browse con imagenes", "username": "Antonio Linares" } ]
Ayuda browse con imagenes
[ { "date": "2010-07-11", "forum": "FiveMac / FivePhone (iPhone, iPad)", "text": "[quote=\"Antonio Linares\":2ufen7me]Manuel,\n\nRealmente buena tu solución ! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEs una gran satisfacción estar programando contigo en FiveMac <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\ngracias![/quote:2ufen7me]\nLa satisfación es mía al poder aportar algo a este gran proyecto .\nfaltaba el control de la existencia de imagen .... \n[code=fw:2ufen7me]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br />&nbsp;<span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#91;</span>aTableColumn dataCell <span style=\"color: #000000;\">&#93;</span> className <span style=\"color: #000000;\">&#93;</span> isEqual : @<span style=\"color: #ff0000;\">\"NSImageCell\"</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span>&nbsp; <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">&#91;</span>NSFileManager defaultManager<span style=\"color: #000000;\">&#93;</span> fileExistsAtPath: <span style=\"color: #000000;\">string</span> <span style=\"color: #000000;\">&#93;</span> &nbsp;== YES <span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#123;</span> <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#91;</span> NSImage alloc <span style=\"color: #000000;\">&#93;</span> initWithContentsOfFile : <span style=\"color: #000000;\">string</span> &nbsp;<span style=\"color: #000000;\">&#93;</span> ; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">else</span> <span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">&#40;</span><span style=\"color: #00C800;\">NULL</span><span style=\"color: #000000;\">&#41;</span> ; <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">return</span> string ;<br /><br /><br />&nbsp;</div>[/code:2ufen7me]", "time": "17:19", "topic": "Ayuda browse con imagenes", "username": "mastintin" } ]
Ayuda browse con imagenes
[ { "date": "2006-01-30", "forum": "FiveWin para CA-Clipper", "text": "Estimados Colegas\n\nComo puedo hacer para que un btnbmp, me tome el color de fondo\ndeun dialogo y no que me quede como ahora con fondo gris\nUtilizo Fivewin 2.4\n\ndesde ya muchisimas gracias\nDante\n<!-- e --><a href=\"mailto:devwin2004@yahoo.com.ar\">devwin2004@yahoo.com.ar</a><!-- e -->", "time": "02:53", "topic": "Ayuda btnbmp color de fondo", "username": "devwin2004" } ]
Ayuda btnbmp color de fondo
[ { "date": "2006-01-30", "forum": "FiveWin para Harbour/xHarbour", "text": "Estimados Colegas\n\nComo puedo hacer para que un btnbmp, me tome el color de fondo\ndeun dialogo y no que me quede como ahora con fondo gris\nUtilizo Fivewin 2.4\n\ndesde ya muchisimas gracias\nDante\n<!-- e --><a href=\"mailto:devwin2004@yahoo.com.ar\">devwin2004@yahoo.com.ar</a><!-- e -->", "time": "02:55", "topic": "Ayuda btnbmp color de fondo", "username": "devwin2004" } ]
Ayuda btnbmp color de fondo
[ { "date": "2010-09-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Estoy revisando los samples de xbrowse, pero por muchos cambios que hago no consigo editar las columnas como hacia con el tcbrowse.\nResumo, tengo varios prg que usan una function que edita las columnas, pongo un ejemplo de factura : [code=fw:2yzlnnah]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"HOJA\"</span> <span style=\"color: #0000ff;\">TITLE</span> IIF<span style=\"color: #000000;\">&#40;</span> lNuevo,<span style=\"color: #ff0000;\">\"AGREGAR\"</span> ,;<br />     oemtoansi<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"MODIFICACION / CONSULTA Factura n§ \"</span><span style=\"color: #000000;\">&#41;</span>+alltrim<span style=\"color: #000000;\">&#40;</span>transform<span style=\"color: #000000;\">&#40;</span>vnumero,<span style=\"color: #ff0000;\">\"999,999\"</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">GET</span> gvfecha   <span style=\"color: #0000ff;\">Var</span> vfecha  <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">102</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">say</span> gvnombre  <span style=\"color: #0000ff;\">Var</span> vnombre <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">114</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">say</span> gvref     <span style=\"color: #0000ff;\">Var</span> vref <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">116</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br /><br />   <span style=\"color: #0000ff;\">REDEFINE</span> BROWSE oBrwt <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">103</span> <span style=\"color: #0000ff;\">of</span> oDlg<br /><br />   oBrwT:<span style=\"color: #000000;\">bKeyChar</span>   = <span style=\"color: #000000;\">&#123;</span> | nKey, nFlags | <span style=\"color: #000000;\">&#40;</span>lineas<span style=\"color: #000000;\">&#40;</span>nkey<span style=\"color: #000000;\">&#41;</span>,oBrwt:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,ftotal<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,gvtotal:<span style=\"color: #0000ff;\">refresh</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><br />   oBrwT:<span style=\"color: #000000;\">bRClicked</span>  = <span style=\"color: #000000;\">&#123;</span>|nRow,nCol|  copypaste<span style=\"color: #000000;\">&#40;</span>nrow,ncol,oBrwT<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#125;</span><br /><br /><br />   ADD COLUMN <span style=\"color: #0000ff;\">to</span> oBrwt <span style=\"color: #00C800;\">DATA</span> <span style=\"color: #000000;\">&#40;</span>ctemporal<span style=\"color: #000000;\">&#41;</span>->cantidad  HEADER <span style=\"color: #ff0000;\">\"Ctd\"</span> <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">40</span> <span style=\"color: #0000ff;\">picture</span> <span style=\"color: #ff0000;\">\"99,999\"</span><br />   ADD COLUMN <span style=\"color: #0000ff;\">to</span> oBrwt <span style=\"color: #00C800;\">DATA</span> <span style=\"color: #000000;\">&#40;</span>ctemporal<span style=\"color: #000000;\">&#41;</span>->concepto  HEADER <span style=\"color: #ff0000;\">\"Articulo\"</span> <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">400</span><br />   ADD COLUMN <span style=\"color: #0000ff;\">to</span> oBrwt <span style=\"color: #00C800;\">DATA</span> <span style=\"color: #000000;\">&#40;</span>ctemporal<span style=\"color: #000000;\">&#41;</span>->unitario    HEADER <span style=\"color: #ff0000;\">\"Precio\"</span> <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">100</span> <span style=\"color: #0000ff;\">Picture</span> <span style=\"color: #ff0000;\">\"9,999,999.99\"</span> <span style=\"color: #0000ff;\">RIGHT</span><br />   ADD COLUMN <span style=\"color: #0000ff;\">to</span> oBrwt <span style=\"color: #00C800;\">DATA</span> <span style=\"color: #000000;\">&#40;</span>ctemporal<span style=\"color: #000000;\">&#41;</span>->importe HEADER <span style=\"color: #ff0000;\">\"Total\"</span> <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">100</span> <span style=\"color: #0000ff;\">Picture</span> <span style=\"color: #ff0000;\">\"9,999,999.99\"</span> <span style=\"color: #0000ff;\">RIGHT</span><br /><br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">get</span> gvtotal   <span style=\"color: #0000ff;\">Var</span> vtotal  <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">105</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">picture</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"9,999,999.99\"</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">when</span> lverget<br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">get</span> gvtdto    <span style=\"color: #0000ff;\">Var</span> vtdto   <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">108</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">picture</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"999.99\"</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">valid</span> ftotal<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">get</span> gvdto     <span style=\"color: #0000ff;\">Var</span> vdto    <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">109</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">picture</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"9,999,999.99\"</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">when</span> lverget<br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">get</span> gvbase    <span style=\"color: #0000ff;\">Var</span> vbase   <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">110</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">picture</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"9,999,999.99\"</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">when</span> lverget<br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">get</span> gvtiva    <span style=\"color: #0000ff;\">Var</span> vtiva   <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">111</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">picture</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"999.99\"</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">valid</span> ftotal<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">get</span> gviva     <span style=\"color: #0000ff;\">Var</span> viva    <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">112</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">picture</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"999,999.99\"</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">when</span> lverget<br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">get</span> gvttotal  <span style=\"color: #0000ff;\">Var</span> vttotal <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">104</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">picture</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"9,999,999.99\"</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">when</span> lverget<br /><br />   gvtotal:<span style=\"color: #000000;\">lDisColors</span>= .f.<br />   gvdto:<span style=\"color: #000000;\">lDiscolors</span>=.f.<br />   gvbase:<span style=\"color: #000000;\">lDiscolors</span>=.f.<br />   gvtiva:<span style=\"color: #000000;\">lDiscolors</span>=.f.<br />   gviva:<span style=\"color: #000000;\">lDiscolors</span>=.f.<br />   gvttotal:<span style=\"color: #000000;\">lDiscolors</span>=.f.<br /><br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> aBoton<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">113</span>  <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"DATOS\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg;<br />                  tooltip oemtoansi<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Datos Adicionales\"</span><span style=\"color: #000000;\">&#41;</span>;<br />                  <span style=\"color: #0000ff;\">action</span> <span style=\"color: #000000;\">&#40;</span>datosadicionales<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,gvnombre:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> aBoton<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">504</span>  <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"sumar\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg;<br />                  tooltip oemtoansi<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"A¤adir Linea\"</span><span style=\"color: #000000;\">&#41;</span>;<br />                  <span style=\"color: #0000ff;\">action</span> <span style=\"color: #000000;\">&#40;</span>lineas<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>,oBrwt:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> aBoton<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">8</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">107</span>  <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"pgup\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg;<br />                  tooltip oemtoansi<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Insertar Linea\"</span><span style=\"color: #000000;\">&#41;</span>;<br />                  <span style=\"color: #0000ff;\">action</span> <span style=\"color: #000000;\">&#40;</span>lineas<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">19</span><span style=\"color: #000000;\">&#41;</span>,oBrwt:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> aBoton<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">505</span>  <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"restar\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg;<br />                  tooltip oemtoansi<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Borar Linea\"</span><span style=\"color: #000000;\">&#41;</span>;<br />                  <span style=\"color: #0000ff;\">action</span> <span style=\"color: #000000;\">&#40;</span>lineas<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>,oBrwt:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><br />  <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> aBoton<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">506</span>  <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"cambIar\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg;<br />                  tooltip oemtoansi<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Modificar Linea\"</span><span style=\"color: #000000;\">&#41;</span>;<br />                  <span style=\"color: #0000ff;\">action</span> <span style=\"color: #000000;\">&#40;</span>lineas<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">13</span><span style=\"color: #000000;\">&#41;</span>,oBrwt:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><br />  <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> aBoton<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">7</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">106</span>  <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"TEXTO\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg;<br />                  tooltip oemtoansi<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Nuevo\"</span><span style=\"color: #000000;\">&#41;</span>;<br />                  <span style=\"color: #0000ff;\">action</span> <span style=\"color: #000000;\">&#40;</span>lineas<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">14</span><span style=\"color: #000000;\">&#41;</span>,oBrwt:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><br />  <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> aBoton<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">9</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">117</span>  <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"TARIFA\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg;<br />                  tooltip oemtoansi<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Acceso Tarifa\"</span><span style=\"color: #000000;\">&#41;</span>;<br />                  <span style=\"color: #0000ff;\">action</span> <span style=\"color: #000000;\">&#40;</span>ftarifas<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>,ftotal<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,oBrwt:<span style=\"color: #000000;\">gotop</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,oBrwt:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span></div>[/code:2yzlnnah]\n para editrar al pulsar intro [code=fw:2yzlnnah]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> vcantidad:=<span style=\"color: #000000;\">&#40;</span>ctemporal<span style=\"color: #000000;\">&#41;</span>->cantidad<br />     oBrwt:<span style=\"color: #000000;\">lEditCol</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span>,@vcantidad,<span style=\"color: #ff0000;\">\"9,999\"</span>,,<span style=\"color: #000000;\">&#41;</span><br />     <span style=\"color: #000000;\">&#40;</span>ctemporal<span style=\"color: #000000;\">&#41;</span>->cantidad:=vcantidad<br />     oBrwt: <span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />     vconcepto:=<span style=\"color: #0000ff;\">substr</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#40;</span>ctemporal<span style=\"color: #000000;\">&#41;</span>->concepto,<span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">58</span><span style=\"color: #000000;\">&#41;</span><br />     oBrwt:<span style=\"color: #000000;\">lEditCol</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span>,@vconcepto,,<span style=\"color: #000000;\">&#41;</span><br />     <span style=\"color: #000000;\">&#40;</span>ctemporal<span style=\"color: #000000;\">&#41;</span>->concepto:=vconcepto<br />     oBrwt: <span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />     vunitario:=<span style=\"color: #000000;\">&#40;</span>ctemporal<span style=\"color: #000000;\">&#41;</span>->unitario<br />     oBrwt:<span style=\"color: #000000;\">lEditCol</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">3</span>,@vunitario,<span style=\"color: #ff0000;\">\"99,999.99\"</span>,,<span style=\"color: #000000;\">&#41;</span><br />     <span style=\"color: #000000;\">&#40;</span>ctemporal<span style=\"color: #000000;\">&#41;</span>->unitario:=vunitario</div>[/code:2yzlnnah]\n\ny me gustaria hacer algo parecido, porque en otras partes del programa necesito consultar otras base de datos depende del valor, pero bueno con poder editarlo me conformaria. \nPodrias hacerme los cambios necesarios para que funcionase, ya he probado casi todo.Gracias", "time": "17:31", "topic": "Ayuda cambio de tcbrowse a xbrowse.", "username": "Garbi" } ]
Ayuda cambio de tcbrowse a xbrowse.
[ { "date": "2010-09-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Os quiero comentar, que ya he hecho pruebas como multiseleccionar lineas y copiar y pegarlas en otra factura y funciona muy bien (con xbrowse, es decir esos cambios ya se hacerlos.)\nLo que os he puesto es la funcion sin hacer ningun cambio para que me ayudeis a hacer los cambios para editar.\nGracias", "time": "17:54", "topic": "Ayuda cambio de tcbrowse a xbrowse.", "username": "Garbi" } ]
Ayuda cambio de tcbrowse a xbrowse.
[ { "date": "2010-09-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Mira este post. Quizá te sirva de guía.\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=6&t=13246&start=0\">viewtopic.php?f=6&t=13246&start=0</a><!-- l -->\nSaludos", "time": "02:06", "topic": "Ayuda cambio de tcbrowse a xbrowse.", "username": "FranciscoA" } ]
Ayuda cambio de tcbrowse a xbrowse.
[ { "date": "2014-09-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola,\n\n¿ Existe alguna forma de ponerle a una pestaña de un folder o un folderex el bitmap de la cruz roja que te permite cerrar la pestaña ?\n\nComo la que lleva el navegador firefox por ejemplo.", "time": "08:37", "topic": "Ayuda cerrar pestaña", "username": "jmartial" } ]
Ayuda cerrar pestaña
[ { "date": "2014-09-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Prueba con la data ::bBmpAction", "time": "09:25", "topic": "Ayuda cerrar pestaña", "username": "cnavarro" } ]
Ayuda cerrar pestaña
[ { "date": "2014-09-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Revisate TestFx1.prg y TestFX4.prg en los samples, creo alli tienes algo de ayuda, saludos... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->", "time": "17:08", "topic": "Ayuda cerrar pestaña", "username": "joseluisysturiz" } ]
Ayuda cerrar pestaña
[ { "date": "2007-05-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Saludes amigos del foro,\n\nGracias a la valiosa colaboracion de Fernando quien me envio las lib de adordd para xharbour compile sin problemas, pero al ejecutarse el browse no me reconoce el alias, yo tengo una BD en Mysql que se llama Personal1 y en ella una tabla que se llama maestro y el browse no la reconoce, alguna ayuda o aclaracion ?\n\nel codigo que compilo es :\n\n//===========================\nstatic function browRST()\n//===========================\n\nPublic oDlg,oBrw\n\nUSE \"Personal1\" VIA \"ADORDD\" TABLE \"MAESTRO\" MYSQL ;\n FROM \"localhost\" USER \"root\" PASSWORD \"1234\"\n\nDEFINE DIALOG oDlg FROM 1, 1 TO 25, 79\n\n@ 1, 1 LISTBOX oBrw FIELDS MAESTRO->codigo, ;\n MAESTRO->nombre, ;\n MAESTRO->salario ;\n HEADERS \"Codigo\",\"Nombre \",\"Salario\" ;\n FIELDSIZES 60,200,60 ;\n SIZE 284, 137 OF oDlg\n\n @154,08 BTNBMP LEFT PROMPT \" Agregar\" SIZE 50,19 OF oDlg FILENAME \"NEW1.BMP\" ACTION oDlg:End()\n @154,67 BTNBMP LEFT PROMPT \" Modificar\" SIZE 50,19 OF oDlg FILENAME \"CARDF00C.BMP\" ACTION oDlg:End()\n @154,125 BTNBMP LEFT PROMPT \" Borrar\" SIZE 50,19 OF oDlg FILENAME \"BORRAR1.BMP\" //ACTION BorraU(oLbx )\n @154,184 BTNBMP LEFT PROMPT \" Buscar\" SIZE 50,19 OF oDlg FILENAME \"FIND.BMP\" //ACTION BuscaU(oLbx,3,\"Color\")\n @154,242 BTNBMP LEFT PROMPT \" Salir\" SIZE 50,19 OF oDlg FILENAME \"SALIR3.BMP\" ACTION oDlg:End()\n\n ACTIVATE DIALOG oDlg CENTERED\n\n CLOSE DATABASES\n\nRETURN NIL\n\ny el error que me manda es el siguiente :\n\nApplication\n===========\n Path and name: C:\\sistemas\\RRHH_32\\personal.exe (32 bits)\n Size: 1,460,224 bytes\n Time from start: 0 hours 0 mins 6 secs \n Error occurred at: 08/05/2007, 17:24:01\n Error description: Error BASE/1002 Alias does not exist: MAESTRO\n\nStack Calls\n===========\n Called from: personal.prg => (b)BROWRST(547)\n Called from: WBROWSE.PRG => TWBROWSE:DEFAULT(0)\n Called from: WBROWSE.PRG => (b)TWBROWSE:TWBROWSE(0)\n Called from: WBROWSE.PRG => TWBROWSE:INITIATE(0)\n Called from: => __OBJSENDMSG(0)\n Called from: HARBOUR.PRG => OSEND(0)\n Called from: HARBOUR.PRG => ASEND(0)\n Called from: DIALOG.PRG => TDIALOG:INITIATE(0)\n Called from: DIALOG.PRG => TDIALOG:HANDLEEVENT(0)\n Called from: => DIALOGBOXINDIRECT(0)\n Called from: DIALOG.PRG => TDIALOG:ACTIVATE(0)\n Called from: => BROWRST(555)\n Called from: personal.prg => (b)CREAMENU(121)\n Called from: MENU.PRG => TMENU:COMMAND(0)\n Called from: WINDOW.PRG => TWINDOW:COMMAND(0)\n Called from: WINDOW.PRG => TWINDOW:HANDLEEVENT(0)\n Called from: WINDOW.PRG => _FWH(0)\n Called from: => WINRUN(0)\n Called from: WINDOW.PRG => TWINDOW:ACTIVATE(0)\n Called from: personal.prg => PRINCIPAL(74)\n\nSystem\n======\n CPU type: Intel(R) Celeron(R) M processor 1.60GHz 1600 Mhz\n Hardware memory: 447 megs\n\n Free System resources: 90 %\n GDI resources: 90 %\n User resources: 90 %\n\n Compiler version: xHarbour build 0.99.71 Intl. (SimpLex)\n Windows version: 5.1, Build 2600 Service Pack 2\n\n\nAgradezco como siempre la ayuda de todos los amigos del foro\n\n\nRamon Paredes \nManagua, Nicaragua", "time": "00:29", "topic": "Ayuda coa adordd y Mysql (Error de alias)", "username": "Ramon Paredes" } ]
Ayuda coa adordd y Mysql (Error de alias)
[ { "date": "2007-05-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Te falta especificar la claúsula ALIAS:\n\nUSE \"Personal1\" VIA \"ADORDD\" TABLE \"MAESTRO\" MYSQL ;\nFROM \"localhost\" USER \"root\" PASSWORD \"1234\" ALIAS \"MAESTRO\"", "time": "00:55", "topic": "Ayuda coa adordd y Mysql (Error de alias)", "username": "Antonio Linares" } ]
Ayuda coa adordd y Mysql (Error de alias)
[ { "date": "2010-03-14", "forum": "FiveWin para Harbour/xHarbour", "text": "Estimados Colegas\n\nEstoy tratando de asignarle otro color de fondo que no sea gris a Outlook2003\nalguien me puede orientar como hacerlo tengo la version fwh 8.05 \n\ndesde ya muchas gracias\nFabian", "time": "01:52", "topic": "Ayuda color de Fondo Outlook2003 fwh 8.05", "username": "Databaselab2002" } ]
Ayuda color de Fondo Outlook2003 fwh 8.05
[ { "date": "2010-03-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Dear Mr.Fabian,\n\n[code=fw:3kzvo3b9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">@ <nRow>, <nCol> OUTLOOK <span style=\"color: #000000;\">&#91;</span><oOut><span style=\"color: #000000;\">&#93;</span> ;  <br /> <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">SIZE</span> <nWidth>, <nHeight> <span style=\"color: #000000;\">&#93;</span> ;  <br /> <span style=\"color: #000000;\">&#91;</span> <color: <span style=\"color: #0000ff;\">COLOR</span>, COLORS> <nClrFore> <span style=\"color: #000000;\">&#91;</span>,<nClrBack><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#93;</span> ;  <br /> <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">STYLE</span> <nStyle> <span style=\"color: #000000;\">&#93;</span> ;  <br /> <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">FONT</span> <oFont> <span style=\"color: #000000;\">&#93;</span> ;  <br /> <span style=\"color: #000000;\">&#91;</span> <lPixel: <span style=\"color: #000000;\">PIXEL</span>> <span style=\"color: #000000;\">&#93;</span> ;  <br /> <span style=\"color: #000000;\">&#91;</span> <of: <span style=\"color: #0000ff;\">OF</span>, <span style=\"color: #0000ff;\">WINDOW</span>, DIALOG> <oWnd> <span style=\"color: #000000;\">&#93;</span> ;  <br /> <span style=\"color: #000000;\">&#91;</span> <help: <span style=\"color: #0000ff;\">HELP</span>, HELPID> <nHelpId> <span style=\"color: #000000;\">&#93;</span> ;  <br /> <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">RIGHT</span> <span style=\"color: #0000ff;\">CLICK</span> <uRClicked> <span style=\"color: #000000;\">&#93;</span></div>[/code:3kzvo3b9]\n\nTry\noOutLook:SetColor( nClrFore, nClrBack )\n\nSee Wiki\n[url:3kzvo3b9]http&#58;//wiki&#46;fivetechsoft&#46;com/doku&#46;php?id=fivewin_class_toutlook[/url:3kzvo3b9]\n[url:3kzvo3b9]http&#58;//wiki&#46;fivetechsoft&#46;com/doku&#46;php?id=fivewin_commands_outlook[/url:3kzvo3b9]\n\n\nRegards\nAnser", "time": "07:17", "topic": "Ayuda color de Fondo Outlook2003 fwh 8.05", "username": "anserkk" } ]
Ayuda color de Fondo Outlook2003 fwh 8.05
[ { "date": "2008-08-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Preciso de una ayuda con el codigo abajo\r\n[code:ugahka6r]\n\n#include \"FiveWin&#46;ch\"\n#include \"TSButton&#46;ch\"\n#Include \"SSay&#46;Ch\"\n#include \"Voget&#46;ch\"\n#include \"adordd&#46;ch\" \n\nREQUEST ADORDD \n\n#define adOpenForwardOnly 0 \n#define adOpenKeyset 1 \n#define adOpenDynamic 2 \n#define adOpenStatic 3 \n\n#define adLockReadOnly 1 \n#define adLockPessimistic 2 \n#define adLockOptimistic 3 \n#define adLockBatchOptimistic 4 \n\n//----------------------------------------------------------------------------//\nFunction Oper201&#40; oWnd &#41;\n\n local oClient, lAcao\n local oFont\n\n private oLbx, oDbf, txSql, oDados, Cliente, oBtn\n\n lAcao &#58;= &#46;f&#46;\n oBtn &#58;= Array&#40;10&#41;\n\n DEFINE FONT oFont NAME \"Arial\" SIZE 0, -11\n \n // Abre o banco de dados\n TRY\n oCn &#58;= CreateObject&#40; \"ADODB&#46;Connection\" &#41;\n oCn&#58;ConnectionString &#58;= \"DRIVER=&#123;Microsoft Access Driver &#40;*&#46;mdb&#41;&#125;;DBQ=bigdados&#46;mdb\"\n oCn&#58;Open&#40;&#41;\n CATCH oErr\n Alert&#40; \"Error&#58; \" + oErr &#58; Operation + \" -> \" + oErr &#58; Description &#41;\n END\n \n Data &#58;= ctod&#40; '06/03/2008' &#41;\n // Filtro para mostrar somente os DADOS que interessam\n txSql &#58;= \"SELECT tbclientes&#46;nome, tbclientes&#46;telefone, tbclientes&#46;end,\" +;\n \"tbpedido&#46;id, tbpedido&#46;hora, tbpedido&#46;Situacao, tbpedido&#46;tipo, tbpedido&#46;Data \"+;\n \"FROM tbclientes \"+;\n \"INNER JOIN tbpedido \"+;\n \"ON tbclientes&#46;id = tbpedido&#46;Cliente \" +;\n \"WHERE tbpedido&#46;Data = Data\"\n\n oDados &#58;= oCn&#58;Execute&#40; txSql &#41;\n\n DEFINE DIALOG oClient RESOURCE \"LISTA001\" FONT oFont OF oClient;\n TITLE \" Oper201 - Lista de Pedidos\" STYLE nOr&#40; DS_SYSMODAL, DS_MODALFRAME &#41;\n\n REDEFINE LISTBOX oLbx;\n FIELDS oDados&#58;Fields&#40; \"id\" &#41;&#58;Value,;\n oDados&#58;Fields&#40; \"nome\" &#41;&#58;Value,;\n oDados&#58;Fields&#40; \"telefone\" &#41;&#58;Value,;\n oDados&#58;Fields&#40; \"End\" &#41;&#58;Value,;\n oDados&#58;Fields&#40; \"data\" &#41;&#58;Value;\n HEADERS 'Id', 'Nome', 'Telefone','Endereço', 'Data';\n ON RIGHT CLICK&#40; oLbx&#58;Report&#40; \"TWBrowse report\", &#46;T&#46; &#41;,; \n oDados&#58;MoveFirst&#40;&#41; &#41; ID 100 OF oClient\n\n // Força o browse trabalhar com celulas\n oLbx&#58;lCellStyle &#58;= &#46;t&#46;\n oLbx&#58;nLineStyle &#58;= 4\n oLbx&#58;nClrBackHead &#58;= nRgb&#40; 255, 128, 64 &#41;\n oLbx&#58;nClrForeHead &#58;= nRgb&#40; 0, 0, 185 &#41;\n oLbx&#58;Refresh&#40;&#41;\n\n //--- Inicio dos Botões ---------------------------------------------------//\n\n REDEFINE SBUTTON oBtn&#91;1&#93; ID 105 OF oClient FONT oFont;\n PROMPT \"&#91;Esc&#93;\" + CRLF + \"Retorna\";\n ACTION&#40; lAcao &#58;= &#46;t&#46;, oClient&#58;End&#40;&#41; &#41; CANCEL;\n TOOLTIP \"Clique ou Tecle Esc para Retornar\";\n COLORS bTColor, bBColor;\n BORDER TEXT POSITION ON_RIGHT\n\n //--- Termino dos Botões ---------------------------------------------------//\n\n // Eventos do Teclado\n oClient&#58;bKeyDown &#58;= &#123; |nKey| IF&#40; nKey = VK_ESCAPE,&#40; lAcao &#58;= &#46;t&#46;, oClient&#58;End&#40;&#41; &#41;, nil &#41;&#125;\n\n ACTIVATE DIALOG oClient CENTER;\n ON INIT&#40; oClient&#58;lHelpIcon &#58;= &#46;f&#46;,;\n xSetFocus&#40; oLbx &#41; &#41;;\n VALID&#40; lAcao &#41;\n\n oFont&#58;End&#40;&#41;\n \n oCn&#58;Close&#40;&#41;\n\nReturn nil\n[/code:ugahka6r]\r\n\r\nLo que pasa es que no logro mostrar el contenido del QUERY en el LISTBOX, no me da error, que hago mal? \r\n\r\nGracias en adelantado,", "time": "18:11", "topic": "Ayuda com listbox usando ADORDD e comando SQL( Resolvido)", "username": "laugusto" } ]
Ayuda com listbox usando ADORDD e comando SQL( Resolvido)
[ { "date": "2008-08-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Augusto:\r\n\r\nTe sugiero que en access le asignes identificadores a las tablas que estas usando, por ejemplo:\r\n\r\n[code:12wxnu4f]\n FROM tbclientes AS A , tbpedido AS B\n\nDe tal forma que al realizar el \"INNER JOIN \" puedas hacerlo asi&#58;\n\n \"ON A&#46;id = B&#46;Cliente WHERE A&#46;data = B&#46;data\"\n\n[/code:12wxnu4f]\r\n\r\nAl Access es mejor darle todo muy detallado, no es muy estandar como otros motores de SQL.\r\n\r\nLo otro hace tu consulta mas pequeña y le vas agregando de a poco mas\r\ncompejidad hasta que te funcione como deseas.\r\n\r\nHay varias herramientas para realizar consultas previas y luego si funcionan OK, las paso a mi programa.\r\n\r\nPor ejemplo - yo utilizo ANYSQL ( funciona a la vez con varios DBMS): \r\n\r\n<!-- m --><a class=\"postlink\" href=\"http://www.sqlmaestro.com/products/anysql/maestro/\">http://www.sqlmaestro.com/products/anysql/maestro/</a><!-- m -->\r\n\r\nSaludos,", "time": "20:16", "topic": "Ayuda com listbox usando ADORDD e comando SQL( Resolvido)", "username": "jcaro" } ]
Ayuda com listbox usando ADORDD e comando SQL( Resolvido)
[ { "date": "2008-08-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias por su aporte Juan, voy probalo.\r\n\r\nSaludos desde Brasil,", "time": "20:40", "topic": "Ayuda com listbox usando ADORDD e comando SQL( Resolvido)", "username": "laugusto" } ]
Ayuda com listbox usando ADORDD e comando SQL( Resolvido)
[ { "date": "2008-08-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Buenos dias, \r\n\r\nJuan, no me mostra el contenido del query en el listbox. Si hago el SELECT en ACESS me funciona de pronto.\r\n\r\nA ver si alguem me ayuda con esto.\r\n\r\nGracias en adelantado,", "time": "13:44", "topic": "Ayuda com listbox usando ADORDD e comando SQL( Resolvido)", "username": "laugusto" } ]
Ayuda com listbox usando ADORDD e comando SQL( Resolvido)
[ { "date": "2008-08-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Luiz,\r\n\r\nNosotros no usamos ADO practicamente, salvo cuando construimos el ADORDD.\r\n\r\nSiento no poder serte de ayuda. Busca en estos foros y los usuarios más activos de ADO seguro que te podran ayudar.", "time": "13:46", "topic": "Ayuda com listbox usando ADORDD e comando SQL( Resolvido)", "username": "Antonio Linares" } ]
Ayuda com listbox usando ADORDD e comando SQL( Resolvido)
[ { "date": "2008-08-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias Maestro por contestarme. \r\n\r\nSigo peleando pero no logro exito, si alguem puder ayudarme, les agradesco.\r\n\r\nSaludos,", "time": "14:57", "topic": "Ayuda com listbox usando ADORDD e comando SQL( Resolvido)", "username": "laugusto" } ]
Ayuda com listbox usando ADORDD e comando SQL( Resolvido)
[ { "date": "2008-08-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Aqui te dejo un ejemplo que creo Enrico: , es muy explicativo y funciona bien con un listbox:\r\n\r\n\r\n#include \"Fivewin.ch\" \r\n#include \"Tcbrowse.ch\" \r\n\r\n\r\nFUNCTION MAIN() \r\n\r\n LOCAL oRs, oErr \r\n\r\n oRs = CREATEOBJECT( \"ADODB.Recordset\" ) \r\n\r\n TRY \r\n oRS:Open( \"SELECT * FROM Clienti\", \"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Clientes.mdb\", 1, 3 ) \r\n CATCH oErr \r\n ? oErr:Description \r\n RETURN NIL \r\n END TRY \r\n\r\n WBROWSERECORDSET( oRs ) \r\n TCBROWSERECORDSET( oRs ) \r\n\r\n oRs:Close() \r\n\r\n RETURN NIL \r\n\r\n\r\nSTATIC FUNCTION WBROWSERECORDSET( oRs ) \r\n\r\n LOCAL oDlg, oBrw, nRec \r\n\r\n DEFINE DIALOG oDlg SIZE 300, 300 \r\n\r\n @ 0, 0 LISTBOX oBrw FIELDS oRs:Fields( \"Cliente\" ):Value; \r\n HEADERS \"CLIENTES\"; \r\n ON RIGHT CLICK ( nRec := oRs:AbsolutePosition,; \r\n oBrw:Report( \"TWBrowse report\", .T. ),; \r\n oRs:MoveFirst(),; \r\n oRs:Move( nRec - 1 ) ) \r\n\r\n oBrw:bLogicLen = { || oRs:RecordCount } \r\n oBrw:bGoTop = { || oRs:MoveFirst() } \r\n oBrw:bGoBottom = { || oRs:MoveLast() } \r\n oBrw:bSkip = { | nSkip | Skipper( oRs, nSkip ) } \r\n oBrw:cAlias = \"ARRAY\" \r\n\r\n ACTIVATE DIALOG oDlg ON INIT oDlg:SetControl( oBrw ) CENTER \r\n\r\nRETURN NIL \r\n\r\n\r\nSTATIC FUNCTION TCBROWSERECORDSET( oRs ) \r\n\r\n LOCAL oDlg, oBrw, oCol, nRec \r\n\r\n DEFINE DIALOG oDlg SIZE 300, 300 \r\n\r\n @ 0, 0 BROWSE oBrw; \r\n ON RIGHT CLICK ( nRec := oRs:AbsolutePosition,; \r\n oBrw:Report( \"TWBrowse report\", .T. ),; \r\n oRs:MoveFirst(),; \r\n oRs:Move( nRec - 1 ) ) \r\n\r\n ADD COLUMN TO oBrw; \r\n DATA oRs:Fields( \"Cliente\" ):Value; \r\n HEADER \"CLIENTI\" \r\n\r\n oBrw:lCellStyle = .T. \r\n\r\n oBrw:bLogicLen = { || oRs:RecordCount } \r\n oBrw:bGoTop = { || oRs:MoveFirst() } \r\n oBrw:bGoBottom = { || oRs:MoveLast() } \r\n oBrw:bSkip = { | nSkip | Skipper( oRs, nSkip ) } \r\n oBrw:cAlias = \"ARRAY\" \r\n\r\n ACTIVATE DIALOG oDlg ON INIT oDlg:SetControl( oBrw ) CENTER \r\n\r\nRETURN NIL \r\n\r\n\r\nSTATIC FUNCTION SKIPPER( oRs, nSkip ) \r\n\r\n LOCAL nRec := oRs:AbsolutePosition \r\n\r\n oRs:Move( nSkip ) \r\n\r\n IF oRs:EOF; oRs:MoveLast(); ENDIF \r\n IF oRs:BOF; oRs:MoveFirst(); ENDIF \r\n\r\nRETURN ( oRs:AbsolutePosition - nRec )\r\n\r\n\r\nEspero que esto te ayude mas, Saludos", "time": "15:08", "topic": "Ayuda com listbox usando ADORDD e comando SQL( Resolvido)", "username": "jcaro" } ]
Ayuda com listbox usando ADORDD e comando SQL( Resolvido)
[ { "date": "2008-08-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias Juan por tu aporte, vou testar.\r\n\r\nSaludos,", "time": "15:15", "topic": "Ayuda com listbox usando ADORDD e comando SQL( Resolvido)", "username": "laugusto" } ]
Ayuda com listbox usando ADORDD e comando SQL( Resolvido)
[ { "date": "2021-04-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola amigos:\n\nEstoy probando el compilador MingW32 .\nTengo que generar una libreria con funciones y propias y otras que he ido recogiendo del foro, el caso es que esta funcion de mas\nabajo compila perfectamente con Borland C++ 7.4, pero en mingw32 me da el error que indico.\n[code=fw:26o5btts]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> GETDISKFREESPACE <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// cRootPathName, @nSectorsByCluster, @nBytesPerSector,</span><br />                            <span style=\"color: #B900B9;\">// @nNumberOfFreeClusters, @nTotalNumberOfClusters --> lResult</span><br /><span style=\"color: #000000;\">&#123;</span><br />   LPSTR lpRootPathName = hb_parc<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span>; <span style=\"color: #B900B9;\">// Error en esta linea</span><br />   DWORD SectorsPerCluster;<br />   DWORD BytesPerSector;<br />   DWORD NumberOfFreeClusters;<br />   DWORD TotalNumberOfClusters;<br /><br />   hb_retl<span style=\"color: #000000;\">&#40;</span> GetDiskFreeSpace<span style=\"color: #000000;\">&#40;</span> lpRootPathName, &SectorsPerCluster,<br />                              &BytesPerSector, &NumberOfFreeClusters,<br />                              &TotalNumberOfClusters <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>;<br />   hb_stornl<span style=\"color: #000000;\">&#40;</span> SectorsPerCluster, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span>;<br />   hb_stornl<span style=\"color: #000000;\">&#40;</span> BytesPerSector, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span>;<br />   hb_stornl<span style=\"color: #000000;\">&#40;</span> NumberOfFreeClusters, <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#41;</span>;<br />   hb_stornl<span style=\"color: #000000;\">&#40;</span> TotalNumberOfClusters, <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#41;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br /> </div>[/code:26o5btts]\n\n[quote:26o5btts]\nwarning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]\n \nLPSTR lpRootPathName = hb_parc( 1 );\n[/quote:26o5btts]\n\nPara los expertos en C, solicito su ayuda, me dice la inicializacion descarta el calificador const del tipo del puntero, o es lo que yo entiendo, pero no se resolverlo.\n\nMuchisimas gracias.\n\nJose.", "time": "15:42", "topic": "Ayuda compilar funcion en C mingw32(SOLUCIONADO)", "username": "jvtecheto" } ]
Ayuda compilar funcion en C mingw32(SOLUCIONADO)
[ { "date": "2021-04-20", "forum": "FiveWin para Harbour/xHarbour", "text": "[code=fw:2d9at93v]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">LPSTR lpRootPathName = <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>;</div>[/code:2d9at93v]\n\nEMG", "time": "16:10", "topic": "Ayuda compilar funcion en C mingw32(SOLUCIONADO)", "username": "Enrico Maria Giordano" } ]
Ayuda compilar funcion en C mingw32(SOLUCIONADO)
[ { "date": "2021-04-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Enrico.\n\nFunciona, compila sin error.\n\nMuchas gracias.\n\nPero... No me genera la libreria con Mingw32 32 bits.\n\nAlgun make para generar libreria con mingw32 ?\n\n¿Hay que hacer algo especial para generar la libreria con el compilador mingw32 32 bits.?\n\nEstoy utilizando FivEdit (Cristobal ), con borland c++ 7.4 me la genera sin problemas.\n\nlas librerias de harbour para mingw32 y el propio mingw32 la extension de las libs es .a\nsupongo que la extension es .lib , ya que las libs de fivewin son .lib\n\nSaludos.\n\nJose.", "time": "21:42", "topic": "Ayuda compilar funcion en C mingw32(SOLUCIONADO)", "username": "jvtecheto" } ]
Ayuda compilar funcion en C mingw32(SOLUCIONADO)
[ { "date": "2021-04-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola:\n\nSolucionado por A.Linanes en este otro post mio\n\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=6&t=40297\">viewtopic.php?f=6&t=40297</a><!-- l -->\n\nSaludos\n\nJose.", "time": "13:35", "topic": "Ayuda compilar funcion en C mingw32(SOLUCIONADO)", "username": "jvtecheto" } ]
Ayuda compilar funcion en C mingw32(SOLUCIONADO)
[ { "date": "2009-01-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Estimados colegas \n\nEstoy probando los ejemplos de adordd y en access me tira el siguiente error\n\n Error description: Error TOleAuto/-1 Unknown error: TOLEAUTO:NEW\n Args:\n [ 1] = C ADOX.Catalog\n\nStack Calls\n===========\n Called from: => THROW(0)\n Called from: win32ole.prg => TOLEAUTO:NEW(331)\n Called from: adordd.PRG => ADO_OPEN(0)\n Called from: => DBUSEAREA(0)\n Called from: access1.prg => MAIN(7)\n\n\n y en mysql\n\n\nApplication\n===========\n Path and name: C:\\ADO2241\\samples\\mysql.exe (32 bits)\n Size: 1,517,056 bytes\n Time from start: 0 hours 0 mins 0 secs \n Error occurred at: 01/06/09, 23:13:24\n Error description: Error ADODB.Connection/0 S_OK: OPEN\n Args:\n [ 1] = C DRIVER={MySQL ODBC 3.51 Driver};server=www.freesql.org;database=test00;uid=myuser;pwd=mypass\n\nStack Calls\n===========\n Called from: win32ole.prg => TOLEAUTO:OPEN(0)\n Called from: adordd.PRG => ADO_OPEN(0)\n Called from: => DBUSEAREA(0)\n Called from: mysql1.PRG => MAIN(0)\n\n\nEstoy usando FHW 8.05 y xHarbour build 1.1.0 Intl. (SimpLex) (Rev. 6095)\n\nalguien me podria orientar Gracias\nFabian", "time": "02:16", "topic": "Ayuda con Error Adordd", "username": "Databaselab2002" } ]
Ayuda con Error Adordd
[ { "date": "2020-04-01", "forum": "FiveWin para Harbour/xHarbour", "text": "Saludos al forum\n\nAlquien me puede orientar porque da este error\n\n ReadModal( ::GetList )\nuse esta instruccion pero al ejecutar me da este error\nEl Error que da es HB_ASCIIUPPER --> Error de Argumento", "time": "21:49", "topic": "Ayuda con HB_ASCIIUPPER", "username": "ruben Dario" } ]
Ayuda con HB_ASCIIUPPER
[ { "date": "2020-04-01", "forum": "FiveWin para Harbour/xHarbour", "text": "ASCIIUPPER?? Que és esto? Muestre el código siempre.\n\nSaludos.", "time": "23:31", "topic": "Ayuda con HB_ASCIIUPPER", "username": "karinha" } ]
Ayuda con HB_ASCIIUPPER
[ { "date": "2007-02-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Estimados Colegas\n\nComo puedo hacer para que cuando mando la impresion a un archivo\ncon tdosprn no me aparezcan caracteres de control en el margen superior\nizquierdo\n\nCodigo\n\ndefine _DLL_CH\n\n\n#include \"FiveWin.ch\" // Cabezera de FW\n\nFunction Textof \n\nlinecnt = 3\n\noPrn :=tDosPrn():New( \"Ped.Prn\" )\noPrn:Say( linecnt, 1 , \"1234 Linea1\")\nlinecnt = linecnt + 1\noPrn:Say( linecnt, 1, \"linea2\" )\nlinecnt = linecnt + 1\noPrn:Say( linecnt, 1, \"\" )\n\n\nalerT(\"Termino el proceso\",,\"Proceso\")\n\n\nArchivo Prn\n\nMe aparecen estos caracteres \n\u001bP\u001bW0\u001bF\u001b5\n\n\n 1234 Linea1\n linea2", "time": "03:42", "topic": "Ayuda con tdosprn", "username": "Databaselab2002" } ]
Ayuda con tdosprn
[ { "date": "2013-09-03", "forum": "FiveWin para Harbour/xHarbour", "text": "Rolando,\n\nYo probaria a hacer la operacion con Ftp.exe, con el comando Get de Ftp.exe, para descartar problemas con el programa y fijarse en el transito ftp.\nLo digo porque me da la sensacion que el error de compilacion no tenga nada que ver con el problema que tienes.\n\nAqui parece que hay una forma de bajar archivos de un ftp usando un archivo bat: <!-- m --><a class=\"postlink\" href=\"http://samuel-granados.com/blog/descarga-ftp-mejorado/\">http://samuel-granados.com/blog/descarga-ftp-mejorado/</a><!-- m -->\n\nSaludos", "time": "17:05", "topic": "Ayuda con \"C\"", "username": "Antonio Mart." } ]
Ayuda con "C"
[ { "date": "2013-09-03", "forum": "FiveWin para Harbour/xHarbour", "text": "Buen día,\n\nEstoy intentando usar un par de funciones publicadas en el blog de Biel al efecto de actualizar aplicaciones vía FTP.\n\nPor un lado pasa algo \"raro\" ya que si bajo un archivo de 2 MB, lo hace sin problemas, pero si pretendo bajar un archivo de 8 MB se bloquea la bajada cuando esta llega al 99% y se bloquea también la aplicación.\n\nLa duda está porque al compilar todo, me da un error:\n\n[code=fw:4s02c0ts]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #000000;\">2006</span>: <span style=\"color: #000000;\">Suspicious</span> pointer conversion in <span style=\"color: #00C800;\">function</span> HB_FUN_FILETIMES</div>[/code:4s02c0ts]\n\n\nCopio el código \"C\" de Biel para ver si alguien me ayuda. Gracias.\n\nRolando <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\n[code=fw:4s02c0ts]<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, <br /><br />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 /><br /><br /><br /><br /><span style=\"color: #00D7D7;\">#define</span> FA_RDONLY           <span style=\"color: #000000;\">1</span>   <span style=\"color: #B900B9;\">/* R */</span><br /><span style=\"color: #00D7D7;\">#define</span> FA_HIDDEN           <span style=\"color: #000000;\">2</span>   <span style=\"color: #B900B9;\">/* H */</span><br /><span style=\"color: #00D7D7;\">#define</span> FA_SYSTEM           <span style=\"color: #000000;\">4</span>   <span style=\"color: #B900B9;\">/* S */</span><br /><span style=\"color: #00D7D7;\">#define</span> FA_LABEL            <span style=\"color: #000000;\">8</span>   <span style=\"color: #B900B9;\">/* V */</span><br /><span style=\"color: #00D7D7;\">#define</span> FA_DIREC           <span style=\"color: #000000;\">16</span>   <span style=\"color: #B900B9;\">/* D */</span><br /><span style=\"color: #00D7D7;\">#define</span> FA_ARCH            <span style=\"color: #000000;\">32</span>   <span style=\"color: #B900B9;\">/* A */</span><br /><span style=\"color: #00D7D7;\">#define</span> FA_NORMAL           <span style=\"color: #000000;\">0</span><br /><br /><br /><br /><br /><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span>FILESIZE<span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #000000;\">&#123;</span><br />   LPCTSTR szFile;<br />   DWORD dwFlags=FILE_ATTRIBUTE_ARCHIVE;<br />   HANDLE hFind;<br />   WIN32_FIND_DATA  hFilesFind;<br />      int iAttr;<br />      <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">&#40;</span>hb_pcount<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> >=<span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#123;</span><br />         szFile=hb_parc<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>;<br />         <span style=\"color: #00C800;\">if</span> <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><span style=\"color: #000000;\">&#41;</span>      <span style=\"color: #000000;\">&#123;</span><br />            iAttr=hb_parnl<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>;<br />         <span style=\"color: #000000;\">&#125;</span><br />         <span style=\"color: #00C800;\">else</span><span style=\"color: #000000;\">&#123;</span><br />         iAttr=<span style=\"color: #000000;\">63</span>;<br />         <span style=\"color: #000000;\">&#125;</span><br />            <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> iAttr & FA_RDONLY <span style=\"color: #000000;\">&#41;</span><br />               dwFlags |= FILE_ATTRIBUTE_READONLY;<br /><br />            <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> iAttr & FA_HIDDEN <span style=\"color: #000000;\">&#41;</span><br />               dwFlags |= FILE_ATTRIBUTE_HIDDEN;<br /><br />            <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> iAttr & FA_SYSTEM <span style=\"color: #000000;\">&#41;</span><br />               dwFlags |= FILE_ATTRIBUTE_SYSTEM;<br />            <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> iAttr & FA_NORMAL <span style=\"color: #000000;\">&#41;</span><br />               dwFlags |=    FILE_ATTRIBUTE_NORMAL;<br /><br />            hFind = FindFirstFile<span style=\"color: #000000;\">&#40;</span>szFile,&hFilesFind<span style=\"color: #000000;\">&#41;</span>;<br />                  <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">&#40;</span>hFind != INVALID_HANDLE_VALUE<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#123;</span><br />                      <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">&#40;</span>dwFlags & hFilesFind.dwFileAttributes<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#123;</span><br />                         <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span>hFilesFind.nFileSizeHigh><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />                              hb_retnl<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#40;</span>hFilesFind.nFileSizeHigh*MAXDWORD<span style=\"color: #000000;\">&#41;</span>+hFilesFind.nFileSizeLow<span style=\"color: #000000;\">&#41;</span>;<br />                         <span style=\"color: #00C800;\">else</span><br />                              hb_retnl<span style=\"color: #000000;\">&#40;</span>hFilesFind.nFileSizeLow<span style=\"color: #000000;\">&#41;</span>;<br />                       <span style=\"color: #000000;\">&#125;</span><br />                   <span style=\"color: #00C800;\">else</span><br />                           hb_retnl<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">-1</span><span style=\"color: #000000;\">&#41;</span>;<br />                     <span style=\"color: #000000;\">&#125;</span><br /><br />         <span style=\"color: #000000;\">&#125;</span><br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00D7D7;\">#pragma</span> ENDDUMP</div>[/code:4s02c0ts]\n\n...", "time": "16:57", "topic": "Ayuda con \"C\"", "username": "rolando" } ]
Ayuda con "C"
[ { "date": "2013-09-03", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola,\n\nYo hice los ajustes para poder compilar con BCC, VC2010, MINGW con Harbour y xHarbour\n\n[code=fw:1dpxtezb]<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 />#ifndef __MINGW__<br /><span style=\"color: #00D7D7;\">#include</span> <mapiwin.h> &nbsp;<span style=\"color: #B900B9;\">//nmm 12/03/2013</span><br />#endif<br /><span style=\"color: #00D7D7;\">#include</span> <hbApi.h><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<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 />&nbsp; &nbsp;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 />&nbsp; &nbsp;#ifdef __XHARBOUR__<br />&nbsp; &nbsp; &nbsp; int nTime &nbsp; &nbsp; &nbsp; = <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> : &nbsp;<span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> ; <span style=\"color: #B900B9;\">// defaults to 1</span><br />&nbsp; &nbsp; #else<br />&nbsp; &nbsp; &nbsp; int nTime &nbsp; &nbsp; &nbsp; = <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> : &nbsp;<span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> ; <span style=\"color: #B900B9;\">// defaults to 1</span><br />&nbsp; &nbsp;#endif<br /><br />&nbsp; &nbsp;FILETIME ftCreate, ftAccess, ftWrite ;<br />&nbsp; &nbsp;SYSTEMTIME stTime ;<br />&nbsp; &nbsp;#ifndef __XHARBOUR__<br />&nbsp; &nbsp; <span style=\"color: #B900B9;\">// &nbsp;HB_BOOL bRet ;</span><br />&nbsp; &nbsp;#else<br />&nbsp; &nbsp; &nbsp; &nbsp;BOOL bRet ;<br />&nbsp; &nbsp; #endif<br />&nbsp; &nbsp;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 />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> ! hFile <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">return</span> ;<br /><br />&nbsp; &nbsp;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 />&nbsp; &nbsp;<span style=\"color: #00C800;\">switch</span><span style=\"color: #000000;\">&#40;</span> nTime <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">case</span> <span style=\"color: #000000;\">1</span> : <span style=\"color: #B900B9;\">// last update</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FileTimeToSystemTime<span style=\"color: #000000;\">&#40;</span> &ftWrite, &stTime <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">break</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">case</span> <span style=\"color: #000000;\">2</span> : <span style=\"color: #B900B9;\">// last access</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FileTimeToSystemTime<span style=\"color: #000000;\">&#40;</span> &ftAccess, &stTime <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">break</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">case</span> <span style=\"color: #000000;\">3</span> : <span style=\"color: #B900B9;\">// creation</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FileTimeToSystemTime<span style=\"color: #000000;\">&#40;</span> &ftCreate, &stTime <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">break</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">default</span> : <span style=\"color: #B900B9;\">// last update</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FileTimeToSystemTime<span style=\"color: #000000;\">&#40;</span> &ftWrite, &stTime <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">break</span> ;<br />&nbsp; &nbsp;<span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp;SystemTimeToTzSpecificLocalTime<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">NULL</span>, &stTime, &stTime <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp;CloseHandle<span style=\"color: #000000;\">&#40;</span> hFile <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp;hb_reta<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">&#41;</span> ;<br /><br />&nbsp; &nbsp; #ifdef __XHARBOUR__<br />&nbsp; &nbsp; &nbsp; hb_storni<span style=\"color: #000000;\">&#40;</span> stTime.wYear, &nbsp; <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; hb_storni<span style=\"color: #000000;\">&#40;</span> stTime.wMonth, &nbsp;<span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; hb_storni<span style=\"color: #000000;\">&#40;</span> stTime.wDay, &nbsp; &nbsp;<span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; hb_storni<span style=\"color: #000000;\">&#40;</span> stTime.wHour, &nbsp; <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; 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 />&nbsp; &nbsp; &nbsp; 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 />&nbsp; &nbsp; #else<br />&nbsp; &nbsp; &nbsp; hb_storvni<span style=\"color: #000000;\">&#40;</span> stTime.wYear, &nbsp; <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; hb_storvni<span style=\"color: #000000;\">&#40;</span> stTime.wMonth, &nbsp;<span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; hb_storvni<span style=\"color: #000000;\">&#40;</span> stTime.wDay, &nbsp; &nbsp;<span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; hb_storvni<span style=\"color: #000000;\">&#40;</span> stTime.wHour, &nbsp; <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; 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 />&nbsp; &nbsp; &nbsp; 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 />&nbsp; &nbsp;#endif<br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00D7D7;\">#define</span> FA_RDONLY &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">1</span> &nbsp; <span style=\"color: #B900B9;\">/* R */</span><br /><span style=\"color: #00D7D7;\">#define</span> FA_HIDDEN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">2</span> &nbsp; <span style=\"color: #B900B9;\">/* H */</span><br /><span style=\"color: #00D7D7;\">#define</span> FA_SYSTEM &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">4</span> &nbsp; <span style=\"color: #B900B9;\">/* S */</span><br /><span style=\"color: #00D7D7;\">#define</span> FA_LABEL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">8</span> &nbsp; <span style=\"color: #B900B9;\">/* V */</span><br /><span style=\"color: #00D7D7;\">#define</span> FA_DIREC &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">16</span> &nbsp; <span style=\"color: #B900B9;\">/* D */</span><br /><span style=\"color: #00D7D7;\">#define</span> FA_ARCH &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">32</span> &nbsp; <span style=\"color: #B900B9;\">/* A */</span><br /><span style=\"color: #00D7D7;\">#define</span> FA_NORMAL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">0</span><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span>FILESIZE<span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><br />&nbsp; &nbsp;LPCTSTR szFile;<br />&nbsp; &nbsp;DWORD dwFlags=FILE_ATTRIBUTE_ARCHIVE;<br />&nbsp; &nbsp;HANDLE hFind;<br />&nbsp; &nbsp;WIN32_FIND_DATA &nbsp;hFilesFind;<br />&nbsp; &nbsp; &nbsp; int iAttr;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">&#40;</span>hb_pcount<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> >=<span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;szFile=hb_parc<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#ifdef __XHARBOUR__<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> <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><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> <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><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #endif<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; iAttr=hb_parnl<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">else</span><span style=\"color: #000000;\">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;iAttr=<span style=\"color: #000000;\">63</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> iAttr & FA_RDONLY <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;dwFlags |= FILE_ATTRIBUTE_READONLY;<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> iAttr & FA_HIDDEN <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;dwFlags |= FILE_ATTRIBUTE_HIDDEN;<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> iAttr & FA_SYSTEM <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;dwFlags |= FILE_ATTRIBUTE_SYSTEM;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> iAttr & FA_NORMAL <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;dwFlags |= &nbsp; &nbsp;FILE_ATTRIBUTE_NORMAL;<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; hFind = FindFirstFile<span style=\"color: #000000;\">&#40;</span>szFile,&hFilesFind<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>hFind != INVALID_HANDLE_VALUE<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">&#40;</span>dwFlags & hFilesFind.dwFileAttributes<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span>hFilesFind.nFileSizeHigh><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; hb_retnl<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#40;</span>hFilesFind.nFileSizeHigh*MAXDWORD<span style=\"color: #000000;\">&#41;</span>+hFilesFind.nFileSizeLow<span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; hb_retnl<span style=\"color: #000000;\">&#40;</span>hFilesFind.nFileSizeLow<span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hb_retnl<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">-1</span><span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#125;</span><br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00D7D7;\">#pragma</span> ENDDUMP<br /><br />&nbsp;</div>[/code:1dpxtezb]\n\nSlds", "time": "20:27", "topic": "Ayuda con \"C\"", "username": "nnicanor" } ]
Ayuda con "C"
[ { "date": "2013-09-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias a ambos por responder.\n\nActualicé las funciones en \"C\" y quedó OK, no muestra más la advertencia.\n\nPero el problema persiste. Comento que estoy usando un servidor \"casero\" en el cual tengo instalado el FIlezilla como servidor FTP y funcionaba correctamente y ahora me doy cuenta que empezó a funcionar mal luego de las últimas actualizaciones del win server 2003 en el que está instalado. Lo raro es que usando el fillezilla cliente, subo y bajo todo tipo de archivos sin ningún tipo de problemas.\n\nProbando con el comando ftp.exe, baja bién los archivos de 2 MB pero, y aunque lo baja todo, se queda \"colgado\" y no informa que ha sido transferido si bajo un archivo de 8 MB.\n\nResumiendo: EL problema pareciera estar en el servidor FTP que es \"harina de otro costal\". \n\nGracias.\n\nRolando <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "14:01", "topic": "Ayuda con \"C\"", "username": "rolando" } ]
Ayuda con "C"
[ { "date": "2022-08-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Amigos Buen dia para todos.\n\nTengo un problema, pretendo en forma simple cargar 2 Combobox con Array, seleccionando en el primero un elemento, vaya a cargar el 2 Array, cada Array tiene Codigo y Descripcion.\nEl segundo se carga correctamente con los datos en la funcion Carga_Comuna, pero al volver no muestra los datos en el 2 combobox y arroja error.\n\nAdemas, trato de hacer busqueda incremental y solo permite digiar la primera letra.\n\nDejo Error y Codigo.\n\nMuchos saludos\n\nAntonio\n\nError:\n[code=fw:q31s9tdo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />   Compiler version: <span style=\"color: #000000;\">Harbour</span> <span style=\"color: #000000;\">3.2</span>.0dev <span style=\"color: #000000;\">&#40;</span>r2008190002<span style=\"color: #000000;\">&#41;</span><br />   FiveWin  version: <span style=\"color: #000000;\">FWH</span> <span style=\"color: #000000;\">22.03</span><br />   C compiler version: <span style=\"color: #000000;\">Borland</span>/Embarcadero C++ <span style=\"color: #000000;\">7.0</span> <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">32</span>-bit<span style=\"color: #000000;\">&#41;</span><br />   Windows version: <span style=\"color: #000000;\">5.1</span>, Build <span style=\"color: #000000;\">2600</span> Service Pack <span style=\"color: #000000;\">3</span><br /><br />   Time <span style=\"color: #0000ff;\">from</span> start: <span style=\"color: #000000;\">0</span> hours <span style=\"color: #000000;\">0</span> mins <span style=\"color: #000000;\">19</span> secs <br />   Error occurred <span style=\"color: #00C800;\">at</span>: <span style=\"color: #000000;\">12</span>/<span style=\"color: #000000;\">08</span>/<span style=\"color: #000000;\">2022</span>, <span style=\"color: #000000;\">09</span>:<span style=\"color: #000000;\">45</span>:<span style=\"color: #000000;\">22</span><br />   Error description: <span style=\"color: #000000;\">Error</span> BASE/<span style=\"color: #000000;\">1132</span>  Error de rango: <span style=\"color: #000000;\">acceso</span> al array<br />   Args:<br />     <span style=\"color: #000000;\">&#91;</span>   <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> = A   <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">296</span>,<span style=\"color: #000000;\">297</span>,<span style=\"color: #000000;\">298</span>,<span style=\"color: #000000;\">299</span>,<span style=\"color: #000000;\">300</span>,<span style=\"color: #000000;\">301</span>,<span style=\"color: #000000;\">302</span>,<span style=\"color: #000000;\">303</span>,<span style=\"color: #000000;\">304</span>,<span style=\"color: #000000;\">305</span>,<span style=\"color: #000000;\">306</span>,<span style=\"color: #000000;\">307</span>,<span style=\"color: #000000;\">308</span>,<span style=\"color: #000000;\">309</span>,<span style=\"color: #000000;\">310</span>,<span style=\"color: #000000;\">311</span>,<span style=\"color: #000000;\">312</span>,<span style=\"color: #000000;\">313</span>,<span style=\"color: #000000;\">315</span>,<span style=\"color: #000000;\">316</span>,<span style=\"color: #000000;\">317</span>,<span style=\"color: #000000;\">318</span>,<span style=\"color: #000000;\">319</span> ... <span style=\"color: #000000;\">&#125;</span> length: <span style=\"color: #000000;\">33</span><br />     <span style=\"color: #000000;\">&#91;</span>   <span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> = N   <span style=\"color: #000000;\">0</span><br /><br />Stack Calls<br />===========<br />   Called <span style=\"color: #0000ff;\">from</span>: .\\Actu_Ficha_Gene.PRG => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>ACTUA_FICHA_GRAL<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">172</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">COMBOBOX</span>.PRG => TCOMBOBOX:<span style=\"color: #0000ff;\">CHANGE</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">581</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">COMBOBOX</span>.PRG => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>TCOMBOBOX<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">160</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">COMBOBOX</span>.PRG => TCOMBOBOX:<span style=\"color: #000000;\">RESET</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">COMBOBOX</span>.PRG => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>TCOMBOBOX<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">173</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">COMBOBOX</span>.PRG => TCOMBOBOX:<span style=\"color: #000000;\">SETITEMS</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\Actu_Ficha_Gene.PRG => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>ACTUA_FICHA_GRAL<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">167</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">COMBOBOX</span>.PRG => TCOMBOBOX:<span style=\"color: #0000ff;\">CHANGE</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">581</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\CONTROL.PRG => TCONTROL:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1824</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">COMBOBOX</span>.PRG => TCOMBOBOX:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">923</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => _FWH<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">3560</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>:  => SENDMESSAGE<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">DIALOG</span>.PRG => TDIALOG:<span style=\"color: #000000;\">COMMAND</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">453</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>:  => TWINDOW:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">DIALOG</span>.PRG => TDIALOG:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1140</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>:  => DIALOGBOXINDIRECT<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">DIALOG</span>.PRG => TDIALOG:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">304</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\Actu_Ficha_Gene.PRG => ACTUA_FICHA_GRAL<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">232</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\Estetica.PRG => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span><span style=\"color: #0000ff;\">MENU</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">281</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">MENU</span>.PRG => TMENU:<span style=\"color: #000000;\">COMMAND</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1563</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => TWINDOW:<span style=\"color: #000000;\">COMMAND</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1141</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>:  => TWINDOW:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => _FWH<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">3560</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>:  => WINRUN<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => TWINDOW:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1097</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\Estetica.PRG => MAIN<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">229</span> <span style=\"color: #000000;\">&#41;</span><br /><br />System<br />======<br />   CPU type: <span style=\"color: #000000;\">Pentium</span><span style=\"color: #000000;\">&#40;</span>R<span style=\"color: #000000;\">&#41;</span> Dual-Core  CPU      E6600  @ <span style=\"color: #000000;\">3</span>.06GHz <span style=\"color: #000000;\">3058</span> Mhz<br />   Hardware memory: <span style=\"color: #000000;\">2010</span> megs<br /><br />   Free System resources: <span style=\"color: #000000;\">90</span> %<br />        GDI    resources: <span style=\"color: #000000;\">90</span> %<br />        User   resources: <span style=\"color: #000000;\">90</span> %<br /><br />   Windows total applications running: <span style=\"color: #000000;\">10</span><br />      <span style=\"color: #000000;\">1</span> ,                                                                                                     <br />      <span style=\"color: #000000;\">2</span> , C:\\WINDOWS\\WinSxS\\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6<span style=\"color: #000000;\">.0</span><span style=\"color: #000000;\">.2600</span>.6028_x-ww_61e65202<br />      <span style=\"color: #000000;\">3</span> , C:\\WINDOWS\\system32\\COMCTL32.DLL                                                                    <br />      <span style=\"color: #000000;\">4</span> , C:\\WINDOWS\\system32\\SHLWAPI.dll                                                                     <br />      <span style=\"color: #000000;\">5</span> , E:\\desa\\Estetica\\Estetica.exe                                                                       <br />      <span style=\"color: #000000;\">6</span> DDE <span style=\"color: #00C800;\">Server</span> <span style=\"color: #0000ff;\">Window</span>, C:\\WINDOWS\\system32\\OLE32.DLL                                                                       <br />      <span style=\"color: #000000;\">7</span> GDI+ <span style=\"color: #0000ff;\">Window</span>, C:\\WINDOWS\\WinSxS\\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1<span style=\"color: #000000;\">.0</span><span style=\"color: #000000;\">.6002</span>.23084_x-ww_f3f35550\\GDIPLU<br />      <span style=\"color: #000000;\">8</span> M, C:\\WINDOWS\\system32\\msctfime.ime                                                                    <br />      <span style=\"color: #000000;\">9</span> MCI command handling <span style=\"color: #0000ff;\">window</span>, C:\\WINDOWS\\system32\\WINMM.DLL                                                                       <br />     <span style=\"color: #000000;\">10</span> SysFader, C:\\WINDOWS\\system32\\SHELL32.dll                                                                     <br /><br />Variables in use<br />================<br />   Procedure     Type   Value<br />   ==========================<br />   <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>ACTUA_FICHA_GRAL<br />     Param   <span style=\"color: #000000;\">1</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">ERROR</span><br />   TCOMBOBOX:<span style=\"color: #0000ff;\">CHANGE</span><br />     Param   <span style=\"color: #000000;\">1</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TCOMBOBOX</span><br />     Param   <span style=\"color: #000000;\">2</span>:    C    <span style=\"color: #ff0000;\">\"\"</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">1</span>:    N    <span style=\"color: #000000;\">0</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">2</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">3</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">4</span>:    S    <br />   <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>TCOMBOBOX<br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">1</span>:    C    <span style=\"color: #ff0000;\">\"\"</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">2</span>:    N    <span style=\"color: #000000;\">0</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">3</span>:    U    <br />   TCOMBOBOX:<span style=\"color: #000000;\">RESET</span><br />     Param   <span style=\"color: #000000;\">1</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TCOMBOBOX</span><br />     Param   <span style=\"color: #000000;\">2</span>:    U    <br />   <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>TCOMBOBOX<br />     Param   <span style=\"color: #000000;\">1</span>:    U    <br />   TCOMBOBOX:<span style=\"color: #000000;\">SETITEMS</span><br />     Param   <span style=\"color: #000000;\">1</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TCOMBOBOX</span><br />     Param   <span style=\"color: #000000;\">2</span>:    L    .T.<br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">1</span>:    U    <br />   <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>ACTUA_FICHA_GRAL<br />     Param   <span style=\"color: #000000;\">1</span>:    L    .T.<br />   TCOMBOBOX:<span style=\"color: #0000ff;\">CHANGE</span><br />     Param   <span style=\"color: #000000;\">1</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TCOMBOBOX</span><br />     Param   <span style=\"color: #000000;\">2</span>:    C    <span style=\"color: #ff0000;\">\"SANTIAGO                      \"</span><br />   TCONTROL:<span style=\"color: #000000;\">HANDLEEVENT</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">1</span>:    C    <span style=\"color: #ff0000;\">\"SANTIAGO                      \"</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">2</span>:    N    <span style=\"color: #000000;\">46</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">3</span>:    U    <br />   TCOMBOBOX:<span style=\"color: #000000;\">HANDLEEVENT</span><br />     Param   <span style=\"color: #000000;\">1</span>:    N    <span style=\"color: #000000;\">2053</span><br />     Param   <span style=\"color: #000000;\">2</span>:    N    <span style=\"color: #000000;\">0</span><br />     Param   <span style=\"color: #000000;\">3</span>:    N    <span style=\"color: #000000;\">0</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">1</span>:    U    <br />   _FWH<br />     Param   <span style=\"color: #000000;\">1</span>:    N    <span style=\"color: #000000;\">2053</span><br />     Param   <span style=\"color: #000000;\">2</span>:    N    <span style=\"color: #000000;\">0</span><br />     Param   <span style=\"color: #000000;\">3</span>:    N    <span style=\"color: #000000;\">0</span><br />   SENDMESSAGE<br />     Param   <span style=\"color: #000000;\">1</span>:    N    <span style=\"color: #000000;\">0</span><br />     Param   <span style=\"color: #000000;\">2</span>:    N    <span style=\"color: #000000;\">2053</span><br />     Param   <span style=\"color: #000000;\">3</span>:    N    <span style=\"color: #000000;\">0</span><br />     Param   <span style=\"color: #000000;\">4</span>:    N    <span style=\"color: #000000;\">0</span><br />     Param   <span style=\"color: #000000;\">5</span>:    N    <span style=\"color: #000000;\">53</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">1</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TCOMBOBOX</span><br />   TDIALOG:<span style=\"color: #000000;\">COMMAND</span><br />     Param   <span style=\"color: #000000;\">1</span>:    N    <span style=\"color: #000000;\">69884</span><br />     Param   <span style=\"color: #000000;\">2</span>:    N    <span style=\"color: #000000;\">2053</span><br />     Param   <span style=\"color: #000000;\">3</span>:    N    <span style=\"color: #000000;\">0</span><br />     Param   <span style=\"color: #000000;\">4</span>:    N    <span style=\"color: #000000;\">0</span><br />   TWINDOW:<span style=\"color: #000000;\">HANDLEEVENT</span><br />     Param   <span style=\"color: #000000;\">1</span>:    N    <span style=\"color: #000000;\">65693</span><br />     Param   <span style=\"color: #000000;\">2</span>:    N    <span style=\"color: #000000;\">69884</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">1</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">2</span>:    N    <span style=\"color: #000000;\">1</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">3</span>:    N    <span style=\"color: #000000;\">157</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">4</span>:    N    <span style=\"color: #000000;\">69884</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">5</span>:    U    <br />   TDIALOG:<span style=\"color: #000000;\">HANDLEEVENT</span><br />     Param   <span style=\"color: #000000;\">1</span>:    N    <span style=\"color: #000000;\">273</span><br />     Param   <span style=\"color: #000000;\">2</span>:    N    <span style=\"color: #000000;\">65693</span><br />     Param   <span style=\"color: #000000;\">3</span>:    N    <span style=\"color: #000000;\">69884</span><br />   DIALOGBOXINDIRECT<br />     Param   <span style=\"color: #000000;\">1</span>:    N    <span style=\"color: #000000;\">273</span><br />     Param   <span style=\"color: #000000;\">2</span>:    N    <span style=\"color: #000000;\">65693</span><br />     Param   <span style=\"color: #000000;\">3</span>:    N    <span style=\"color: #000000;\">69884</span><br />   TDIALOG:<span style=\"color: #0000ff;\">ACTIVATE</span><br />     Param   <span style=\"color: #000000;\">1</span>:    N    <span style=\"color: #000000;\">4194304</span><br />     Param   <span style=\"color: #000000;\">2</span>:    C    <span style=\"color: #ff0000;\">\"  @    ) \u0002 \u0002 ‡\u0001\u0019\u0001         P    K   „ \f z S T A T I C     M A E S T R O   D E   P A C I E N T E S       \u0007  P       \u0016 e\u0001` { B U T T O N       \u0007  P      t e\u0001R | B U T T O N       \u0007  P      à e\u0001\u001c } B U T T O N       \u0002  P    \u000f \u000f A <br /> ~ S T A T I C   N r o .   F i c h a     \u0002  P    Ã \u000f A <br />  S T A T I C   F e c h a   d e   I n g r e s o     \u0002  P    \u000f \u001e A <br /> € S T A T I C   R . u . t .     \u0002  P    d \u001e d <br />  S T A T I C   ( E j .   9 9 9 9 9 9 9 9 - 9 )     \u0002  P    Ô \u001e 3 <br /> ‚ S T A T I C   P a s a p o r t e       \u0002  P    \u000f - A <br /> ƒ S T A T I C   N o m b r e s       \u0002  P    \u000f < A <br /> „ S T A T I C   A p e l l i d o s       \u0002  P    \u000f K A <br /> … S T A T I C   F e c h a   N a c i .       \u0002  P    ‘ K \u001e <br /> † S T A T I C   E d a d     \u0002  P    ¾ K # <br /> ‡ S T A T I C   A ñ o s     \u0002  P    \u000f Z A <br /> ˆ S T A T I C   S e x o     \u0002  P    \u000f i A <br /> ‰ S T A T I C   E s t a d o   C i v i l        P    œ i ( <br /> Š S T A T I C   H i j o s       \u0002  P    \u000f } A <br /> ‹ S T A T I C   N a c i o n a l i d a d     \u0002  P    \u000f Œ A <br /> Œ S T A T I C   D i r e c c i ó n       \u0002  P    \u000f › A <br />  S T A T I C   C i u d a d     \u0002  P    ¯ › A <br /> Ž S T A T I C   C o m u n a     \u0002  P    \u000f ª A <br />  S T A T I C   C e l u l a r   P e r s o n a l     \u0002  P    ¯ ª A <br />  S T A T I C   C e l u l a r   C o n t a c .       \u0002  P    \u000f ¹ A <br /> ‘ S T A T I C   C o r r e o   E l e c t r o n i c o     \u0002  P    \u000f Í A <br /> ’ S T A T I C   O c u p a c i ó n         \u0001P    ú Í <br /> <br /> “ T B T N B M P           €P    U \u000f - <br /> ” S T A T I C                     1       €P    \u000e\u0001\u000f 2 <br /> • S T A T I C   1 2 / 0 8 / 2 0 2 2     € P    U \u001e < <br /> – E D I T       .       .               ˆ P    \u000e\u0001\u001e P \u000b — E D I T                                       ˆ P    U - – \u000b ˜ E D I T                                                           ˆ P    U < – \u000b ™ E D I T                                                           € P    U K 2 \u000b š E D I T       /     /               €P    ´ K \u000f \u000b › S T A T I C   0       \u0003\u0010¡P    U Z 7 Z œ C O M B O B O X       \u0003\u0010¡P    U › Z }  C O M B O B O X       \u0003\u0010¡P    ú › Z } ž C O M B O B O X       \u0007  P    <br /> é C\u0001- Ÿ B U T T O N         \u0001P    d ó \u001e \u001f   T B T N B M P   G R A B A       \u0001P    \u0019 ó \u001e \u001f ¡ T B T N B M P   M O D I F I         \u0001P    ú ó \u001e \u001f ¢ T B T N B M P   S A L I R     \"</span><br />     Param   <span style=\"color: #000000;\">3</span>:    N    <span style=\"color: #000000;\">528434</span><br />     Param   <span style=\"color: #000000;\">4</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TDIALOG</span><br />   ACTUA_FICHA_GRAL<br />     Param   <span style=\"color: #000000;\">1</span>:    U    <br />     Param   <span style=\"color: #000000;\">2</span>:    U    <br />     Param   <span style=\"color: #000000;\">3</span>:    U    <br />     Param   <span style=\"color: #000000;\">4</span>:    L    .T.<br />     Param   <span style=\"color: #000000;\">5</span>:    U    <br />     Param   <span style=\"color: #000000;\">6</span>:    L    .T.<br />     Param   <span style=\"color: #000000;\">7</span>:    U    <br />     Param   <span style=\"color: #000000;\">8</span>:    U    <br />     Param   <span style=\"color: #000000;\">9</span>:    U    <br />     Param  <span style=\"color: #000000;\">10</span>:    U    <br />     Param  <span style=\"color: #000000;\">11</span>:    U    <br />     Param  <span style=\"color: #000000;\">12</span>:    L    .F.<br />     Param  <span style=\"color: #000000;\">13</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TDIALOG</span><br />     Param  <span style=\"color: #000000;\">14</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">1</span>:    N    <span style=\"color: #000000;\">528434</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">2</span>:    S    <br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">3</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TDIALOG</span><br />   <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span><span style=\"color: #0000ff;\">MENU</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">1</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TDIALOG</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">2</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TFONT</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">3</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TFONT</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">4</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TFONT</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">5</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TFONT</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">6</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TFONT</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">7</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TBTNBMP</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">8</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TGROUP</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">9</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TGROUP</span><br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">10</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TGET</span><br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">11</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TGET</span><br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">12</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TGET</span><br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">13</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TGET</span><br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">14</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TGET</span><br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">15</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TSAY</span><br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">16</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TCOMBOBOX</span><br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">17</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TCOMBOBOX</span><br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">18</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TCOMBOBOX</span><br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">19</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TSAY</span><br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">20</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TSAY</span><br />   TMENU:<span style=\"color: #000000;\">COMMAND</span><br />     Param   <span style=\"color: #000000;\">1</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TMENUITEM</span><br />   TWINDOW:<span style=\"color: #000000;\">COMMAND</span><br />     Param   <span style=\"color: #000000;\">1</span>:    N    <span style=\"color: #000000;\">20017</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">1</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TMENUITEM</span><br />   TWINDOW:<span style=\"color: #000000;\">HANDLEEVENT</span><br />     Param   <span style=\"color: #000000;\">1</span>:    N    <span style=\"color: #000000;\">20017</span><br />     Param   <span style=\"color: #000000;\">2</span>:    N    <span style=\"color: #000000;\">0</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">1</span>:    N    <span style=\"color: #000000;\">0</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">2</span>:    N    <span style=\"color: #000000;\">20017</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">3</span>:    N    <span style=\"color: #000000;\">0</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">4</span>:    U    <br />   _FWH<br />     Param   <span style=\"color: #000000;\">1</span>:    N    <span style=\"color: #000000;\">273</span><br />     Param   <span style=\"color: #000000;\">2</span>:    N    <span style=\"color: #000000;\">20017</span><br />     Param   <span style=\"color: #000000;\">3</span>:    N    <span style=\"color: #000000;\">0</span><br />   WINRUN<br />     Param   <span style=\"color: #000000;\">1</span>:    N    <span style=\"color: #000000;\">0</span><br />     Param   <span style=\"color: #000000;\">2</span>:    N    <span style=\"color: #000000;\">273</span><br />     Param   <span style=\"color: #000000;\">3</span>:    N    <span style=\"color: #000000;\">20017</span><br />     Param   <span style=\"color: #000000;\">4</span>:    N    <span style=\"color: #000000;\">0</span><br />     Param   <span style=\"color: #000000;\">5</span>:    N    <span style=\"color: #000000;\">1</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">1</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TWINDOW</span><br />   TWINDOW:<span style=\"color: #0000ff;\">ACTIVATE</span><br />     Param   <span style=\"color: #000000;\">1</span>:    N    <span style=\"color: #000000;\">528434</span><br />   MAIN<br />     Param   <span style=\"color: #000000;\">1</span>:    C    <span style=\"color: #ff0000;\">\"MAXIMIZED\"</span><br />     Param   <span style=\"color: #000000;\">2</span>:    U    <br />     Param   <span style=\"color: #000000;\">3</span>:    U    <br />     Param   <span style=\"color: #000000;\">4</span>:    U    <br />     Param   <span style=\"color: #000000;\">5</span>:    U    <br />     Param   <span style=\"color: #000000;\">6</span>:    U    <br />     Param   <span style=\"color: #000000;\">7</span>:    U    <br />     Param   <span style=\"color: #000000;\">8</span>:    U    <br />     Param   <span style=\"color: #000000;\">9</span>:    U    <br />     Param  <span style=\"color: #000000;\">10</span>:    U    <br />     Param  <span style=\"color: #000000;\">11</span>:    U    <br />     Param  <span style=\"color: #000000;\">12</span>:    U    <br />     Param  <span style=\"color: #000000;\">13</span>:    U    <br />     Param  <span style=\"color: #000000;\">14</span>:    U    <br />     Param  <span style=\"color: #000000;\">15</span>:    U    <br />     Param  <span style=\"color: #000000;\">16</span>:    U    <br />     Param  <span style=\"color: #000000;\">17</span>:    B    <span style=\"color: #000000;\">&#123;</span>|| ... <span style=\"color: #000000;\">&#125;</span><br />     Param  <span style=\"color: #000000;\">18</span>:    U    <br />     Param  <span style=\"color: #000000;\">19</span>:    U    <br />     Param  <span style=\"color: #000000;\">20</span>:    L    .F.<br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">1</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TWINDOW</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">2</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">3</span>:    U    <br /><br />Linked RDDs<br />===========<br />   DBF<br />   DBFFPT<br />   DBFBLOB<br />   DBFCDX<br /> </div>[/code:q31s9tdo]\n\nCodigo:\n[code=fw:q31s9tdo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />     @ <span style=\"color: #000000;\">310</span>,<span style=\"color: #000000;\">170</span> <span style=\"color: #0000ff;\">ComboBox</span> oGet8 <span style=\"color: #0000ff;\">Var</span> nCiud <span style=\"color: #0000ff;\">Items</span> ArrTranspose<span style=\"color: #000000;\">&#40;</span>aCiudades<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;\">180</span>,<span style=\"color: #000000;\">250</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg2       <span style=\"color: #0000ff;\">FONT</span> oFont6<br />            <br />                        oGet8:<span style=\"color: #000000;\">bChange</span> := <span style=\"color: #000000;\">&#123;</span> || aItemsGet9:=Carga_Comu<span style=\"color: #000000;\">&#40;</span>ArrTranspose<span style=\"color: #000000;\">&#40;</span>aCiudades<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>oGet8:<span style=\"color: #000000;\">nAt</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>    ,;<br />                         oGet9:<span style=\"color: #000000;\">SetItems</span><span style=\"color: #000000;\">&#40;</span>aItemsGet9<span style=\"color: #000000;\">&#41;</span>        ,;<br />                         oGet9:<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 /><br />     @ <span style=\"color: #000000;\">310</span>,<span style=\"color: #000000;\">500</span> <span style=\"color: #0000ff;\">ComboBox</span> oGet9 <span style=\"color: #0000ff;\">Var</span> nComu <span style=\"color: #0000ff;\">Items</span> ArrTranspose<span style=\"color: #000000;\">&#40;</span>aComunas<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;\">180</span>,<span style=\"color: #000000;\">250</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg2       <span style=\"color: #0000ff;\">FONT</span> oFont6;<br />                         <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> <span style=\"color: #000000;\">&#40;</span>Cod_Com1:=ArrTranspose<span style=\"color: #000000;\">&#40;</span>aComunas<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>oGet9:<span style=\"color: #000000;\">nAt</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><br /><span style=\"color: #00C800;\">Function</span> Carga_Comu<span style=\"color: #000000;\">&#40;</span>Cod_Ciu1<span style=\"color: #000000;\">&#41;</span><br />        aComunas  := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span><br />        Abre_dbf<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Comunas\"</span>,<span style=\"color: #000000;\">2</span>,.f.,<span style=\"color: #ff0000;\">\"\"</span><span style=\"color: #000000;\">&#41;</span><br />        set inde <span style=\"color: #0000ff;\">to</span> comunas<br />        DbSetorder<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span><br />        DbGoTop<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />        AADD<span style=\"color: #000000;\">&#40;</span> aComunas,<span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #ff0000;\">\"         \"</span><span style=\"color: #000000;\">&#125;</span><span style=\"color: #000000;\">&#41;</span><br />        <span style=\"color: #00C800;\">Do</span> <span style=\"color: #00C800;\">While</span> !Eof<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />            <span style=\"color: #00C800;\">If</span> Cod_Prov=Cod_Ciu1<br />                    Aadd<span style=\"color: #000000;\">&#40;</span>aComunas, <span style=\"color: #000000;\">&#123;</span> b->Cod_Com,b->Nom_Com<span style=\"color: #000000;\">&#125;</span><span style=\"color: #000000;\">&#41;</span><br />            <span style=\"color: #00C800;\">Endif</span><br />        DbSkip<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />        <span style=\"color: #00C800;\">EndDo</span><br />        Dbclosearea<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />        <span style=\"color: #00C800;\">Return</span> .t.<br /><br /> </div>[/code:q31s9tdo]", "time": "14:48", "topic": "Ayuda con 2 Combobox ???", "username": "remtec" } ]
Ayuda con 2 Combobox ???
[ { "date": "2022-08-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Estimado Antonio,\n\nProvincias y ciudades lo entiendo, pero ciudades y \"comunas\" es la primera vez que lo oigo.\n\nPuedes proporcionar ambos arrays y asi te construyo el ejemplo ? gracias", "time": "16:34", "topic": "Ayuda con 2 Combobox ???", "username": "Antonio Linares" } ]
Ayuda con 2 Combobox ???
[ { "date": "2022-08-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Aqui tienes un ejemplo funcionando con provincias y ciudades, solo he rellenado las \"ciudades\" de las tres primeras y con datos no reales. \n\nPuedes probarlo y ver que funciona correctamente <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n[code=fw:20s50bxg]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">local</span> oDlg, cProvincia := <span style=\"color: #ff0000;\">\"Almeria\"</span>, oCiudades, cCiudad := <span style=\"color: #ff0000;\">\"Uno\"</span><br />   <span style=\"color: #00C800;\">local</span> aProvincias := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Almeria\"</span>, <span style=\"color: #ff0000;\">\"Cadiz\"</span>, <span style=\"color: #ff0000;\">\"Cordoba\"</span>, <span style=\"color: #ff0000;\">\"Granada\"</span>, <span style=\"color: #ff0000;\">\"Huelva\"</span>, <span style=\"color: #ff0000;\">\"Jaen\"</span>, <span style=\"color: #ff0000;\">\"Malaga\"</span>, <span style=\"color: #ff0000;\">\"Sevilla\"</span> <span style=\"color: #000000;\">&#125;</span> <br />   <span style=\"color: #00C800;\">local</span> aCiudades := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Uno\"</span>, <span style=\"color: #ff0000;\">\"Dos\"</span>, <span style=\"color: #ff0000;\">\"Tres\"</span> <span style=\"color: #000000;\">&#125;</span>, <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Cuatro\"</span>, <span style=\"color: #ff0000;\">\"Cinco\"</span>, <span style=\"color: #ff0000;\">\"Seis\"</span> <span style=\"color: #000000;\">&#125;</span>, <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Siete\"</span>, <span style=\"color: #ff0000;\">\"Ocho\"</span>, <span style=\"color: #ff0000;\">\"Nueve\"</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Seleccione provincia y ciudad\"</span><br /><br />   @ <span style=\"color: #000000;\">1</span>,  <span style=\"color: #000000;\">3</span> <span style=\"color: #0000ff;\">COMBOBOX</span> cProvincia <span style=\"color: #0000ff;\">ITEMS</span> aProvincias ;<br />      <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> <span style=\"color: #000000;\">&#40;</span> oCiudades:<span style=\"color: #000000;\">SetItems</span><span style=\"color: #000000;\">&#40;</span> aCiudades<span style=\"color: #000000;\">&#91;</span> AScan<span style=\"color: #000000;\">&#40;</span> aProvincias, cProvincia <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span>, oCiudades:<span style=\"color: #000000;\">Set</span><span style=\"color: #000000;\">&#40;</span> oCiudades:<span style=\"color: #000000;\">aItems</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />   @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">12</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oCiudades <span style=\"color: #0000ff;\">VAR</span> cCiudad <span style=\"color: #0000ff;\">ITEMS</span> aCiudades<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>  <br /><br />   @ <span style=\"color: #000000;\">3</span>, &nbsp;<span style=\"color: #000000;\">3</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Mostrar seleccionado\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> cProvincia, cCiudad <span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:20s50bxg]", "time": "17:16", "topic": "Ayuda con 2 Combobox ???", "username": "Antonio Linares" } ]
Ayuda con 2 Combobox ???
[ { "date": "2022-08-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Buen dia Maestro Antonio.\n\nEn Chile la estructura normal es:\n\n Codigo Pais:\n Codigo Ciudades: (Son las Ciudades que tiene el Pais)\n Codigo Comunas: (Cada Ciudad tiene una o mas Comunas)\n\n\nEn mi caso necesito que cuando se seleccione la Ciudad en el Primer Combobox, se cargue el 2do Array con las comunas de la ciudad seleccionada.\n\n\nMuchas gracias\n\nAntonio\n\n[code=fw:1bo98ovf]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br />Array de aCiudades<br />     @ <span style=\"color: #000000;\">310</span>,<span style=\"color: #000000;\">170</span> <span style=\"color: #0000ff;\">ComboBox</span> oGet10 <span style=\"color: #0000ff;\">Var</span> nCiud <span style=\"color: #0000ff;\">Items</span> ArrTranspose<span style=\"color: #000000;\">&#40;</span>aCiudades<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;\">180</span>,<span style=\"color: #000000;\">250</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg2    <span style=\"color: #0000ff;\">COLOR</span> RGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">128</span><span style=\"color: #000000;\">&#41;</span>, RGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">159</span>,<span style=\"color: #000000;\">233</span>,<span style=\"color: #000000;\">255</span><span style=\"color: #000000;\">&#41;</span>   <span style=\"color: #0000ff;\">FONT</span> oFont6;<br />                         <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> <span style=\"color: #000000;\">&#40;</span>Cod_Ciu1:=ArrTranspose<span style=\"color: #000000;\">&#40;</span>aCiudades<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>oGet10:<span style=\"color: #000000;\">nAt</span><span style=\"color: #000000;\">&#93;</span>,Carga_Comu<span style=\"color: #000000;\">&#40;</span>Cod_Ciu1, @nComu, @aComunas, oGet11 <span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span>       <span style=\"color: #B900B9;\">// Aqui mando a cargar las Comunas</span><br /><br />Array de aComunas     <span style=\"color: #000000;\">&#40;</span>Este Array no se muestra con las comunas cargadas<span style=\"color: #000000;\">&#41;</span><br />     @ <span style=\"color: #000000;\">310</span>,<span style=\"color: #000000;\">500</span> <span style=\"color: #0000ff;\">ComboBox</span> oGet11 <span style=\"color: #0000ff;\">Var</span> nComu <span style=\"color: #0000ff;\">Items</span> ArrTranspose<span style=\"color: #000000;\">&#40;</span>aComunas<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;\">180</span>,<span style=\"color: #000000;\">250</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg2   <span style=\"color: #0000ff;\">COLOR</span> RGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">128</span><span style=\"color: #000000;\">&#41;</span>, RGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">159</span>,<span style=\"color: #000000;\">233</span>,<span style=\"color: #000000;\">255</span><span style=\"color: #000000;\">&#41;</span>    <span style=\"color: #0000ff;\">FONT</span> oFont6;<br />                            <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> <span style=\"color: #000000;\">&#40;</span>Cod_Com1:=ArrTranspose<span style=\"color: #000000;\">&#40;</span>aComunas<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>oGet11:<span style=\"color: #000000;\">nAt</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><br /><br /><br /><span style=\"color: #00C800;\">Function</span> Carga_Comu<span style=\"color: #000000;\">&#40;</span>Cod_Ciu1, nComu, aComunas, oGet9<span style=\"color: #000000;\">&#41;</span><br />        <span style=\"color: #00C800;\">if</span> Cod_Ciu1#<span style=\"color: #000000;\">0</span><br />                aComunas  := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span><br />                Abre_dbf<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Comunas\"</span>,<span style=\"color: #000000;\">2</span>,.f.,<span style=\"color: #ff0000;\">\"\"</span><span style=\"color: #000000;\">&#41;</span><br />                set inde <span style=\"color: #0000ff;\">to</span> comunas<br />                DbSetorder<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span><br />                DbGoTop<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />                <span style=\"color: #00C800;\">Do</span> <span style=\"color: #00C800;\">While</span> !Eof<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />                    <span style=\"color: #00C800;\">If</span> Cod_Prov=Cod_Ciu1<br />                            Aadd<span style=\"color: #000000;\">&#40;</span>aComunas, <span style=\"color: #000000;\">&#123;</span> b->Cod_Com,b->Nom_Com<span style=\"color: #000000;\">&#125;</span><span style=\"color: #000000;\">&#41;</span><br />                    <span style=\"color: #00C800;\">Endif</span><br />                DbSkip<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />                <span style=\"color: #00C800;\">EndDo</span><br />                Dbclosearea<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />        <span style=\"color: #00C800;\">Else</span><br />                aComunas  := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span><br /><br />             AADD<span style=\"color: #000000;\">&#40;</span> aComunas,<span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #ff0000;\">\"         \"</span><span style=\"color: #000000;\">&#125;</span><span style=\"color: #000000;\">&#41;</span><br />        <span style=\"color: #00C800;\">Endif</span><br />        oGet9:<span style=\"color: #000000;\">SetItems</span><span style=\"color: #000000;\">&#40;</span>aComunas<span style=\"color: #000000;\">&#41;</span><br />        nComu := <span style=\"color: #000000;\">1</span><br />        oGet9:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />                ** Reviso y el <span style=\"color: #ff0000;\">\"aComunas\"</span> y carga correctamente todas las comunas de la ciudad seleccionada **<br /><br />        <span style=\"color: #00C800;\">Return</span> .t.<br /><br /><br /> </div>[/code:1bo98ovf]", "time": "17:26", "topic": "Ayuda con 2 Combobox ???", "username": "remtec" } ]
Ayuda con 2 Combobox ???
[ { "date": "2022-08-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio, ponga un ejemplo completo en formato .ZIP ó .RAR porfa.\n\nRegards, saludos.", "time": "18:46", "topic": "Ayuda con 2 Combobox ???", "username": "karinha" } ]
Ayuda con 2 Combobox ???
[ { "date": "2022-08-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola João\n\nMuchas gracias por responder.\n\nVeo que este es un problema que se ha requerido desde hacer muchas versiones y aun usando la ultima versión, aun no podemos contar con un ComboBox anidado de 2 elementos, se pierde tanto tiempo investigando o que alguien tenga la solución, aun cuando unos colegas me dieron una solución hace mucho tiempo atrás, creo que debiera ser mas simple de aplicar.\n\nUn uso tan normal como un Combobox Ciudades y que el segundo muestre solo las comunas de esa ciudad, puede ser tan complicado encontrar una solución, la verdad no entiendo. Quizás esta necesidad se solucione de otra forma, pero tampoco la se.\n\nSaludos\n\nAntonio", "time": "03:18", "topic": "Ayuda con 2 Combobox ???", "username": "remtec" } ]
Ayuda con 2 Combobox ???
[ { "date": "2022-08-13", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":baqvpih9]Aqui tienes un ejemplo funcionando con provincias y ciudades, solo he rellenado las \"ciudades\" de las tres primeras y con datos no reales. \n\nPuedes probarlo y ver que funciona correctamente <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n[code=fw:baqvpih9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">local</span> oDlg, cProvincia := <span style=\"color: #ff0000;\">\"Almeria\"</span>, oCiudades, cCiudad := <span style=\"color: #ff0000;\">\"Uno\"</span><br />   <span style=\"color: #00C800;\">local</span> aProvincias := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Almeria\"</span>, <span style=\"color: #ff0000;\">\"Cadiz\"</span>, <span style=\"color: #ff0000;\">\"Cordoba\"</span>, <span style=\"color: #ff0000;\">\"Granada\"</span>, <span style=\"color: #ff0000;\">\"Huelva\"</span>, <span style=\"color: #ff0000;\">\"Jaen\"</span>, <span style=\"color: #ff0000;\">\"Malaga\"</span>, <span style=\"color: #ff0000;\">\"Sevilla\"</span> <span style=\"color: #000000;\">&#125;</span> <br />   <span style=\"color: #00C800;\">local</span> aCiudades := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Uno\"</span>, <span style=\"color: #ff0000;\">\"Dos\"</span>, <span style=\"color: #ff0000;\">\"Tres\"</span> <span style=\"color: #000000;\">&#125;</span>, <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Cuatro\"</span>, <span style=\"color: #ff0000;\">\"Cinco\"</span>, <span style=\"color: #ff0000;\">\"Seis\"</span> <span style=\"color: #000000;\">&#125;</span>, <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Siete\"</span>, <span style=\"color: #ff0000;\">\"Ocho\"</span>, <span style=\"color: #ff0000;\">\"Nueve\"</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Seleccione provincia y ciudad\"</span><br /><br />   @ <span style=\"color: #000000;\">1</span>,  <span style=\"color: #000000;\">3</span> <span style=\"color: #0000ff;\">COMBOBOX</span> cProvincia <span style=\"color: #0000ff;\">ITEMS</span> aProvincias ;<br />      <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> <span style=\"color: #000000;\">&#40;</span> oCiudades:<span style=\"color: #000000;\">SetItems</span><span style=\"color: #000000;\">&#40;</span> aCiudades<span style=\"color: #000000;\">&#91;</span> AScan<span style=\"color: #000000;\">&#40;</span> aProvincias, cProvincia <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span>, oCiudades:<span style=\"color: #000000;\">Set</span><span style=\"color: #000000;\">&#40;</span> oCiudades:<span style=\"color: #000000;\">aItems</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />   @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">12</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oCiudades <span style=\"color: #0000ff;\">VAR</span> cCiudad <span style=\"color: #0000ff;\">ITEMS</span> aCiudades<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>  <br /><br />   @ <span style=\"color: #000000;\">3</span>,  <span style=\"color: #000000;\">3</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Mostrar seleccionado\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> cProvincia, cCiudad <span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:baqvpih9][/quote:baqvpih9]\n\n\nMaestro Antonio\n\nMuchas gracias por responder.\n\nAl probar su ejemplo, me arroja el mismo error que he tenido en mis pruebas en mi codigo.\n\nSaludos\nAntonio\n\n\nError:\n[code=fw:baqvpih9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />Application<br />===========<br />&nbsp; &nbsp;Path and <span style=\"color: #0000ff;\">name</span>: <span style=\"color: #000000;\">C</span>:\\Desa\\Estetica\\Estetica.exe <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">32</span> bits<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">Size</span>: <span style=\"color: #000000;\">6</span>,<span style=\"color: #000000;\">311</span>,<span style=\"color: #000000;\">424</span> bytes<br />&nbsp; &nbsp;Compiler version: <span style=\"color: #000000;\">Harbour</span> <span style=\"color: #000000;\">3.2</span>.0dev <span style=\"color: #000000;\">&#40;</span>r2008190002<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;FiveWin &nbsp;version: <span style=\"color: #000000;\">FWH</span> <span style=\"color: #000000;\">22.03</span><br />&nbsp; &nbsp;C compiler version: <span style=\"color: #000000;\">Borland</span>/Embarcadero C++ <span style=\"color: #000000;\">7.0</span> <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">32</span>-bit<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Windows version: <span style=\"color: #000000;\">6.2</span>, Build <span style=\"color: #000000;\">9200</span> <br /><br />&nbsp; &nbsp;Time <span style=\"color: #0000ff;\">from</span> start: <span style=\"color: #000000;\">0</span> hours <span style=\"color: #000000;\">0</span> mins <span style=\"color: #000000;\">15</span> secs <br />&nbsp; &nbsp;Error occurred <span style=\"color: #00C800;\">at</span>: <span style=\"color: #000000;\">13</span>/<span style=\"color: #000000;\">08</span>/<span style=\"color: #000000;\">2022</span>, <span style=\"color: #000000;\">12</span>:<span style=\"color: #000000;\">32</span>:<span style=\"color: #000000;\">02</span><br />&nbsp; &nbsp;Error description: <span style=\"color: #000000;\">Error</span> BASE/<span style=\"color: #000000;\">1132</span> &nbsp;Error de rango: <span style=\"color: #000000;\">acceso</span> al array<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> = A &nbsp; <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"Uno\"</span>,<span style=\"color: #ff0000;\">\"Dos\"</span>,<span style=\"color: #ff0000;\">\"Tres\"</span><span style=\"color: #000000;\">&#125;</span>,<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"Cuatro\"</span>,<span style=\"color: #ff0000;\">\"Cinco\"</span>,<span style=\"color: #ff0000;\">\"Seis\"</span><span style=\"color: #000000;\">&#125;</span>,<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"Siete\"</span>,<span style=\"color: #ff0000;\">\"Ocho\"</span>,<span style=\"color: #ff0000;\">\"Nueve\"</span><span style=\"color: #000000;\">&#125;</span><span style=\"color: #000000;\">&#125;</span> length: <span style=\"color: #000000;\">3</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> &nbsp; <span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> = N &nbsp; <span style=\"color: #000000;\">4</span><br /><br />Stack Calls<br />===========<br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\Actu_Ficha_Gene.PRG => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>PRUE<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">388</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">COMBOBOX</span>.PRG => TCOMBOBOX:<span style=\"color: #0000ff;\">CHANGE</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">581</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\CONTROL.PRG => TCONTROL:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1824</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">COMBOBOX</span>.PRG => TCOMBOBOX:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">923</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 => _FWH<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">3560</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: &nbsp;=> SENDMESSAGE<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;\">DIALOG</span>.PRG => TDIALOG:<span style=\"color: #000000;\">COMMAND</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">453</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: &nbsp;=> TWINDOW:<span style=\"color: #000000;\">HANDLEEVENT</span><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;\">DIALOG</span>.PRG => TDIALOG:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1140</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: &nbsp;=> DIALOGBOXINDIRECT<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;\">DIALOG</span>.PRG => TDIALOG:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">304</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\Actu_Ficha_Gene.PRG => PRUE<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">394</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\Actu_Ficha_Gene.PRG => ACTUA_FICHA_GRAL<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">26</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\Estetica.PRG => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span><span style=\"color: #0000ff;\">MENU</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">281</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">MENU</span>.PRG => TMENU:<span style=\"color: #000000;\">COMMAND</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1563</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 => TWINDOW:<span style=\"color: #000000;\">COMMAND</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1141</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: &nbsp;=> TWINDOW:<span style=\"color: #000000;\">HANDLEEVENT</span><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;\">WINDOW</span>.PRG => _FWH<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">3560</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: &nbsp;=> WINRUN<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;\">WINDOW</span>.PRG => TWINDOW:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1097</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\Estetica.PRG => MAIN<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">229</span> <span style=\"color: #000000;\">&#41;</span><br /><br />System<br />======<br />&nbsp; &nbsp;CPU type: <span style=\"color: #000000;\">Intel</span><span style=\"color: #000000;\">&#40;</span>R<span style=\"color: #000000;\">&#41;</span> Core<span style=\"color: #000000;\">&#40;</span>TM<span style=\"color: #000000;\">&#41;</span> i7-4510U CPU @ <span style=\"color: #000000;\">2</span>.00GHz <span style=\"color: #000000;\">2594</span> Mhz<br />&nbsp; &nbsp;Hardware memory: <span style=\"color: #000000;\">8085</span> megs<br /><br />&nbsp; &nbsp;Free System resources: <span style=\"color: #000000;\">90</span> %<br />&nbsp; &nbsp; &nbsp; &nbsp; GDI &nbsp; &nbsp;resources: <span style=\"color: #000000;\">90</span> %<br />&nbsp; &nbsp; &nbsp; &nbsp; User &nbsp; resources: <span style=\"color: #000000;\">90</span> %<br /><br />&nbsp; &nbsp;Windows total applications running: <span style=\"color: #000000;\">5</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">1</span> , &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">2</span> , C:\\Desa\\Estetica\\Estetica.exe &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">3</span> , C:\\WINDOWS\\WinSxS\\x86_microsoft.windows.common-controls_6595b64144ccf1df_5<span style=\"color: #000000;\">.82</span><span style=\"color: #000000;\">.17763</span>.1577_none_b4b5a <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">4</span> DDE <span style=\"color: #00C800;\">Server</span> <span style=\"color: #0000ff;\">Window</span>, C:\\WINDOWS\\System32\\OLE32.DLL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">5</span> G, C:\\WINDOWS\\WinSxS\\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1<span style=\"color: #000000;\">.1</span><span style=\"color: #000000;\">.17763</span>.1577_none_570c6e10c25746 <br /><br />Variables in use<br />================<br />&nbsp; &nbsp;Procedure &nbsp; &nbsp; Type &nbsp; Value<br />&nbsp; &nbsp;==========================<br />&nbsp; &nbsp;<span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>PRUE<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">ERROR</span><br />&nbsp; &nbsp;TCOMBOBOX:<span style=\"color: #0000ff;\">CHANGE</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TCOMBOBOX</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">C</span> &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"Granada\"</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TCOMBOBOX</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">A</span> &nbsp; &nbsp;Len: &nbsp; &nbsp;<span style=\"color: #000000;\">3</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">4</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">5</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">6</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">S</span> &nbsp; &nbsp;<br />&nbsp; &nbsp;TCONTROL:<span style=\"color: #000000;\">HANDLEEVENT</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">C</span> &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"Granada\"</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">4</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp;TCOMBOBOX:<span style=\"color: #000000;\">HANDLEEVENT</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">2053</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp;_FWH<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">2053</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp;SENDMESSAGE<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">2053</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">5</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">17</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TCOMBOBOX</span><br />&nbsp; &nbsp;TDIALOG:<span style=\"color: #000000;\">COMMAND</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">10617982</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">2053</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp;TWINDOW:<span style=\"color: #000000;\">HANDLEEVENT</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">65658</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">10617982</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">122</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">10617982</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">5</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp;TDIALOG:<span style=\"color: #000000;\">HANDLEEVENT</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">273</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">65658</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">10617982</span><br />&nbsp; &nbsp;DIALOGBOXINDIRECT<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">273</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">65658</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">10617982</span><br />&nbsp; &nbsp;TDIALOG:<span style=\"color: #0000ff;\">ACTIVATE</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">4194304</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">C</span> &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"€ È€ &nbsp; &nbsp;\u0003 \u0004 \u0004 Ÿ L &nbsp; &nbsp; S e l e c c i o n e &nbsp; p r o v i n c i a &nbsp; y &nbsp; c i u d a d &nbsp;  \u0003\u0010¡P &nbsp; &nbsp;\u0018 \u000e ( < z C O M B O B O X &nbsp; &nbsp; &nbsp; \u0003\u0010¡P &nbsp; &nbsp;` \u000e ( < { C O M B O B O X &nbsp; &nbsp; &nbsp; &nbsp; \u0001P &nbsp; &nbsp;\u0012 6 y \u000e | B U T T O N &nbsp; M o s t r a r &nbsp; s e l e c c i o n a d o &nbsp; &nbsp; \"</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">18744386</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TDIALOG</span><br />&nbsp; &nbsp;PRUE<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">L</span> &nbsp; &nbsp;.T.<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">5</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">6</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">L</span> &nbsp; &nbsp;.T.<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">7</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">8</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">9</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">10</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">11</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">12</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">L</span> &nbsp; &nbsp;.F.<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">13</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TDIALOG</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">14</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">18744386</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">S</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TDIALOG</span><br />&nbsp; &nbsp;ACTUA_FICHA_GRAL<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TDIALOG</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">C</span> &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"Granada\"</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TCOMBOBOX</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">C</span> &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"Uno\"</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">5</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">A</span> &nbsp; &nbsp;Len: &nbsp; &nbsp;<span style=\"color: #000000;\">8</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">6</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">A</span> &nbsp; &nbsp;Len: &nbsp; &nbsp;<span style=\"color: #000000;\">3</span><br />&nbsp; &nbsp;<span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span><span style=\"color: #0000ff;\">MENU</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">5</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">6</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">7</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">8</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">9</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">10</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">11</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">12</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">13</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">14</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">15</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">16</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">17</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">18</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">19</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">20</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">21</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">22</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">23</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">24</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">25</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">26</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp;TMENU:<span style=\"color: #000000;\">COMMAND</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TMENUITEM</span><br />&nbsp; &nbsp;TWINDOW:<span style=\"color: #000000;\">COMMAND</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">20016</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TMENUITEM</span><br />&nbsp; &nbsp;TWINDOW:<span style=\"color: #000000;\">HANDLEEVENT</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">20016</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">20016</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp;_FWH<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">273</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">20016</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp;WINRUN<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">273</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">20016</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">5</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TWINDOW</span><br />&nbsp; &nbsp;TWINDOW:<span style=\"color: #0000ff;\">ACTIVATE</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">18744386</span><br />&nbsp; &nbsp;MAIN<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">C</span> &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"MAXIMIZED\"</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">5</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">6</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">7</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">8</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">9</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">10</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">11</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">12</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">13</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">14</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">15</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">16</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">17</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">B</span> &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span>|| ... <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">18</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">19</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">20</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">L</span> &nbsp; &nbsp;.F.<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TWINDOW</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br /><br />Linked RDDs<br />===========<br />&nbsp; &nbsp;DBF<br />&nbsp; &nbsp;DBFFPT<br />&nbsp; &nbsp;DBFBLOB<br />&nbsp; &nbsp;DBFCDX<br />&nbsp; &nbsp;DBFNTX<br /><br />DataBases in use<br />================<br /><br />Classes in use:<br />===============<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">1</span> ERROR<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">2</span> HBCLASS<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">3</span> HBOBJECT<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">4</span> TCURSOR<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">5</span> TFONT<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">6</span> TWINDOW<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">7</span> TDIALOG<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">8</span> TBRUSH<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">9</span> TMDIFRAME<br />&nbsp; &nbsp; <span style=\"color: #000000;\">10</span> TMENU<br />&nbsp; &nbsp; <span style=\"color: #000000;\">11</span> TREG32<br />&nbsp; &nbsp; <span style=\"color: #000000;\">12</span> TMDICLIENT<br />&nbsp; &nbsp; <span style=\"color: #000000;\">13</span> TRECT<br />&nbsp; &nbsp; <span style=\"color: #000000;\">14</span> TCONTROL<br />&nbsp; &nbsp; <span style=\"color: #000000;\">15</span> TGET<br />&nbsp; &nbsp; <span style=\"color: #000000;\">16</span> TSAY<br />&nbsp; &nbsp; <span style=\"color: #000000;\">17</span> <span style=\"color: #0000ff;\">GET</span><br />&nbsp; &nbsp; <span style=\"color: #000000;\">18</span> TCLIPGET<br />&nbsp; &nbsp; <span style=\"color: #000000;\">19</span> TBTNBMP<br />&nbsp; &nbsp; <span style=\"color: #000000;\">20</span> TMENUITEM<br />&nbsp; &nbsp; <span style=\"color: #000000;\">21</span> TBAR<br />&nbsp; &nbsp; <span style=\"color: #000000;\">22</span> TMSGBAR<br />&nbsp; &nbsp; <span style=\"color: #000000;\">23</span> TMSGITEM<br />&nbsp; &nbsp; <span style=\"color: #000000;\">24</span> TTIMER<br />&nbsp; &nbsp; <span style=\"color: #000000;\">25</span> TCOMBOBOX<br />&nbsp; &nbsp; <span style=\"color: #000000;\">26</span> TBUTTON<br />&nbsp; &nbsp; <span style=\"color: #000000;\">27</span> TSTRUCT<br /><br />Memory Analysis<br />===============<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">741</span> <span style=\"color: #00C800;\">Static</span> variables<br /><br />&nbsp; &nbsp;Dynamic memory consume:<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">Actual</span> &nbsp;Value: &nbsp; &nbsp;<span style=\"color: #000000;\">1769472</span> bytes<br />&nbsp; &nbsp; &nbsp; Highest Value: &nbsp; &nbsp;<span style=\"color: #000000;\">1769472</span> bytes<br />\u001a<br />&nbsp;</div>[/code:baqvpih9]", "time": "17:35", "topic": "Ayuda con 2 Combobox ???", "username": "remtec" } ]
Ayuda con 2 Combobox ???
[ { "date": "2022-08-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Te envio el EXE por email", "time": "17:49", "topic": "Ayuda con 2 Combobox ???", "username": "Antonio Linares" } ]
Ayuda con 2 Combobox ???
[ { "date": "2022-08-13", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":3urbf9ld]Te envio el EXE por email[/quote:3urbf9ld]\n\n\nMaestro Antonio.\n\nMuchas gracias.\n\nDespués de ejecutar su EXE y seleccionar en los Combobox y moverse mas de una vez, arroja el siguiente error.\n\nEjecutado en Windows 10\n\nMuchos Saludos\n\nAnotnio\n\nError:\n[code=fw:3urbf9ld]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />Application<br />===========<br />&nbsp; &nbsp;Path and <span style=\"color: #0000ff;\">name</span>: <span style=\"color: #000000;\">C</span>:\\Users\\Miguel Rivera\\Downloads\\provincias.exe <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">32</span> bits<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">Size</span>: <span style=\"color: #000000;\">4</span>,<span style=\"color: #000000;\">870</span>,<span style=\"color: #000000;\">144</span> bytes<br />&nbsp; &nbsp;Compiler version: <span style=\"color: #000000;\">Harbour</span> <span style=\"color: #000000;\">3.2</span>.0dev <span style=\"color: #000000;\">&#40;</span>r2004201301<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;FiveWin &nbsp;version: <span style=\"color: #000000;\">FWH</span> <span style=\"color: #000000;\">22.06</span><br />&nbsp; &nbsp;C compiler version: <span style=\"color: #000000;\">Borland</span>/Embarcadero C++ <span style=\"color: #000000;\">7.0</span> <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">32</span>-bit<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Windows <span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">64</span> Bits, version: <span style=\"color: #000000;\">6.2</span>, Build <span style=\"color: #000000;\">9200</span> <br /><br />&nbsp; &nbsp;Time <span style=\"color: #0000ff;\">from</span> start: <span style=\"color: #000000;\">0</span> hours <span style=\"color: #000000;\">0</span> mins <span style=\"color: #000000;\">39</span> secs <br />&nbsp; &nbsp;Error occurred <span style=\"color: #00C800;\">at</span>: <span style=\"color: #000000;\">08</span>/<span style=\"color: #000000;\">13</span>/<span style=\"color: #000000;\">22</span>, <span style=\"color: #000000;\">13</span>:<span style=\"color: #000000;\">36</span>:<span style=\"color: #000000;\">12</span><br />&nbsp; &nbsp;Error description: <span style=\"color: #000000;\">Error</span> BASE/<span style=\"color: #000000;\">1132</span> &nbsp;Bound error: <span style=\"color: #000000;\">array</span> access<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> = A &nbsp; <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"Uno\"</span>,<span style=\"color: #ff0000;\">\"Dos\"</span>,<span style=\"color: #ff0000;\">\"Tres\"</span><span style=\"color: #000000;\">&#125;</span>,<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"Cuatro\"</span>,<span style=\"color: #ff0000;\">\"Cinco\"</span>,<span style=\"color: #ff0000;\">\"Seis\"</span><span style=\"color: #000000;\">&#125;</span>,<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"Siete\"</span>,<span style=\"color: #ff0000;\">\"Ocho\"</span>,<span style=\"color: #ff0000;\">\"Nueve\"</span><span style=\"color: #000000;\">&#125;</span><span style=\"color: #000000;\">&#125;</span> length: <span style=\"color: #000000;\">3</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> &nbsp; <span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> = N &nbsp; <span style=\"color: #000000;\">5</span><br /><br />Stack Calls<br />===========<br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">provincias</span>.prg => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>MAIN<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">12</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">COMBOBOX</span>.PRG => TCOMBOBOX:<span style=\"color: #0000ff;\">CHANGE</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">581</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\CONTROL.PRG => TCONTROL:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1826</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">COMBOBOX</span>.PRG => TCOMBOBOX:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">923</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 => _FWH<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">3680</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: &nbsp;=> SENDMESSAGE<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;\">DIALOG</span>.PRG => TDIALOG:<span style=\"color: #000000;\">COMMAND</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">520</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: &nbsp;=> TWINDOW:<span style=\"color: #000000;\">HANDLEEVENT</span><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;\">DIALOG</span>.PRG => TDIALOG:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1211</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: &nbsp;=> DIALOGBOXINDIRECT<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;\">DIALOG</span>.PRG => TDIALOG:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">307</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">provincias</span>.prg => MAIN<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">18</span> <span style=\"color: #000000;\">&#41;</span><br /><br />System<br />======<br />&nbsp; &nbsp;CPU type: <span style=\"color: #000000;\">Intel</span><span style=\"color: #000000;\">&#40;</span>R<span style=\"color: #000000;\">&#41;</span> Core<span style=\"color: #000000;\">&#40;</span>TM<span style=\"color: #000000;\">&#41;</span> i7-4510U CPU @ <span style=\"color: #000000;\">2</span>.00GHz <span style=\"color: #000000;\">2594</span> Mhz<br />&nbsp; &nbsp;Hardware memory: <span style=\"color: #000000;\">8085</span> megs<br /><br />&nbsp; &nbsp;Free System resources: <span style=\"color: #000000;\">90</span> %<br />&nbsp; &nbsp; &nbsp; &nbsp; GDI &nbsp; &nbsp;resources: <span style=\"color: #000000;\">90</span> %<br />&nbsp; &nbsp; &nbsp; &nbsp; User &nbsp; resources: <span style=\"color: #000000;\">90</span> %<br /><br />&nbsp; &nbsp;Windows total applications running: <span style=\"color: #000000;\">6</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">1</span> , &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">2</span> , C:\\Users\\Miguel Rivera\\Downloads\\provincias.exe &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">3</span> , C:\\WINDOWS\\WinSxS\\x86_microsoft.windows.common-controls_6595b64144ccf1df_5<span style=\"color: #000000;\">.82</span><span style=\"color: #000000;\">.17763</span>.1577_none_b4b5a <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">4</span> , C:\\WINDOWS\\WinSxS\\x86_microsoft.windows.common-controls_6595b64144ccf1df_6<span style=\"color: #000000;\">.0</span><span style=\"color: #000000;\">.17763</span>.1577_none_26217b <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">5</span> DDE <span style=\"color: #00C800;\">Server</span> <span style=\"color: #0000ff;\">Window</span>, C:\\WINDOWS\\System32\\OLE32.DLL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">6</span> G, C:\\WINDOWS\\WinSxS\\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1<span style=\"color: #000000;\">.1</span><span style=\"color: #000000;\">.17763</span>.1577_none_570c6e10c25746 <br /><br />Variables in use<br />================<br />&nbsp; &nbsp;Procedure &nbsp; &nbsp; Type &nbsp; Value<br />&nbsp; &nbsp;==========================<br />&nbsp; &nbsp;<span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>MAIN<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">ERROR</span><br />&nbsp; &nbsp;TCOMBOBOX:<span style=\"color: #0000ff;\">CHANGE</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TCOMBOBOX</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">C</span> &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"Huelva\"</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TCOMBOBOX</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">A</span> &nbsp; &nbsp;Len: &nbsp; &nbsp;<span style=\"color: #000000;\">3</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">5</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">5</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">6</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">S</span> &nbsp; &nbsp;<br />&nbsp; &nbsp;TCONTROL:<span style=\"color: #000000;\">HANDLEEVENT</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">C</span> &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"Huelva\"</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">5</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp;TCOMBOBOX:<span style=\"color: #000000;\">HANDLEEVENT</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">2053</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp;_FWH<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">2053</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp;SENDMESSAGE<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">2053</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">5</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">2</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TCOMBOBOX</span><br />&nbsp; &nbsp;TDIALOG:<span style=\"color: #000000;\">COMMAND</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">2688108</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">2053</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp;TWINDOW:<span style=\"color: #000000;\">HANDLEEVENT</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">65637</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">2688108</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">101</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">2688108</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">5</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp;TDIALOG:<span style=\"color: #000000;\">HANDLEEVENT</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">273</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">65637</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">2688108</span><br />&nbsp; &nbsp;DIALOGBOXINDIRECT<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">273</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">65637</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">2688108</span><br />&nbsp; &nbsp;TDIALOG:<span style=\"color: #0000ff;\">ACTIVATE</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">4194304</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">C</span> &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"€ È€ &nbsp; &nbsp;\u0003 &nbsp; &nbsp; Ÿ L &nbsp; &nbsp; S e l e c c i o n e &nbsp; p r o v i n c i a &nbsp; y &nbsp; c i u d a d &nbsp; ‡ \u0003\u0010¡P &nbsp; &nbsp;\u0018 \u000e ( < e C O M B O B O X &nbsp; &nbsp; &nbsp; \u0003\u0010¡P &nbsp; &nbsp;` \u000e ( < f C O M B O B O X &nbsp; &nbsp; &nbsp; &nbsp; \u0001P &nbsp; &nbsp;\u0012 6 y \u000e g B U T T O N &nbsp; M o s t r a r &nbsp; s e l e c c i o n a d o &nbsp; &nbsp; \"</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TDIALOG</span><br />&nbsp; &nbsp;MAIN<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">L</span> &nbsp; &nbsp;.T.<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">5</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">6</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">L</span> &nbsp; &nbsp;.T.<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">7</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">8</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">9</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">10</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">11</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">12</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">L</span> &nbsp; &nbsp;.F.<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">13</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TDIALOG</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">14</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">S</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TDIALOG</span><br /><br />Linked RDDs<br />===========<br />&nbsp; &nbsp;DBF<br />&nbsp; &nbsp;DBFFPT<br />&nbsp; &nbsp;DBFBLOB<br />&nbsp; &nbsp;DBFCDX<br />&nbsp; &nbsp;DBFNTX<br /><br />DataBases in use<br />================<br /><br />Classes in use:<br />===============<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">1</span> ERROR<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">2</span> HBCLASS<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">3</span> HBOBJECT<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">4</span> TWINDOW<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">5</span> TDIALOG<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">6</span> TBRUSH<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">7</span> TCONTROL<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">8</span> TCOMBOBOX<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">9</span> TFONT<br />&nbsp; &nbsp; <span style=\"color: #000000;\">10</span> TREG32<br />&nbsp; &nbsp; <span style=\"color: #000000;\">11</span> TGET<br />&nbsp; &nbsp; <span style=\"color: #000000;\">12</span> <span style=\"color: #0000ff;\">GET</span><br />&nbsp; &nbsp; <span style=\"color: #000000;\">13</span> TCLIPGET<br />&nbsp; &nbsp; <span style=\"color: #000000;\">14</span> TBUTTON<br />&nbsp; &nbsp; <span style=\"color: #000000;\">15</span> TRECT<br />&nbsp; &nbsp; <span style=\"color: #000000;\">16</span> TSTRUCT<br /><br />Memory Analysis<br />===============<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">700</span> <span style=\"color: #00C800;\">Static</span> variables<br /><br />&nbsp; &nbsp;Dynamic memory consume:<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">Actual</span> &nbsp;Value: &nbsp; &nbsp;<span style=\"color: #000000;\">1048576</span> bytes<br />&nbsp; &nbsp; &nbsp; Highest Value: &nbsp; &nbsp;<span style=\"color: #000000;\">1048576</span> bytes<br />\u001a<br />&nbsp;</div>[/code:3urbf9ld]", "time": "18:39", "topic": "Ayuda con 2 Combobox ???", "username": "remtec" } ]
Ayuda con 2 Combobox ???
[ { "date": "2022-08-14", "forum": "FiveWin para Harbour/xHarbour", "text": "Como te he indicado, en el ejemplo, solo he proporcionado datos para las 3 primeras ciudades.\n\nAñade la información que necesites, y te aseguro que funciona bien <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "02:09", "topic": "Ayuda con 2 Combobox ???", "username": "Antonio Linares" } ]
Ayuda con 2 Combobox ???
[ { "date": "2022-08-14", "forum": "FiveWin para Harbour/xHarbour", "text": "Maestro Antonio.\n\nMuy buen dia.\n\nEn mi caso, uso combobox que debe contener la siguiente estructura, ambos usan como 1era columna el código a almacenar y 2da columna es la que se muestra en el combobox, no se si será lo mas adecuado, pero siempre he usado los combobox así, solo que en este caso, el 2do combobox, debe mostrar solo los datos que corresponden a la ciudad seleccionada en el 1er combobox 1.\n\nMuchos Saludos.\n\nDejo los arreglos con los datos y explicación de su contenido.\n[code=fw:1vnxepbf]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">// Ciudades</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">/*<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1era Columna = Codigo de Ciudad<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2da &nbsp;Columna = Nombre de la Ciudad<br />&nbsp; &nbsp; &nbsp; &nbsp; */</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">// Para Combobox 1</span><br />aCiudades :=<span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">1</span>,<span style=\"color: #ff0000;\">'ARICA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">2</span>,<span style=\"color: #ff0000;\">'PARINACOTA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">3</span>,<span style=\"color: #ff0000;\">'IQUIQUE'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">4</span>,<span style=\"color: #ff0000;\">'TAMARUGAL'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">5</span>,<span style=\"color: #ff0000;\">'ANTOFAGASTA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'SANTIAGO'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">54</span>,<span style=\"color: #ff0000;\">'TALAGANTE'</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br /><br /><br /><span style=\"color: #B900B9;\">//////////////</span><br /><span style=\"color: #B900B9;\">// Comunas</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">/*<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1era Columna = Codigo de Comuna<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2da &nbsp;Columna = Cod. Provi o Ciudad<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;3era Columna = Nombre de la Comuna<br />&nbsp; &nbsp; &nbsp; &nbsp; */</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">/*<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Al Seleccionar Ciudad, con su codigo, debo seleccionar todas las comunas igual codigo de ciudad:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Columna 2 de aComunas = Columna 1 de aCiudades.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Con esta seleccion lleno y muestro Combobox 2<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*/</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">// Combobox 2</span><br />aComunas:=<span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">1</span>,<span style=\"color: #ff0000;\">'ARICA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">1</span>,<span style=\"color: #ff0000;\">'CAMARONES'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">3</span>,<span style=\"color: #000000;\">2</span>,<span style=\"color: #ff0000;\">'PUTRE'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">4</span>,<span style=\"color: #000000;\">2</span>,<span style=\"color: #ff0000;\">'GENERAL LAGOS'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">5</span>,<span style=\"color: #000000;\">3</span>,<span style=\"color: #ff0000;\">'IQUIQUE'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">6</span>,<span style=\"color: #000000;\">3</span>,<span style=\"color: #ff0000;\">'ALTO HOSPICIO'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">7</span>,<span style=\"color: #000000;\">4</span>,<span style=\"color: #ff0000;\">'POZO ALMONTE'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">8</span>,<span style=\"color: #000000;\">4</span>,<span style=\"color: #ff0000;\">'CAMIÑA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">9</span>,<span style=\"color: #000000;\">4</span>,<span style=\"color: #ff0000;\">'COLCHANE'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">4</span>,<span style=\"color: #ff0000;\">'HUARA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">11</span>,<span style=\"color: #000000;\">4</span>,<span style=\"color: #ff0000;\">'PICA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">12</span>,<span style=\"color: #000000;\">5</span>,<span style=\"color: #ff0000;\">'ANTOFAGASTA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">13</span>,<span style=\"color: #000000;\">5</span>,<span style=\"color: #ff0000;\">'MEJILLONES'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">14</span>,<span style=\"color: #000000;\">5</span>,<span style=\"color: #ff0000;\">'SIERRA GORDA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">15</span>,<span style=\"color: #000000;\">5</span>,<span style=\"color: #ff0000;\">'TALTAL'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">295</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'SANTIAGO'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">296</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'CERRILLOS'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">297</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'CERRO NAVIA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">298</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'CONCHALÍ'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">299</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'EL BOSQUE'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">300</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'ESTACIÓN CENTRAL'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">301</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'HUECHURABA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">302</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'INDEPENDENCIA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">303</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LA CISTERNA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">304</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LA FLORIDA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">305</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LA GRANJA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">306</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LA PINTANA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">307</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LA REINA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">308</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LAS CONDES'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">309</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LO BARNECHEA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">310</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LO ESPEJO'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">311</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LO PRADO'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">312</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'MACUL'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">313</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'MAIPÚ'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">314</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'ÑUÑOA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">315</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'PEDRO AGUIRRE CERDA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">316</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'PEÑALOLÉN'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">317</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'PROVIDENCIA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">318</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'PUDAHUEL'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">319</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'QUILICURA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">320</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'QUINTA NORMAL'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">321</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'RECOLETA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">322</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'RENCA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">323</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'SAN JOAQUÍN'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">324</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'SAN MIGUEL'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">325</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'SAN RAMÓN'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">326</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'VITACURA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">342</span>,<span style=\"color: #000000;\">54</span>,<span style=\"color: #ff0000;\">'TALAGANTE'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">343</span>,<span style=\"color: #000000;\">54</span>,<span style=\"color: #ff0000;\">'EL MONTE'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">344</span>,<span style=\"color: #000000;\">54</span>,<span style=\"color: #ff0000;\">'ISLA DE MAIPO'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">345</span>,<span style=\"color: #000000;\">54</span>,<span style=\"color: #ff0000;\">'PADRE HURTADO'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">346</span>,<span style=\"color: #000000;\">54</span>,<span style=\"color: #ff0000;\">'PEÑAFLOR'</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp;</div>[/code:1vnxepbf]", "time": "18:24", "topic": "Ayuda con 2 Combobox ???", "username": "remtec" } ]
Ayuda con 2 Combobox ???
[ { "date": "2022-08-14", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio, mira si este codigo, adaptado del codigo de AL y tus arrays, te sirve de guia:\n\n[code=fw:e8xijdk8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">//------------------------------------------------//</span><br /><span style=\"color: #B900B9;\">//4o EJEMPLO DE 2 COMBOBOX CON ARRAYS</span><br /><span style=\"color: #B900B9;\">//------------------------------------------------//</span><br /><span style=\"color: #00C800;\">function</span> Fap4_2Arrays<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp; <span style=\"color: #B900B9;\">//Main()</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oDlg, cCiudad, cComuna, oComuna<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> aCiudades, aComunas, aArr<br /><br />&nbsp; &nbsp;aArr := CrearArrays<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;aCiudades := aArr<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> &nbsp;<br />&nbsp; &nbsp;aComunas &nbsp;:= aArr<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> &nbsp;<br /><br />&nbsp; &nbsp;cCiudad := aCiudades<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp;cComuna := aComunas<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">300</span>, <span style=\"color: #000000;\">600</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Seleccione Ciudad y Comuna\"</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">20</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">COMBOBOX</span> cCiudad <span style=\"color: #0000ff;\">ITEMS</span> aCiudades <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">130</span>,<span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> <span style=\"color: #000000;\">&#40;</span> oComuna:<span style=\"color: #000000;\">SetItems</span><span style=\"color: #000000;\">&#40;</span> aComunas<span style=\"color: #000000;\">&#91;</span> AScan<span style=\"color: #000000;\">&#40;</span> aCiudades, cCiudad <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span>, oComuna:<span style=\"color: #000000;\">Set</span><span style=\"color: #000000;\">&#40;</span> oComuna:<span style=\"color: #000000;\">aItems</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">20</span>,<span style=\"color: #000000;\">160</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oComuna <span style=\"color: #0000ff;\">VAR</span> cComuna <span style=\"color: #0000ff;\">ITEMS</span> aComunas<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">130</span>,<span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">100</span>,<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">300</span>/<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>-<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">100</span>/<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Mostrar seleccionado\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg ; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> cCiudad, cComuna <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 /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><span style=\"color: #B900B9;\">//----------------------------------------//</span><br /><span style=\"color: #00C800;\">Function</span> CrearArrays<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> aArray1 := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span>, aArray2 := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span>, aItems := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span>, nVar, n<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> aCiudades:=<span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>,<span style=\"color: #ff0000;\">'ARICA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">2</span>,<span style=\"color: #ff0000;\">'PARINACOTA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">3</span>,<span style=\"color: #ff0000;\">'IQUIQUE'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">4</span>,<span style=\"color: #ff0000;\">'TAMARUGAL'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">5</span>,<span style=\"color: #ff0000;\">'ANTOFAGASTA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'SANTIAGO'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">54</span>,<span style=\"color: #ff0000;\">'TALAGANTE'</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> aComunas:= <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">1</span>,<span style=\"color: #ff0000;\">'ARICA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">1</span>,<span style=\"color: #ff0000;\">'CAMARONES'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">3</span>,<span style=\"color: #000000;\">2</span>,<span style=\"color: #ff0000;\">'PUTRE'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">4</span>,<span style=\"color: #000000;\">2</span>,<span style=\"color: #ff0000;\">'GENERAL LAGOS'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">5</span>,<span style=\"color: #000000;\">3</span>,<span style=\"color: #ff0000;\">'IQUIQUE'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">6</span>,<span style=\"color: #000000;\">3</span>,<span style=\"color: #ff0000;\">'ALTO HOSPICIO'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">7</span>,<span style=\"color: #000000;\">4</span>,<span style=\"color: #ff0000;\">'POZO ALMONTE'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">8</span>,<span style=\"color: #000000;\">4</span>,<span style=\"color: #ff0000;\">'CAMIÑA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">9</span>,<span style=\"color: #000000;\">4</span>,<span style=\"color: #ff0000;\">'COLCHANE'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">4</span>,<span style=\"color: #ff0000;\">'HUARA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">11</span>,<span style=\"color: #000000;\">4</span>,<span style=\"color: #ff0000;\">'PICA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">12</span>,<span style=\"color: #000000;\">5</span>,<span style=\"color: #ff0000;\">'ANTOFAGASTA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">13</span>,<span style=\"color: #000000;\">5</span>,<span style=\"color: #ff0000;\">'MEJILLONES'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">14</span>,<span style=\"color: #000000;\">5</span>,<span style=\"color: #ff0000;\">'SIERRA GORDA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">15</span>,<span style=\"color: #000000;\">5</span>,<span style=\"color: #ff0000;\">'TALTAL'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">295</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'SANTIAGO'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">296</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'CERRILLOS'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">297</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'CERRO NAVIA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">298</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'CONCHALÍ'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">299</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'EL BOSQUE'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">300</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'ESTACIÓN CENTRAL'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">301</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'HUECHURABA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">302</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'INDEPENDENCIA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">303</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LA CISTERNA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">304</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LA FLORIDA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">305</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LA GRANJA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">306</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LA PINTANA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">307</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LA REINA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">308</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LAS CONDES'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">309</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LO BARNECHEA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">310</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LO ESPEJO'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">311</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LO PRADO'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">312</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'MACUL'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">313</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'MAIPÚ'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">314</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'ÑUÑOA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">315</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'PEDRO AGUIRRE CERDA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">316</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'PEÑALOLÉN'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">317</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'PROVIDENCIA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">318</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'PUDAHUEL'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">319</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'QUILICURA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">320</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'QUINTA NORMAL'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">321</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'RECOLETA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">322</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'RENCA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">323</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'SAN JOAQUÍN'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">324</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'SAN MIGUEL'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">325</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'SAN RAMÓN'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">326</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'VITACURA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">342</span>,<span style=\"color: #000000;\">54</span>,<span style=\"color: #ff0000;\">'TALAGANTE'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">343</span>,<span style=\"color: #000000;\">54</span>,<span style=\"color: #ff0000;\">'EL MONTE'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">344</span>,<span style=\"color: #000000;\">54</span>,<span style=\"color: #ff0000;\">'ISLA DE MAIPO'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">345</span>,<span style=\"color: #000000;\">54</span>,<span style=\"color: #ff0000;\">'PADRE HURTADO'</span><span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">346</span>,<span style=\"color: #000000;\">54</span>,<span style=\"color: #ff0000;\">'PEÑAFLOR'</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; <span style=\"color: #00C800;\">For</span> n := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">To</span> Len<span style=\"color: #000000;\">&#40;</span>aCiudades<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; aadd<span style=\"color: #000000;\">&#40;</span>aArray1, aCiudades<span style=\"color: #000000;\">&#91;</span>n,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; nVar := aCiudades<span style=\"color: #000000;\">&#91;</span>n,<span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp; &nbsp; aItems := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; AEval<span style=\"color: #000000;\">&#40;</span> aComunas, <span style=\"color: #000000;\">&#123;</span>|a| <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span>a<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> == nVar, aadd<span style=\"color: #000000;\">&#40;</span>aItems, a<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span><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 />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> len<span style=\"color: #000000;\">&#40;</span>aItems<span style=\"color: #000000;\">&#41;</span> = <span style=\"color: #000000;\">0</span>, aadd<span style=\"color: #000000;\">&#40;</span>aItems,<span style=\"color: #ff0000;\">\"Sin Valor\"</span><span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">nil</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; aadd<span style=\"color: #000000;\">&#40;</span>aArray2, aItems<span style=\"color: #000000;\">&#41;</span><br />&nbsp; <span style=\"color: #00C800;\">Next</span><br /><br />&nbsp; SysRefresh<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #000000;\">&#123;</span> aArray1, aArray2 <span style=\"color: #000000;\">&#125;</span><br /><span style=\"color: #B900B9;\">//------------------------------------------------//</span><br /><span style=\"color: #B900B9;\">//FIN 4o EJEMPLO DE 2 COMBOBOX CON ARRAYS</span><br /><span style=\"color: #B900B9;\">//------------------------------------------------//</span><br />&nbsp;</div>[/code:e8xijdk8]\nSaludos.", "time": "21:43", "topic": "Ayuda con 2 Combobox ???", "username": "FranciscoA" } ]
Ayuda con 2 Combobox ???
[ { "date": "2022-08-15", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"FranciscoA\":3gla6fzk]Antonio, mira si este codigo, adaptado del codigo de AL y tus arrays, te sirve de guia:\n\n[code=fw:3gla6fzk]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">//------------------------------------------------//</span><br /><span style=\"color: #B900B9;\">//4o EJEMPLO DE 2 COMBOBOX CON ARRAYS</span><br /><span style=\"color: #B900B9;\">//------------------------------------------------//</span><br /><span style=\"color: #00C800;\">function</span> Fap4_2Arrays<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>   <span style=\"color: #B900B9;\">//Main()</span><br />   <span style=\"color: #00C800;\">local</span> oDlg, cCiudad, cComuna, oComuna<br />   <span style=\"color: #00C800;\">local</span> aCiudades, aComunas, aArr<br /><br />   aArr := CrearArrays<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   aCiudades := aArr<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>  <br />   aComunas  := aArr<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>  <br /><br />   cCiudad := aCiudades<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span><br />   cComuna := aComunas<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span><br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">300</span>, <span style=\"color: #000000;\">600</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Seleccione Ciudad y Comuna\"</span><br /><br />   @ <span style=\"color: #000000;\">20</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">COMBOBOX</span> cCiudad <span style=\"color: #0000ff;\">ITEMS</span> aCiudades <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">130</span>,<span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br />            <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> <span style=\"color: #000000;\">&#40;</span> oComuna:<span style=\"color: #000000;\">SetItems</span><span style=\"color: #000000;\">&#40;</span> aComunas<span style=\"color: #000000;\">&#91;</span> AScan<span style=\"color: #000000;\">&#40;</span> aCiudades, cCiudad <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span>, oComuna:<span style=\"color: #000000;\">Set</span><span style=\"color: #000000;\">&#40;</span> oComuna:<span style=\"color: #000000;\">aItems</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />   @ <span style=\"color: #000000;\">20</span>,<span style=\"color: #000000;\">160</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oComuna <span style=\"color: #0000ff;\">VAR</span> cComuna <span style=\"color: #0000ff;\">ITEMS</span> aComunas<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">130</span>,<span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <br /><br />   @ <span style=\"color: #000000;\">100</span>,<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">300</span>/<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>-<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">100</span>/<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Mostrar seleccionado\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg ; <br />            <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> cCiudad, cComuna <span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><span style=\"color: #B900B9;\">//----------------------------------------//</span><br /><span style=\"color: #00C800;\">Function</span> CrearArrays<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">local</span> aArray1 := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span>, aArray2 := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span>, aItems := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span>, nVar, n<br /><br />   <span style=\"color: #00C800;\">local</span> aCiudades:=<span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>,<span style=\"color: #ff0000;\">'ARICA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">2</span>,<span style=\"color: #ff0000;\">'PARINACOTA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">3</span>,<span style=\"color: #ff0000;\">'IQUIQUE'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">4</span>,<span style=\"color: #ff0000;\">'TAMARUGAL'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">5</span>,<span style=\"color: #ff0000;\">'ANTOFAGASTA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'SANTIAGO'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">54</span>,<span style=\"color: #ff0000;\">'TALAGANTE'</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />   <span style=\"color: #00C800;\">local</span> aComunas:= <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">1</span>,<span style=\"color: #ff0000;\">'ARICA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">1</span>,<span style=\"color: #ff0000;\">'CAMARONES'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">3</span>,<span style=\"color: #000000;\">2</span>,<span style=\"color: #ff0000;\">'PUTRE'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">4</span>,<span style=\"color: #000000;\">2</span>,<span style=\"color: #ff0000;\">'GENERAL LAGOS'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">5</span>,<span style=\"color: #000000;\">3</span>,<span style=\"color: #ff0000;\">'IQUIQUE'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">6</span>,<span style=\"color: #000000;\">3</span>,<span style=\"color: #ff0000;\">'ALTO HOSPICIO'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">7</span>,<span style=\"color: #000000;\">4</span>,<span style=\"color: #ff0000;\">'POZO ALMONTE'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">8</span>,<span style=\"color: #000000;\">4</span>,<span style=\"color: #ff0000;\">'CAMIÑA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">9</span>,<span style=\"color: #000000;\">4</span>,<span style=\"color: #ff0000;\">'COLCHANE'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">4</span>,<span style=\"color: #ff0000;\">'HUARA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">11</span>,<span style=\"color: #000000;\">4</span>,<span style=\"color: #ff0000;\">'PICA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">12</span>,<span style=\"color: #000000;\">5</span>,<span style=\"color: #ff0000;\">'ANTOFAGASTA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">13</span>,<span style=\"color: #000000;\">5</span>,<span style=\"color: #ff0000;\">'MEJILLONES'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">14</span>,<span style=\"color: #000000;\">5</span>,<span style=\"color: #ff0000;\">'SIERRA GORDA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">15</span>,<span style=\"color: #000000;\">5</span>,<span style=\"color: #ff0000;\">'TALTAL'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">295</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'SANTIAGO'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">296</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'CERRILLOS'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">297</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'CERRO NAVIA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">298</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'CONCHALÍ'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">299</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'EL BOSQUE'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">300</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'ESTACIÓN CENTRAL'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">301</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'HUECHURABA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">302</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'INDEPENDENCIA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">303</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LA CISTERNA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">304</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LA FLORIDA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">305</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LA GRANJA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">306</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LA PINTANA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">307</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LA REINA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">308</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LAS CONDES'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">309</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LO BARNECHEA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">310</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LO ESPEJO'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">311</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'LO PRADO'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">312</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'MACUL'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">313</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'MAIPÚ'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">314</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'ÑUÑOA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">315</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'PEDRO AGUIRRE CERDA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">316</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'PEÑALOLÉN'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">317</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'PROVIDENCIA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">318</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'PUDAHUEL'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">319</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'QUILICURA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">320</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'QUINTA NORMAL'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">321</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'RECOLETA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">322</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'RENCA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">323</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'SAN JOAQUÍN'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">324</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'SAN MIGUEL'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">325</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'SAN RAMÓN'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">326</span>,<span style=\"color: #000000;\">49</span>,<span style=\"color: #ff0000;\">'VITACURA'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">342</span>,<span style=\"color: #000000;\">54</span>,<span style=\"color: #ff0000;\">'TALAGANTE'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">343</span>,<span style=\"color: #000000;\">54</span>,<span style=\"color: #ff0000;\">'EL MONTE'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">344</span>,<span style=\"color: #000000;\">54</span>,<span style=\"color: #ff0000;\">'ISLA DE MAIPO'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">345</span>,<span style=\"color: #000000;\">54</span>,<span style=\"color: #ff0000;\">'PADRE HURTADO'</span><span style=\"color: #000000;\">&#125;</span>,;<br />                <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">346</span>,<span style=\"color: #000000;\">54</span>,<span style=\"color: #ff0000;\">'PEÑAFLOR'</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />  <span style=\"color: #00C800;\">For</span> n := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">To</span> Len<span style=\"color: #000000;\">&#40;</span>aCiudades<span style=\"color: #000000;\">&#41;</span><br />      aadd<span style=\"color: #000000;\">&#40;</span>aArray1, aCiudades<span style=\"color: #000000;\">&#91;</span>n,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span><br />      nVar := aCiudades<span style=\"color: #000000;\">&#91;</span>n,<span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span><br />      aItems := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span><br />      AEval<span style=\"color: #000000;\">&#40;</span> aComunas, <span style=\"color: #000000;\">&#123;</span>|a| <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span>a<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> == nVar, aadd<span style=\"color: #000000;\">&#40;</span>aItems, a<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span><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 />      <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> len<span style=\"color: #000000;\">&#40;</span>aItems<span style=\"color: #000000;\">&#41;</span> = <span style=\"color: #000000;\">0</span>, aadd<span style=\"color: #000000;\">&#40;</span>aItems,<span style=\"color: #ff0000;\">\"Sin Valor\"</span><span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">nil</span> <span style=\"color: #000000;\">&#41;</span><br />      aadd<span style=\"color: #000000;\">&#40;</span>aArray2, aItems<span style=\"color: #000000;\">&#41;</span><br />  <span style=\"color: #00C800;\">Next</span><br /><br />  SysRefresh<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #000000;\">&#123;</span> aArray1, aArray2 <span style=\"color: #000000;\">&#125;</span><br /><span style=\"color: #B900B9;\">//------------------------------------------------//</span><br /><span style=\"color: #B900B9;\">//FIN 4o EJEMPLO DE 2 COMBOBOX CON ARRAYS</span><br /><span style=\"color: #B900B9;\">//------------------------------------------------//</span><br /> </div>[/code:3gla6fzk]\nSaludos.[/quote:3gla6fzk]\n\nHola Amigo Francisco.\n\nComo estas?\n\nMuchas gracias por responder y por tu ayuda.\n\nProbé tu código, el boton, solo muestra la Ciudad, aunque seleccione alguna comuna, esta no se muestra, trate de poner un ON CHANGE, pero me genera el mismo error que con mi código publicado.\n\nMuchos Saludos.\n\nMuchos Saludos\n\nAntonio", "time": "01:44", "topic": "Ayuda con 2 Combobox ???", "username": "remtec" } ]
Ayuda con 2 Combobox ???
[ { "date": "2022-08-15", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"remtec\":106nz78d]\nProbé tu código, el boton, solo muestra la Ciudad, aunque seleccione alguna comuna, esta no se muestra,\n[/quote:106nz78d]\n\nQue raro, Antonio, a mi me funciona bien. Uso Windows 10 y XHarbour. La comuna se muestra como el titulo del MsgInfo()\nSaludos.", "time": "02:00", "topic": "Ayuda con 2 Combobox ???", "username": "FranciscoA" } ]
Ayuda con 2 Combobox ???