messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2012-02-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Much easier way (may not be in very old versions)\n\noBrw:nWidths --> Array of widths of all columns\n\noBrw:nWidthds := { <w1>, <w2>, ...<wN> } sets widths of each column", "time": "07:32", "topic": "Capturing the width of a xBrowse Column", "username": "nageswaragunupudi" } ]
Capturing the width of a xBrowse Column
[ { "date": "2016-11-03", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola, amigos del foro.\nTengo el siguiente caso, que he buscado solucion en foro pero solo incontré parecidos:\n\nDesde una tabla excel exporté a .dbf sus datos (con algunas palabras acentuadas)\n\nEn la tabla .dbf las vocales acentuadas se ven correctamente, pero al cargarla en el browse se ven, como se muestra a continuacion.\nSOFÃA MARGARITA VÍLCHEZ CABRERA \n\nSi las modifico a travez de mi programa, se graban correctamente, pero es un trabajo arduo.\n\nExiste alguna function para automatizar la actualizacion, o corrección debida??\n\nGracias por cualquier solucion.", "time": "16:22", "topic": "Caractere extraños", "username": "FranciscoA" } ]
Caractere extraños
[ { "date": "2016-11-03", "forum": "FiveWin para Harbour/xHarbour", "text": "[code=fw:2k9uib1x]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">FUNCTION</span> BORRA_ACENTUACION<span style=\"color: #000000;\">&#40;</span> cStr <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> cStrNew := <span style=\"color: #ff0000;\">\"\"</span>, nX<br /><br />&nbsp; &nbsp;cAcentos := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"—\"</span>,<span style=\"color: #ff0000;\">\"ƒ\"</span>,<span style=\"color: #ff0000;\">\"Æ\"</span>,<span style=\"color: #ff0000;\">\"Ç\"</span>,<span style=\"color: #ff0000;\">\" \"</span>,<span style=\"color: #ff0000;\">\"µ\"</span>,<span style=\"color: #ff0000;\">\"…\"</span>,<span style=\"color: #ff0000;\">\"·\"</span>,<span style=\"color: #ff0000;\">\"‚\"</span>,<span style=\"color: #ff0000;\">\"É\"</span>,<span style=\"color: #ff0000;\">\"ê\"</span>,<span style=\"color: #ff0000;\">\"ˆ\"</span>,<span style=\"color: #ff0000;\">\"\"</span>,<span style=\"color: #ff0000;\">\"Ò\"</span>,<span style=\"color: #ff0000;\">\"í\"</span>,<span style=\"color: #ff0000;\">\"Í\"</span>,<span style=\"color: #ff0000;\">\"ó\"</span>,<span style=\"color: #ff0000;\">\"¢\"</span>,<span style=\"color: #ff0000;\">\"à\"</span>,<span style=\"color: #ff0000;\">\"ä\"</span>,<span style=\"color: #ff0000;\">\"å\"</span>,<span style=\"color: #ff0000;\">\"“\"</span>,<span style=\"color: #ff0000;\">\"â\"</span>,<span style=\"color: #ff0000;\">\"ú\"</span>,<span style=\"color: #ff0000;\">\"é\"</span>,<span style=\"color: #ff0000;\">\"\"</span>,<span style=\"color: #ff0000;\">\"š\"</span>,<span style=\"color: #ff0000;\">\"ç\"</span>,<span style=\"color: #ff0000;\">\"€\"</span>,<span style=\"color: #ff0000;\">\"ã\"</span>,<span style=\"color: #ff0000;\">\"Ã\"</span>,<span style=\"color: #ff0000;\">\"á\"</span>,<span style=\"color: #ff0000;\">\"Á\"</span>,<span style=\"color: #ff0000;\">\"à\"</span>,<span style=\"color: #ff0000;\">\"À\"</span>,<span style=\"color: #ff0000;\">\"é\"</span>,<span style=\"color: #ff0000;\">\"É\"</span>,<span style=\"color: #ff0000;\">\"ê\"</span>,<span style=\"color: #ff0000;\">\"Ê\"</span>,<span style=\"color: #ff0000;\">\"í\"</span>,<span style=\"color: #ff0000;\">\"Í\"</span>,<span style=\"color: #ff0000;\">\"ó\"</span>,<span style=\"color: #ff0000;\">\"Ó\"</span>,<span style=\"color: #ff0000;\">\"õ\"</span>,<span style=\"color: #ff0000;\">\"Õ\"</span>,<span style=\"color: #ff0000;\">\"ô\"</span>,<span style=\"color: #ff0000;\">\"Ô\"</span>,<span style=\"color: #ff0000;\">\"ú\"</span>,<span style=\"color: #ff0000;\">\"Ú\"</span>,<span style=\"color: #ff0000;\">\"ü\"</span>,<span style=\"color: #ff0000;\">\"Ü\"</span>,<span style=\"color: #ff0000;\">\"ç\"</span>,<span style=\"color: #ff0000;\">\"ù\"</span>,<span style=\"color: #ff0000;\">\"AAO\"</span>,<span style=\"color: #ff0000;\">\"§\"</span>,<span style=\"color: #ff0000;\">\"¦\"</span>,<span style=\"color: #ff0000;\">\"º\"</span>,<span style=\"color: #ff0000;\">\"ª\"</span>,<span style=\"color: #ff0000;\">\"€\"</span>,<span style=\"color: #ff0000;\">\"‡\"</span>,<span style=\"color: #ff0000;\">\"Ç\"</span>,<span style=\"color: #ff0000;\">\"ç\"</span>,<span style=\"color: #ff0000;\">\"'\"</span>,<span style=\"color: #ff0000;\">\"`\"</span>,<span style=\"color: #ff0000;\">\"ø\"</span>,<span style=\"color: #ff0000;\">\"¡\"</span>,<span style=\"color: #ff0000;\">\"Þ\"</span>,<span style=\"color: #ff0000;\">\"×\"</span>,<span style=\"color: #ff0000;\">\"Ø\"</span>,<span style=\"color: #ff0000;\">\"ÿ\"</span>,<span style=\"color: #ff0000;\">\"Ö\"</span>,chr<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">239</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp;cLetras &nbsp;:= <span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"U\"</span>,<span style=\"color: #ff0000;\">\"A\"</span>,<span style=\"color: #ff0000;\">\"A\"</span>,<span style=\"color: #ff0000;\">\"A\"</span>,<span style=\"color: #ff0000;\">\"A\"</span>,<span style=\"color: #ff0000;\">\"A\"</span>,<span style=\"color: #ff0000;\">\"A\"</span>,<span style=\"color: #ff0000;\">\"A\"</span>,<span style=\"color: #ff0000;\">\"E\"</span>,<span style=\"color: #ff0000;\">\"E\"</span>,<span style=\"color: #ff0000;\">\"E\"</span>,<span style=\"color: #ff0000;\">\"E\"</span>,<span style=\"color: #ff0000;\">\"E\"</span>,<span style=\"color: #ff0000;\">\"E\"</span>,<span style=\"color: #ff0000;\">\"I\"</span>,<span style=\"color: #ff0000;\">\"I\"</span>,<span style=\"color: #ff0000;\">\"O\"</span>,<span style=\"color: #ff0000;\">\"O\"</span>,<span style=\"color: #ff0000;\">\"O\"</span>,<span style=\"color: #ff0000;\">\"O\"</span>,<span style=\"color: #ff0000;\">\"O\"</span>,<span style=\"color: #ff0000;\">\"O\"</span>,<span style=\"color: #ff0000;\">\"O\"</span>,<span style=\"color: #ff0000;\">\"U\"</span>,<span style=\"color: #ff0000;\">\"U\"</span>,<span style=\"color: #ff0000;\">\"U\"</span>,<span style=\"color: #ff0000;\">\"U\"</span>,<span style=\"color: #ff0000;\">\"C\"</span>,<span style=\"color: #ff0000;\">\"C\"</span>,<span style=\"color: #ff0000;\">\"A\"</span>,<span style=\"color: #ff0000;\">\"A\"</span>,<span style=\"color: #ff0000;\">\"A\"</span>,<span style=\"color: #ff0000;\">\"A\"</span>,<span style=\"color: #ff0000;\">\"A\"</span>,<span style=\"color: #ff0000;\">\"A\"</span>,<span style=\"color: #ff0000;\">\"E\"</span>,<span style=\"color: #ff0000;\">\"E\"</span>,<span style=\"color: #ff0000;\">\"E\"</span>,<span style=\"color: #ff0000;\">\"E\"</span>,<span style=\"color: #ff0000;\">\"I\"</span>,<span style=\"color: #ff0000;\">\"I\"</span>,<span style=\"color: #ff0000;\">\"O\"</span>,<span style=\"color: #ff0000;\">\"O\"</span>,<span style=\"color: #ff0000;\">\"O\"</span>,<span style=\"color: #ff0000;\">\"O\"</span>,<span style=\"color: #ff0000;\">\"O\"</span>,<span style=\"color: #ff0000;\">\"O\"</span>,<span style=\"color: #ff0000;\">\"U\"</span>,<span style=\"color: #ff0000;\">\"U\"</span>,<span style=\"color: #ff0000;\">\"U\"</span>,<span style=\"color: #ff0000;\">\"U\"</span>,<span style=\"color: #ff0000;\">\"C\"</span>,<span style=\"color: #ff0000;\">\" \"</span>,<span style=\"color: #ff0000;\">\"AAO\"</span>,<span style=\"color: #ff0000;\">\".\"</span>,<span style=\"color: #ff0000;\">\".\"</span>,<span style=\"color: #ff0000;\">\".\"</span>,<span style=\"color: #ff0000;\">\".\"</span>,<span style=\"color: #ff0000;\">\"C\"</span>,<span style=\"color: #ff0000;\">\"C\"</span>,<span style=\"color: #ff0000;\">\"C\"</span>,<span style=\"color: #ff0000;\">\"C\"</span>,<span style=\"color: #ff0000;\">\"\"</span> ,<span style=\"color: #ff0000;\">\"\"</span> ,<span style=\"color: #ff0000;\">\".\"</span>,<span style=\"color: #ff0000;\">\"I\"</span>,<span style=\"color: #ff0000;\">\"I\"</span>,<span style=\"color: #ff0000;\">\"I\"</span>,<span style=\"color: #ff0000;\">\"I\"</span>,<span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"I\"</span>, &nbsp;<span style=\"color: #ff0000;\">\"\"</span> &nbsp; <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">For</span> nX := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> LEN<span style=\"color: #000000;\">&#40;</span>cAcentos<span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; cStrNew := StrTran<span style=\"color: #000000;\">&#40;</span>cStr, cAcentos<span style=\"color: #000000;\">&#91;</span>nX<span style=\"color: #000000;\">&#93;</span>, cLetras<span style=\"color: #000000;\">&#91;</span>nX<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; cStr := cStrNew<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Next</span><br /><br /><span style=\"color: #00C800;\">Return</span><span style=\"color: #000000;\">&#40;</span> cStrNew <span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:2k9uib1x]\n\u001a", "time": "17:58", "topic": "Caractere extraños", "username": "karinha" } ]
Caractere extraños
[ { "date": "2016-11-03", "forum": "FiveWin para Harbour/xHarbour", "text": "Karinha, muchas gracias.\nAsi lo estuve probando, pero me hacían falta algunos caracteres que defines en tu array cAcentos.\nSolucionado...\nGracias nuevamente.", "time": "21:14", "topic": "Caractere extraños", "username": "FranciscoA" } ]
Caractere extraños
[ { "date": "2008-06-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Foro :\r\n\r\nExiste alguna funcion de cadenas en [x]Harbuor que transforme cadenas\r\nasi :\r\n\r\nÀLVARO => ALVARO\r\nÃLBERTO => ALBERTO\r\nÁUREA => AUREA\r\n\r\nSaludos.!", "time": "00:14", "topic": "Caracteres", "username": "Ricardo Ramirez E." } ]
Caracteres
[ { "date": "2008-06-04", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"Ricardo Ramirez E.\":2d4yhqyx]Hola Foro :\n\nExiste alguna funcion de cadenas en [x]Harbuor que transforme cadenas\nasi :\n\nÀLVARO => ALVARO\nÃLBERTO => ALBERTO\nÁUREA => AUREA\n\nSaludos.![/quote:2d4yhqyx]\r\nPrueba con STUFF, puedes buscar xValor en una cadena y reemplazarla por otra.", "time": "05:56", "topic": "Caracteres", "username": "joseluisysturiz" } ]
Caracteres
[ { "date": "2008-06-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Con StrTran, puedes hacer algo tipo\r\n[code:b9az3rph]cCadena &#58;= StrTran&#40;cCadena, \"Á\", \"A\"&#41;[/code:b9az3rph]", "time": "08:15", "topic": "Caracteres", "username": "Biel EA6DD" } ]
Caracteres
[ { "date": "2008-06-04", "forum": "FiveWin para Harbour/xHarbour", "text": "<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/forum/topic.asp?TOPIC_ID=13046\">http://www.fivewin.com.br/forum/topic.a ... C_ID=13046</a><!-- m -->", "time": "13:14", "topic": "Caracteres", "username": "karinha" } ]
Caracteres
[ { "date": "2008-06-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Obrigado João <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->\r\nA função que mandou Naruto uZumaki , ficou bem <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->\r\nCumprimentos!\r\n\r\n----------------------------------------------------\r\nEl foro de <!-- w --><a class=\"postlink\" href=\"http://www.fivewin.com.br\">www.fivewin.com.br</a><!-- w --> ya tiene 70,000 mensajes <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->\r\nHay ahi una buena fuente de informacion <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->\r\nSolo hayq que aplicar el SET PORTUGUES ON <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->", "time": "14:31", "topic": "Caracteres", "username": "Ricardo Ramirez E." } ]
Caracteres
[ { "date": "2008-06-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Ricardo, que és: SET PORTUGUES ON ??\r\n\r\nPasa de Español a Portugues??\r\n\r\nGracias,\r\n\r\nsaludos.", "time": "16:15", "topic": "Caracteres", "username": "karinha" } ]
Caracteres
[ { "date": "2008-06-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Ricardo, No te entendieron el Chiste!!!! <!-- s:roll: --><img src=\"{SMILIES_PATH}/icon_rolleyes.gif\" alt=\":roll:\" title=\"Rolling Eyes\" /><!-- s:roll: --> \r\n\r\n\r\nLos que Cambiamos de Portugues a Castellano somos nosotros!!!!! <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "17:12", "topic": "Caracteres", "username": "ADBLANCO" } ]
Caracteres
[ { "date": "2008-06-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Chiste??? En ingléz = JOKE. En Portugues = PIADA.\r\n\r\nOk. comprendo. Gracias.\r\n\r\nPodria ser tanbién, una BROMA? És esto?\r\n\r\nDescupla mi portunhol. jejejejeje.", "time": "18:29", "topic": "Caracteres", "username": "karinha" } ]
Caracteres
[ { "date": "2008-06-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Si, Joao, lo que pasa es que en otro post, nuestro colega traducía todo del portugues al castellano y viceversa, y colocaba SET PORTUGUES ON y\r\nSET CASTELLANO ON según fuera el caso.\r\n\r\nSET INGLISH ON\r\n\r\nDo you Undertand!!\r\n\r\nSET SPANISH ON\r\n\r\nEntendistes ??\r\n\r\n\r\n\r\n <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: --> \r\n\r\nSaludos", "time": "19:01", "topic": "Caracteres", "username": "ADBLANCO" } ]
Caracteres
[ { "date": "2008-06-04", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"ADBLANCO\":1yf7q2l0]Si, Joao, lo que pasa es que en otro post, nuestro colega traducía todo del portugues al castellano y viceversa, y colocaba SET PORTUGUES ON y\nSET CASTELLANO ON según fuera el caso.\n\nSET INGLISH ON\n\nDo you Undertand!!\n\nSET SPANISH ON\n\nEntendistes ??\n\n\n\n <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: --> \n\nSaludos[/quote:1yf7q2l0]\r\n\r\njejejejeje.\r\n\r\nOk. gracias.", "time": "19:23", "topic": "Caracteres", "username": "karinha" } ]
Caracteres
[ { "date": "2008-06-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Maestro ADBLANCO:\r\n\r\nSi la intención de ofender pero tratandose de un colega que quiere aprender Español lo correcto es\r\n\r\nSET SPANISH ON\r\n\r\nEntendiste ? (sin la s al final, no nos dejemos influenciar por el inglés)\r\n\r\nViste, fuiste, pediste, viniste, saliste etc etc etc pero sin s\r\n\r\nSaludos", "time": "00:29", "topic": "Caracteres", "username": "Armando" } ]
Caracteres
[ { "date": "2008-06-05", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"karinha\":20zuksp6]Chiste??? En ingléz = JOKE. En Portugues = PIADA.\n\nOk. comprendo. Gracias.\n\nPodria ser tanbién, una BROMA? És esto?\n\nDescupla mi portunhol. jejejejeje.[/quote:20zuksp6]\r\nSi Karinha, un \"chiste\" es una \"broma\", lo que pasa es que los Venezolanos a todo le buscamos el lado comico o le damos la vuelta para hacer un poco de humor sano, un chiste, es decir, estar siempre sonriente... si quieren traductor de verdad de españo-portugues-español, activa el idioma en el GOOGLE, alli puedes ver en las palabras un tooltips con latraduccion del idioma activo, saludos y buen humor...reir no cuesta nada y es saludable... <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "06:08", "topic": "Caracteres", "username": "joseluisysturiz" } ]
Caracteres
[ { "date": "2008-06-05", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"joseluisysturiz\":25plvpli][quote=\"karinha\":25plvpli]Chiste??? En ingléz = JOKE. En Portugues = PIADA.\n\nOk. comprendo. Gracias.\n\nPodria ser tanbién, una BROMA? És esto?\n\nDescupla mi portunhol. jejejejeje.[/quote:25plvpli]\nSi Karinha, un \"chiste\" es una \"broma\", lo que pasa es que los Venezolanos a todo le buscamos el lado comico o le damos la vuelta para hacer un poco de humor sano, un chiste, es decir, estar siempre sonriente... si quieren traductor de verdad de españo-portugues-español, activa el idioma en el GOOGLE, alli puedes ver en las palabras un tooltips con latraduccion del idioma activo, saludos y buen humor...reir no cuesta nada y es saludable... <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->[/quote:25plvpli]\r\n\r\nGracias a los dos.\r\n\r\nEn Portugues, estas dos palablas no ejistén: \"chiste\" y \"broma\".\r\n\r\nChiste, en portugues, seria algo +- asi: Un engaño.\r\n\r\nRegards, saludos.", "time": "13:04", "topic": "Caracteres", "username": "karinha" } ]
Caracteres
[ { "date": "2008-06-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias Armando, Se puede vivir toda una vida utilizando anglismos sin darse cuenta, <!-- s:oops: --><img src=\"{SMILIES_PATH}/icon_redface.gif\" alt=\":oops:\" title=\"Embarassed\" /><!-- s:oops: --> \r\nAquí en Venezuela es muy común eso.\r\nTambién me parece curioso las diferencias entre Portugues y Castellano\r\n(Dije Castellano, Ya que Español también pueden ser: Gallego,Catalán,Vasco y no se cual se me olvida)\r\n\r\n <!-- s:oops: --><img src=\"{SMILIES_PATH}/icon_redface.gif\" alt=\":oops:\" title=\"Embarassed\" /><!-- s:oops: -->", "time": "17:08", "topic": "Caracteres", "username": "ADBLANCO" } ]
Caracteres
[ { "date": "2019-06-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Foro:\nGenero un archivo txt con la sentencia:\nCopy To &cNomArch2 SDF\n\nY me piden lo siguiente:\n\"En el Refresh deben agregar en el registro final los caracteres 0d0a\"\n\nEstos caracteres son de final de archivo?\nNo los agregar por defecto la sentencia copy to SDF?\n\nPor favor si me pueden desburrar.\nGracias", "time": "12:59", "topic": "Caracteres 0d0a", "username": "caducca" } ]
Caracteres 0d0a
[ { "date": "2019-06-07", "forum": "FiveWin para Harbour/xHarbour", "text": "contenido_de_tu_fichero + Chr( 13 ) + Chr( 10 )", "time": "13:01", "topic": "Caracteres 0d0a", "username": "Antonio Linares" } ]
Caracteres 0d0a
[ { "date": "2019-06-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Ok, gracias Antonio por tu pronta respuesta.", "time": "13:22", "topic": "Caracteres 0d0a", "username": "caducca" } ]
Caracteres 0d0a
[ { "date": "2008-08-14", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola de nuevo a todos,\r\n\r\nTengo otra duda, y es que al igual que la función \r\n\r\nChr(48), te devuelve el caracter en base al valor decimal pasado...\r\n\r\n¿hay alguna función que haga lo mismo pero pasandole el valor Hexadecimal?\r\n\r\nUn saludo;", "time": "17:43", "topic": "Caracteres Decimal y Hexadecimal", "username": "jfafive" } ]
Caracteres Decimal y Hexadecimal
[ { "date": "2008-08-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Javier,\r\n\r\nPrueba asi:\r\n\r\nChr( HEXTODEC( cHexNumero ) )\r\n\r\npor ejemplo:\r\n\r\nMsgInfo( HexToDec( \"FF\" ) )", "time": "12:37", "topic": "Caracteres Decimal y Hexadecimal", "username": "Antonio Linares" } ]
Caracteres Decimal y Hexadecimal
[ { "date": "2008-08-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Ok,\r\n\r\nGracias Antonio.", "time": "14:29", "topic": "Caracteres Decimal y Hexadecimal", "username": "jfafive" } ]
Caracteres Decimal y Hexadecimal
[ { "date": "2015-12-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Buen dia compañeros de foro\n\nRequiero la posibilidad de poder presentar mis aplicaciones en chino. existe alguna posibilidad o algun font.\nGracias de antemanos por sus apoyos\n\nSaludos,\n\nErick Almanza\nFWH 12.04", "time": "03:37", "topic": "Caracteres chino", "username": "Erick Almanza" } ]
Caracteres chino
[ { "date": "2015-12-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Buen dia compañeros de foro\n\nRequiero la posibilidad de poder presentar mis aplicaciones en chino. existe alguna posibilidad o algun font.\nGracias de antemanos por sus apoyos\n\nSaludos,\n\nErick Almanza\nFWH 12.04", "time": "03:39", "topic": "Caracteres chino", "username": "Erick Almanza" } ]
Caracteres chino
[ { "date": "2015-12-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Erick,\n\nFWH soporta Unicode desde la versión 15.09. En versiones anteriores no está soportado.\n\nTendrías que actualizar tu versión de FWH desde <!-- w --><a class=\"postlink\" href=\"http://www.fivetechsoft.com\">www.fivetechsoft.com</a><!-- w --> gracias", "time": "13:48", "topic": "Caracteres chino", "username": "Antonio Linares" } ]
Caracteres chino
[ { "date": "2015-12-18", "forum": "FiveWin para Harbour/xHarbour", "text": "<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=6&t=31729&p=185150#p185150\">viewtopic.php?f=6&t=31729&p=185150#p185150</a><!-- l -->", "time": "13:49", "topic": "Caracteres chino", "username": "Antonio Linares" } ]
Caracteres chino
[ { "date": "2007-03-02", "forum": "FiveWin para Pocket PC", "text": "Muy buenas, ¿alguien sabe como puedo mandar el caracter de escape:\n\"ESC C 42\" a la impresora STAR DP8340S? \nme dice que le tengo que mandar \"ESC C n\" (donde n es el número de líneas) y lo que es lo mismo en hexadecimal: \"(1B)H (43)H n\"\n\ndecirme como puede mandarlo gracias.\nGracias.\n\nUn Saludo.", "time": "13:21", "topic": "Caracteres de escape para la impresora", "username": "softruz" } ]
Caracteres de escape para la impresora
[ { "date": "2007-03-02", "forum": "FiveWin para Pocket PC", "text": "prueba con: CHR(27) + \"C5\"\n\ndonde 5 es el numero de lineas", "time": "13:51", "topic": "Caracteres de escape para la impresora", "username": "pymsoft" } ]
Caracteres de escape para la impresora
[ { "date": "2007-03-02", "forum": "FiveWin para Pocket PC", "text": "Tal cual te comentan en el post anterior, pero ten en cuenta que n (nº de lineas) es el valor ascii del caracter que le pasas. P.e. 48 lineas seria \n[code:cghkqm7e]Chr&#40;27&#41;+\"C0\" [/code:cghkqm7e] o si mas claro\n[code:cghkqm7e]Chr&#40;27&#41;+\"C\"+Chr&#40;48&#41; [/code:cghkqm7e]", "time": "15:37", "topic": "Caracteres de escape para la impresora", "username": "Biel EA6DD" } ]
Caracteres de escape para la impresora
[ { "date": "2007-03-02", "forum": "FiveWin para Pocket PC", "text": "Muy buenas, he probado de todo y no funciona sigue imprimiendo 33 líneas de dicha impresora no que se hacer, si alguien sabe como mandar el código de escape o configurar la STAR DP8340S, decirme algo.\n\nGracias.\n\nUn Saludo.", "time": "18:20", "topic": "Caracteres de escape para la impresora", "username": "softruz" } ]
Caracteres de escape para la impresora
[ { "date": "2007-03-02", "forum": "FiveWin para Pocket PC", "text": "Un cliente mio tiene Star Dp8340S y el código que antes te he puesto funciona para el cambio de lineas.\n\nTu quieres poner la impresora a 42 lineas, entonces seria\n\n[code:2kycr3qy]Chr&#40;27&#41;+\"C*\"[/code:2kycr3qy]", "time": "18:30", "topic": "Caracteres de escape para la impresora", "username": "Biel EA6DD" } ]
Caracteres de escape para la impresora
[ { "date": "2007-03-02", "forum": "FiveWin para Pocket PC", "text": "Me prodrías decir el código para enviar el codigo de escape, mira yo creo un fichero y en la primera línea pongo:\n\nWriteByte( cConexion,Chr(27)+\"C*\")\n\nes decir, mi codigo es:\n\nlocal cConexion := CreateFile( \"COM8:\",GENERIC_WRITE, 0, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL )\n if (cConexion==-1)\n MsgStop('No hay conexion con la impresora',vTitulo) \n else\n WriteByte( cConexion,Chr(27)+\"C*\")\n for n = 1 to Len( cTexto )\n WriteByte( cConexion, Asc( SubStr( cTexto, n, 1 ) ) )\n next\n CloseHandle( cConexion )\n\n¿Está bien?¿Debería funcionar?\nGracias\n\nUn Saludo.", "time": "18:44", "topic": "Caracteres de escape para la impresora", "username": "softruz" } ]
Caracteres de escape para la impresora
[ { "date": "2007-03-02", "forum": "FiveWin para Pocket PC", "text": "Creo que no es correcto, en principio entiendo que writebyte envia byte a byte al puerto de comunicaciones.\n\nPrueba de la siguiente manera.\n[code:1ctps719]\n//WriteByte&#40; cConexion,Chr&#40;27&#41;+\"C*\"&#41; \ncTexto&#58;=Chr&#40;27&#41;+\"C*\"+cTexto\nfor n = 1 to Len&#40; cTexto &#41; \n WriteByte&#40; cConexion, Asc&#40; SubStr&#40; cTexto, n, 1 &#41; &#41; &#41; \nnext [/code:1ctps719]", "time": "20:42", "topic": "Caracteres de escape para la impresora", "username": "Biel EA6DD" } ]
Caracteres de escape para la impresora
[ { "date": "2007-03-05", "forum": "FiveWin para Pocket PC", "text": "Muy buenas, no se que hacer la impresora no funciona, he llamado al servicio técnico y dicen que debe ser de programación y yo no hago nada más que el código anterior, decirme que puedo hacer, es decir, si hay otra forma de comunicarse con la impresora, otra forma de imprimir, no se algo para que esto funcione.\n\nTambién he probado con otra impresora nueva para ver si es que estuviese rota, y también pasa lo mismo.\n\nBueno, gracias de antemano.\n\nUn Saludo.", "time": "09:29", "topic": "Caracteres de escape para la impresora", "username": "softruz" } ]
Caracteres de escape para la impresora
[ { "date": "2007-03-05", "forum": "FiveWin para Pocket PC", "text": "Pues no se que decirte, el codigo anteriro a mi me funciona. Pro probar, pero es lo mismo.\n\n[code:3baocte8]\nWriteByte&#40;cConexion,27&#41;\nWriteByte&#40;cConexion,Asc&#40;'C'&#41;\nWriteByte&#40;cConexion,48&#41; //Lineas \nfor n = 1 to Len&#40; cTexto &#41; \n WriteByte&#40; cConexion, Asc&#40; SubStr&#40; cTexto, n, 1 &#41; &#41; &#41; \nnext \n[/code:3baocte8]\n\nPuedes probar de imprimir con cable directo, entiendo que lo haces via Bluetooth.", "time": "10:04", "topic": "Caracteres de escape para la impresora", "username": "Biel EA6DD" } ]
Caracteres de escape para la impresora
[ { "date": "2007-03-05", "forum": "FiveWin para Pocket PC", "text": "¿Sabes algún caracter de escape que tengamos que complementar a ese? es decir, lo mismo tengo que reiniciar la impresora, limpiar buffer, no se algo que complemente que haga que funcione de una vez.\n\nGracias.\n\nUn Saludo.", "time": "10:38", "topic": "Caracteres de escape para la impresora", "username": "softruz" } ]
Caracteres de escape para la impresora
[ { "date": "2007-03-05", "forum": "FiveWin para Pocket PC", "text": "Lo hemos probado también con el cable directo y no funciona, es de la impresora que no coje el caracter de escape", "time": "10:53", "topic": "Caracteres de escape para la impresora", "username": "softruz" } ]
Caracteres de escape para la impresora
[ { "date": "2007-03-06", "forum": "FiveWin para Pocket PC", "text": "Muy buenas, ya ha solucionado el problema de la impresión muchas gracias por todo.", "time": "12:32", "topic": "Caracteres de escape para la impresora", "username": "softruz" } ]
Caracteres de escape para la impresora
[ { "date": "2007-03-06", "forum": "FiveWin para Pocket PC", "text": "Por curiosidad, cual ha sido la solución.", "time": "13:00", "topic": "Caracteres de escape para la impresora", "username": "Biel EA6DD" } ]
Caracteres de escape para la impresora
[ { "date": "2011-10-14", "forum": "FiveWin para Harbour/xHarbour", "text": "Buenas tardes,\n\nComo evito que aparezcan los caracteres ASCII en mis reportes y el diseñador de FR?\n\nGracias de antemano", "time": "21:20", "topic": "Caracteres en Fast Report", "username": "Compuin" } ]
Caracteres en Fast Report
[ { "date": "2017-11-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Tengan todos buenas tardes.....\n\nLo que pasa es que estoy tratando de almacenar en una tabla de mysql la ruta de un archivo de la siguiente manera:\n\n[code=fw:2m9q9sr1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />insert into lyma_nindice <span style=\"color: #000000;\">&#40;</span>ruta_pdf<span style=\"color: #000000;\">&#41;</span> values <span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">'<span style=\"color: #000000;\">\\\\</span>ruta<span style=\"color: #000000;\">\\d</span>bfs<span style=\"color: #000000;\">\\p</span>rincipal'</span><span style=\"color: #000000;\">&#41;</span>;<br /> </div>[/code:2m9q9sr1]\n\nEl registro en teoría se almacena correctamente, pero cuando miro la tabla queda de la siguiente manera:\n\n[code=fw:2m9q9sr1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />\\rutadbfsprincipal<br /> </div>[/code:2m9q9sr1] \n\nEsa base de datos esta alojada en un hosting alquilado y debo actualizar algunos campos de la esa tabla. Buscando información en el foro encontre esta funcion[color=#FF0000:2m9q9sr1] HB_SETCODEPAGE( \"UTF8\" )[/color:2m9q9sr1] la coloque al de la aplicación pero nada.\n\nDe antemano gracias.", "time": "21:33", "topic": "Caracteres especiales [SOLUCIONADO]", "username": "leandro" } ]
Caracteres especiales [SOLUCIONADO]
[ { "date": "2017-11-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Y asi?\n\n[code=fw:14u7uoni]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />insert into lyma_nindice <span style=\"color: #000000;\">&#40;</span>ruta_pdf<span style=\"color: #000000;\">&#41;</span> values <span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">'<span style=\"color: #000000;\">\\\\</span>ruta<span style=\"color: #000000;\">\\\\</span>dbfs<span style=\"color: #000000;\">\\\\</span>principal'</span><span style=\"color: #000000;\">&#41;</span>;<br />&nbsp;</div>[/code:14u7uoni]", "time": "23:43", "topic": "Caracteres especiales [SOLUCIONADO]", "username": "cnavarro" } ]
Caracteres especiales [SOLUCIONADO]
[ { "date": "2017-11-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Saludos, para las rutas tenia ese mismo problema...como lo rsolvi..pues, usando TDolphin con esta sentencia... ClipValue2SQL( Val2Escape( aVar[55] ) ) y entonces me guarda la ruta con los slash separadores, espero te ayude...gracias... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->", "time": "03:58", "topic": "Caracteres especiales [SOLUCIONADO]", "username": "joseluisysturiz" } ]
Caracteres especiales [SOLUCIONADO]
[ { "date": "2017-11-09", "forum": "FiveWin para Harbour/xHarbour", "text": "1) It is easier to use Translates provided by FWH.\n\nExamples:\n[code=fw:3az32nie]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"adodef.ch\"</span><br /><br />cSql := SQL INSERT INTO mytable <span style=\"color: #000000;\">&#40;</span> path_pdf <span style=\"color: #000000;\">&#41;</span> VALUES <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"c:<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\s</span>amples<span style=\"color: #000000;\">\\\"</span> )<br />? cSql // --> \"</span>INSERT INTO mytable <span style=\"color: #000000;\">&#40;</span> path_pdf <span style=\"color: #000000;\">&#41;</span> VALUES <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">'c:<span style=\"color: #000000;\">\\\\</span>fwh<span style=\"color: #000000;\">\\\\</span>samples<span style=\"color: #000000;\">\\\\</span>'</span> <span style=\"color: #000000;\">&#41;</span><span style=\"color: #ff0000;\">\"<br /></span></div>[/code:3az32nie]\n\nYou can also use Harbour variables \n[code=fw:3az32nie]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />dDate    := Date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />nSalary  := <span style=\"color: #000000;\">56234.23</span><br />cStreet  := <span style=\"color: #ff0000;\">\"Goyal's Avenue\"</span><br /><br />cSql     := SQL INSERT INTO customer <span style=\"color: #000000;\">&#40;</span> DATE, SALARY, STREET <span style=\"color: #000000;\">&#41;</span> VALUES<span style=\"color: #000000;\">&#40;</span> dDate, nSalary, cStreet <span style=\"color: #000000;\">&#41;</span><br />? cSql <span style=\"color: #B900B9;\">// --> \"INSERT INTO customer ( DATE, SALARY, STREET ) VALUES ( '2017-11-09',56234.23,'Goyal''s Avenue' )\"</span><br /><br />&nbsp;</div>[/code:3az32nie]\n\n2) If you use builtin FWMARIADB, you never have to write your own SQL statements. FWMARIADB library takes care of every complex issue.\n\nExample\n[code=fw:3az32nie]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />cImageFile := <span style=\"color: #ff0000;\">\"c:<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\s</span>amples<span style=\"color: #000000;\">\\o</span>lga1.jpg\"</span><br />oCn:<span style=\"color: #000000;\">Insert</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"imagetable\"</span>, <span style=\"color: #ff0000;\">\"filename,image\"</span>, <span style=\"color: #000000;\">&#123;</span> cImageFile, MEMOREAD<span style=\"color: #000000;\">&#40;</span> cImageFile <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:3az32nie]", "time": "09:10", "topic": "Caracteres especiales [SOLUCIONADO]", "username": "nageswaragunupudi" } ]
Caracteres especiales [SOLUCIONADO]
[ { "date": "2017-11-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Muchas gracias a todos por las respuestas....\n\nHice pruebas con todas las opciones y funcionaron correctamente... <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nPero por ahorrar tiempo voy a solucionarlo como dice Cristobal.\n\nComo siempre muy agradecido con este foro...", "time": "15:53", "topic": "Caracteres especiales [SOLUCIONADO]", "username": "leandro" } ]
Caracteres especiales [SOLUCIONADO]
[ { "date": "2019-03-02", "forum": "FiveWin para Harbour/xHarbour", "text": "Estimados\n\nTengo éste código y en la búsqueda no encuentra\nEn la tabla está configurado el collation con utf8_spanish2.ci también intenté con utf8_general.ci\n\nEn la tabla está grabado \"Mañana te cuento\" y en el xBrowse lo ubica con búsqueda incremental\n[code=fw:1evhjwb3]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; &nbsp; cNom=OemToAnsi<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Ma¤ana te cuento\"</span><span style=\"color: #000000;\">&#41;</span> &nbsp;<span style=\"color: #B900B9;\">//En el sistema la frase la saco de un archivo de texto</span><br />&nbsp; &nbsp;? cNom <span style=\"color: #B900B9;\">//Muestra \"Mañana te cuento\"</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">If</span> oSQL:<span style=\"color: #000000;\">Seek</span><span style=\"color: #000000;\">&#40;</span> cNom <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;?<span style=\"color: #ff0000;\">\"Encuentra\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;?<span style=\"color: #ff0000;\">\"No encuentra\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Endif</span><br />&nbsp;</div>[/code:1evhjwb3]\n\nGracias por la ayuda", "time": "14:47", "topic": "Caracteres especiales en FWH MariaDB", "username": "acuellar" } ]
Caracteres especiales en FWH MariaDB
[ { "date": "2007-11-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola a todos,\n\nAlguién se acuerda cual es la función que me permite imprimir los caracteres especiales como \"ñ, Ñ, á, é, í, ó, ú\" entre otros.\nNecesito poner como título de una columna de un reporte la palabra \"Mañana\" y en el reporte sale mal.\n\nDesde ya muchas gracias.\nSaludos, Esteban", "time": "21:18", "topic": "Caracteres especiales en Windows", "username": "jrestojeda" } ]
Caracteres especiales en Windows
[ { "date": "2007-11-16", "forum": "FiveWin para Harbour/xHarbour", "text": "AnsiToOem( cAnsiTexto ) --> cOemTexto\n\nOemToAnsi( cOemTexto ) --> cAnsiTexto", "time": "09:44", "topic": "Caracteres especiales en Windows", "username": "Antonio Linares" } ]
Caracteres especiales en Windows
[ { "date": "2007-11-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio, \nProbé lo siguiente:\n\n[code:18lm9lyu]\n\nAnsiToOem&#40;\"Mañana\"&#41;\n\nOemToAnsi&#40;\"Mañana\"&#41;\n[/code:18lm9lyu]\n\nDe ninguna de las dos formas está poniendo bien la letra \"ñ\"\n\nPorqué puede ser?\nMuchas gracias.\nSaludos, Esteban", "time": "13:33", "topic": "Caracteres especiales en Windows", "username": "jrestojeda" } ]
Caracteres especiales en Windows
[ { "date": "2007-11-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Esteban,\n\nSi estás usando un editor en Windows, entonces no te hace falta:\n\n MsgInfo( \"Mañana\" )\n\naqui se ve bien", "time": "18:01", "topic": "Caracteres especiales en Windows", "username": "Antonio Linares" } ]
Caracteres especiales en Windows
[ { "date": "2007-11-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio, \n\nEstoy definiendo la columna del reporte de la siguiente manera:\n[code:1h0vsahp]\nCOLUMN TITLE \"Turno\",\"Mañana\" DATA \" \" CENTER\nCOLUMN TITLE \"Turno\",\"Tarde\" DATA \" \" CENTER\nCOLUMN TITLE \"Turno\",\"Noche\" DATA \" \" CENTER\n[/code:1h0vsahp]\n\nDonde está la ñ sale cualquier cosa estoy usando un editor en windows.\nAntes no me pasaba esto, pero de repente todos los acentos y las ñ se ven con cualquier símbolo.\nGracias de todas formas por tu atención.\nSaludos, Esteban.", "time": "19:26", "topic": "Caracteres especiales en Windows", "username": "jrestojeda" } ]
Caracteres especiales en Windows
[ { "date": "2007-11-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Esteban,\n\nHas probado con ?\n\nCOLUMN TITLE \"Turno\", OemToAnsi( \"Mañana\" ) DATA \" \" CENTER \n\nó\n\nCOLUMN TITLE \"Turno\", AnsiToOem( \"Mañana\" ) DATA \" \" CENTER", "time": "19:32", "topic": "Caracteres especiales en Windows", "username": "Antonio Linares" } ]
Caracteres especiales en Windows
[ { "date": "2007-11-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Antonio,\n\nSi he probado como tu me dices, pero no funciona correctamente, utilicé las dos funciones \"OemToAnsi\" y \"AnsiToOem\", y sin utilizarlas también he probado sin ningun resultado satifactorio.\n\nGracias por tu ayuda.\nSaludos, Esteban", "time": "14:31", "topic": "Caracteres especiales en Windows", "username": "jrestojeda" } ]
Caracteres especiales en Windows
[ { "date": "2007-11-19", "forum": "FiveWin para Harbour/xHarbour", "text": "El reporte se visualiza mal y se imprime mal ? Ambas cosas ?", "time": "14:48", "topic": "Caracteres especiales en Windows", "username": "Antonio Linares" } ]
Caracteres especiales en Windows
[ { "date": "2007-11-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Si antonio, se ve mal en el Preview y en la impresion.\nSaludos, Esteban", "time": "15:58", "topic": "Caracteres especiales en Windows", "username": "jrestojeda" } ]
Caracteres especiales en Windows
[ { "date": "2007-11-19", "forum": "FiveWin para Harbour/xHarbour", "text": "cambia el codigo de pagina de windows, osea el juego de caracteres", "time": "16:18", "topic": "Caracteres especiales en Windows", "username": "QAZWSX2K" } ]
Caracteres especiales en Windows
[ { "date": "2007-11-19", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote:bjfmccv6]\ncambia el codigo de pagina de windows, osea el juego de caracteres\n[/quote:bjfmccv6]\n\nRealmente desconozco como debo hacer esto que me dices.\nPodrías explicarlo?\nDesde ya muchas gracias.\nSaludos, Esteban", "time": "16:30", "topic": "Caracteres especiales en Windows", "username": "jrestojeda" } ]
Caracteres especiales en Windows
[ { "date": "2007-11-19", "forum": "FiveWin para Harbour/xHarbour", "text": "El comando es chcp", "time": "20:26", "topic": "Caracteres especiales en Windows", "username": "Antonio Martinez" } ]
Caracteres especiales en Windows
[ { "date": "2021-02-10", "forum": "FiveWin para Harbour/xHarbour", "text": "[Buenoas noche a los amigos del foro, necesito una ayuda con este problema que no consigo resolver\n[img:7is07owq]https&#58;//mega&#46;nz/file/fyxU3bwa#R7aHX3RBKLXCRSgoyg7a3n8gFNzxDoDWXR550nct1aQ[/img:7is07owq]\n[url:7is07owq]https&#58;//mega&#46;nz/file/fyxU3bwa#R7aHX3RBKLXCRSgoyg7a3n8gFNzxDoDWXR550nct1aQ[/url:7is07owq]", "time": "23:43", "topic": "Caracteres salen extraños", "username": "danielgustavo" } ]
Caracteres salen extraños
[ { "date": "2021-02-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Intente:\n\nSETUNICODE( .T. )\n\n[url:3re6rd81]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=3&t=36331&start=0[/url:3re6rd81]\n\nÓ\n\n[code=fw:3re6rd81]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">FUNCTION</span> TIRA_ACENTUACAO<span style=\"color: #000000;\">&#40;</span> cStr <span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">LOCAL</span> cStrNew := <span style=\"color: #ff0000;\">\"\"</span>, nX<br /><br />   cAcentos := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"‹\"</span>, <span style=\"color: #ff0000;\">\"‡\"</span>, <span style=\"color: #ff0000;\">\"A\"</span>, <span style=\"color: #ff0000;\">\"—\"</span>, <span style=\"color: #ff0000;\">\"ƒ\"</span>, <span style=\"color: #ff0000;\">\"Æ\"</span>, <span style=\"color: #ff0000;\">\"Ç\"</span>, <span style=\"color: #ff0000;\">\" \"</span>, <span style=\"color: #ff0000;\">\"µ\"</span>, <span style=\"color: #ff0000;\">\"…\"</span>, <span style=\"color: #ff0000;\">\"·\"</span>, <span style=\"color: #ff0000;\">\"‚\"</span>, <span style=\"color: #ff0000;\">\"É\"</span>, <span style=\"color: #ff0000;\">\"ê\"</span>, <span style=\"color: #ff0000;\">\"ˆ\"</span>, <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"Ò\"</span>, <span style=\"color: #ff0000;\">\"í\"</span>, <span style=\"color: #ff0000;\">\"Í\"</span>, <span style=\"color: #ff0000;\">\"ó\"</span>, <span style=\"color: #ff0000;\">\"¢\"</span>, <span style=\"color: #ff0000;\">\"à\"</span>, <span style=\"color: #ff0000;\">\"ä\"</span>, <span style=\"color: #ff0000;\">\"å\"</span>, <span style=\"color: #ff0000;\">\"“\"</span>, <span style=\"color: #ff0000;\">\"â\"</span>, <span style=\"color: #ff0000;\">\"ú\"</span>, <span style=\"color: #ff0000;\">\"é\"</span>, <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"š\"</span>, <span style=\"color: #ff0000;\">\"ç\"</span>, <span style=\"color: #ff0000;\">\"€\"</span>, <span style=\"color: #ff0000;\">\"ã\"</span>, <span style=\"color: #ff0000;\">\"Ã\"</span>, <span style=\"color: #ff0000;\">\"á\"</span>, <span style=\"color: #ff0000;\">\"Á\"</span>, <span style=\"color: #ff0000;\">\"à\"</span>, <span style=\"color: #ff0000;\">\"À\"</span>, <span style=\"color: #ff0000;\">\"é\"</span>, <span style=\"color: #ff0000;\">\"É\"</span>, <span style=\"color: #ff0000;\">\"ê\"</span>, <span style=\"color: #ff0000;\">\"Ê\"</span>, <span style=\"color: #ff0000;\">\"í\"</span>, <span style=\"color: #ff0000;\">\"Í\"</span>, <span style=\"color: #ff0000;\">\"ó\"</span>, <span style=\"color: #ff0000;\">\"Ó\"</span>, <span style=\"color: #ff0000;\">\"õ\"</span>, <span style=\"color: #ff0000;\">\"Õ\"</span>, <span style=\"color: #ff0000;\">\"ô\"</span>, <span style=\"color: #ff0000;\">\"Ô\"</span>, <span style=\"color: #ff0000;\">\"ú\"</span>, <span style=\"color: #ff0000;\">\"Ú\"</span>, <span style=\"color: #ff0000;\">\"ü\"</span>, <span style=\"color: #ff0000;\">\"Ü\"</span>, <span style=\"color: #ff0000;\">\"ç\"</span>, <span style=\"color: #ff0000;\">\"ù\"</span>, <span style=\"color: #ff0000;\">\"AAO\"</span>, <span style=\"color: #ff0000;\">\"§\"</span>, <span style=\"color: #ff0000;\">\"¦\"</span>, <span style=\"color: #ff0000;\">\"º\"</span>, <span style=\"color: #ff0000;\">\"ª\"</span>, <span style=\"color: #ff0000;\">\"€\"</span>, <span style=\"color: #ff0000;\">\"‡\"</span>, <span style=\"color: #ff0000;\">\"Ç\"</span>, <span style=\"color: #ff0000;\">\"ç\"</span>, <span style=\"color: #ff0000;\">\"'\"</span>, <span style=\"color: #ff0000;\">\"`\"</span>, <span style=\"color: #ff0000;\">\"ø\"</span>, <span style=\"color: #ff0000;\">\"¡\"</span>, <span style=\"color: #ff0000;\">\"Þ\"</span>, <span style=\"color: #ff0000;\">\"×\"</span>, <span style=\"color: #ff0000;\">\"Ø\"</span>, <span style=\"color: #ff0000;\">\"ÿ\"</span>, <span style=\"color: #ff0000;\">\"Ö\"</span>, chr<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">239</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />   cLetras  := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"I\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #ff0000;\">\"A\"</span>, <span style=\"color: #ff0000;\">\"U\"</span>, <span style=\"color: #ff0000;\">\"A\"</span>, <span style=\"color: #ff0000;\">\"A\"</span>, <span style=\"color: #ff0000;\">\"A\"</span>, <span style=\"color: #ff0000;\">\"A\"</span>, <span style=\"color: #ff0000;\">\"A\"</span>, <span style=\"color: #ff0000;\">\"A\"</span>, <span style=\"color: #ff0000;\">\"A\"</span>, <span style=\"color: #ff0000;\">\"E\"</span>, <span style=\"color: #ff0000;\">\"E\"</span>, <span style=\"color: #ff0000;\">\"E\"</span>, <span style=\"color: #ff0000;\">\"E\"</span>, <span style=\"color: #ff0000;\">\"E\"</span>, <span style=\"color: #ff0000;\">\"E\"</span>, <span style=\"color: #ff0000;\">\"I\"</span>, <span style=\"color: #ff0000;\">\"I\"</span>, <span style=\"color: #ff0000;\">\"O\"</span>, <span style=\"color: #ff0000;\">\"O\"</span>, <span style=\"color: #ff0000;\">\"O\"</span>, <span style=\"color: #ff0000;\">\"O\"</span>, <span style=\"color: #ff0000;\">\"O\"</span>, <span style=\"color: #ff0000;\">\"O\"</span>, <span style=\"color: #ff0000;\">\"O\"</span>, <span style=\"color: #ff0000;\">\"U\"</span>, <span style=\"color: #ff0000;\">\"U\"</span>, <span style=\"color: #ff0000;\">\"U\"</span>, <span style=\"color: #ff0000;\">\"U\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #ff0000;\">\"A\"</span>, <span style=\"color: #ff0000;\">\"A\"</span>, <span style=\"color: #ff0000;\">\"A\"</span>, <span style=\"color: #ff0000;\">\"A\"</span>, <span style=\"color: #ff0000;\">\"A\"</span>, <span style=\"color: #ff0000;\">\"A\"</span>, <span style=\"color: #ff0000;\">\"E\"</span>, <span style=\"color: #ff0000;\">\"E\"</span>, <span style=\"color: #ff0000;\">\"E\"</span>, <span style=\"color: #ff0000;\">\"E\"</span>, <span style=\"color: #ff0000;\">\"I\"</span>, <span style=\"color: #ff0000;\">\"I\"</span>, <span style=\"color: #ff0000;\">\"O\"</span>, <span style=\"color: #ff0000;\">\"O\"</span>, <span style=\"color: #ff0000;\">\"O\"</span>, <span style=\"color: #ff0000;\">\"O\"</span>, <span style=\"color: #ff0000;\">\"O\"</span>, <span style=\"color: #ff0000;\">\"O\"</span>, <span style=\"color: #ff0000;\">\"U\"</span>, <span style=\"color: #ff0000;\">\"U\"</span>, <span style=\"color: #ff0000;\">\"U\"</span>, <span style=\"color: #ff0000;\">\"U\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #ff0000;\">\" \"</span>, <span style=\"color: #ff0000;\">\"AAO\"</span>, <span style=\"color: #ff0000;\">\".\"</span>, <span style=\"color: #ff0000;\">\".\"</span>, <span style=\"color: #ff0000;\">\".\"</span>, <span style=\"color: #ff0000;\">\".\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #ff0000;\">\"\"</span> , <span style=\"color: #ff0000;\">\"\"</span> , <span style=\"color: #ff0000;\">\".\"</span>, <span style=\"color: #ff0000;\">\"I\"</span>, <span style=\"color: #ff0000;\">\"I\"</span>, <span style=\"color: #ff0000;\">\"I\"</span>, <span style=\"color: #ff0000;\">\"I\"</span>, <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"I\"</span>,  <span style=\"color: #ff0000;\">\"\"</span>   <span style=\"color: #000000;\">&#125;</span><br /><br />   <span style=\"color: #00C800;\">FOR</span> nX := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> LEN<span style=\"color: #000000;\">&#40;</span> cAcentos <span style=\"color: #000000;\">&#41;</span><br /><br />      cStrNew := StrTran<span style=\"color: #000000;\">&#40;</span> cStr, cAcentos<span style=\"color: #000000;\">&#91;</span>nX<span style=\"color: #000000;\">&#93;</span>, cLetras<span style=\"color: #000000;\">&#91;</span>nX<span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />      cStr := cStrNew<br /><br />   <span style=\"color: #00C800;\">NEXT</span><br /><br /><span style=\"color: #00C800;\">RETURN</span><span style=\"color: #000000;\">&#40;</span> cStrNew <span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:3re6rd81]\n\nSaludos.", "time": "12:08", "topic": "Caracteres salen extraños", "username": "karinha" } ]
Caracteres salen extraños
[ { "date": "2006-01-19", "forum": "FiveWin para Harbour/xHarbour", "text": "[img:23zt92u5]http&#58;//gdeteran&#46;150m&#46;com/Passwd&#46;jpg[/img:23zt92u5]\n\nComo puedo cambiar estos caracteres al tipico de WinXP o, por ultimo el antiguo asterisco\n\n\nDe antemanos gracias\n\nGonzalo", "time": "15:49", "topic": "Caracteres tipo password en WinXP", "username": "gdeteran" } ]
Caracteres tipo password en WinXP
[ { "date": "2006-01-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Gonzalo:\n\nNo se si es esto, pero basta con el editor de recursos que uses, ejemplo el workshop y le asignes a ese campo de edición el tipo password y listo.\nEsto se ve en las propiedades.\n\nAl hacer esto en Xp lo reconoce automaticamente .\n\nClaro hay que usar FWH y un compilador 32 bits.\n\nSaludos\n\nJC", "time": "16:42", "topic": "Caracteres tipo password en WinXP", "username": "jcaro" } ]
Caracteres tipo password en WinXP
[ { "date": "2006-01-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Gonzalo, necesitas\nusar en tu diálogo la letra TAHOMA tamaño 8\n\nAsígnasela desde tu editor de recursos.\n\nSaludos", "time": "00:14", "topic": "Caracteres tipo password en WinXP", "username": "VeRCE" } ]
Caracteres tipo password en WinXP
[ { "date": "2008-05-29", "forum": "FiveWin para CA-Clipper", "text": "Hola a todos.\r\n\r\nQuiero incluir en mis informes caractéres gráficos Alt+179, Alt+196 (&#9474;, &#9472;, &#9500;, &#9532; ) etc, pero no consigo que me los muestre al imprimir; siempre me los convierte a otros caractéres. Sin embargo, me he dado cuenta de que en la clase TReport se utilizan este tipo de caractéres los muestra bien . No creo que sea cosa del editor, ya que aunque trabajo con un editor bajo MS-DOS, he probado a editar mi programa con un editor Windows y el problema persiste. ¿Alguna ayuda al respecto?\r\n\r\nGracias por adelantado y un saludo,\r\nFernando Morales del Rosario", "time": "08:46", "topic": "Caractéres gráficos al imprimir.", "username": "fernandomoralesdr" } ]
Caractéres gráficos al imprimir.
[ { "date": "2008-07-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi, all !\r\nI want determine caret position into GET after VK_LEFT/VK_RIGHT/got focus.\r\nIf I do it by oGet:bKeyDown or oGet:bGotFocus that is not right\r\nHow do it ?", "time": "13:04", "topic": "Caret move", "username": "Natter" } ]
Caret move
[ { "date": "2008-07-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Try oGet:nPos\r\n\r\nJames", "time": "20:53", "topic": "Caret move", "username": "James Bott" } ]
Caret move
[ { "date": "2008-07-04", "forum": "FiveWin for Harbour/xHarbour", "text": "oGet:nPos is not right all case.\r\n\r\nI edit text and to move position into multistrings browser(hex value) of context.\r\nI resolved this problem so. In order to get right position of my GET after any events (VK_LEFT/VK_RIGHT/focus/insert chat/delete char etc. ) I use timer 0.1-0.2 sec", "time": "00:10", "topic": "Caret move", "username": "Natter" } ]
Caret move
[ { "date": "2009-10-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola, a ver si alguien me puede orientar. La función de mas abajo la uso para buscar un producto y obtener los datos del mismo para cargar en los pedidos, remitos o facturas los distintos productos . Funciona bien\n\n\n[code=fw:280de6c7]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #B900B9;\">////</span><br />  <span style=\"color: #00C800;\">Case</span> nCol == <span style=\"color: #000000;\">1</span><br />                              bValid:= <span style=\"color: #000000;\">&#123;</span>|| iif<span style=\"color: #000000;\">&#40;</span>bprodu<span style=\"color: #000000;\">&#40;</span>ubuffer,oNsto<span style=\"color: #000000;\">&#41;</span>, .T. ,   <span style=\"color: #000000;\">&#40;</span>Alert<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Codigo Articulo Inexistente :-(\"</span><span style=\"color: #000000;\">&#41;</span>,.F.<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><br /><br />              <span style=\"color: #00C800;\">If</span> lContinue:= oBrw:<span style=\"color: #000000;\">lEditCol</span><span style=\"color: #000000;\">&#40;</span> nColReal, @uBuffer, <span style=\"color: #ff0000;\">\"@ZE 9999\"</span>, bValid,,CLR_YELLOW<span style=\"color: #000000;\">&#41;</span><br /><br />          aPedido:<span style=\"color: #000000;\">aDet</span><span style=\"color: #000000;\">&#91;</span>nAt,<span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:= oNsto:<span style=\"color: #000000;\">codigo</span><br />                  aPedido:<span style=\"color: #000000;\">aDet</span><span style=\"color: #000000;\">&#91;</span>nAt,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>:= oNsto:<span style=\"color: #000000;\">producto</span>  <br />          aPedido:<span style=\"color: #000000;\">aDet</span><span style=\"color: #000000;\">&#91;</span>nAt,<span style=\"color: #000000;\">8</span><span style=\"color: #000000;\">&#93;</span>:= oNsto:<span style=\"color: #000000;\">abrevia</span><br />          aPedido:<span style=\"color: #000000;\">aDet</span><span style=\"color: #000000;\">&#91;</span>nAt,<span style=\"color: #000000;\">12</span><span style=\"color: #000000;\">&#93;</span> := oNsto:<span style=\"color: #000000;\">alpeso</span><br />          aPedido:<span style=\"color: #000000;\">aDet</span><span style=\"color: #000000;\">&#91;</span>nAt,<span style=\"color: #000000;\">6</span><span style=\"color: #000000;\">&#93;</span>:= oNsto:<span style=\"color: #000000;\">abrevia</span><br />               <span style=\"color: #00C800;\">EndIf</span><br /><br /><span style=\"color: #B900B9;\">///etc</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> BPRODU<span style=\"color: #000000;\">&#40;</span>ncod,odbf<span style=\"color: #000000;\">&#41;</span><br /><br /><br /><span style=\"color: #00C800;\">local</span> lacepto := .F.<br /><span style=\"color: #00C800;\">local</span> olbm, odlg<br /><span style=\"color: #00C800;\">local</span> nbut<br /><br /><br />odbf:<span style=\"color: #000000;\">setorder</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>                                                   <span style=\"color: #B900B9;\">//ordeno por nombre</span><br />odbf:<span style=\"color: #000000;\">gotop</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">if</span> empty<span style=\"color: #000000;\">&#40;</span>ncod<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">ICON</span> surge <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"icoprog\"</span><br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"lisbus_1\"</span> <span style=\"color: #0000ff;\">ICON</span> surge<br />odlg:<span style=\"color: #000000;\">cCaption</span>:= <span style=\"color: #ff0000;\">\"Productos\"</span> <br /><br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">LISTBOX</span> olbm FIELDS <span style=\"color: #000000;\">&#40;</span>oDbf:<span style=\"color: #000000;\">calias</span><span style=\"color: #000000;\">&#41;</span> ->producto <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">101</span>;<br />             <span style=\"color: #0000ff;\">ON</span> DBLCLICK <span style=\"color: #000000;\">&#40;</span>lacepto:= .t.,odlg:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span>  <span style=\"color: #0000ff;\">of</span> odlg <br />             olbm:<span style=\"color: #000000;\">setfocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>     <br />             olbm:<span style=\"color: #000000;\">bSkip</span> := <span style=\"color: #000000;\">&#123;</span> | nRecs | oDbf:<span style=\"color: #000000;\">Skipper</span><span style=\"color: #000000;\">&#40;</span> nRecs <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />             oLbm:<span style=\"color: #000000;\">bSeek</span> := <span style=\"color: #000000;\">&#123;</span>|lRet| oLbm:<span style=\"color: #000000;\">DbfSeek</span><span style=\"color: #000000;\">&#40;</span>.T.<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />         oLbm:<span style=\"color: #000000;\">bkeydown</span> :=  <span style=\"color: #000000;\">&#123;</span>|nkey,nflags| iif<span style=\"color: #000000;\">&#40;</span>nKey = VK_RETURN, nBut:<span style=\"color: #000000;\">setfocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,.f.<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#125;</span><br />         olbm:<span style=\"color: #000000;\">nClrBackFocus</span> := CLR_CYAN<br />             olbm:<span style=\"color: #000000;\">nClrForeFocus</span> := CLR_WHITE         <br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> NBUT <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">102</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span>lacepto := .t.,odlg:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />  <br /> <br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">103</span> <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">&#40;</span> clientes<span style=\"color: #000000;\">&#40;</span> olbm, .t.,odbf<span style=\"color: #000000;\">&#41;</span>,olbm:<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 /><br /><br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> ODLG <br /><br /><span style=\"color: #00C800;\">ELSE</span> <br /> odbf:<span style=\"color: #000000;\">setorder</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span><br /> odbf:<span style=\"color: #000000;\">seek</span><span style=\"color: #000000;\">&#40;</span>ncod<span style=\"color: #000000;\">&#41;</span><br /> <span style=\"color: #00C800;\">if</span> odbf:<span style=\"color: #000000;\">found</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />     lacepto := .t.<br /> <span style=\"color: #00C800;\">endif</span><br /> <br /><span style=\"color: #00C800;\">ENDIF</span> <br /><br /><span style=\"color: #00C800;\">if</span> lacepto<br /><span style=\"color: #00C800;\">RETURN</span> .t.<br /><span style=\"color: #00C800;\">endif</span><br /><span style=\"color: #00C800;\">return</span> .f.<br /><br /><br /> </div>[/code:280de6c7]\n\nPero cuando llamo de nuevo el pedido y quiero añadir otro producto me aparece el listbox vacío \n\n[code=fw:280de6c7]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #00C800;\">if</span> !lnuevo                                    <span style=\"color: #B900B9;\">// si es un pedido existente cargo en el formulario todos los datos</span><br /> <span style=\"color: #B900B9;\">///</span><br />   eval<span style=\"color: #000000;\">&#40;</span>beval<span style=\"color: #000000;\">&#41;</span><br /> <br /> <br /><br />   oPmemo:<span style=\"color: #000000;\">seek</span><span style=\"color: #000000;\">&#40;</span>oPinterno:<span style=\"color: #000000;\">pedido</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">if</span> oPmemo:<span style=\"color: #000000;\">found</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />      aPedido:<span style=\"color: #000000;\">observa</span> := oPmemo:<span style=\"color: #000000;\">observa</span><br />   <span style=\"color: #00C800;\">endif</span><br /><br />   aPedido:<span style=\"color: #000000;\">totales</span> := aPedido:<span style=\"color: #000000;\">totpes</span> <br />      <br />   busnap<span style=\"color: #000000;\">&#40;</span>oMae,oPinterno:<span style=\"color: #000000;\">ncli</span><span style=\"color: #000000;\">&#41;</span><br />   aPedido:<span style=\"color: #000000;\">ncli</span> := oMae:<span style=\"color: #000000;\">ncli</span><br />   aPedido:<span style=\"color: #000000;\">nape</span> := oMae:<span style=\"color: #000000;\">nape</span><br />   aPedido:<span style=\"color: #000000;\">domi</span> := oMae:<span style=\"color: #000000;\">domi</span><br />   aPedido:<span style=\"color: #000000;\">vendedor</span> := oPinterno:<span style=\"color: #000000;\">vendedor</span> <br />   <span style=\"color: #00C800;\">if</span> oPinterno:<span style=\"color: #000000;\">estado</span> = <span style=\"color: #ff0000;\">\"A\"</span><br />       cEstado := <span style=\"color: #ff0000;\">\"Autorizado\"</span><br />   elseif oPinterno:<span style=\"color: #000000;\">estado</span> = <span style=\"color: #ff0000;\">\"R\"</span><br />       cEstado := <span style=\"color: #ff0000;\">\"Remito \"</span> + oPinterno:<span style=\"color: #000000;\">remito</span><br />   <span style=\"color: #00C800;\">endif</span><br />       <br />   oDpedido:<span style=\"color: #000000;\">seek</span><span style=\"color: #000000;\">&#40;</span>oPinterno:<span style=\"color: #000000;\">pedido</span><span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">if</span> oDpedido:<span style=\"color: #000000;\">found</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />      <span style=\"color: #00C800;\">do</span>                                    /                                               <br />            aadd<span style=\"color: #000000;\">&#40;</span>aPedido:<span style=\"color: #000000;\">aDet</span>,<span style=\"color: #000000;\">&#123;</span>oDpedido:<span style=\"color: #000000;\">codigo</span>,<span style=\"color: #000000;\">&#91;</span><span style=\"color: #0000ff;\">size</span>=<span style=\"color: #000000;\">150</span><span style=\"color: #000000;\">&#93;</span>eval<span style=\"color: #000000;\">&#40;</span>bprodu<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#91;</span>/<span style=\"color: #0000ff;\">size</span><span style=\"color: #000000;\">&#93;</span>, oDpedido:<span style=\"color: #000000;\">unidad</span>,oDpedido:<span style=\"color: #000000;\">cantidad</span>,oDpedido:<span style=\"color: #000000;\">precio</span>,oDpedido:<span style=\"color: #000000;\">envase</span>,oDpedido:<span style=\"color: #000000;\">comision</span>,oNsto:<span style=\"color: #000000;\">abrevia</span>,oDpedido:<span style=\"color: #000000;\">recno</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,.t.,.t.,oNsto:<span style=\"color: #000000;\">alpeso</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#125;</span><span style=\"color: #000000;\">&#41;</span><br />        oDpedido:<span style=\"color: #000000;\">skip</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>                                                                                                                                                                                                                             <br />      until oDpedido:<span style=\"color: #000000;\">pedido</span> # oPinterno:<span style=\"color: #000000;\">pedido</span> <br /> <br /><br /> </div>[/code:280de6c7]\n\nAquí me carga bien el formulario pero si quiero agregar un producto el listbox con los mismos me aparece vacío. \n\nNo pude encontrar el porque de este comportamiento.\n\nGracias", "time": "23:12", "topic": "Carga de datos", "username": "surGom" } ]
Carga de datos
[ { "date": "2009-10-24", "forum": "FiveWin para Harbour/xHarbour", "text": "Hace varios años este problema lo tenía resuelto devolviendo un array, es decir llamaba la función abría la base de datos cargaba en un array el registro y cerraba la base. Pero estoy haciendo un nuevo programa y quería hacerlo de la manera que me parecía mas correcta que era pasar como parámetro el objeto database y cerrarlo cuando dejaba la rutina principal.\n\n[code=fw:3ouqinhm]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">FUNCTION</span> BPRODU<span style=\"color: #000000;\">&#40;</span>ncod<span style=\"color: #000000;\">&#41;</span><br /><br /><br /><span style=\"color: #00C800;\">local</span> lacepto := .F.<br /><span style=\"color: #00C800;\">local</span> olbm, odlg<br /><span style=\"color: #00C800;\">local</span> nbut<br /><span style=\"color: #00C800;\">local</span> k1<br /><span style=\"color: #00C800;\">local</span> surge<br /><span style=\"color: #00C800;\">local</span> aProd := array<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br /><br /><br /><span style=\"color: #00C800;\">if</span> !pasaje<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"nstock\"</span><span style=\"color: #000000;\">&#41;</span>;return <span style=\"color: #00C800;\">nil</span>;endif<br />database oNsto<br />oNsto:<span style=\"color: #000000;\">setorder</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</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; <span style=\"color: #B900B9;\">//ordeno por nombre</span><br />oNsto:<span style=\"color: #000000;\">gobottom</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />oNsto:<span style=\"color: #000000;\">gotop</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">if</span> empty<span style=\"color: #000000;\">&#40;</span>ncod<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">ICON</span> surge <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"icoprog\"</span><br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"lisbus_1\"</span> <span style=\"color: #0000ff;\">ICON</span> surge<br />odlg:<span style=\"color: #000000;\">cCaption</span>:= <span style=\"color: #ff0000;\">\"Productos\"</span> <br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">LISTBOX</span> olbm FIELDS <span style=\"color: #000000;\">&#40;</span>oNsto:<span style=\"color: #000000;\">calias</span><span style=\"color: #000000;\">&#41;</span> ->producto <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">101</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">ON</span> DBLCLICK <span style=\"color: #000000;\">&#40;</span>lacepto:= .t.,odlg:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> &nbsp;<span style=\"color: #0000ff;\">of</span> odlg <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;olbm:<span style=\"color: #000000;\">setfocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp;&nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;olbm:<span style=\"color: #000000;\">bSkip</span> := <span style=\"color: #000000;\">&#123;</span> | nRecs | oNsto:<span style=\"color: #000000;\">Skipper</span><span style=\"color: #000000;\">&#40;</span> nRecs <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oLbm:<span style=\"color: #000000;\">bSeek</span> := <span style=\"color: #000000;\">&#123;</span>|lRet| oLbm:<span style=\"color: #000000;\">DbfSeek</span><span style=\"color: #000000;\">&#40;</span>.T.<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oLbm:<span style=\"color: #000000;\">bkeydown</span> := &nbsp;<span style=\"color: #000000;\">&#123;</span>|nkey,nflags| iif<span style=\"color: #000000;\">&#40;</span>nKey = VK_RETURN, nBut:<span style=\"color: #000000;\">setfocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,.f.<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;olbm:<span style=\"color: #000000;\">nClrBackFocus</span> := CLR_CYAN<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;olbm:<span style=\"color: #000000;\">nClrForeFocus</span> := CLR_WHITE &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> NBUT <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">102</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span>lacepto := .t.,odlg:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; <br />&nbsp;<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">103</span> <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">&#40;</span> clientes<span style=\"color: #000000;\">&#40;</span> olbm, .t.,oNsto<span style=\"color: #000000;\">&#41;</span>,olbm:<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 />&nbsp; <br /><br /><br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> ODLG <br /><br /><span style=\"color: #00C800;\">ELSE</span> <br />&nbsp;oNsto:<span style=\"color: #000000;\">setorder</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp;oNsto:<span style=\"color: #000000;\">seek</span><span style=\"color: #000000;\">&#40;</span>ncod<span style=\"color: #000000;\">&#41;</span><br />&nbsp;<span style=\"color: #00C800;\">if</span> oNsto:<span style=\"color: #000000;\">found</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; lacepto := .t.<br />&nbsp;<span style=\"color: #00C800;\">endif</span><br />&nbsp;<br /><span style=\"color: #00C800;\">ENDIF</span> <br /><br /><span style=\"color: #00C800;\">if</span> lacepto<br />&nbsp; &nbsp; aadd<span style=\"color: #000000;\">&#40;</span>aProd,oNsto:<span style=\"color: #000000;\">codigo</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">//1</span><br />&nbsp; &nbsp; aadd<span style=\"color: #000000;\">&#40;</span>aProd,oNsto:<span style=\"color: #000000;\">familia</span> <span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">//2</span><br />&nbsp; &nbsp; aadd<span style=\"color: #000000;\">&#40;</span>aProd,oNsto:<span style=\"color: #000000;\">fantasia</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">//3</span><br />&nbsp; &nbsp; aadd<span style=\"color: #000000;\">&#40;</span>aProd,oNsto:<span style=\"color: #000000;\">npro</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">//4 &nbsp;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; aadd<span style=\"color: #000000;\">&#40;</span>aProd,oNsto:<span style=\"color: #000000;\">codenv</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">//5</span><br />&nbsp; &nbsp; aadd<span style=\"color: #000000;\">&#40;</span>aProd,oNsto:<span style=\"color: #000000;\">medida</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">//6</span><br />&nbsp; &nbsp; aadd<span style=\"color: #000000;\">&#40;</span>aProd,oNsto:<span style=\"color: #000000;\">abrevia</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">//7</span><br />&nbsp; &nbsp; aadd<span style=\"color: #000000;\">&#40;</span>aProd,oNsto:<span style=\"color: #000000;\">lista1</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">//8 </span><br />&nbsp; &nbsp; aadd<span style=\"color: #000000;\">&#40;</span>aProd,oNsto:<span style=\"color: #000000;\">lista2</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">//9 </span><br />&nbsp; &nbsp; aadd<span style=\"color: #000000;\">&#40;</span>aProd,oNsto:<span style=\"color: #000000;\">lista3</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">//10 </span><br />&nbsp; &nbsp; aadd<span style=\"color: #000000;\">&#40;</span>aProd,oNsto:<span style=\"color: #000000;\">lista4</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">//11</span><br />&nbsp; &nbsp; aadd<span style=\"color: #000000;\">&#40;</span>aProd,oNsto:<span style=\"color: #000000;\">lista5</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">//12</span><br />&nbsp; &nbsp; aadd<span style=\"color: #000000;\">&#40;</span>aProd,oNsto:<span style=\"color: #000000;\">costo</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">//13</span><br />&nbsp; &nbsp; aadd<span style=\"color: #000000;\">&#40;</span>aProd,oNsto:<span style=\"color: #000000;\">almacen</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">//14</span><br />&nbsp; &nbsp; aadd<span style=\"color: #000000;\">&#40;</span>aProd,oNsto:<span style=\"color: #000000;\">alpeso</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">//15 &nbsp; </span><br />&nbsp; &nbsp; aadd<span style=\"color: #000000;\">&#40;</span>aProd,oNsto:<span style=\"color: #000000;\">unidades</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">//16</span><br /><span style=\"color: #00C800;\">endif</span><br />cierroalias<span style=\"color: #000000;\">&#40;</span>oNsto:<span style=\"color: #000000;\">calias</span>,oNsto<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">return</span> &nbsp;aProd <br />&nbsp;</div>[/code:3ouqinhm]", "time": "12:04", "topic": "Carga de datos", "username": "surGom" } ]
Carga de datos
[ { "date": "2009-10-24", "forum": "FiveWin para Harbour/xHarbour", "text": "Aquí en el primera imagen es como tiene que funcionar tanto si es un nuvo formulario o como una modificación del mismo Usando un array(aPod)\nY así también lo hace cuando es un formulario nuevo y usando la clase database\n\n[url=http&#58;//img18&#46;imageshack&#46;us/i/buenaa&#46;jpg/:3is2i3yd][img:3is2i3yd]http&#58;//img18&#46;imageshack&#46;us/img18/3345/buenaa&#46;th&#46;jpg[/img:3is2i3yd][/url:3is2i3yd]\n\ny así es como funciona cuando quiero modificar el formulario con la clase database\n\n[url=http&#58;//img251&#46;imageshack&#46;us/i/malaz&#46;jpg/:3is2i3yd][img:3is2i3yd]http&#58;//img251&#46;imageshack&#46;us/img251/8769/malaz&#46;th&#46;jpg[/img:3is2i3yd][/url:3is2i3yd]", "time": "13:02", "topic": "Carga de datos", "username": "surGom" } ]
Carga de datos
[ { "date": "2020-11-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola a Todos amigos del Foro.\nEsperando que se encuentren mejor de lo que desean.\n\nMi consulta esta noche es sencilla (creo yo) pero no he podido solucionar.\n\nTengo un archivo .INI con las secciones y variable respectivas\n\n[Seccion 1]\ncVar1='Contenido de cVar1'\ncVar2='Contenido de cVar2'\ncVar3='Contenido de cVar3'\ncVar4='Contenido de cVar4'\n\n[Seccion 2]\ncVar1='Contenido de cVar1'\ncVar2='Contenido de cVar2'\ncVar3='Contenido de cVar3'\ncVar4='Contenido de cVar4'\n\ny asi varias secciones.\n\nEse archivo INI se alimenta internamente desde la ejecucion del programa y necesito actualizar los arreglos que uso con esos datos en algunos combobox.\n\nO sea, necesito crear un arreglo con los valores de [Seccion 1], otro con los Valores de [Seccion 2] y asi sucesivmanente.\n\nQue quede algo asi :\n\naArray_1:={ 'Contenido de cVar1' , 'Contenido de cVar2', 'Contenido de cVar3', 'Contenido de cVar4' }\naArray_2:={ 'Contenido de cVar1' , 'Contenido de cVar2', 'Contenido de cVar3', 'Contenido de cVar4' }\n\nEspero haberme explicado lo mejor posible.\n\nAlguna idea de como solucionar?\n\nComo siempre, Gracias anticipadas por la generosa ayuda que puedan prestarme.", "time": "00:54", "topic": "Cargar Arreglo desde Archivo .INI", "username": "JoseAlvarez" } ]
Cargar Arreglo desde Archivo .INI
[ { "date": "2020-11-06", "forum": "FiveWin para Harbour/xHarbour", "text": "<!-- l --><a class=\"postlink-local\" href=\"https://forums.fivetechsupport.com/viewtopic.php?f=6&t=38989&start=0&hilit=desde+ini\">viewtopic.php?f=6&t=38989&start=0&hilit=desde+ini</a><!-- l -->", "time": "04:11", "topic": "Cargar Arreglo desde Archivo .INI", "username": "FranciscoA" } ]
Cargar Arreglo desde Archivo .INI
[ { "date": "2020-11-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Amigo Francisco.\n\nMuchas Gracias por la orientacion.\n\nResuelto el problema..\n\n!agradecido.. un gran abrazo!", "time": "13:17", "topic": "Cargar Arreglo desde Archivo .INI", "username": "JoseAlvarez" } ]
Cargar Arreglo desde Archivo .INI
[ { "date": "2020-11-06", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"FranciscoA\":52pyrotj]https://forums.fivetechsupport.com/viewtopic.php?f=6&t=38989&start=0&hilit=desde+ini[/quote:52pyrotj]\n\n\n\nHola Ing. Francisco Alegria que tal como esta, no les afecto mucho le huracan ETA, ya que supimos en las noticias que afecto nicaragua.\n\nY espero que no haya pasado a mayores por donde se encuentra viviendo Ing. Francisco Alegria.\n\nGusto saludarlo.\n\nAtte: Adrian C. C.\n\n<!-- e --><a href=\"mailto:acc69@hotmail.com\">acc69@hotmail.com</a><!-- e -->", "time": "16:18", "topic": "Cargar Arreglo desde Archivo .INI", "username": "ACC69" } ]
Cargar Arreglo desde Archivo .INI
[ { "date": "2020-11-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Adrian.\nGracias por tus palabras.\nEspero te encuentres bien.\n\nYa resolviste lo del Browse?. Bajé el zip varias veces, pero siempre winrar lo detectó como 'corrupted file'.\nSaludos.", "time": "18:17", "topic": "Cargar Arreglo desde Archivo .INI", "username": "FranciscoA" } ]
Cargar Arreglo desde Archivo .INI
[ { "date": "2020-11-06", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"JoseAlvarez\":1zcagap8]Amigo Francisco.\n\nMuchas Gracias por la orientacion.\n\nResuelto el problema..\n\n!agradecido.. un gran abrazo![/quote:1zcagap8]\nJosé.\nMe alegra mucho que te haya servido.\nSaludos.", "time": "18:19", "topic": "Cargar Arreglo desde Archivo .INI", "username": "FranciscoA" } ]
Cargar Arreglo desde Archivo .INI
[ { "date": "2020-11-06", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"FranciscoA\":39t1e1s5]Adrian.\nGracias por tus palabras.\nEspero te encuentres bien.\n\nYa resolviste lo del Browse?. Bajé el zip varias veces, pero siempre winrar lo detectó como 'corrupted file'.\nSaludos.[/quote:39t1e1s5]\n\n\nNo ing. Francisco, aun no doy con el resultado lo hice a un lado por mientras... mientras avanzo con crear estructuras de otros modulos que se requiere, la clase de txbrowse es mi mayor enemigo parece facil pero cuando uno quiere hacerlo a su necesidad surgen inconvenientes....ya que postee el codigo fuente en el otro post anterior, ya luego con mas calma retomo de nuevo la edicion de registros con dbfs si necesidad de botones ya unicamente solo necesito 4 campos y 4 columnas a editar...\n\nGracias por preguntar y gusto saludarle. \n\nSaludos", "time": "20:27", "topic": "Cargar Arreglo desde Archivo .INI", "username": "ACC69" } ]
Cargar Arreglo desde Archivo .INI
[ { "date": "2013-02-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Saludos amigos foristas, les pido ayuda para ver como enfrentar este procedimiento, tengo un archivo con una estructura jerarquica donde tengo identificado en orden consecutivo la estructura y su profundidad (depth).\n[code=fw:1sf1mvqc]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">                                       <span style=\"color: #0000ff;\">NAME</span>                                               DEPTH<br />========================================================================================  =====<br />VISUALIZAR                                                                                  <span style=\"color: #000000;\">0</span><br />   ESTABLECER LOS OBJETIVOS Y PROPÓSITOS DEL PROYECTO                                       <span style=\"color: #000000;\">1</span><br />      <span style=\"color: #000000;\">1</span>. Establecer los objetivos y propósitos del proyecto                                 <span style=\"color: #000000;\">2</span><br />          A. Conformar el equipo de trabajo de la fase visualizar                           <span style=\"color: #000000;\">3</span><br />          B. Planificar fase visualizar                                                     <span style=\"color: #000000;\">3</span><br />          C. Preparar y convocar reunión mesa de trabajo No<span style=\"color: #000000;\">.1</span>                               <span style=\"color: #000000;\">3</span><br />          D. Establecer productos y volúmenes de producción                                 <span style=\"color: #000000;\">3</span><br />          E. Establecer calidad de los productos                                            <span style=\"color: #000000;\">3</span><br />          F. Establecer alimentación requerida <span style=\"color: #000000;\">&#40;</span>volumen y calidad<span style=\"color: #000000;\">&#41;</span>                          <span style=\"color: #000000;\">3</span><br />          G. Premisas consideradas para establecer objetivos y Propósitos del proyecto      <span style=\"color: #000000;\">3</span><br />          H. Establecer requerimientos de prueba/ investigación adicional para verificar    <span style=\"color: #000000;\">3</span><br />          I. Establecer dependencias y relación con otros proyectos del plan                <span style=\"color: #000000;\">3</span><br />   VERIFICAR ALINEACIÓN DEL PROYECTO CON ESTRATEGIA CORPORATIVA                             <span style=\"color: #000000;\">1</span><br />      <span style=\"color: #000000;\">1</span>. Verificar alineación del proyecto con estrategia corporativa                       <span style=\"color: #000000;\">2</span><br />          A. Conocer lineamientos y requerimientos del portafolio de oportunidades y/o      <span style=\"color: #000000;\">3</span><br />          B. Identificar oportunidades de optimización de infraestructuras                  <span style=\"color: #000000;\">3</span><br />          C. Documentar la identificación de alineación del proyecto con los objetivos      <span style=\"color: #000000;\">3</span><br />   DESARROLLO PRELIMINAR DEL PROYECTO                                                       <span style=\"color: #000000;\">1</span><br />      <span style=\"color: #000000;\">1</span>. Elaborar alcance preliminar del proyecto:                                          <span style=\"color: #000000;\">2</span><br />          A. Recopilar  informaciOn requerida                                               <span style=\"color: #000000;\">3</span><br />          B. Identificar requerimientos de infraestructura y servicios                      <span style=\"color: #000000;\">3</span><br />          C. Establecer factibilidad técnica del proyecto                                  <span style=\"color: #000000;\">3</span><br />          D. Documentar alcance preliminar del proyecto                                     <span style=\"color: #000000;\">3</span><br />      <span style=\"color: #000000;\">2</span>. Elaborar de costo Clase V                                                          <span style=\"color: #000000;\">2</span><br />          A. Recopilar información requerida                                                <span style=\"color: #000000;\">3</span><br />          B. Seleccionar metodologìa de estimación                                         <span style=\"color: #000000;\">3</span><br />          C. Elaboración de estimado de Clase V del proyecto, que incluya estimado Clase    <span style=\"color: #000000;\">3</span><br />      <span style=\"color: #000000;\">3</span>. Elaborar PEP Clase                                                                 <span style=\"color: #000000;\">2</span><br />          A. Describir premisas a c0nsiderar para la programación del proyecto              <span style=\"color: #000000;\">3</span><br />          B. Identificar potenciales riesgos de incumplimiento                              <span style=\"color: #000000;\">3</span><br />          C. Establecer estrategias de ejecución                                            <span style=\"color: #000000;\">3</span><br />          D. Establecer cronograma para el desarrollo de los hitos principales de ejecuc    <span style=\"color: #000000;\">3</span><br />          E. Elaborar PEP Clase V del proyecto                                              <span style=\"color: #000000;\">3</span><br />          F.  Recursos requeridos para ejecutar la fase conceptualizar                      <span style=\"color: #000000;\">3</span><br />          G. Elaborar Plan de ejecución Clase II de la fase conceptualizar                  <span style=\"color: #000000;\">3</span><br />      <span style=\"color: #000000;\">4</span>. Describir factibilidad del proyecto <span style=\"color: #000000;\">&#40;</span>técnica y económica<span style=\"color: #000000;\">&#41;</span>                          <span style=\"color: #000000;\">2</span><br />          A. Describir parámetros de prefactibilidad económica del Paquete que contiene    <span style=\"color: #000000;\">3</span><br />          B. Lista de riesgos mayores/ identificación preliminar de peligros SHA            <span style=\"color: #000000;\">3</span><br />          C. Preparar y convocar reunión mesa de trabajo No<span style=\"color: #000000;\">.2</span>                               <span style=\"color: #000000;\">3</span><br />          D. Someter DSD1 y solicitar fondos para la fase conceptualizar                    <span style=\"color: #000000;\">3</span></div>[/code:1sf1mvqc]\n\nteniendo estos datos ya organizados, elaboré una función que construye el tree, sin embargo la lógica que utilice no es la más idonea.\nEsta es la función.\n[code=fw:1sf1mvqc]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">Function</span> BuildTree<span style=\"color: #000000;\">&#40;</span> oTree, aItems, cTreeName <span style=\"color: #000000;\">&#41;</span><br />         <span style=\"color: #00C800;\">LOCAL</span> oItem0, oItem1, oItem2, oItem3, oItem4, oItem5, oItem6, oItem7, oItem8, oItem9<br />         <span style=\"color: #00C800;\">LOCAL</span> n<br />         <span style=\"color: #00C800;\">LOCAL</span> nPrevLevel := aItems<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span><br />         <span style=\"color: #00C800;\">Local</span> nImg := <span style=\"color: #000000;\">0</span><br />         <span style=\"color: #00C800;\">LOCAL</span> nItems := LEN<span style=\"color: #000000;\">&#40;</span> aItems <span style=\"color: #000000;\">&#41;</span><br />         <span style=\"color: #00C800;\">FOR</span> n := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> nItems<br />             <span style=\"color: #00C800;\">DO</span> <span style=\"color: #00C800;\">CASE</span><br />                <span style=\"color: #00C800;\">CASE</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> == <span style=\"color: #000000;\">0</span><br />                     <span style=\"color: #00C800;\">IF</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> < nPrevLevel<br />                        oItem0 := <span style=\"color: #00C800;\">NIL</span><br />                     <span style=\"color: #00C800;\">ENDIF</span><br />                     <span style=\"color: #00C800;\">IF</span> oItem0 == <span style=\"color: #00C800;\">NIL</span><br />                        oItem0 := oTree:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br />                     <span style=\"color: #00C800;\">ELSE</span><br />                        oItem0:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> <br />                     <span style=\"color: #00C800;\">ENDIF</span><br />                <span style=\"color: #00C800;\">CASE</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> == <span style=\"color: #000000;\">1</span><br />                     <span style=\"color: #00C800;\">IF</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> < nPrevLevel<br />                        oItem1 := <span style=\"color: #00C800;\">NIL</span><br />                     <span style=\"color: #00C800;\">ENDIF</span><br />                     <span style=\"color: #00C800;\">IF</span> oItem1 == <span style=\"color: #00C800;\">NIL</span><br />                        oItem1 := oItem0:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br />                     <span style=\"color: #00C800;\">ELSE</span><br />                        oItem1:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> <br />                     <span style=\"color: #00C800;\">ENDIF</span><br />                <span style=\"color: #00C800;\">CASE</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> == <span style=\"color: #000000;\">2</span><br />                     <span style=\"color: #00C800;\">IF</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> < nPrevLevel<br />                        oItem2 := <span style=\"color: #00C800;\">NIL</span><br />                     <span style=\"color: #00C800;\">ENDIF</span><br />                     <span style=\"color: #00C800;\">IF</span> oItem2 == <span style=\"color: #00C800;\">NIL</span><br />                        oItem2 := oItem1:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br />                     <span style=\"color: #00C800;\">ELSE</span><br />                        oItem2:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> <br />                     <span style=\"color: #00C800;\">ENDIF</span><br />                <span style=\"color: #00C800;\">CASE</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> == <span style=\"color: #000000;\">3</span><br />                     <span style=\"color: #00C800;\">IF</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> < nPrevLevel<br />                        oItem3 := <span style=\"color: #00C800;\">NIL</span><br />                     <span style=\"color: #00C800;\">ENDIF</span><br />                     <span style=\"color: #00C800;\">IF</span> oItem3 == <span style=\"color: #00C800;\">NIL</span><br />                        oItem3 := oItem2:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br />                     <span style=\"color: #00C800;\">ELSE</span><br />                        oItem3:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> <br />                     <span style=\"color: #00C800;\">ENDIF</span><br />                <span style=\"color: #00C800;\">CASE</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> == <span style=\"color: #000000;\">4</span><br />                     <span style=\"color: #00C800;\">IF</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> < nPrevLevel<br />                        oItem4 := <span style=\"color: #00C800;\">NIL</span><br />                     <span style=\"color: #00C800;\">ENDIF</span><br />                     <span style=\"color: #00C800;\">IF</span> oItem4 == <span style=\"color: #00C800;\">NIL</span><br />                        oItem4 := oItem3:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br />                     <span style=\"color: #00C800;\">ELSE</span><br />                        oItem4:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> <br />                     <span style=\"color: #00C800;\">ENDIF</span><br />                <span style=\"color: #00C800;\">CASE</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> == <span style=\"color: #000000;\">5</span><br />                     <span style=\"color: #00C800;\">IF</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> < nPrevLevel<br />                        oItem5 := <span style=\"color: #00C800;\">NIL</span><br />                     <span style=\"color: #00C800;\">ENDIF</span><br />                     <span style=\"color: #00C800;\">IF</span> oItem5 == <span style=\"color: #00C800;\">NIL</span><br />                        oItem5 := oItem4:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br />                     <span style=\"color: #00C800;\">ELSE</span><br />                        oItem5:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> <br />                     <span style=\"color: #00C800;\">ENDIF</span><br />                <span style=\"color: #00C800;\">CASE</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> == <span style=\"color: #000000;\">6</span><br />                     <span style=\"color: #00C800;\">IF</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> < nPrevLevel<br />                        oItem6 := <span style=\"color: #00C800;\">NIL</span><br />                     <span style=\"color: #00C800;\">ENDIF</span><br />                     <span style=\"color: #00C800;\">IF</span> oItem6 == <span style=\"color: #00C800;\">NIL</span><br />                        oItem6 := oItem5:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br />                     <span style=\"color: #00C800;\">ELSE</span><br />                        oItem6:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> <br />                     <span style=\"color: #00C800;\">ENDIF</span><br />                <span style=\"color: #00C800;\">CASE</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> == <span style=\"color: #000000;\">7</span><br />                     <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> STR<span style=\"color: #000000;\">&#40;</span>n<span style=\"color: #000000;\">&#41;</span>+CRLF+aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br />                     <span style=\"color: #00C800;\">IF</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> < nPrevLevel<br />                        oItem7 := <span style=\"color: #00C800;\">NIL</span><br />                     <span style=\"color: #00C800;\">ENDIF</span><br />                     <span style=\"color: #00C800;\">IF</span> oItem7 == <span style=\"color: #00C800;\">NIL</span><br />                        oItem7 := oItem6:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br />                     <span style=\"color: #00C800;\">ELSE</span><br />                        oItem7:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> <br />                     <span style=\"color: #00C800;\">ENDIF</span><br />                <span style=\"color: #00C800;\">CASE</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> == <span style=\"color: #000000;\">8</span><br />                     <span style=\"color: #00C800;\">IF</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> < nPrevLevel<br />                        oItem8 := <span style=\"color: #00C800;\">NIL</span><br />                     <span style=\"color: #00C800;\">ENDIF</span><br />                     <span style=\"color: #00C800;\">IF</span> oItem8 == <span style=\"color: #00C800;\">NIL</span><br />                        oItem8 := oItem7:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br />                     <span style=\"color: #00C800;\">ELSE</span><br />                        oItem7:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> <br />                     <span style=\"color: #00C800;\">ENDIF</span><br />                <span style=\"color: #00C800;\">CASE</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> == <span style=\"color: #000000;\">9</span><br />                     <span style=\"color: #00C800;\">IF</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> < nPrevLevel<br />                        oItem9 := <span style=\"color: #00C800;\">NIL</span><br />                     <span style=\"color: #00C800;\">ENDIF</span><br />                     <span style=\"color: #00C800;\">IF</span> oItem9 == <span style=\"color: #00C800;\">NIL</span><br />                        oItem9 := oItem8:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br />                     <span style=\"color: #00C800;\">ELSE</span><br />                        oItem9:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> <br />                     <span style=\"color: #00C800;\">ENDIF</span><br />             <span style=\"color: #00C800;\">ENDCASE</span><br />             nPrevLevel := aItems<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span><br />        <span style=\"color: #00C800;\">NEXT</span> n<br /> </div>[/code:1sf1mvqc]\n\nQuien puede ayudar con una función que considere por lo menos diez subniveles en la estructura.", "time": "19:20", "topic": "Cargar Treeview desde un archivo jerarquizado", "username": "hebert_j_vargas" } ]
Cargar Treeview desde un archivo jerarquizado
[ { "date": "2013-02-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Alguien tiene alguna idea?", "time": "19:19", "topic": "Cargar Treeview desde un archivo jerarquizado", "username": "hebert_j_vargas" } ]
Cargar Treeview desde un archivo jerarquizado
[ { "date": "2013-02-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Buenas tardes\nSi lo que buscas es únicamente a nivel de presentación visual, quizás te sirva algo parecido a:\n aITems[][] := Space( 3 * nDepth )+\" \"+aITems[][]\nY después cargar la tabla en un browse sin necesidad de realizar un Tree\nUn saludo", "time": "19:47", "topic": "Cargar Treeview desde un archivo jerarquizado", "username": "cnavarro" } ]
Cargar Treeview desde un archivo jerarquizado
[ { "date": "2013-02-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Herbert,\n\nEn FWH/samples/ClassTree.prg tienes un ejemplo de como ir añadiendo ramas hijas a un tree, sin límite de subniveles", "time": "22:41", "topic": "Cargar Treeview desde un archivo jerarquizado", "username": "Antonio Linares" } ]
Cargar Treeview desde un archivo jerarquizado
[ { "date": "2013-02-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Herbert\n\nTe dejo un ejemplo a raiz de la informacion que publicaste\n\n[code=fw:1u74bepv]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><br /><span style=\"color: #00C800;\">function</span> main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">local</span> aData, oWnd, oTree<br /><br />&nbsp; &nbsp; aData = <span style=\"color: #000000;\">&#123;</span>;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"VISUALIZAR\"</span>,<span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"ESTABLECERLOSOBJETIVOSYPROPÓSITOSDELPROYECTO\"</span>,<span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"1.Establecerlosobjetivosypropósitosdelproyecto\"</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"A.Conformarelequipodetrabajodelafasevisualizar\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"B.Planificarfasevisualizar\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"C.PrepararyconvocarreuniónmesadetrabajoNo.1\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"D.Establecerproductosyvolúmenesdeproducción\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"E.Establecercalidaddelosproductos\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"F.Estableceralimentaciónrequerida(volumenycalidad)\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"G.PremisasconsideradasparaestablecerobjetivosyPropósitosdelproyecto\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"H.Establecerrequerimientosdeprueba/investigaciónadicionalparaverificar\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"I.Establecerdependenciasyrelaciónconotrosproyectosdelplan\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"VERIFICARALINEACIÓNDELPROYECTOCONESTRATEGIACORPORATIVA\"</span>,<span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"1.Verificaralineacióndelproyectoconestrategiacorporativa\"</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"A.Conocerlineamientosyrequerimientosdelportafoliodeoportunidadesy/o\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"B.Identificaroportunidadesdeoptimizacióndeinfraestructuras\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"C.Documentarlaidentificacióndealineacióndelproyectoconlosobjetivos\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DESARROLLOPRELIMINARDELPROYECTO\"</span>,<span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"1.Elaboraralcancepreliminardelproyecto:\"</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"A.RecopilarinformaciOnrequerida\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"B.Identificarrequerimientosdeinfraestructurayservicios\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"C.Establecerfactibilidadtécnicadelproyecto\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"D.Documentaralcancepreliminardelproyecto\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"2.ElaborardecostoClaseV\"</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"A.Recopilarinformaciónrequerida\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"B.Seleccionarmetodologìadeestimación\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"C.ElaboracióndeestimadodeClaseVdelproyecto,queincluyaestimadoClase\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"3.ElaborarPEPClase\"</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"A.Describirpremisasac0nsiderarparalaprogramacióndelproyecto\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"B.Identificarpotencialesriesgosdeincumplimiento\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"C.Establecerestrategiasdeejecución\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"D.Establecercronogramaparaeldesarrollodeloshitosprincipalesdeejecuc\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"E.ElaborarPEPClaseVdelproyecto\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"F.Recursosrequeridosparaejecutarlafaseconceptualizar\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"G.ElaborarPlandeejecuciónClaseIIdelafaseconceptualizar\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"4.Describirfactibilidaddelproyecto(técnicayeconómica)\"</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"A.DescribirparámetrosdeprefactibilidadeconómicadelPaquetequecontiene\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"B.Listaderiesgosmayores/identificaciónpreliminardepeligrosSHA\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"C.PrepararyconvocarreuniónmesadetrabajoNo.2\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>,;<br /><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"D.SometerDSD1ysolicitarfondosparalafaseconceptualizar\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; <br /><br /><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">window</span> oWnd<br />&nbsp; &nbsp; &nbsp; &nbsp; oTree = TTreeView<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;\">0</span>, <span style=\"color: #000000;\">0</span>, oWnd,,,,,<span style=\"color: #000000;\">400</span>,<span style=\"color: #000000;\">400</span>,,.t.<span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; BuildTree<span style=\"color: #000000;\">&#40;</span>oTree, aData<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">activate</span> <span style=\"color: #0000ff;\">window</span> oWnd<br /><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00C800;\">function</span> BuildTree<span style=\"color: #000000;\">&#40;</span> uObj, aData <span style=\"color: #000000;\">&#41;</span> <br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oItem := uObj<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oSubItem, item, oParent, i<br />&nbsp; &nbsp;<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">for</span> each item in aData<br />&nbsp; &nbsp;&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> item<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> > <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; <span style=\"color: #00C800;\">if</span> item<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> > oSubItem:<span style=\"color: #000000;\">Cargo</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #ff0000;\">\"level\"</span><span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;oItem = oSubItem<br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; elseif item<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> == oSubItem:<span style=\"color: #000000;\">Cargo</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #ff0000;\">\"level\"</span><span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; oItem = oSubItem:<span style=\"color: #000000;\">oParent</span><br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; <span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;oParent = oSubItem:<span style=\"color: #000000;\">oParent</span><br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">for</span> i = oSubItem:<span style=\"color: #000000;\">Cargo</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #ff0000;\">\"level\"</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">to</span> item<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> + <span style=\"color: #000000;\">1</span> step <span style=\"color: #000000;\">-1</span><br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; oParent = oParent:<span style=\"color: #000000;\">oParent</span><br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">next</span><br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;oItem = oParent<br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp;&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp;&nbsp; &nbsp;oSubItem = oItem:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span>item<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;&nbsp; &nbsp;oSubItem:<span style=\"color: #000000;\">Cargo</span> = <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"level\"</span> => item<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">next</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br />&nbsp;</div>[/code:1u74bepv]", "time": "01:08", "topic": "Cargar Treeview desde un archivo jerarquizado", "username": "Daniel Garcia-Gil" } ]
Cargar Treeview desde un archivo jerarquizado
[ { "date": "2013-02-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Muchas gracias,\n\n[quote:vrt8u41b]Buenas tardes\nSi lo que buscas es únicamente a nivel de presentación visual, quizás te sirva algo parecido a:\naITems[][] := Space( 3 * nDepth )+\" \"+aITems[][]\nY después cargar la tabla en un browse sin necesidad de realizar un Tree\nUn saludo\nCristobal Navarro[/quote:vrt8u41b]\n\nSi amigo Cristobal, de hecho asi lo tengo, pero necesitamos mostrar el tree para realizar la edición del mismo.\n\n[quote:vrt8u41b]Herbert,\n\nEn FWH/samples/ClassTree.prg tienes un ejemplo de como ir añadiendo ramas hijas a un tree, sin límite de subniveles\nregards, saludos\n\nAntonio Linares\n<!-- m --><a class=\"postlink\" href=\"http://www.fivetechsoft.com\">http://www.fivetechsoft.com</a><!-- m -->[/quote:vrt8u41b]\n\nAntonio, ya he revisado los samples, el detalle es que la estructura yo no la tengo predefinida, el usuario la crea y la almacena en la base de datos, utilizando el modelo de lista adyacente (Adjacency List Model) en MYSQL, cuando hago la consulta o QUERY, obtengo la estructura en el formato (nombre, nivel-subtree).\n\nAmigo Daniel voy a probar lo que tu enviastes", "time": "15:07", "topic": "Cargar Treeview desde un archivo jerarquizado", "username": "hebert_j_vargas" } ]
Cargar Treeview desde un archivo jerarquizado
[ { "date": "2013-02-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Daniel, cuando llega al elemento número 4 del arreglo da este fallo.\n\n[quote:2apvm437]Application\n===========\n Path and name: C:\\FWH\\samples\\treedaniel.exe (32 bits)\n Size: 1,301,504 bytes\n Time from start: 0 hours 0 mins 7 secs \n Error occurred at: 02/08/13, 10:19:17\n Error description: Error BASE/1004 Class: 'NIL' has no exported method: ADD\n Args:\n [ 1] = U \n [ 2] = C B.Planificarfasevisualizar\n\nStack Calls\n===========\n Called from: => ADD(0)\n Called from: treedaniel.prg => BUILDTREE(81)\n Called from: treedaniel.prg => MAIN(55)\n\nSystem\n======\n CPU type: Genuine Intel(R) CPU U2500 @ 1.20GHz 1200 Mhz\n Hardware memory: 1016 megs\n\n Free System resources: 90 %\n GDI resources: 90 %\n User resources: 90 %\n\n Compiler version: xHarbour build 1.1.0 Intl. (SimpLex)\n Windows version: 5.1, Build 2600 Service Pack 2\n\n Windows total applications running: 0\n\nVariables in use\n================\n Procedure Type Value\n ==========================\n ADD\n Param 1: C \"B.Planificarfasevisualizar\"\n Local 1: A Len: 1\n Local 2: U \n Local 3: N 0\n BUILDTREE\n Param 1: O Class: TTREEVIEW\n Param 2: A Len: 40\n Local 1: U \n Local 2: O Class: TTVITEM\n Local 3: A Len: 2\n Local 4: U \n Local 5: U \n MAIN\n Local 1: A Len: 40\n Local 2: O Class: TWINDOW\n Local 3: O Class: TTREEVIEW\n\nLinked RDDs\n===========\n DBF\n DBFFPT\n DBFBLOB\n DBFNTX\n\nDataBases in use\n================\n\nClasses in use:\n===============\n 1 HASHENTRY\n 2 HBCLASS\n 3 HBOBJECT\n 4 TWINDOW\n 5 TBRUSH\n 6 TFONT\n 7 TCONTROL\n 8 TTREEVIEW\n 9 TTVITEM\n 10 ERROR\n 11 TREG32\n\nMemory Analysis\n===============\n 92 Static variables\n\n Dynamic memory consume:\n Actual Value: 0 bytes\n Highest Value: 0 bytes[/quote:2apvm437]", "time": "15:52", "topic": "Cargar Treeview desde un archivo jerarquizado", "username": "hebert_j_vargas" } ]
Cargar Treeview desde un archivo jerarquizado
[ { "date": "2013-02-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Herbert\n\n\na mi me funciona perfectamente\n\nte dejo el link de descarga del zip que contiene un EXE y el PRG\n\n[url:146y20ck]http&#58;//sitasoft&#46;net/fivewin/samples/herbert&#46;zip[/url:146y20ck]", "time": "16:28", "topic": "Cargar Treeview desde un archivo jerarquizado", "username": "Daniel Garcia-Gil" } ]
Cargar Treeview desde un archivo jerarquizado
[ { "date": "2013-02-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Buen dia daniel, te envie un correo para ver si me puedes ayudar.\n\n\nSaludos,\n\nHebert", "time": "15:10", "topic": "Cargar Treeview desde un archivo jerarquizado", "username": "hebert_j_vargas" } ]
Cargar Treeview desde un archivo jerarquizado
[ { "date": "2013-02-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Herbert\n\nlisto enviado los cambios necesarios para que lo puedas usar en la version de fivewin que usas", "time": "18:53", "topic": "Cargar Treeview desde un archivo jerarquizado", "username": "Daniel Garcia-Gil" } ]
Cargar Treeview desde un archivo jerarquizado
[ { "date": "2013-02-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias hermano, ahora si funciona!!!", "time": "21:54", "topic": "Cargar Treeview desde un archivo jerarquizado", "username": "hebert_j_vargas" } ]
Cargar Treeview desde un archivo jerarquizado
[ { "date": "2021-05-30", "forum": "FiveWin para Harbour/xHarbour", "text": "y partiendo desde el tree como llegas a ese array?\nEstoy intentando rearmarlo pero no logro hacerlo.", "time": "13:04", "topic": "Cargar Treeview desde un archivo jerarquizado", "username": "goosfancito" } ]
Cargar Treeview desde un archivo jerarquizado
[ { "date": "2014-05-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola buenos dias aqui de nuevo molestandoles con otra duda de como cargar imagen o fotos en el programa en tiempo de ejecucion o hacer scroll desde TXBrowse y mostrar a mi derecha del formulario fotos o imagnenes.\n\nPero tengo duda,al respecto, que recomendacion me pueden orientar, crear una base de datos tipo caracter ARCHFOTO ó crear archivos .INI\n\n1.- Crear una base de datos con caracter ARCHFOTO con sus respectivos claves del usuario..que seria recomendable!!\n2.- O crear archivos .INI, que cargaria ya sea fotos o imagenes de varios formatos...,pero seria demasiadas fotos...\n3.- Como seria la instruccion crear el formulario en Pelles C, con su [b:2nm6h2u9]ID[/b:2nm6h2u9] para mostrar sea fotos o imagenes o sea que propiedades tendria el formulario o dialogo ...Custom control, Picture ,etc etc ...esa es mi duda de las 3 .\n\n Aqui el codigo como seria...para mostrar la imagen al momento de hacer scroll con TXTBrowse\n\n [code=fw:2nm6h2u9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> oImg <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">135</span> <span style=\"color: #0000ff;\">OF</span> oDlg     <span style=\"color: #B900B9;\">// Aqui ando perdido en cuestion de variable.pero podria llevar action en tiempo de ejecucion ACTION Selec_Foto(cFoto)</span><br />        <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> oImage <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">135</span> <span style=\"color: #0000ff;\">OF</span> oDlg   <span style=\"color: #B900B9;\">// Aqui podria llevar action en tiempo de ejecucion ACTION Selec_Foto(cFoto)</span></div>[/code:2nm6h2u9]\n\nSaludos cordiales y esperando contar con amable ayuda, orientacion,sugerencias,ejemplos.\n\nAtte: Adrian C. C.\n\n<!-- e --><a href=\"mailto:acc69@hotmail.com\">acc69@hotmail.com</a><!-- e -->", "time": "18:14", "topic": "Cargar fotos o imagenes de varios formatos...(Solucionado)", "username": "ACC69" } ]
Cargar fotos o imagenes de varios formatos...(Solucionado)
[ { "date": "2014-05-21", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"ACC69\":30nyowg3]Hola buenos dias aqui de nuevo molestandoles con otra duda de como cargar imagen o fotos en el programa en tiempo de ejecucion o hacer scroll desde TXBrowse y mostrar a mi derecha del formulario fotos o imagnenes.\n\nPero tengo duda,al respecto, que recomendacion me pueden orientar, crear una base de datos tipo caracter ARCHFOTO ó crear archivos .INI\n\n1.- Crear una base de datos con caracter ARCHFOTO con sus respectivos claves del usuario..que seria recomendable!!\n2.- O crear archivos .INI, que cargaria ya sea fotos o imagenes de varios formatos...,pero seria demasiadas fotos...\n3.- Como seria la instruccion crear el formulario en Pelles C, con su [b:30nyowg3]ID[/b:30nyowg3] para mostrar sea fotos o imagenes o sea que propiedades tendria el formulario o dialogo ...Custom control, Picture ,etc etc ...esa es mi duda de las 3 .\n\n Aqui el codigo como seria...para mostrar la imagen al momento de hacer scroll con TXTBrowse\n\n [code=fw:30nyowg3]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> oImg <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">135</span> <span style=\"color: #0000ff;\">OF</span> oDlg     <span style=\"color: #B900B9;\">// Aqui ando perdido en cuestion de variable.pero podria llevar action en tiempo de ejecucion ACTION Selec_Foto(cFoto)</span><br />        <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> oImage <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">135</span> <span style=\"color: #0000ff;\">OF</span> oDlg   <span style=\"color: #B900B9;\">// Aqui podria llevar action en tiempo de ejecucion ACTION Selec_Foto(cFoto)</span></div>[/code:30nyowg3]\n\nSaludos cordiales y esperando contar con amable ayuda, orientacion,sugerencias,ejemplos.\n\nAtte: Adrian C. C.\n\n<!-- e --><a href=\"mailto:acc69@hotmail.com\">acc69@hotmail.com</a><!-- e -->[/quote:30nyowg3]\n\n\nO seria asi, el codigo para mostrar la foto o imagen...\n[code=fw:30nyowg3]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">IMAGE</span> oImg FILENAME <span style=\"color: #000000;\">&#40;</span>S06<span style=\"color: #000000;\">&#41;</span>->ARCHFOTO <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">100</span> <span style=\"color: #0000ff;\">OF</span> oDlg</div>[/code:30nyowg3]...// pero como seria la rutina en caso que no se ajuste al tamaño que yo quiero...\n El campo ARCHFOTO...Contendria asi la llamada a la ruta [b:30nyowg3]\\FOTOS\\[/b:30nyowg3]...que espero sea correcto, alguien que me recomienden...que no sea resources, sino guardarlo en las base de datos [b:30nyowg3]dbf[/b:30nyowg3].\n\nSaludos", "time": "18:57", "topic": "Cargar fotos o imagenes de varios formatos...(Solucionado)", "username": "ACC69" } ]
Cargar fotos o imagenes de varios formatos...(Solucionado)
[ { "date": "2014-05-21", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"ACC69\":3mycoz6u][quote=\"ACC69\":3mycoz6u]Hola buenos dias aqui de nuevo molestandoles con otra duda de como cargar imagen o fotos en el programa en tiempo de ejecucion o hacer scroll desde TXBrowse y mostrar a mi derecha del formulario fotos o imagnenes.\n\nPero tengo duda,al respecto, que recomendacion me pueden orientar, crear una base de datos tipo caracter ARCHFOTO ó crear archivos .INI\n\n1.- Crear una base de datos con caracter ARCHFOTO con sus respectivos claves del usuario..que seria recomendable!!\n2.- O crear archivos .INI, que cargaria ya sea fotos o imagenes de varios formatos...,pero seria demasiadas fotos...\n3.- Como seria la instruccion crear el formulario en Pelles C, con su [b:3mycoz6u]ID[/b:3mycoz6u] para mostrar sea fotos o imagenes o sea que propiedades tendria el formulario o dialogo ...Custom control, Picture ,etc etc ...esa es mi duda de las 3 .\n\n Aqui el codigo como seria...para mostrar la imagen al momento de hacer scroll con TXTBrowse\n\n [code=fw:3mycoz6u]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> oImg <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">135</span> <span style=\"color: #0000ff;\">OF</span> oDlg     <span style=\"color: #B900B9;\">// Aqui ando perdido en cuestion de variable.pero podria llevar action en tiempo de ejecucion ACTION Selec_Foto(cFoto)</span><br />        <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> oImage <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">135</span> <span style=\"color: #0000ff;\">OF</span> oDlg   <span style=\"color: #B900B9;\">// Aqui podria llevar action en tiempo de ejecucion ACTION Selec_Foto(cFoto)</span></div>[/code:3mycoz6u]\n\nSaludos cordiales y esperando contar con amable ayuda, orientacion,sugerencias,ejemplos.\n\nAtte: Adrian C. C.\n\n<!-- e --><a href=\"mailto:acc69@hotmail.com\">acc69@hotmail.com</a><!-- e -->[/quote:3mycoz6u]\n\n\nO seria asi, el codigo para mostrar la foto o imagen...\n[code=fw:3mycoz6u]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">IMAGE</span> oImg FILENAME <span style=\"color: #000000;\">&#40;</span>S06<span style=\"color: #000000;\">&#41;</span>->ARCHFOTO <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">100</span> <span style=\"color: #0000ff;\">OF</span> oDlg</div>[/code:3mycoz6u]...// pero como seria la rutina en caso que no se ajuste al tamaño que yo quiero...\n El campo ARCHFOTO...Contendria asi la llamada a la ruta [b:3mycoz6u]\\FOTOS\\[/b:3mycoz6u]...que espero sea correcto, alguien que me recomienden...que no sea resources, sino guardarlo en las base de datos [b:3mycoz6u]dbf[/b:3mycoz6u].\n\nSaludos[/quote:3mycoz6u]\n\nHola aqui de nuevo,ya logre mostrar la imagen en mi formulario, y custom control \n [code=fw:3mycoz6u]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">IMAGE</span> oImg FILENAME <span style=\"color: #000000;\">&#40;</span>S06<span style=\"color: #000000;\">&#41;</span>->ARCHIMAGE <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">157</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">ADJUST</span></div>[/code:3mycoz6u]\n\nAhora solo me falta cargar la imagen y al mismo tiempo grabar en la base de datos en tiempo de ejecucion,con nuevas fotos o imagenes, ya que lo hice manual directamente en dbf,como seria la rutina...\n\nSaludos amigos .", "time": "21:43", "topic": "Cargar fotos o imagenes de varios formatos...(Solucionado)", "username": "ACC69" } ]
Cargar fotos o imagenes de varios formatos...(Solucionado)
[ { "date": "2014-05-21", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"ACC69\":1yzddv8w][quote=\"ACC69\":1yzddv8w][quote=\"ACC69\":1yzddv8w]Hola buenos dias aqui de nuevo molestandoles con otra duda de como cargar imagen o fotos en el programa en tiempo de ejecucion o hacer scroll desde TXBrowse y mostrar a mi derecha del formulario fotos o imagnenes.\n\nPero tengo duda,al respecto, que recomendacion me pueden orientar, crear una base de datos tipo caracter ARCHFOTO ó crear archivos .INI\n\n1.- Crear una base de datos con caracter ARCHFOTO con sus respectivos claves del usuario..que seria recomendable!!\n2.- O crear archivos .INI, que cargaria ya sea fotos o imagenes de varios formatos...,pero seria demasiadas fotos...\n3.- Como seria la instruccion crear el formulario en Pelles C, con su [b:1yzddv8w]ID[/b:1yzddv8w] para mostrar sea fotos o imagenes o sea que propiedades tendria el formulario o dialogo ...Custom control, Picture ,etc etc ...esa es mi duda de las 3 .\n\n Aqui el codigo como seria...para mostrar la imagen al momento de hacer scroll con TXTBrowse\n\n [code=fw:1yzddv8w]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> oImg <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">135</span> <span style=\"color: #0000ff;\">OF</span> oDlg     <span style=\"color: #B900B9;\">// Aqui ando perdido en cuestion de variable.pero podria llevar action en tiempo de ejecucion ACTION Selec_Foto(cFoto)</span><br />        <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> oImage <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">135</span> <span style=\"color: #0000ff;\">OF</span> oDlg   <span style=\"color: #B900B9;\">// Aqui podria llevar action en tiempo de ejecucion ACTION Selec_Foto(cFoto)</span></div>[/code:1yzddv8w]\n\nSaludos cordiales y esperando contar con amable ayuda, orientacion,sugerencias,ejemplos.\n\nAtte: Adrian C. C.\n\n<!-- e --><a href=\"mailto:acc69@hotmail.com\">acc69@hotmail.com</a><!-- e -->[/quote:1yzddv8w]\n\n\nO seria asi, el codigo para mostrar la foto o imagen...\n[code=fw:1yzddv8w]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">IMAGE</span> oImg FILENAME <span style=\"color: #000000;\">&#40;</span>S06<span style=\"color: #000000;\">&#41;</span>->ARCHFOTO <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">100</span> <span style=\"color: #0000ff;\">OF</span> oDlg</div>[/code:1yzddv8w]...// pero como seria la rutina en caso que no se ajuste al tamaño que yo quiero...\n El campo ARCHFOTO...Contendria asi la llamada a la ruta [b:1yzddv8w]\\FOTOS\\[/b:1yzddv8w]...que espero sea correcto, alguien que me recomienden...que no sea resources, sino guardarlo en las base de datos [b:1yzddv8w]dbf[/b:1yzddv8w].\n\nSaludos[/quote:1yzddv8w]\n\nHola aqui de nuevo,ya logre mostrar la imagen en mi formulario, y custom control \n [code=fw:1yzddv8w]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">IMAGE</span> oImg FILENAME <span style=\"color: #000000;\">&#40;</span>S06<span style=\"color: #000000;\">&#41;</span>->ARCHIMAGE <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">157</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">ADJUST</span></div>[/code:1yzddv8w]\n\nAhora solo me falta cargar la imagen y al mismo tiempo grabar en la base de datos en tiempo de ejecucion,con nuevas fotos o imagenes, ya que lo hice manual directamente en dbf,como seria la rutina...\n\nSaludos amigos .[/quote:1yzddv8w]\n\n[b:1yzddv8w](Solucionado)[/b:1yzddv8w]\nListooo,ya logre cargar y grabar en dbf las imagenes con la funcion propia nativa de fivewin [b:1yzddv8w]cGetFile32()[/b:1yzddv8w],aunque hay dos diferencias, pero elegi el de 32 bits y el otro creo ha de ser de 16 bits.\n\nAhora solo me queda una duda, como saber o que parametros o campo tendria la base de datos.\nDel personal que falto un dia o dos dias...que por ejemplo hoy no checo su entrada!, ya es una falta, o que pidio permiso...como vincular en mi reporte al momento de imprimir Adriano Casanova falta, porque no cheque hoy.!\n\nAlguien me puede orientar,acepto comentarios, sugerencias, ejemplos. etc etc .\n\nSaludos cordiales.", "time": "23:00", "topic": "Cargar fotos o imagenes de varios formatos...(Solucionado)", "username": "ACC69" } ]
Cargar fotos o imagenes de varios formatos...(Solucionado)
[ { "date": "2011-09-01", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola amigos\n\ncon: oImager:LoadBmp( \"C:\\IMAGE.BMP\" ) la carga desde el disco.\n\nCómo cargo una imagen desde recurso?\n\nGracias por la ayuda\n\nSaludos,\n\nAdhemar", "time": "22:50", "topic": "Cargar imagen", "username": "acuellar" } ]
Cargar imagen
[ { "date": "2011-09-01", "forum": "FiveWin para Harbour/xHarbour", "text": "Adhemar:\n\nIntentalo así\n\n[code=fw:2ji3nip8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">LOCAL</span> aBmps := <span style=\"color: #000000;\">&#123;</span>LoadBitMap<span style=\"color: #000000;\">&#40;</span>GetResources<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #ff0000;\">\"Si\"</span><span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; LoadBitMap<span style=\"color: #000000;\">&#40;</span>GetResources<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #ff0000;\">\"No\"</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#125;</span><br />&nbsp;</div>[/code:2ji3nip8]\n\nSaludos", "time": "22:53", "topic": "Cargar imagen", "username": "Armando" } ]
Cargar imagen
[ { "date": "2011-09-01", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias Armando\n\nNo funciona\n\nHago lo siguiente\n[code=fw:168k63l1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; oPoster:=LoadBitMap<span style=\"color: #000000;\">&#40;</span>GetResources<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #ff0000;\">\"POSTER\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp;@<span style=\"color: #000000;\">55</span>,<span style=\"color: #000000;\">315</span> <span style=\"color: #0000ff;\">IMAGE</span> oPoster <span style=\"color: #0000ff;\">OF</span> oWnd NOBORDER <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">300</span>,<span style=\"color: #000000;\">400</span> <span style=\"color: #0000ff;\">ADJUST</span><br />&nbsp;</div>[/code:168k63l1]\ny no muestra la imagen\n\ntambien he intentado con LoadResource()\n\nSaludos,\n\nAdhemar", "time": "23:25", "topic": "Cargar imagen", "username": "acuellar" } ]
Cargar imagen
[ { "date": "2011-09-02", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola,,, asi funciona,,,\n1ro,,, \"Muestra\" la imagen:\n REDEFINE IMAGE oImagen RESOURCE \"NOIMAGEN\" ............. // \"NOIMAGEN\" en un bmp en blanco o lo que fuere que esta en el .res\n2do,,, cambia la imagen asi:\n oImagen := LoadBitMap(GetResources(),\"NUEVAIMAGEN\")\n\ny listo...", "time": "01:15", "topic": "Cargar imagen", "username": "Willi Quintana" } ]
Cargar imagen
[ { "date": "2011-09-02", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"acuellar\":1h5wx7ga]Hola amigos\n\ncon: oImager:LoadBmp( \"C:\\IMAGE.BMP\" ) la carga desde el disco.\n\nCómo cargo una imagen desde recurso?\n\nGracias por la ayuda\n\nSaludos,\n\nAdhemar[/quote:1h5wx7ga]\n\nPlease use method LoadImage() instead of LoadBmp()\n\noImager:LoadImage( cBmpFile, cResourceName, [cResFileName] )\n\nFor loading bitmap file, oImager:LoadImage( cBmpFileName )\nFor loading resource, oImager:LoadImage( nil, cResourceName )\nFor loading resource from a different dll file, you can specify the dll file name in the 3rd parameter( optional ).\n\nWhile creating image:\nREDFINE ( or @<r>,<c> ) IMAGE RESOURCE <cresname>", "time": "04:54", "topic": "Cargar imagen", "username": "nageswaragunupudi" } ]
Cargar imagen