topic
stringlengths
1
63
text
stringlengths
1
577k
Ayuda a completar el wiki y gana un FWH 9.07 !!!
Aqui teneis un ejemplo de plantilla a usar para la documentación de clases en el wiki: [url:s716rnii]http&#58;//wiki&#46;fivetechsoft&#46;com/doku&#46;php?id=fivewin_clase_tacctable[/url:s716rnii] Este es el formato usado: [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]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
Antonio, ¿ Existe una forma de subir varias definiciones en forma masiva ? ¿ Por ejemplo en varios archivos txt ? y despues agregarlos al indice Atte., Lautaro
Ayuda a completar el wiki y gana un FWH 9.07 !!!
Lautaro, No, que yo sepa. Solo copiar y pegar, todo el contenido en una página. De todas formas, estamos usando dokuwiki para el wiki de FiveTech, y a lo mejor buscando en google aparezca una forma de hacerlo masivamente.
Ayuda a completar el wiki y gana un FWH 9.07 !!!
Ok, Buscaremos. <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> Atte., Lautaro
Ayuda a completar el wiki y gana un FWH 9.07 !!!
Contenidos del wiki: * 773 funciones en español (y no está actualizado a la versión FWH 9.07) * 149 Classes (igualmente, no está actualizado a la versión más reciente) <!-- m --><a class="postlink" href="http://wiki.fivetechsoft.com">http://wiki.fivetechsoft.com</a><!-- m -->
Ayuda a completar el wiki y gana un FWH 9.07 !!!
Hola Antonio, Estas son las clases que he puesto en la wiki, saludos... ticon tini tradio tradmenu tras TRColumn tSay TTimer turllink ttrayicon
Ayuda a completar el wiki y gana un FWH 9.07 !!!
Pablo, Muchas gracias <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Te enviamos un FWH 9.07
Ayuda a completar el wiki y gana un FWH 9.07 !!!
Sip...
Ayuda a completar el wiki y gana un FWH 9.07 !!!
Pablo, Debes haberlo recibido ya <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Ayuda a completar el wiki y gana un FWH 9.07 !!!
Antonio, enviamela a pabloalbertovidal arroba gmail punto com
Ayuda a completar el wiki y gana un FWH 9.07 !!!
Pablo, Enviada <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Ayuda a completar el wiki y gana un FWH 9.07 !!!
A todos los que han ayudado en el wiki y eligieron FWH: La versión que estamos entregando, y que es la que se anunció aqui, es la 9.07. Si 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:-) -->
Ayuda a completar el wiki y gana un FWH 9.07 !!!
Por favor, al describir los comandos siempre poned una líneas al final para asi enlazar con la clase asociada. Gracias! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> ====== Ver también ====== [[fivewin_clase_tnombre|Class TNombre]] De igual forma en las clases podemos especificar el enlace a su descripción de comandos: ====== Ver también ====== [[fivewin_comandos_nombre|Comandos Nombre]]
Ayuda a completar el wiki y gana un FWH 9.07 !!!
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. La 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:-) -->
Ayuda a completar el wiki y gana un FWH 9.07 !!!
Bueno, dada la cantidad de solicitudes, hacemos una nueva oferta: 10 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 --> y obteneis el nuevo FWH 9.08 <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> gracias!
Ayuda a completar el wiki y gana un FWH 9.07 !!!
Antonio, Buena oferta, felicidades! <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: --> Por cierto... esto no tiene carácter retroactivo verdad? jajajaja <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: --> Espero poder seguir colaborando! Saludos!
Ayuda a completar el wiki y gana un FWH 9.07 !!!
David, Aun 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:-) --> gracias!
Ayuda a completar el wiki y gana un FWH 9.07 !!!
Antonio, Tengo 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. A ver si esta (con perdón pero ando de los nervios) p... crisis me deja algo de tiempo para empezar-seguir con mi desarrollo. Muchas Gracias Antonio.
Ayuda a completar el wiki y gana un FWH 9.07 !!!
David, No lo recordaba, discúlpame <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> En el historico de cambios de cada página del wiki puede verse cuando se ha modificado y por quien. Gracias 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:-) -->
Ayuda a completar el wiki y gana un FWH 9.07 !!!
Buenos días Antonio. ¿El wiki se abandonó o sigue actualizándose?. Un saludo. Fernando
Ayuda a completar el wiki y gana un FWH 9.07 !!!
El wiki sigue actualizandose constantemente <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Toda nuestra documentación esta online (en la nube) ahora <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Ayuda a completar el wiki y gana un FWH 9.07 !!!
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:-) -->
Ayuda a completar el wiki y gana un FWH 9.07 !!!
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, ... Un saludo.
Ayuda a completar el wiki y gana un FWH 9.07 !!!
Eloy, Y no es más sencillo consultar el wiki directamente online ? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Ayuda a completar el wiki y gana un FWH 9.07 !!!
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.
Ayuda a completar el wiki y gana un FWH 9.07 !!!
Eloy, Tienes razon, esa documentacion en fichero esta obsoleta y no debieramos distribuirla, sino apuntar directamente al wiki gracias por la sugerencia <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Ayuda a optimizar...
Estimados, Estoy queriendo ver si esta funcion me dan una idea de optimizacion, yo no tengo la facilidad que tienen otros de optimizar ya que no conozco bien el lenguaje. alguien podría darme una mano. Que quede claro algo, esta funcion no está completamente terminada van a ver que hay variables declaradas pero aun no las uso. lo que me interesa es ver si lo que esta dentro del DO WHILE se puede optimizar. [code:1kvlstlh]FUNCTION STATUS&#40;&#41; LOCAL cRespuesta &#58;= "" LOCAL nItem &#58;= 1 LOCAL cSurtidor &#58;= Space&#40; 02 &#41; LOCAL nSurtidor &#58;= 1 LOCAL nManguera &#58;= 1 LOCAL alCambio &#58;= Array&#40; Len&#40; aEstados &#41; &#41; AFill&#40; alCambio, &#46;f&#46; &#41; oTimer&#58;deactivate&#40;&#41; DBSelectArea&#40; "CARGAS" &#41; CARGAS->&#40; DBGoTop&#40;&#41; &#41; nItem&#58;= 1 DO WHILE !eof&#40;&#41; IF cSurtidor != CARGAS->SURTIDOR nItem &#58;= 1 cSurtidor &#58;= CARGAS->SURTIDOR ENDIF IF &#40; aEstados&#91; Val&#40; CARGAS-> SURTIDOR &#41; &#93;&#91; nItem &#93;!= CARGAS->ULT_ST &#41; alCambio&#91; Val&#40; CARGAS->SURTIDOR &#41; &#93;&#58;= &#46;T&#46; ENDIF aEstados&#91; Val&#40; CARGAS-> SURTIDOR &#41; &#93;&#91; nItem &#93; &#58;= CARGAS->ULT_ST nItem++ CARGAS->&#40; DBSkip&#40;&#41; &#41; ENDDO cRespuesta&#58;= AllTrim&#40; cRespuesta &#41; grabarlogdbf&#40; 99, cRespuesta &#41; oTimer&#58;activate&#40;&#41; RETURN &#40; cRespuesta &#41;[/code:1kvlstlh] Gracias.
Ayuda acerca de variable con un XML
Buenos días/tardes/noches: Con 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. Lo hago así: [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] Con esto obtengo en cRespWS la respuesta del servicio web que es otro xml Necesito 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. [b:2he9wvsr][u:2he9wvsr]LA PREGUNTA ES: ¿ 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]
Ayuda acerca de variable con un XML
José; Tal vez digo una barrabasada, Que tal la función MEMOWRITE() Saludos
Ayuda acerca de variable con un XML
mmm.... curiosamente no se me ocurrió, probaré y te cuento <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
Ayuda acerca de variable con un XML
[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] Con MEMOWRITE me pone un carácter al final
Ayuda acerca de variable con un XML
Hola, en primer lugar gracias a todos por la ayuda y el soporte de siempre, es un gran tesoro para los programadores. Bueno, 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... Hay alguna clase o algo que permita convertir la variable que contiene el xml en un archivo xml con el formato correcto? Gracias desde ya por vuestra ayuda e interés.
Ayuda acerca de variable con un XML
[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] Con MEMOWRITE me pone un carácter al final[/quote:30870yxt] En lugar de MemoWrite usa HB_MemoWrit(), no escribe el caracter EOF del final. Cosillas 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:) -->
Ayuda acerca de variable con un XML
[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. Bueno, 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... Hay alguna clase o algo que permita convertir la variable que contiene el xml en un archivo xml con el formato correcto? Gracias desde ya por vuestra ayuda e interés.[/quote:32ywl9ov] Define "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í? En un prinicpio lo querias transformar a dbf, por lo que si tienes un campo memo, haces directamente [code=fw:32ywl9ov]<div class="fw" id="{CB}" style="font-family: monospace;"> Field->Memo := cRespWS</div>[/code:32ywl9ov] El memo soporta CRLF, EOF, etc. (si se usa FTP)
Ayuda acerca de variable con un XML
Carlos, gracias por tu comentario. Yo 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. Veo 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. La verdad no me doy cuenta porque sucede esto.
Ayuda acerca de variable con un XML
Bueno, había dejado este hilo sin cerrar.... Quisiera agradecer a todos los que me ayudaron y dieron sugerencias. GRACIAS !!!! Luego de agregar los CRLF faltantes del xml mediante Strtran( cxml, '><', ( '>'+CRLF+'<' ) ) todo anduvo sobre ruedas. interesante función hb_memowrit <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> . El 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 -->
Ayuda al IMPRIMIR.
Hola Amigos: Tengo 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. Asi uso en comando: Print oPrint From User Preview En espera de su ayuda, les saluda, Miguel Rivera
Ayuda al IMPRIMIR.
Miguel, Por favor prueba samples\TestPrn2.prg y observa si se comporta igual que en tu programa
Ayuda al IMPRIMIR.
Miguel prueba esto... cambia esto: Print oPrint From User Preview Por Print oPrint From User Preview MODAL
Ayuda al compilar
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. [b:3v4hk9sk]NMAKE : fatal error U1077: 'link' : código devuelto '0x470'[/b:3v4hk9sk] Genera bien los .obj, los .c, pero ya no me genera el .exe por causa del error anterior. Si puedieran ayudarme por favor, tengo el tiempo limitado para entregar mi aplicación. Gracias. FWH64 14.12, Harbour 3.2 a 64 bits
Ayuda al compilar
Usas Visual Studio? [url:1uvwfsdr]http&#58;//qt-project&#46;org/forums/viewthread/5362[/url:1uvwfsdr] Saludos.
Ayuda al compilar
[quote="karinha":318xrgzl]Usas Visual Studio? [url:318xrgzl]http&#58;//qt-project&#46;org/forums/viewthread/5362[/url:318xrgzl] Saludos.[/quote:318xrgzl] Hola Kari gracias por contestarme, no uso visual studio, es fivewin 64 para harbour 3.2, utilizando el pelles C para mis recursos. Agradecería tu ayuda.
Ayuda al compilar
Talvez: [url:ygm7r8qv]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=3&t=29907&p=170068&hilit=nmake#p170068[/url:ygm7r8qv] [url:ygm7r8qv]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=6&t=28959&p=163012&hilit=nmake#p163012[/url:ygm7r8qv] Saludos.
Ayuda ante un GPF
Estoy buscando un ejemplo de uso de __TracePrgCalls( .T. ) pues como se comenta en la documentación: [quote:d0dkavw1] * Once the tracing decribed below is turned on, you can call this * in a PRG to trace PRG-level function calls: * * __TRACEPRGCALLS( <lOnOff> ) --> <lOldValue> * * It turns on|off tracing of PRG-level function and method calls. * The symbol name is written just before it's called. * This is very useful when debugging GPFs as it * will trace all PRG-level calls up until the crash. * Uses HB_TRACE so traces are in line with any C-level traces.[/quote:d0dkavw1] Alguien lo usa ? gracias Entiendo 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:-) -->
Ayuda ante un GPF
Mira se ayuda maestro, <!-- 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 --> <!-- 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 --> <!-- 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 --> <!-- 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 --> Saludos
Ayuda ante un GPF
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?p=153552#p153552">viewtopic.php?p=153552#p153552</a><!-- l -->
Ayuda bat para compilar y enlazar varios prg
Estimados Colegas Alguien tiene algun bat sencillo para compilar , enlazar varios prg y generar un exe con xharbour desde ya muchas gracias Fabian <!-- e --><a href="mailto:databaselab2002@yahoo.com.ar">databaselab2002@yahoo.com.ar</a><!-- e -->
Ayuda bat para compilar y enlazar varios prg
Fabian, fwh\makes\bormake.zip y msmake.zip
Ayuda browse con imagenes
He vuelto sobre el tema : la idea es la siguiente , con una func ion le digo que columna quiero que tenga imagenes . [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] luego en el tableview le digo que carge imagenes en vez string [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] el problema esta en las lineas : [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] no consiguo que me devuelva in integer para comparar .... que otras opciones tengo?
Ayuda browse con imagenes
porfin me funciona : [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] [img:t0n3wtt7]http&#58;//img682&#46;imageshack&#46;us/img682/7749/screencaptureb&#46;png[/img:t0n3wtt7]
Ayuda browse con imagenes
Manuel, He modificado el código así: [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] Solo 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:-) -->
Ayuda browse con imagenes
He mirado una cosa no funciona bien porque : [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] NSImageCellType tiene valor 3 y type devuelve valor 0 porque aun no tiene datos . aun mejor pues sirve para mas tipos de NSCells y funciona : [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]
Ayuda browse con imagenes
Manuel, Realmente buena tu solución ! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Es una gran satisfacción estar programando contigo en FiveMac <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> gracias!
Ayuda browse con imagenes
[quote="Antonio Linares":2ufen7me]Manuel, Realmente buena tu solución ! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Es una gran satisfacción estar programando contigo en FiveMac <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> gracias![/quote:2ufen7me] La satisfación es mía al poder aportar algo a este gran proyecto . faltaba el control de la existencia de imagen .... [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]
Ayuda btnbmp color de fondo
Estimados Colegas Como puedo hacer para que un btnbmp, me tome el color de fondo deun dialogo y no que me quede como ahora con fondo gris Utilizo Fivewin 2.4 desde ya muchisimas gracias Dante <!-- e --><a href="mailto:devwin2004@yahoo.com.ar">devwin2004@yahoo.com.ar</a><!-- e -->
Ayuda btnbmp color de fondo
Estimados Colegas Como puedo hacer para que un btnbmp, me tome el color de fondo deun dialogo y no que me quede como ahora con fondo gris Utilizo Fivewin 2.4 desde ya muchisimas gracias Dante <!-- e --><a href="mailto:devwin2004@yahoo.com.ar">devwin2004@yahoo.com.ar</a><!-- e -->
Ayuda cambio de tcbrowse a xbrowse.
Estoy revisando los samples de xbrowse, pero por muchos cambios que hago no consigo editar las columnas como hacia con el tcbrowse. Resumo, 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]  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] y 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. Podrias hacerme los cambios necesarios para que funcionase, ya he probado casi todo.Gracias
Ayuda cambio de tcbrowse a xbrowse.
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.) Lo que os he puesto es la funcion sin hacer ningun cambio para que me ayudeis a hacer los cambios para editar. Gracias
Ayuda cambio de tcbrowse a xbrowse.
Mira este post. Quizá te sirva de guía. <!-- 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 --> Saludos
Ayuda cerrar pestaña
Hola, ¿ 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 ? Como la que lleva el navegador firefox por ejemplo.
Ayuda cerrar pestaña
Prueba con la data ::bBmpAction
Ayuda cerrar pestaña
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: -->
Ayuda coa adordd y Mysql (Error de alias)
Saludes amigos del foro, Gracias 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 ? el codigo que compilo es : //=========================== static function browRST() //=========================== Public oDlg,oBrw USE "Personal1" VIA "ADORDD" TABLE "MAESTRO" MYSQL ; FROM "localhost" USER "root" PASSWORD "1234" DEFINE DIALOG oDlg FROM 1, 1 TO 25, 79 @ 1, 1 LISTBOX oBrw FIELDS MAESTRO->codigo, ; MAESTRO->nombre, ; MAESTRO->salario ; HEADERS "Codigo","Nombre ","Salario" ; FIELDSIZES 60,200,60 ; SIZE 284, 137 OF oDlg @154,08 BTNBMP LEFT PROMPT " Agregar" SIZE 50,19 OF oDlg FILENAME "NEW1.BMP" ACTION oDlg:End() @154,67 BTNBMP LEFT PROMPT " Modificar" SIZE 50,19 OF oDlg FILENAME "CARDF00C.BMP" ACTION oDlg:End() @154,125 BTNBMP LEFT PROMPT " Borrar" SIZE 50,19 OF oDlg FILENAME "BORRAR1.BMP" //ACTION BorraU(oLbx ) @154,184 BTNBMP LEFT PROMPT " Buscar" SIZE 50,19 OF oDlg FILENAME "FIND.BMP" //ACTION BuscaU(oLbx,3,"Color") @154,242 BTNBMP LEFT PROMPT " Salir" SIZE 50,19 OF oDlg FILENAME "SALIR3.BMP" ACTION oDlg:End() ACTIVATE DIALOG oDlg CENTERED CLOSE DATABASES RETURN NIL y el error que me manda es el siguiente : Application =========== Path and name: C:\sistemas\RRHH_32\personal.exe (32 bits) Size: 1,460,224 bytes Time from start: 0 hours 0 mins 6 secs Error occurred at: 08/05/2007, 17:24:01 Error description: Error BASE/1002 Alias does not exist: MAESTRO Stack Calls =========== Called from: personal.prg => (b)BROWRST(547) Called from: WBROWSE.PRG => TWBROWSE:DEFAULT(0) Called from: WBROWSE.PRG => (b)TWBROWSE:TWBROWSE(0) Called from: WBROWSE.PRG => TWBROWSE:INITIATE(0) Called from: => __OBJSENDMSG(0) Called from: HARBOUR.PRG => OSEND(0) Called from: HARBOUR.PRG => ASEND(0) Called from: DIALOG.PRG => TDIALOG:INITIATE(0) Called from: DIALOG.PRG => TDIALOG:HANDLEEVENT(0) Called from: => DIALOGBOXINDIRECT(0) Called from: DIALOG.PRG => TDIALOG:ACTIVATE(0) Called from: => BROWRST(555) Called from: personal.prg => (b)CREAMENU(121) Called from: MENU.PRG => TMENU:COMMAND(0) Called from: WINDOW.PRG => TWINDOW:COMMAND(0) Called from: WINDOW.PRG => TWINDOW:HANDLEEVENT(0) Called from: WINDOW.PRG => _FWH(0) Called from: => WINRUN(0) Called from: WINDOW.PRG => TWINDOW:ACTIVATE(0) Called from: personal.prg => PRINCIPAL(74) System ====== CPU type: Intel(R) Celeron(R) M processor 1.60GHz 1600 Mhz Hardware memory: 447 megs Free System resources: 90 % GDI resources: 90 % User resources: 90 % Compiler version: xHarbour build 0.99.71 Intl. (SimpLex) Windows version: 5.1, Build 2600 Service Pack 2 Agradezco como siempre la ayuda de todos los amigos del foro Ramon Paredes Managua, Nicaragua
Ayuda coa adordd y Mysql (Error de alias)
Te falta especificar la claúsula ALIAS: USE "Personal1" VIA "ADORDD" TABLE "MAESTRO" MYSQL ; FROM "localhost" USER "root" PASSWORD "1234" ALIAS "MAESTRO"
Ayuda color de Fondo Outlook2003 fwh 8.05
Estimados Colegas Estoy tratando de asignarle otro color de fondo que no sea gris a Outlook2003 alguien me puede orientar como hacerlo tengo la version fwh 8.05 desde ya muchas gracias Fabian
Ayuda color de Fondo Outlook2003 fwh 8.05
Dear Mr.Fabian, [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] Try oOutLook:SetColor( nClrFore, nClrBack ) See Wiki [url:3kzvo3b9]http&#58;//wiki&#46;fivetechsoft&#46;com/doku&#46;php?id=fivewin_class_toutlook[/url:3kzvo3b9] [url:3kzvo3b9]http&#58;//wiki&#46;fivetechsoft&#46;com/doku&#46;php?id=fivewin_commands_outlook[/url:3kzvo3b9] Regards Anser
Ayuda com listbox usando ADORDD e comando SQL( Resolvido)
Preciso de una ayuda con el codigo abajo[code:ugahka6r] #include "FiveWin&#46;ch" #include "TSButton&#46;ch" #Include "SSay&#46;Ch" #include "Voget&#46;ch" #include "adordd&#46;ch" REQUEST ADORDD #define adOpenForwardOnly 0 #define adOpenKeyset 1 #define adOpenDynamic 2 #define adOpenStatic 3 #define adLockReadOnly 1 #define adLockPessimistic 2 #define adLockOptimistic 3 #define adLockBatchOptimistic 4 //----------------------------------------------------------------------------// Function Oper201&#40; oWnd &#41; local oClient, lAcao local oFont private oLbx, oDbf, txSql, oDados, Cliente, oBtn lAcao &#58;= &#46;f&#46; oBtn &#58;= Array&#40;10&#41; DEFINE FONT oFont NAME "Arial" SIZE 0, -11 // Abre o banco de dados TRY oCn &#58;= CreateObject&#40; "ADODB&#46;Connection" &#41; oCn&#58;ConnectionString &#58;= "DRIVER=&#123;Microsoft Access Driver &#40;*&#46;mdb&#41;&#125;;DBQ=bigdados&#46;mdb" oCn&#58;Open&#40;&#41; CATCH oErr Alert&#40; "Error&#58; " + oErr &#58; Operation + " -> " + oErr &#58; Description &#41; END Data &#58;= ctod&#40; '06/03/2008' &#41; // Filtro para mostrar somente os DADOS que interessam txSql &#58;= "SELECT tbclientes&#46;nome, tbclientes&#46;telefone, tbclientes&#46;end," +; "tbpedido&#46;id, tbpedido&#46;hora, tbpedido&#46;Situacao, tbpedido&#46;tipo, tbpedido&#46;Data "+; "FROM tbclientes "+; "INNER JOIN tbpedido "+; "ON tbclientes&#46;id = tbpedido&#46;Cliente " +; "WHERE tbpedido&#46;Data = Data" oDados &#58;= oCn&#58;Execute&#40; txSql &#41; DEFINE DIALOG oClient RESOURCE "LISTA001" FONT oFont OF oClient; TITLE " Oper201 - Lista de Pedidos" STYLE nOr&#40; DS_SYSMODAL, DS_MODALFRAME &#41; REDEFINE LISTBOX oLbx; FIELDS oDados&#58;Fields&#40; "id" &#41;&#58;Value,; oDados&#58;Fields&#40; "nome" &#41;&#58;Value,; oDados&#58;Fields&#40; "telefone" &#41;&#58;Value,; oDados&#58;Fields&#40; "End" &#41;&#58;Value,; oDados&#58;Fields&#40; "data" &#41;&#58;Value; HEADERS 'Id', 'Nome', 'Telefone','Endereço', 'Data'; ON RIGHT CLICK&#40; oLbx&#58;Report&#40; "TWBrowse report", &#46;T&#46; &#41;,; oDados&#58;MoveFirst&#40;&#41; &#41; ID 100 OF oClient // Força o browse trabalhar com celulas oLbx&#58;lCellStyle &#58;= &#46;t&#46; oLbx&#58;nLineStyle &#58;= 4 oLbx&#58;nClrBackHead &#58;= nRgb&#40; 255, 128, 64 &#41; oLbx&#58;nClrForeHead &#58;= nRgb&#40; 0, 0, 185 &#41; oLbx&#58;Refresh&#40;&#41; //--- Inicio dos Botões ---------------------------------------------------// REDEFINE SBUTTON oBtn&#91;1&#93; ID 105 OF oClient FONT oFont; PROMPT "&#91;Esc&#93;" + CRLF + "Retorna"; ACTION&#40; lAcao &#58;= &#46;t&#46;, oClient&#58;End&#40;&#41; &#41; CANCEL; TOOLTIP "Clique ou Tecle Esc para Retornar"; COLORS bTColor, bBColor; BORDER TEXT POSITION ON_RIGHT //--- Termino dos Botões ---------------------------------------------------// // Eventos do Teclado 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; ACTIVATE DIALOG oClient CENTER; ON INIT&#40; oClient&#58;lHelpIcon &#58;= &#46;f&#46;,; xSetFocus&#40; oLbx &#41; &#41;; VALID&#40; lAcao &#41; oFont&#58;End&#40;&#41; oCn&#58;Close&#40;&#41; Return nil [/code:ugahka6r]Lo que pasa es que no logro mostrar el contenido del QUERY en el LISTBOX, no me da error, que hago mal? Gracias en adelantado,
Ayuda com listbox usando ADORDD e comando SQL( Resolvido)
Hola Augusto:Te sugiero que en access le asignes identificadores a las tablas que estas usando, por ejemplo:[code:12wxnu4f] FROM tbclientes AS A , tbpedido AS B De tal forma que al realizar el "INNER JOIN " puedas hacerlo asi&#58; "ON A&#46;id = B&#46;Cliente WHERE A&#46;data = B&#46;data" [/code:12wxnu4f]Al Access es mejor darle todo muy detallado, no es muy estandar como otros motores de SQL.Lo otro hace tu consulta mas pequeña y le vas agregando de a poco mascompejidad hasta que te funcione como deseas.Hay varias herramientas para realizar consultas previas y luego si funcionan OK, las paso a mi programa.Por ejemplo - yo utilizo ANYSQL ( funciona a la vez con varios DBMS): <!-- m --><a class="postlink" href="http://www.sqlmaestro.com/products/anysql/maestro/">http://www.sqlmaestro.com/products/anysql/maestro/</a><!-- m -->Saludos,
Ayuda com listbox usando ADORDD e comando SQL( Resolvido)
Gracias por su aporte Juan, voy probalo.Saludos desde Brasil,
Ayuda com listbox usando ADORDD e comando SQL( Resolvido)
Buenos dias, Juan, no me mostra el contenido del query en el listbox. Si hago el SELECT en ACESS me funciona de pronto.A ver si alguem me ayuda con esto.Gracias en adelantado,
Ayuda com listbox usando ADORDD e comando SQL( Resolvido)
Luiz,Nosotros no usamos ADO practicamente, salvo cuando construimos el ADORDD.Siento no poder serte de ayuda. Busca en estos foros y los usuarios más activos de ADO seguro que te podran ayudar.
Ayuda com listbox usando ADORDD e comando SQL( Resolvido)
Gracias Maestro por contestarme. Sigo peleando pero no logro exito, si alguem puder ayudarme, les agradesco.Saludos,
Ayuda com listbox usando ADORDD e comando SQL( Resolvido)
Aqui te dejo un ejemplo que creo Enrico: , es muy explicativo y funciona bien con un listbox:#include "Fivewin.ch" #include "Tcbrowse.ch" FUNCTION MAIN() LOCAL oRs, oErr oRs = CREATEOBJECT( "ADODB.Recordset" ) TRY oRS:Open( "SELECT * FROM Clienti", "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Clientes.mdb", 1, 3 ) CATCH oErr ? oErr:Description RETURN NIL END TRY WBROWSERECORDSET( oRs ) TCBROWSERECORDSET( oRs ) oRs:Close() RETURN NIL STATIC FUNCTION WBROWSERECORDSET( oRs ) LOCAL oDlg, oBrw, nRec DEFINE DIALOG oDlg SIZE 300, 300 @ 0, 0 LISTBOX oBrw FIELDS oRs:Fields( "Cliente" ):Value; HEADERS "CLIENTES"; ON RIGHT CLICK ( nRec := oRs:AbsolutePosition,; oBrw:Report( "TWBrowse report", .T. ),; oRs:MoveFirst(),; oRs:Move( nRec - 1 ) ) oBrw:bLogicLen = { || oRs:RecordCount } oBrw:bGoTop = { || oRs:MoveFirst() } oBrw:bGoBottom = { || oRs:MoveLast() } oBrw:bSkip = { | nSkip | Skipper( oRs, nSkip ) } oBrw:cAlias = "ARRAY" ACTIVATE DIALOG oDlg ON INIT oDlg:SetControl( oBrw ) CENTER RETURN NIL STATIC FUNCTION TCBROWSERECORDSET( oRs ) LOCAL oDlg, oBrw, oCol, nRec DEFINE DIALOG oDlg SIZE 300, 300 @ 0, 0 BROWSE oBrw; ON RIGHT CLICK ( nRec := oRs:AbsolutePosition,; oBrw:Report( "TWBrowse report", .T. ),; oRs:MoveFirst(),; oRs:Move( nRec - 1 ) ) ADD COLUMN TO oBrw; DATA oRs:Fields( "Cliente" ):Value; HEADER "CLIENTI" oBrw:lCellStyle = .T. oBrw:bLogicLen = { || oRs:RecordCount } oBrw:bGoTop = { || oRs:MoveFirst() } oBrw:bGoBottom = { || oRs:MoveLast() } oBrw:bSkip = { | nSkip | Skipper( oRs, nSkip ) } oBrw:cAlias = "ARRAY" ACTIVATE DIALOG oDlg ON INIT oDlg:SetControl( oBrw ) CENTER RETURN NIL STATIC FUNCTION SKIPPER( oRs, nSkip ) LOCAL nRec := oRs:AbsolutePosition oRs:Move( nSkip ) IF oRs:EOF; oRs:MoveLast(); ENDIF IF oRs:BOF; oRs:MoveFirst(); ENDIF RETURN ( oRs:AbsolutePosition - nRec )Espero que esto te ayude mas, Saludos
Ayuda com listbox usando ADORDD e comando SQL( Resolvido)
Gracias Juan por tu aporte, vou testar.Saludos,
Ayuda compilar funcion en C mingw32(SOLUCIONADO)
Hola amigos: Estoy probando el compilador MingW32 . Tengo que generar una libreria con funciones y propias y otras que he ido recogiendo del foro, el caso es que esta funcion de mas abajo compila perfectamente con Borland C++ 7.4, pero en mingw32 me da el error que indico. [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] [quote:26o5btts] warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] LPSTR lpRootPathName = hb_parc( 1 ); [/quote:26o5btts] Para 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. Muchisimas gracias. Jose.
Ayuda compilar funcion en C mingw32(SOLUCIONADO)
[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] EMG
Ayuda compilar funcion en C mingw32(SOLUCIONADO)
Hola Enrico. Funciona, compila sin error. Muchas gracias. Pero... No me genera la libreria con Mingw32 32 bits. Algun make para generar libreria con mingw32 ? ¿Hay que hacer algo especial para generar la libreria con el compilador mingw32 32 bits.? Estoy utilizando FivEdit (Cristobal ), con borland c++ 7.4 me la genera sin problemas. las librerias de harbour para mingw32 y el propio mingw32 la extension de las libs es .a supongo que la extension es .lib , ya que las libs de fivewin son .lib Saludos. Jose.
Ayuda compilar funcion en C mingw32(SOLUCIONADO)
Hola: Solucionado por A.Linanes en este otro post mio <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=40297">viewtopic.php?f=6&t=40297</a><!-- l --> Saludos Jose.
Ayuda con Error Adordd
Estimados colegas Estoy probando los ejemplos de adordd y en access me tira el siguiente error Error description: Error TOleAuto/-1 Unknown error: TOLEAUTO:NEW Args: [ 1] = C ADOX.Catalog Stack Calls =========== Called from: => THROW(0) Called from: win32ole.prg => TOLEAUTO:NEW(331) Called from: adordd.PRG => ADO_OPEN(0) Called from: => DBUSEAREA(0) Called from: access1.prg => MAIN(7) y en mysql Application =========== Path and name: C:\ADO2241\samples\mysql.exe (32 bits) Size: 1,517,056 bytes Time from start: 0 hours 0 mins 0 secs Error occurred at: 01/06/09, 23:13:24 Error description: Error ADODB.Connection/0 S_OK: OPEN Args: [ 1] = C DRIVER={MySQL ODBC 3.51 Driver};server=www.freesql.org;database=test00;uid=myuser;pwd=mypass Stack Calls =========== Called from: win32ole.prg => TOLEAUTO:OPEN(0) Called from: adordd.PRG => ADO_OPEN(0) Called from: => DBUSEAREA(0) Called from: mysql1.PRG => MAIN(0) Estoy usando FHW 8.05 y xHarbour build 1.1.0 Intl. (SimpLex) (Rev. 6095) alguien me podria orientar Gracias Fabian
Ayuda con HB_ASCIIUPPER
Saludos al forum Alquien me puede orientar porque da este error ReadModal( ::GetList ) use esta instruccion pero al ejecutar me da este error El Error que da es HB_ASCIIUPPER --> Error de Argumento
Ayuda con HB_ASCIIUPPER
ASCIIUPPER?? Que és esto? Muestre el código siempre. Saludos.
Ayuda con tdosprn
Estimados Colegas Como puedo hacer para que cuando mando la impresion a un archivo con tdosprn no me aparezcan caracteres de control en el margen superior izquierdo Codigo define _DLL_CH #include "FiveWin.ch" // Cabezera de FW Function Textof linecnt = 3 oPrn :=tDosPrn():New( "Ped.Prn" ) oPrn:Say( linecnt, 1 , "1234 Linea1") linecnt = linecnt + 1 oPrn:Say( linecnt, 1, "linea2" ) linecnt = linecnt + 1 oPrn:Say( linecnt, 1, "" ) alerT("Termino el proceso",,"Proceso") Archivo Prn Me aparecen estos caracteres PW0F5 1234 Linea1 linea2
Ayuda con ""C""
Rolando, Yo 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. Lo digo porque me da la sensacion que el error de compilacion no tenga nada que ver con el problema que tienes. Aqui 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 --> Saludos
Ayuda con ""C""
Buen día, Estoy intentando usar un par de funciones publicadas en el blog de Biel al efecto de actualizar aplicaciones vía FTP. Por 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. La duda está porque al compilar todo, me da un error: [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] Copio el código "C" de Biel para ver si alguien me ayuda. Gracias. Rolando <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> [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] ...
Ayuda con ""C""
Hola, Yo hice los ajustes para poder compilar con BCC, VC2010, MINGW con Harbour y xHarbour [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] Slds
Ayuda con ""C""
Gracias a ambos por responder. Actualicé las funciones en "C" y quedó OK, no muestra más la advertencia. Pero 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. Probando 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. Resumiendo: EL problema pareciera estar en el servidor FTP que es "harina de otro costal". Gracias. Rolando <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
Ayuda con 2 Combobox ???
Amigos Buen dia para todos. Tengo 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. El 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. Ademas, trato de hacer busqueda incremental y solo permite digiar la primera letra. Dejo Error y Codigo. Muchos saludos Antonio Error: [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;">"  @    )   ‡         P    K   „ 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         P        e` { B U T T O N         P      t eR | B U T T O N         P      à e } B U T T O N         P      A <br /> ~ S T A T I C   N r o .   F i c h a       P    Ã  A <br />  S T A T I C   F e c h a   d e   I n g r e s o       P      A <br /> € S T A T I C   R . u . t .       P    d  d <br />  S T A T I C   ( E j .   9 9 9 9 9 9 9 9 - 9 )       P    Ô  3 <br /> ‚ S T A T I C   P a s a p o r t e         P     - A <br /> ƒ S T A T I C   N o m b r e s         P     < A <br /> „ S T A T I C   A p e l l i d o s         P     K A <br /> … S T A T I C   F e c h a   N a c i .         P    ‘ K  <br /> † S T A T I C   E d a d       P    ¾ K # <br /> ‡ S T A T I C   A ñ o s       P     Z A <br /> ˆ S T A T I C   S e x o       P     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         P     } A <br /> ‹ S T A T I C   N a c i o n a l i d a d       P     Œ A <br /> Œ S T A T I C   D i r e c c i ó n         P     › A <br />  S T A T I C   C i u d a d       P    ¯ › A <br /> Ž S T A T I C   C o m u n a       P     ª A <br />  S T A T I C   C e l u l a r   P e r s o n a l       P    ¯ ª A <br />  S T A T I C   C e l u l a r   C o n t a c .         P     ¹ 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       P     Í A <br /> ’ S T A T I C   O c u p a c i ó n         P    ú Í <br /> <br /> “ T B T N B M P           €P    U  - <br /> ” S T A T I C                     1       €P     2 <br /> • S T A T I C   1 2 / 0 8 / 2 0 2 2     € P    U  < <br /> – E D I T       .       .               ˆ P     P — E D I T                                       ˆ P    U - – ˜ E D I T                                                           ˆ P    U < – ™ E D I T                                                           € P    U K 2 š E D I T       /     /               €P    ´ K  › S T A T I C   0       ¡P    U Z 7 Z œ C O M B O B O X       ¡P    U › Z }  C O M B O B O X       ¡P    ú › Z } ž C O M B O B O X         P    <br /> é C- Ÿ B U T T O N         P    d ó     T B T N B M P   G R A B A       P     ó   ¡ T B T N B M P   M O D I F I         P    ú ó   ¢ 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] Codigo: [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]
Ayuda con 2 Combobox ???
Estimado Antonio, Provincias y ciudades lo entiendo, pero ciudades y "comunas" es la primera vez que lo oigo. Puedes proporcionar ambos arrays y asi te construyo el ejemplo ? gracias
Ayuda con 2 Combobox ???
Aqui tienes un ejemplo funcionando con provincias y ciudades, solo he rellenado las "ciudades" de las tres primeras y con datos no reales. Puedes probarlo y ver que funciona correctamente <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> [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]
Ayuda con 2 Combobox ???
Buen dia Maestro Antonio. En Chile la estructura normal es: Codigo Pais: Codigo Ciudades: (Son las Ciudades que tiene el Pais) Codigo Comunas: (Cada Ciudad tiene una o mas Comunas) En 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. Muchas gracias Antonio [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]
Ayuda con 2 Combobox ???
Antonio, ponga un ejemplo completo en formato .ZIP ó .RAR porfa. Regards, saludos.
Ayuda con 2 Combobox ???
Hola João Muchas gracias por responder. Veo 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. Un 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. Saludos Antonio
Ayuda con 2 Combobox ???
[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. Puedes probarlo y ver que funciona correctamente <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> [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] Maestro Antonio Muchas gracias por responder. Al probar su ejemplo, me arroja el mismo error que he tenido en mis pruebas en mi codigo. Saludos Antonio Error: [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;   Ÿ 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;  ¡P &nbsp; &nbsp;  ( < z C O M B O B O X &nbsp; &nbsp; &nbsp; ¡P &nbsp; &nbsp;`  ( < { C O M B O B O X &nbsp; &nbsp; &nbsp; &nbsp; P &nbsp; &nbsp; 6 y  | 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 /><br />&nbsp;</div>[/code:baqvpih9]
Ayuda con 2 Combobox ???
Te envio el EXE por email
Ayuda con 2 Combobox ???
[quote="Antonio Linares":3urbf9ld]Te envio el EXE por email[/quote:3urbf9ld] Maestro Antonio. Muchas gracias. Después de ejecutar su EXE y seleccionar en los Combobox y moverse mas de una vez, arroja el siguiente error. Ejecutado en Windows 10 Muchos Saludos Anotnio Error: [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; &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; ‡ ¡P &nbsp; &nbsp;  ( < e C O M B O B O X &nbsp; &nbsp; &nbsp; ¡P &nbsp; &nbsp;`  ( < f C O M B O B O X &nbsp; &nbsp; &nbsp; &nbsp; P &nbsp; &nbsp; 6 y  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 /><br />&nbsp;</div>[/code:3urbf9ld]
Ayuda con 2 Combobox ???
Como te he indicado, en el ejemplo, solo he proporcionado datos para las 3 primeras ciudades. Añade la información que necesites, y te aseguro que funciona bien <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Ayuda con 2 Combobox ???
Maestro Antonio. Muy buen dia. En 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. Muchos Saludos. Dejo los arreglos con los datos y explicación de su contenido. [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]
Ayuda con 2 Combobox ???
Antonio, mira si este codigo, adaptado del codigo de AL y tus arrays, te sirve de guia: [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] Saludos.
Ayuda con 2 Combobox ???
[quote="FranciscoA":3gla6fzk]Antonio, mira si este codigo, adaptado del codigo de AL y tus arrays, te sirve de guia: [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] Saludos.[/quote:3gla6fzk] Hola Amigo Francisco. Como estas? Muchas gracias por responder y por tu ayuda. Probé 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. Muchos Saludos. Muchos Saludos Antonio
Ayuda con 2 Combobox ???
[quote="remtec":106nz78d] Probé tu código, el boton, solo muestra la Ciudad, aunque seleccione alguna comuna, esta no se muestra, [/quote:106nz78d] Que raro, Antonio, a mi me funciona bien. Uso Windows 10 y XHarbour. La comuna se muestra como el titulo del MsgInfo() Saludos.