messages
listlengths 1
1
| topic
stringlengths 2
60
|
---|---|
[
{
"date": "2014-12-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias João\n\nSaludos,\n\nAdhemar",
"time": "18:29",
"topic": "Code Bar PDF417 ó QR Code",
"username": "acuellar"
}
] | Code Bar PDF417 ó QR Code |
[
{
"date": "2006-01-30",
"forum": "FiveWin para CA-Clipper",
"text": "Estimados colegas:\n\n¿Es conveniente, pasar a Code Blocks, todas las líneas, que se puedan de un fuente?.\n\n¿Y sustituir, todos los IF ELSE ENDIF, por IF()?\n\n¿Poner, todo lo que sea factible, de los IF(), a IF( condición, EVAL( bCode1 ), EVAL( bCode2 ) )\n\nYa que los, Code Blocks, y la función IF(), son más rapidos. Me podrías decir, que ya me he contestado yo mismo, pero nunca esta de más segundas, terceras,... opiniones. Por las experiencias de cada uno.\n\nPor ello, pido opinión, a todos los que quieran participar.\n\nSaludos, y ¡¡¡GRACIAS!!! anticipadas.",
"time": "13:55",
"topic": "Code Blocks, función: IF()",
"username": "JMFS-D"
}
] | Code Blocks, función: IF() |
[
{
"date": "2006-01-31",
"forum": "FiveWin para CA-Clipper",
"text": "JMFS-D, no se que procesos estes corriendo y son muy pesados, pero dejame decirte que según mi experiencia la verdad no afecta mucho en manera que definas tus if(). IF;ELSE;ENDIF.\n\nPero por calidad de codigo. Lo haria con los codebloks.",
"time": "00:56",
"topic": "Code Blocks, función: IF()",
"username": "leandro"
}
] | Code Blocks, función: IF() |
[
{
"date": "2006-02-01",
"forum": "FiveWin para CA-Clipper",
"text": "La verdad es que a nuestro nivel no se nota mucho, a no ser que crees alguna clase que necesite rapidez de refresco o algo así.\n\nPero sin duda lo más importante de los Codeblocks es que se encapsulan en una variable y se ejecutan del tirón sin necesidad de tener que buscarlos por la memoria a cada llamada a función. Son como las funciones INLINE pero transportables. Adermás la variable sirve de transporte y puedes pasorlos a una función o a un método de una clase con sus variables internas y todo. No se pueden concebir las clases de FW sin ellos. ¿Como sinó llamarías al Valid de un Get o a una accion al pulsar un botón. Tendrían que inventar otra cosa o aplicar los punteros de función.\n\nEn cuanto a los IF(). Idem de los mismo. Son INLINE y se pueden anidar y utilizar dentro de una variable, una llamada a función, etc. Ahorran mucho código. Por Ejemplo:\n\nColorearObjeto(if(oBJ=1,CRL_RED,if(oBJ=2,CLR_BLUE,CLR_GREEN)))\n\nA ver como lo traduces a if / else / endif. Como mínimo 6 líneas con sus ciclos de reloj correspondiente.\n\nO mejor: bColObj := { |oBj| if(oBJ=1,CRL_RED,if(oBJ=2,clr_blue,CLR_GREEN)), MsgBeep() }\nColorearCaja(bColObj,oCaja)\nPor decir algo sencillo...",
"time": "18:19",
"topic": "Code Blocks, función: IF()",
"username": "manuramos"
}
] | Code Blocks, función: IF() |
[
{
"date": "2006-02-01",
"forum": "FiveWin para CA-Clipper",
"text": "IF( oParamtros:lPresupu , ;\n ( oDbfPresup:Load() , ;\n nSiguiente := oDatos:Current()[ 1 ] , ;\n oDatos:Current()[ 1 ] := nAnterior , ;\n oDbfPresup:tipo := oPresupu:nTipo , ;\n oDbfPresup:estado := oPresupu:nEstado , ;\n oDbfPresup:codigo := oCliente:cCodigo , ;\n oDbfPresup:numpresup := oPresupu:cNumero , ;\n oDbfPresup:fechapres := oPresupu:dFecha , ;\n oDbfPresup:descripcio := oDatos:Current()[ 2 ] , ;\n oDbfPresup:cantidad := oDatos:Current()[ 3 ] , ;\n oDbfPresup:precio := oDatos:Current()[ 4 ] , ;\n oDbfPresup:Save() , ;\n oDbfPresup:GoTo( nSiguiente ) ) , ;\n ( nSiguiente := oDatos:Current()[ 1 ] , ;\n oDatos:Current()[ 1 ] := nAnterior , ;\n oDbfFactC:tipo := oFactura:nTipo , ;\n oDbfFactC:estado := oFactura:nEstado , ;\n oDbfFactC:codigo := oCliente:cCodigo , ;\n oDbfFactC:numfactura := oFactura:cNumero , ;\n oDbfFactC:fechafactu := oFactura:dFecha , ;\n oDbfFactC:descripcio := oDatos:Current()[ 2 ] , ;\n oDbfFactC:cantidad := oDatos:Current()[ 3 ] , ;\n oDbfFactC:precio := oDatos:Current()[ 4 ] , ;\n oDbfFactC:Save() , ;\n oDbfFactC:GoTo( nSiguiente ) ) )\n\nPoner las lineas de codigo, para cuando se cumple la condición del IF, y para cuando no se cumple, en un EVAL, ¿sería lo más conveniente?.\n\nSaludos, José Mª",
"time": "22:32",
"topic": "Code Blocks, función: IF()",
"username": "JMFS-D"
}
] | Code Blocks, función: IF() |
[
{
"date": "2006-02-02",
"forum": "FiveWin para CA-Clipper",
"text": "Jose Mª,\n\nPracticamente no habrá diferencia en la velocidad de ejecución y el código se volverá más complicado de mantener.\n\nPiensa que tanto las líneas de código de un PRG como el contenido de un codeblock, el compilador lo convierte a pcode (una serie de bytes) que la maquina virtual procesa.\n\nSólo en procesos en los que se requiere la máxima velocidad, la solución es codificar ciertas partes en C para que la máquina virtual no intervenga y así ganar ciclos de reloj.",
"time": "01:00",
"topic": "Code Blocks, función: IF()",
"username": "Antonio Linares"
}
] | Code Blocks, función: IF() |
[
{
"date": "2006-02-02",
"forum": "FiveWin para CA-Clipper",
"text": "No hay que buscarle tres pies al gato, los manuales de programación dicen que siempre hay que buscar velocidad y ahorro de memoria, o elejir uno de los dos cuando no se no se pueden cumplir ambos.\nDe lo que se olvidan es de nuestra comodidad y de la claridad del código, y reza por no saltarte un paréntesis.\nEn el caso de tu trozo de codigo, lo mas convenientes es un IF / ELSE / ENDIF sin lugar a dudas. Otras veces serán más adecuados los DO CASE. Otras veces te convendrá encapsular el código vía IF() y CodeBloks. Busca siempre lo que más cómodo te resulte y no te calientes la cabeza.\nUn saludo....",
"time": "18:08",
"topic": "Code Blocks, función: IF()",
"username": "manuramos"
}
] | Code Blocks, función: IF() |
[
{
"date": "2008-07-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi, all !\r\nHow determine code char (ANSI, UNICODE, UTF etc.) at read file ?",
"time": "15:54",
"topic": "Code char",
"username": "Natter"
}
] | Code char |
[
{
"date": "2019-11-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "hi,\n\nin my Source i have\n[code=fw:251ptcri]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> #ifdef __CLIPPER__<br /> #ifdef __XPP__<br /> #ifdef __HARBOUR__ </div>[/code:251ptcri]\nnow while trying different IDE and Environment i like to ask if FiveWin have something like this <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \n\ni found\n[code=fw:251ptcri]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> #ifdef FWPLUS<br /> #ifdef REVD1801<br /> #ifdef REVN1807<br /> #ifdef UPTO_FWH1105</div>[/code:251ptcri]\nbut nothing with __FW__ <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> \n\np.s. does Fivewin Code run under __XPP__ <!-- s:? --><img src=\"{SMILIES_PATH}/icon_confused.gif\" alt=\":?\" title=\"Confused\" /><!-- s:? -->",
"time": "07:38",
"topic": "Code for FiveWin IFDEF ?",
"username": "Jimmy"
}
] | Code for FiveWin IFDEF ? |
[
{
"date": "2019-11-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "you can do ifdef with any define in fivewin.ch\n[code=fw:1bbnolpp]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">#ifdef _FIVEWIN_CH<br />#ifdef FWCOPYRIGHT<br />#ifdef FW_VersionNo<br />#ifdef FWVERSION<br />#ifdef FWDESCRIPTION</div>[/code:1bbnolpp]\n\nin our code we had some problem when they retired WndReadPalBmpEx so in our code we have:\n[code=fw:1bbnolpp]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">#if FW_VersionNo >= <span style=\"color: #000000;\">18010</span><br /> nImage := FW_ReadImage<span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">Self</span>, cImage <span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span><br />#else<br /> nImage := WndReadPalBmpEx<span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">Self</span>, cImage <span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span><br />#endif</div>[/code:1bbnolpp]",
"time": "13:01",
"topic": "Code for FiveWin IFDEF ?",
"username": "AntoninoP"
}
] | Code for FiveWin IFDEF ? |
[
{
"date": "2012-12-23",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi All,\n\n I searched in the forum but I could not found the answer may be I could not co-relate with my problem. Basically I want to execute the code after a calling procedure execution is over. A calling procedure create and activate window ( not a dialog ) as WINDOW behavior it does not wait as dialog. I know we have VALID clause to execute the code after the WINDOW close (end) as per my need I can not use VALID clause. I am calling a procedure in the button action's block please see below. so do we have any solution apart from VALID clause ?\nThanks in advance. \n\n[code=fw:1chnnpyg]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> aoBTN<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bAction</span> := <||<br /><br /> <span style=\"color: #00C800;\">IF</span> oRGSQry:<span style=\"color: #000000;\">vt_id</span> == C_CHQ_RETURN_VT_ID<br /> trv_dbrcpt<span style=\"color: #000000;\">(</span> oRGSQry:<span style=\"color: #000000;\">vou_id</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// New Window Activates </span><br /> <span style=\"color: #00C800;\">ENDIF</span><br /> --- below code should be execute after closing previous <span style=\"color: #0000ff;\">window</span> <br /> oRGSQry := oApp:<span style=\"color: #000000;\">gDBServer</span>:<span style=\"color: #000000;\">Query</span><span style=\"color: #000000;\">(</span> C_VT_REG<span style=\"color: #000000;\">(</span> C_VR_VT_ID, C_VR_FROM_DATE, C_VR_TO_DATE <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> oBrwRGS:<span style=\"color: #000000;\">SetDolphin</span><span style=\"color: #000000;\">(</span>oRGSQry<span style=\"color: #000000;\">)</span><br /> oBrwRGS:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> --<br /> <br /> ></div>[/code:1chnnpyg]\nThanks\nShridhar",
"time": "11:32",
"topic": "Code is executing after ACTIVATE WINDOW",
"username": "shri_fwh"
}
] | Code is executing after ACTIVATE WINDOW |
[
{
"date": "2012-12-23",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Shridhar,\n\nI am not sure about what you want to do exactly, but maybe you could use oWnd:bStart that is executed just once, when the window is initially shown",
"time": "13:48",
"topic": "Code is executing after ACTIVATE WINDOW",
"username": "Antonio Linares"
}
] | Code is executing after ACTIVATE WINDOW |
[
{
"date": "2012-12-23",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Shirdhar,\n\nTry the code below.\n\nRegards,\nJames\n\n[code=fw:1hiot3i7]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> aoBTN<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bAction</span> := <span style=\"color: #000000;\">{</span>|oBrwRGS| ;<br /> IIF<span style=\"color: #000000;\">(</span>oRGSQry:<span style=\"color: #000000;\">vt_id</span> == C_CHQ_RETURN_VT_ID, ;<br /> trv_dbrcpt<span style=\"color: #000000;\">(</span> oRGSQry:<span style=\"color: #000000;\">vou_id</span> <span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span>, ; <span style=\"color: #B900B9;\">// New Window Activates </span><br /> oRGSQry := oApp:<span style=\"color: #000000;\">gDBServer</span>:<span style=\"color: #000000;\">Query</span><span style=\"color: #000000;\">(</span> C_VT_REG<span style=\"color: #000000;\">(</span> C_VR_VT_ID, C_VR_FROM_DATE, C_VR_TO_DATE <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>,;<br /> oBrwRGS:<span style=\"color: #000000;\">SetDolphin</span><span style=\"color: #000000;\">(</span>oRGSQry<span style=\"color: #000000;\">)</span>,;<br /> oBrwRGS:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>,;<br /> <span style=\"color: #000000;\">}</span></div>[/code:1hiot3i7]",
"time": "15:50",
"topic": "Code is executing after ACTIVATE WINDOW",
"username": "James Bott"
}
] | Code is executing after ACTIVATE WINDOW |
[
{
"date": "2012-12-23",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Or you can use this:\n\n[code=fw:25imdfu0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd;<br /> <span style=\"color: #0000ff;\">VALID</span> <span style=\"color: #000000;\">(</span> oWnd := <span style=\"color: #00C800;\">NIL</span>, .T. <span style=\"color: #000000;\">)</span><br /><br />STOPUNTIL<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">{</span> || oWnd = <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #B900B9;\">// Here goes your code</span></div>[/code:25imdfu0]\n\nEMG",
"time": "23:04",
"topic": "Code is executing after ACTIVATE WINDOW",
"username": "Enrico Maria Giordano"
}
] | Code is executing after ACTIVATE WINDOW |
[
{
"date": "2012-12-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nHey, I like that. Much easier.\n\nRegards,\nJames",
"time": "03:31",
"topic": "Code is executing after ACTIVATE WINDOW",
"username": "James Bott"
}
] | Code is executing after ACTIVATE WINDOW |
[
{
"date": "2012-12-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi All, \n\n Thanks a lot..! for your great support. \n\nHi Antonio , \n\n Actually I want execute the code after a particular window operation is over. As WINDOW's behaviour the execute after ACTIVATE WINDOW that I do not need. Simply when we say ACTIVATE WINDOW oWnd it should wait till the Window is closed and continue with next code.\n\nHi Enrico ,\n\n As I read in our forum the below function should not be used. Can we use this function in our code ? Please correct me if I am worng. Thanks in advance.\n\n[code=fw:38qnadp2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />STOPUNTIL<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">{</span> || oWnd = <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> </div>[/code:38qnadp2]\n\nThanks\nShridhar",
"time": "10:22",
"topic": "Code is executing after ACTIVATE WINDOW",
"username": "shri_fwh"
}
] | Code is executing after ACTIVATE WINDOW |
[
{
"date": "2012-12-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "It's already used in rpreview.prg so yes, you can use it in your code.\n\nEMG",
"time": "11:16",
"topic": "Code is executing after ACTIVATE WINDOW",
"username": "Enrico Maria Giordano"
}
] | Code is executing after ACTIVATE WINDOW |
[
{
"date": "2012-12-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Enrico ,\n\n I tried but its not working and also when I closed entire application still the Window's task manager shows status is running. \n\nThanks\nShridhar",
"time": "15:55",
"topic": "Code is executing after ACTIVATE WINDOW",
"username": "shri_fwh"
}
] | Code is executing after ACTIVATE WINDOW |
[
{
"date": "2012-12-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi, if I understood, please look at this:\n<!-- l --><a class=\"postlink-local\" href=\"http://fivetechsupport.com/forums/viewtopic.php?f=3&t=18270&start=0&hilit=oWnd%3Abpostend\">viewtopic.php?f=3&t=18270&start=0&hilit=oWnd%3Abpostend</a><!-- l -->\nBest regards",
"time": "16:18",
"topic": "Code is executing after ACTIVATE WINDOW",
"username": "FranciscoA"
}
] | Code is executing after ACTIVATE WINDOW |
[
{
"date": "2012-12-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "A working sample:\n\n[code=fw:1usjazi8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oWnd<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd;<br /> <span style=\"color: #0000ff;\">VALID</span> <span style=\"color: #000000;\">(</span> oWnd := <span style=\"color: #00C800;\">NIL</span>, .T. <span style=\"color: #000000;\">)</span><br /><br /> STOPUNTIL<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">{</span> || oWnd = <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /><br /> ? <span style=\"color: #ff0000;\">\"The end!\"</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:1usjazi8]\n\nEMG",
"time": "16:57",
"topic": "Code is executing after ACTIVATE WINDOW",
"username": "Enrico Maria Giordano"
}
] | Code is executing after ACTIVATE WINDOW |
[
{
"date": "2012-12-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Enrico ,\n\n Extremely sorry..! I had not added the VALID clause in the ACTIVATE WINDOW command. \n\n[code=fw:21g6l9sk]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> <span style=\"color: #0000ff;\">VALID</span> <span style=\"color: #000000;\">(</span> oWnd := <span style=\"color: #00C800;\">NIL</span>, .T. <span style=\"color: #000000;\">)</span><br /> </div>[/code:21g6l9sk]\n\nThanks\nShridhar",
"time": "05:34",
"topic": "Code is executing after ACTIVATE WINDOW",
"username": "shri_fwh"
}
] | Code is executing after ACTIVATE WINDOW |
[
{
"date": "2009-09-10",
"forum": "FiveWin for Pocket PC",
"text": "Hi everebody!\n\nI try set code page in my applicationto hungarian.\n\nI try this code , but is not work (Browse look as english). Make I anything wrong ? \n\nRegards Andrej.\n\n\n/// settings\n REQUEST DBFCDX\n REQUEST DBFFPT \n RDDSETDEFAULT ('DBFCDX') \nREQUEST HB_LANG_HUWIN\nREQUEST HB_CODEPAGE_HUWIN\nHB_LangSelect('HU') \nHB_SetCodePage(\"HUWIN\")\n\n\n// open dbf\nDBUSEAREA(.T.,\"DBFCDX\",cFileName,cAliasName,.F.,.F.,\"HUWIN\")\n\n// Make browse\n\n @ 0.1, 0.1 LISTBOX oGetBr ;\n FIELDS BASE->AZON,;\n BASE->VEZNEV;\n HEADERS 'BASE->AZON',;\n 'BASE->VEZNEV';\n OF oFld:aDialogs[ 1 ];\n SIZE ScreenX-4, ScreenY\n oGetBr:aColSizes := { 60, 60,100,100 }",
"time": "10:35",
"topic": "Code page - can I set it ?",
"username": "xVar"
}
] | Code page - can I set it ? |
[
{
"date": "2009-09-11",
"forum": "FiveWin for Pocket PC",
"text": "Try it this way:\n\nREQUEST HB_Lang_HU \nREQUEST HB_CODEPAGE_HUWIN \n...\nHB_LangSelect(\"HU\")\nHB_SetCodePage(\"HUWIN\")",
"time": "02:09",
"topic": "Code page - can I set it ?",
"username": "Antonio Linares"
}
] | Code page - can I set it ? |
[
{
"date": "2009-09-14",
"forum": "FiveWin for Pocket PC",
"text": "Linker write \"unresolved external symbol HB_FUN_HB_LANG_HU\"\nI think REQUEST HB_LANG_HUWIN was good. (but not make nothing )\nRegards\n\nAndrej.",
"time": "16:16",
"topic": "Code page - can I set it ?",
"username": "xVar"
}
] | Code page - can I set it ? |
[
{
"date": "2011-11-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio, the folowing code used to work in a previous version and isn't working anymore.\nThe text and the title do not change and the dialog isn't centered.\nNote the NOWAIT clause.\n\nThe previous version was 09.11 using xHarbour.com's Pelles C and now I am using Harbour 11.10 + MinGw.\nI was unable to test with FW 11.10 version + xHarbour.com because my xHarbour.com's isn't FW 11.10 compatible.\nCould you investigate if this is a problem with MinGw, FW version or my code ?\nPRG :\n[code=fw:3p0vvq8c]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#INCLUDE</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><span style=\"color: #00C800;\">FUNCTION</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> oDlgTeste, oTexto, cTexto<br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlgTeste <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #000000;\">18503</span> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Teste Title\"</span><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">SAY</span> oTexto <span style=\"color: #0000ff;\">VAR</span> cTexto <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">101</span> <span style=\"color: #0000ff;\">OF</span> oDlgTeste<br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlgTeste <span style=\"color: #0000ff;\">CENTER</span> <span style=\"color: #0000ff;\">NOWAIT</span><br /><br /> cTexto := <span style=\"color: #ff0000;\">\"Another text...\"</span><br /> oTexto:<span style=\"color: #000000;\">SETTEXT</span><span style=\"color: #000000;\">(</span> cTexto <span style=\"color: #000000;\">)</span><br /><br /> MessageBox<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"Why dialog text didn't change ?\"</span>, <span style=\"color: #ff0000;\">\"Why title didn't change ?\"</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:3p0vvq8c]\nRC :\n[code=fw:3p0vvq8c]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"winuser.h\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"winnt.h\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"commctrl.h\"</span><br /><br /><span style=\"color: #000000;\">18503</span> <span style=\"color: #0000ff;\">DIALOG</span> DISCARDABLE <span style=\"color: #000000;\">13</span>, <span style=\"color: #000000;\">22</span>, <span style=\"color: #000000;\">250</span>, <span style=\"color: #000000;\">100</span><br /><span style=\"color: #0000ff;\">STYLE</span> WS_POPUP|DS_MODALFRAME|DS_3DLOOK|WS_CAPTION|WS_VISIBLE<br />CAPTION <span style=\"color: #ff0000;\">\"Teste...\"</span><br /><span style=\"color: #000000;\">{</span><br /> CONTROL <span style=\"color: #ff0000;\">\"Text\"</span>, <span style=\"color: #000000;\">101</span>, <span style=\"color: #ff0000;\">\"Static\"</span>, SS_CENTER, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">9</span>, <span style=\"color: #000000;\">245</span>, <span style=\"color: #000000;\">15</span><br /><span style=\"color: #000000;\">}</span><br /> </div>[/code:3p0vvq8c]",
"time": "12:39",
"topic": "Code that used to work fails",
"username": "concentra"
}
] | Code that used to work fails |
[
{
"date": "2011-11-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I think, that will work with any FWH-version :\n\n[color=#0000FF:3d0u62s9]ACTIVATE DIALOG oDlgTeste CENTER NOWAIT ;[/color:3d0u62s9]\n[color=#FF0000:3d0u62s9]ON INIT [/color:3d0u62s9][color=#0000FF:3d0u62s9]( oDlgTeste:cTitle := \"New Text\", ;\ncTexto := \"Another text...\", oTexto:SETTEXT( cTexto ) )[/color:3d0u62s9]\n\nYou can force a Dialog-position ( ON INIT ) with :\n[color=#0000FF:3d0u62s9]oDlgTeste:Move( nTop, nLeft, DlgWidth, DlgHeight , .f. )[/color:3d0u62s9]\n( possible Calculation of centered Position )\n\nBest Regards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "17:15",
"topic": "Code that used to work fails",
"username": "ukoenig"
}
] | Code that used to work fails |
[
{
"date": "2011-11-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "No, didn't work.\n \nHarbour 3.1.0dev (Rev. 17102).\ngcc (tdm-1) 4.5.2-dw2\nFW 11.10",
"time": "17:54",
"topic": "Code that used to work fails",
"username": "concentra"
}
] | Code that used to work fails |
[
{
"date": "2011-11-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\n\nIt is working with FWH 11.11, Borland 5.82 and Harbour 3.1",
"time": "18:00",
"topic": "Code that used to work fails",
"username": "ukservice"
}
] | Code that used to work fails |
[
{
"date": "2011-11-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Concentra,\n\nWe already know what is going on. We are working to fix it, thanks! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nIt is the same reason for the bug detected by Rimantas!",
"time": "20:26",
"topic": "Code that used to work fails",
"username": "Antonio Linares"
}
] | Code that used to work fails |
[
{
"date": "2011-11-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Concentra,\n\nThis fix is required in Class TDialog for MinGW:\n\ndialog.prg\n[img:2yek0jye]http://img221.imageshack.us/img221/4415/captureapb.png[/img:2yek0jye]",
"time": "20:53",
"topic": "Code that used to work fails",
"username": "Antonio Linares"
}
] | Code that used to work fails |
[
{
"date": "2011-11-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thanks Antonio.\nBut the DIALOG.PRG I have isn't the same as yours, the lines aren't the same...\nCould you send me the full DIALOG.PRG ?\n \nMaurício Faria",
"time": "11:01",
"topic": "Code that used to work fails",
"username": "concentra"
}
] | Code that used to work fails |
[
{
"date": "2011-11-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mauricio,\n\nNew libs sent to your email <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "14:31",
"topic": "Code that used to work fails",
"username": "Antonio Linares"
}
] | Code that used to work fails |
[
{
"date": "2009-03-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\ncode to store a Datatable object to combobox.and i want to Display \"Name\" and work \"Id\" at the background.\nthanks in Advance\nRegards,\nSajith",
"time": "09:05",
"topic": "Code to Set and Get value for a combobox",
"username": "sajith"
}
] | Code to Set and Get value for a combobox |
[
{
"date": "2009-03-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Could not understand your requirement clearly. If u want to display a name and return the code assosciated with the name when the user select the item from the Combobox, then Please use DbCombo instead of Combobox.\n\nAnser",
"time": "09:12",
"topic": "Code to Set and Get value for a combobox",
"username": "anserkk"
}
] | Code to Set and Get value for a combobox |
[
{
"date": "2009-03-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "thanks\nRegards ,\nSajith",
"time": "09:19",
"topic": "Code to Set and Get value for a combobox",
"username": "sajith"
}
] | Code to Set and Get value for a combobox |
[
{
"date": "2008-01-28",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola foro, hace tiempo hice una pequeña app en fw16 bits con esta fabulosa lin de Cayetano de codigo de barras, pero ahora me veo en la necesidad de usarlo a fw + xharbour pero nada, el lector no me lo reconoze, alguien podria mandarme un ejemplo de como aplicarlo...\n\nSaludos \nRosales, Luis",
"time": "22:02",
"topic": "Code128, un ejemplo...",
"username": "tosko"
}
] | Code128, un ejemplo... |
[
{
"date": "2008-01-30",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Luis:\n\nTienes que crear la BarLib.lib para xHarbour, o en su defecto compilar y enlazar con tu aplicación los prgs que forman la BarLIb\n\nSaludos\n\nManuel Mercado",
"time": "00:56",
"topic": "Code128, un ejemplo...",
"username": "mmercado"
}
] | Code128, un ejemplo... |
[
{
"date": "2008-02-05",
"forum": "FiveWin para Harbour/xHarbour",
"text": "hola. hace poco tube un problema similar; fijate este tema\n\n<!-- m --><a class=\"postlink\" href=\"http://fivetechsoft.com/forums/viewtopic.php?t=9735\">http://fivetechsoft.com/forums/viewtopic.php?t=9735</a><!-- m -->\n\nCHAU...!!!",
"time": "14:32",
"topic": "Code128, un ejemplo...",
"username": "diegopolverelli"
}
] | Code128, un ejemplo... |
[
{
"date": "2009-08-05",
"forum": "Off Topic / Otros temas",
"text": "Hello!\n\n<!-- m --><a class=\"postlink\" href=\"http://reddevnews.com/blogs/rdn-express/2009/07/lucky-7-for-microsoft-developers.aspx\">http://reddevnews.com/blogs/rdn-express ... opers.aspx</a><!-- m -->\n[quote:1rviyup7]\nCode7 Contest that offers up to $17,777 and a free trip to PDC09 for the finalists in seven geographical locations. Contestants submit a three-minute video explaining their application, which must take advantage of at least one of these Windows 7 technologies: Libraries, Windows Touch, Shell Integration, DirectX 11, or Sensor and Location Platform.\n[/quote:1rviyup7]\n\nCheers, Roman\n\nP.S. One of the rules is:\n[quote:1rviyup7]\nYou are NOT a resident of any of the following countries/jurisdictions: Cuba; Iran; North Korea; Sudan and the [color=#0053A0:1rviyup7][b:1rviyup7]Province of Quebec[/b:1rviyup7][/color:1rviyup7], Canada;[/quote:1rviyup7] <!-- m --><a class=\"postlink\" href=\"http://channel9.msdn.com/forums/Coffeehouse/478899-Windows-7-Coding-Contest/?CommentID=478961\">http://channel9.msdn.com/forums/Coffeeh ... tID=478961</a><!-- m -->",
"time": "18:38",
"topic": "Code7",
"username": "modicr"
}
] | Code7 |
[
{
"date": "2010-05-21",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Buenas,\n\npor si alguien se quiere animar a configurar y utilizar Code::Blocks como IDE de [x]Harbour y FWH.\n\n<!-- m --><a class=\"postlink\" href=\"http://www.codeblocks.org/\">http://www.codeblocks.org/</a><!-- m -->\n\nSaludos,\n\nFélix Pablo Grande Ramos",
"time": "09:05",
"topic": "Code::Blocks - IDE de fuente abierta",
"username": "Baxajaun"
}
] | Code::Blocks - IDE de fuente abierta |
[
{
"date": "2010-05-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Morning,\n\nhere you are an open source IDE, Code::Blocks \n\n<!-- m --><a class=\"postlink\" href=\"http://www.codeblocks.org/\">http://www.codeblocks.org/</a><!-- m -->\n\nWe could use it with [x]Harbour and FWH ? \n\nRegards,\n\nFelix Pablo Grande Ramos",
"time": "09:13",
"topic": "Code::Blocks - Open Source IDE",
"username": "Baxajaun"
}
] | Code::Blocks - Open Source IDE |
[
{
"date": "2022-11-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello friends\n\nI need to know what has inside a codeblock: function, field name..\n\nThat's possible.\n\nI'm trying to take the TcBrowse Object and know the contents of each column, reverse engineering.",
"time": "12:24",
"topic": "CodeBlock",
"username": "Ari"
}
] | CodeBlock |
[
{
"date": "2022-11-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Ari,\n\nIn harbour/include/hbapi.h you find this:\n[url:2sc9o95l]https://github.com/harbour/core/blob/master/include/hbapi.h[/url:2sc9o95l]\n[quote:2sc9o95l]typedef struct _HB_CODEBLOCK\n{\n const HB_BYTE * pCode; /* codeblock pcode */\n PHB_SYMB pSymbols; /* codeblocks symbols */\n PHB_SYMB pDefSymb; /* symbol where the codeblock was created */\n PHB_ITEM pLocals; /* table with referenced local variables */\n void * pStatics; /* STATICs base frame */\n HB_USHORT uiLocals; /* number of referenced local variables */\n HB_SHORT dynBuffer; /* is pcode buffer allocated dynamically, SHORT used instead of HB_BOOL intentionally to force optimal alignment */\n} HB_CODEBLOCK, * PHB_CODEBLOCK;\n[/quote:2sc9o95l]\nusing #define _HB_API_INTERNAL_ before #include <hbapi.h> you can use such structure to query a codeblock retrieved as hb_param( <number_parameter>, HB_IT_BLOCK )",
"time": "20:31",
"topic": "CodeBlock",
"username": "Antonio Linares"
}
] | CodeBlock |
[
{
"date": "2022-11-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Obrigado Antonio.",
"time": "16:40",
"topic": "CodeBlock",
"username": "Ari"
}
] | CodeBlock |
[
{
"date": "2009-02-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Muy buenas, se ejecuta algún CodeBlock al Cerrar un dialogo [ oDlg:end()]\n\nUn Saludo.",
"time": "10:36",
"topic": "CodeBlock al cerrar un Dialogo",
"username": "softruz"
}
] | CodeBlock al cerrar un Dialogo |
[
{
"date": "2009-02-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "El bValid, en caso de estar defindo:\n[code=fw:1yxgyr8g]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg ;<br /> <span style=\"color: #0000ff;\">VALID</span> MsgYesNo<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Quiere salir ?\"</span> <span style=\"color: #000000;\">)</span><br /> </div>[/code:1yxgyr8g]\nDicho código está en oDlg:bValid, y ese codeblock tiene que devolver un valor lógico: .T. ó .F.",
"time": "12:20",
"topic": "CodeBlock al cerrar un Dialogo",
"username": "Antonio Linares"
}
] | CodeBlock al cerrar un Dialogo |
[
{
"date": "2009-02-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Muchas gracias antonio. \nUn Saludo.",
"time": "13:15",
"topic": "CodeBlock al cerrar un Dialogo",
"username": "softruz"
}
] | CodeBlock al cerrar un Dialogo |
[
{
"date": "2015-02-06",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi.\n\nHas anybody had any luck adding multiple resources to a CodeJock Calendar control? Multiple resources is a way to have multiple schedules for multiple people. I was successful creating it, but it doesn't show appointments. It's all blank. Here is my code:\n\n[code=fw:1yrf32i9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> <span style=\"color: #00C800;\">IF</span> !EMPTY<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aSchedules</span> <span style=\"color: #000000;\">)</span> <br /><br /> ::<span style=\"color: #000000;\">oSchedules</span> := ::<span style=\"color: #000000;\">oCalex</span>:<span style=\"color: #000000;\">DataProvider</span>:<span style=\"color: #000000;\">Schedules</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> aEval<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aSchedules</span>, <span style=\"color: #000000;\">{</span> |e, n| ;<br /> ::<span style=\"color: #000000;\">oSchedules</span>:<span style=\"color: #000000;\">AddNewSchedule</span><span style=\"color: #000000;\">(</span> e <span style=\"color: #000000;\">)</span>,;<br /> oResDesc := ::<span style=\"color: #000000;\">CreateScheduleResource</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>,;<br /> oResDesc:<span style=\"color: #000000;\">SetDataProvider</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oCalex</span>:<span style=\"color: #000000;\">DataProvider</span>, .F. <span style=\"color: #000000;\">)</span>,;<br /> oResDesc:<span style=\"color: #0000ff;\">Name</span><span style=\"color: #000000;\">(</span> e <span style=\"color: #000000;\">)</span>,;<br /> oResDesc:<span style=\"color: #000000;\">ScheduleIDs</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oSchedules</span>:<span style=\"color: #000000;\">Item</span><span style=\"color: #000000;\">(</span> n<span style=\"color: #000000;\">-1</span> <span style=\"color: #000000;\">)</span>:<span style=\"color: #0000ff;\">Id</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>,;<br /> ::<span style=\"color: #000000;\">oCalexResources</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">(</span> oResDesc <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /><br /><br /> ::<span style=\"color: #000000;\">oCalex</span>:<span style=\"color: #000000;\">SetMultipleResources</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oCalexResources</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">ENDIF</span><br /><br /> ::<span style=\"color: #000000;\">oCalex</span>:<span style=\"color: #000000;\">Populate</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">oCalex</span>:<span style=\"color: #000000;\">RedrawControl</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> </div>[/code:1yrf32i9]\n\n[img]\nhttp://ssfl.dynalias.com/temp_files/CJ_CalendarScreenShot.png\n[/img]\n\nReinaldo.",
"time": "23:26",
"topic": "CodeJock Calendar Control",
"username": "reinaldocrespo"
}
] | CodeJock Calendar Control |
[
{
"date": "2015-02-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Reinaldo,\n\nTim Stone is a master with Codejock Calendar, surely he may be able to help you <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nOr you may email him",
"time": "03:44",
"topic": "CodeJock Calendar Control",
"username": "Antonio Linares"
}
] | CodeJock Calendar Control |
[
{
"date": "2014-09-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear All,\n\nI would like to get an example to use CodeJock Calendar. Can I use it without Visual Studio?\n\nI try to download TCalex but it doesn't successful (compile). It has many missing library from samples. The sample (EXE file) is great but I cannot compile samples and source in TCALEX.RAR.\n\nThanks in advance for any help and suggestion.",
"time": "09:40",
"topic": "CodeJock calendar",
"username": "dutch"
}
] | CodeJock calendar |
[
{
"date": "2014-09-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dutch\n\nYes you can use Codejock with visual studio and Harbour without problems. \n\nYou need the activex installed on your computer to make it work.\n\nHth\n\nRichard",
"time": "12:36",
"topic": "CodeJock calendar",
"username": "Richard Chidiak"
}
] | CodeJock calendar |
[
{
"date": "2014-09-23",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Richard,\n\nI have not MS-Visual Studio, Can I use it without MS.VS? \nCan I use it if I have Activex in my computer?\nHave you got a example?\n[quote=\"Richard Chidiak\":ljjjq143]Dutch\n\nYes you can use Codejock with visual studio and Harbour without problems. \n\nYou need the activex installed on your computer to make it work.\n\nHth\n\nRichard[/quote:ljjjq143]\nThanks a lot for your reply.",
"time": "06:47",
"topic": "CodeJock calendar",
"username": "dutch"
}
] | CodeJock calendar |
[
{
"date": "2014-09-23",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dutch\n\nWhat Richard is referring to is the ActiveX CodeJock library ( .ocx ) that MUST be installed and Registered on each computer for your calendar module to run.\n\nRick Lipkin",
"time": "13:52",
"topic": "CodeJock calendar",
"username": "Rick Lipkin"
}
] | CodeJock calendar |
[
{
"date": "2014-09-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dutch,\n\nI have it in 3 different builds, and it works fine:\n\n xHarbour using xBuild and its Pelles C compiler / linker\n Harbour using the makefile found in UE Studio and a Microsoft C++ ( Version 2010 - 2013 all worked )\n Microsoft Visual Studio 2013 Pro.\n\nAll 3 work fine. However, you must have the .dll file from Codejock, and it must be registered to your computer. You also must include a license file they provide when you buy the product.\n\nTim",
"time": "00:09",
"topic": "CodeJock calendar",
"username": "TimStone"
}
] | CodeJock calendar |
[
{
"date": "2014-09-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear All,\n\nCould you correct me if I misunderstood.\n\n- I cannot use without Visual Studio C++ or xHarbour.com. \n- It cannot use with xHb+FWH+Borland 5.82.\n- The Activex library must register to all pc that use my program.\n\nThanks for all kind help and appreciated all suggestion.",
"time": "02:54",
"topic": "CodeJock calendar",
"username": "dutch"
}
] | CodeJock calendar |
[
{
"date": "2014-09-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dutch\n\nThis is the only important thing you need\n\n- The Activex library must register to all pc that use my program.\n\nRichard",
"time": "05:33",
"topic": "CodeJock calendar",
"username": "Richard Chidiak"
}
] | CodeJock calendar |
[
{
"date": "2014-09-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dutch,\n\nI do not use Borland so I can't give you any response on that. However, I believe Richard would be correct. Also, the library is placed on, and registered to, each PC that will use the calendar program. It is not necessary on others. However, if you simply add it to an installer then it can go everywhere.\n\nWhen you obtain the software from Codejock, you will receive a license. You add that into your code before compiling it. The same license is universal ... it is used on every application.\n\nTim",
"time": "17:11",
"topic": "CodeJock calendar",
"username": "TimStone"
}
] | CodeJock calendar |
[
{
"date": "2014-09-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear All,\n\nI have got an idea now.\n\nThanks a lot.",
"time": "06:16",
"topic": "CodeJock calendar",
"username": "dutch"
}
] | CodeJock calendar |
[
{
"date": "2009-12-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\n\nI have a small sample of creating dialog using HB_SetCodePage function.\n\n[code=fw:208kbo3a]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><br />REQUEST HB_CODEPAGE_TRWIN<br /><br />Procedure Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br />HB_SetCodePage<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"TRWIN\"</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <br /><br /> @ <span style=\"color: #000000;\">20</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #ff0000;\">\"User Name : DDDDDDDDDDDD\"</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">PIXEL</span> <br /><br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> ODlg <span style=\"color: #0000ff;\">centered</span><br /><br /><br /><span style=\"color: #00C800;\">RETURN</span> .T.</div>[/code:208kbo3a]\n\nIf I remove HB_SetCodePage(\"TRWIN\") line compiled Exe works. But It does not work with this line.\n\nIs there anything wrong in code?\n\nThanks,",
"time": "14:12",
"topic": "CodePage Problem?",
"username": "Horizon"
}
] | CodePage Problem? |
[
{
"date": "2009-12-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\n\nI have changed the below lines and there is not any problem.\n\n[code=fw:19isck0d]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> REQUEST HB_CODEPAGE_ESWIN<br /> HB_SetCodePage<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"ESWIN\"</span> <span style=\"color: #000000;\">)</span></div>[/code:19isck0d]\n\nWhat should I do?",
"time": "16:30",
"topic": "CodePage Problem?",
"username": "Horizon"
}
] | CodePage Problem? |
[
{
"date": "2009-12-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hakan,\n\n> If I remove HB_SetCodePage(\"TRWIN\") line compiled Exe works. But It does not work with this line.\n\nWhat error do you get ? A link error ? A runtime error ?",
"time": "22:39",
"topic": "CodePage Problem?",
"username": "Antonio Linares"
}
] | CodePage Problem? |
[
{
"date": "2009-12-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\n\nThere is not any error reported. It just disappeared. I try to find the error. it disappeared it in DialogBoxIndirect function in activates method of dialog class. It does not return to activates method anymore. I could not found the DialogBoxIndirect function.",
"time": "23:03",
"topic": "CodePage Problem?",
"username": "Horizon"
}
] | CodePage Problem? |
[
{
"date": "2009-12-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hakan,\n\nI can not find TRWIN in xharbour\\source\\lang\\*.c\n\nHave you ever used it before ?",
"time": "23:35",
"topic": "CodePage Problem?",
"username": "Antonio Linares"
}
] | CodePage Problem? |
[
{
"date": "2009-12-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Antonio,\n\nYou are right. There is not. it is in xHarbour.org\\Source\\codepage\\cptrwin.c\n\nI do not use tr messages. I try to use only codepage.\n\nNo. I have never used before.",
"time": "10:55",
"topic": "CodePage Problem?",
"username": "Horizon"
}
] | CodePage Problem? |
[
{
"date": "2014-06-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Horizon\":1plw5r56]\n\nI have a small sample of creating dialog using HB_SetCodePage function.\n\n[code=fw:1plw5r56]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><br />REQUEST HB_CODEPAGE_TRWIN<br /><br />Procedure Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br />HB_SetCodePage<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"TRWIN\"</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <br /><br /> @ <span style=\"color: #000000;\">20</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #ff0000;\">\"User Name : DDDDDDDDDDDD\"</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">PIXEL</span> <br /><br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> ODlg <span style=\"color: #0000ff;\">centered</span><br /><br /><br /><span style=\"color: #00C800;\">RETURN</span> .T.</div>[/code:1plw5r56]\n\nIf I remove HB_SetCodePage(\"TRWIN\") line compiled Exe works. But It does not work with this line.\n\nIs there anything wrong in code?\n\nThanks,[/quote:1plw5r56]\n\nHi Hakan,\n\nI have an application (xHarbour + FWH) in several languages and now I want to include Turkish. Have you got \"TRWIN\" for xHarbour?. \n\nThanks in advance.",
"time": "11:06",
"topic": "CodePage Problem?",
"username": "Manuel Valdenebro"
}
] | CodePage Problem? |
[
{
"date": "2014-06-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Manuel,\n\nI am sorry to say that I could't use TRWIN in xharbour. I have migrated to Harbour last year and not tried to use it.\n\nRegards.",
"time": "11:28",
"topic": "CodePage Problem?",
"username": "Horizon"
}
] | CodePage Problem? |
[
{
"date": "2014-06-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Horizon\":hfqd86vm]Manuel,\n\nI am sorry to say that I could't use TRWIN in xharbour. I have migrated to Harbour last year and not tried to use it.\n\nRegards.[/quote:hfqd86vm]\n\nThanks Hakan",
"time": "11:41",
"topic": "CodePage Problem?",
"username": "Manuel Valdenebro"
}
] | CodePage Problem? |
[
{
"date": "2012-05-07",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Muy buenas foro, \ntengo una duda, tengo acceso a MySQL usando Eagle y la base de datos está configurada con caracteres: utf8_general_ci, la cuestion es que desde el Administrador de MySQL puedeo insertar y leer en un campo el lenguaje en Arabe en MySQL pero accediendo desde Eagle/FWH me devuelve caracteres como ??????,\n\n entonces creo que tengo que poner el CODEPAGE del software UTF8. ¿Alguien sabría como hacerlo para pueda leer e insertar desde FWH?\n\nUn Saludo y Mil Gracias.",
"time": "09:29",
"topic": "CodePage UTF8",
"username": "softruz"
}
] | CodePage UTF8 |
[
{
"date": "2012-05-08",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Muy buenas, sigo buscando pero no encuentro nada de esto, ¿alguna sugerencia Antonio?\n\nUn Saludo.",
"time": "08:41",
"topic": "CodePage UTF8",
"username": "softruz"
}
] | CodePage UTF8 |
[
{
"date": "2012-05-08",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Estimado softruz(?)\nAsi debes proceder con Eagle:\n[code=fw:2nv3j4gj]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oConn:= TMSEConnect<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br />... <br /><span style=\"color: #B900B9;\">// Vars</span><br />cDatabase:= <span style=\"color: #ff0000;\">\"TuDB\"</span><br />cCharSet := CRLF+<span style=\"color: #ff0000;\">\"CHARACTER SET utf8\"</span> <span style=\"color: #B900B9;\">// o la que uses</span><br />cCollate := <span style=\"color: #ff0000;\">\"COLLATE utf8_spanish_ci\"</span> <span style=\"color: #B900B9;\">// o la que uses</span><br /><br />oConn:<span style=\"color: #000000;\">CreateDataBase</span><span style=\"color: #000000;\">(</span> cDataBase+cCharSet+cCollate <span style=\"color: #000000;\">)</span></div>[/code:2nv3j4gj]\n\nEn otro orden el mas indicado para quitarte las dudas es: Manuel Expósito que abrio grupos en:\n[url][email protected][/url]\n[url][email protected][/url]\n\nSaludos",
"time": "12:59",
"topic": "CodePage UTF8",
"username": "MarioG"
}
] | CodePage UTF8 |
[
{
"date": "2012-05-08",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Muchas gracias Mario,\n pero lo que necesito es leer un campo en el idioma en Araba en MySQL, la base de datos ya la tengo creada y configurada para UTF8, y el problema que me encuentro es que cuando leo el valor como mi aplicación no está configurada en UTF8 no puedo leer y mostrar en un GET ese valor correctamente.\n\n¿sabrías algo sobre esto?\n\nUn Saludo.",
"time": "17:19",
"topic": "CodePage UTF8",
"username": "softruz"
}
] | CodePage UTF8 |
[
{
"date": "2012-05-09",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Estimado;\nDesconozco el trabajar con otra lengua que no sea la española. \nQuizás debas mirar el Manual de MySQL. Desde esta dirección, si no contas con uno, lo podes bajar:\n[url:l5xh5wfi]https://www.box.com/s/sl1yf2vjn4ver4skjgud[/url:l5xh5wfi]\nEn el manual, que te indico, hay un punto: [b:l5xh5wfi]9.1 Valores Literales[/b:l5xh5wfi]. Alli te muestra como hacer un Select ingresando un COLLATE\n\nSaludos",
"time": "13:01",
"topic": "CodePage UTF8",
"username": "MarioG"
}
] | CodePage UTF8 |
[
{
"date": "2012-05-11",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Muy buenas, lo que intento es poner mi aplicacion con\n\nrequest HB_CODEPAGE_UTF8\nrequest HB_CODEPAGE_UTF16LE\n\npero me da error al compilar, yo tengo xHarbour 1.1.0 y FWH 9.01\n\n¿me podeis ayudar con esto?\n\nUn Saludo.",
"time": "11:53",
"topic": "CodePage UTF8",
"username": "softruz"
}
] | CodePage UTF8 |
[
{
"date": "2022-08-09",
"forum": "latest AI news",
"text": "Hi friends !\n\nA great link about AI [url:33ju7wg3]https://github.com/codeproject/CodeProject.AI-Server[/url:33ju7wg3]\n\n[url:33ju7wg3]https://www.codeproject.com/Articles/5322557/CodeProject-AI-Server-AI-the-easy-way[/url:33ju7wg3]\n\nKind regards,",
"time": "13:15",
"topic": "CodeProject.AI Server",
"username": "Baxajaun"
}
] | CodeProject.AI Server |
[
{
"date": "2022-08-09",
"forum": "latest AI news",
"text": "thank you very much Félix!\n\nGreat finding !!!",
"time": "13:17",
"topic": "CodeProject.AI Server",
"username": "Antonio Linares"
}
] | CodeProject.AI Server |
[
{
"date": "2016-12-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Guys,\n\nI need to read some codebars using the camera of a windows tablet. Is it possible ? Do you know how to do?",
"time": "00:55",
"topic": "Codebar + Camera",
"username": "vilian"
}
] | Codebar + Camera |
[
{
"date": "2016-12-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Vilian,\n\nWith this code you could take the screenshot:\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?p=193463#p193463\">viewtopic.php?p=193463#p193463</a><!-- l -->\n\nNext, you may use a commercial SDK or implement a GetPixel() based function",
"time": "12:51",
"topic": "Codebar + Camera",
"username": "Antonio Linares"
}
] | Codebar + Camera |
[
{
"date": "2016-12-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\nThanks. Do you know some SDK ?",
"time": "13:02",
"topic": "Codebar + Camera",
"username": "vilian"
}
] | Codebar + Camera |
[
{
"date": "2016-12-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I googled and found some that look interesting but I have not used them",
"time": "22:38",
"topic": "Codebar + Camera",
"username": "Antonio Linares"
}
] | Codebar + Camera |
[
{
"date": "2009-08-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\n\nuntill now I had hardcoded the codeblocks for every column of a xBrowse, like\n\n[code=fw:1skdsz0l]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bLClickHeader</span> := <span style=\"color: #000000;\">{</span>|| Sort<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">}</span><br />oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bLClickHeader</span> := <span style=\"color: #000000;\">{</span>|| Sort<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">}</span><br />oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bLClickHeader</span> := <span style=\"color: #000000;\">{</span>|| Sort<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">}</span><br /> </div>[/code:1skdsz0l]\nthis worked fine, but now I want to assign the numbers using an array like\n[code=fw:1skdsz0l]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">aSort := <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">}</span><br /><span style=\"color: #00C800;\">for</span> nI := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> len<span style=\"color: #000000;\">(</span>oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">)</span><br /> oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span>nI<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bLClickHeader</span> := <span style=\"color: #000000;\">{</span>|| <span style=\"color: #0000ff;\">Msginfo</span><span style=\"color: #000000;\">(</span>aSort<span style=\"color: #000000;\">[</span>nI<span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">}</span><br /><span style=\"color: #00C800;\">next</span></div>[/code:1skdsz0l]\n\nBut if I click a header, doesn't matter which one, I always get as a response \"2\" (the last item of the array), but I wanted by clicking at the header at the first column a \"3\" and on the second column a \"1\"\nDo you have any suggestion how to solve this problem?",
"time": "09:30",
"topic": "Codeblock Using Position Out Of An Array",
"username": "gkuhnert"
}
] | Codeblock Using Position Out Of An Array |
[
{
"date": "2009-08-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Gilbert,\n\nYou have to use a \"detached local.\" Search the form for more info.\n\nJames",
"time": "14:08",
"topic": "Codeblock Using Position Out Of An Array",
"username": "James Bott"
}
] | Codeblock Using Position Out Of An Array |
[
{
"date": "2009-08-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "James, \nthank you very much for your quick response.\n\nHowever, I found an alternative solution and wonder, if I might encounter problems, because I use an object that is marked \"used internally\" in the source code of TXbrowse:\n\nHere my working solution:\n[code=fw:8cz335z8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">FOR</span> nI := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> len<span style=\"color: #000000;\">(</span>aSort<span style=\"color: #000000;\">)</span><br /> oLB:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span>nI<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">Cargo</span> := nI <span style=\"color: #B900B9;\">// first I use the \"Cargo\"-Information to remember, which column-number I have to deal with</span><br /> oCol := oLB:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span>nI<span style=\"color: #000000;\">]</span><br /> <span style=\"color: #00C800;\">IF</span> aSort<span style=\"color: #000000;\">[</span>nI<span style=\"color: #000000;\">]</span> > <span style=\"color: #000000;\">0</span><br /> oCol:<span style=\"color: #000000;\">bLClickHeader</span> := <span style=\"color: #000000;\">{</span>|| <span style=\"color: #0000ff;\">Msginfo</span><span style=\"color: #000000;\">(</span>aSort<span style=\"color: #000000;\">[</span>oLB:<span style=\"color: #000000;\">oCapCol</span>:<span style=\"color: #000000;\">Cargo</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #B900B9;\">// oLB:oCapCol is marked as \"used internally\"</span><br /> <span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">NEXT</span><br /> </div>[/code:8cz335z8]",
"time": "15:20",
"topic": "Codeblock Using Position Out Of An Array",
"username": "gkuhnert"
}
] | Codeblock Using Position Out Of An Array |
[
{
"date": "2009-08-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Gilbert,\n\nGenerally, Antonio uses those comments to signify that a var should not be used outside the class. Ideally, these vars should be made \"hidden\" so that cannot be used or even seen outside the class. So, the answer is that you should never change those vars.\n\nSo I still think you should use a detached local.\n\nJames",
"time": "15:33",
"topic": "Codeblock Using Position Out Of An Array",
"username": "James Bott"
}
] | Codeblock Using Position Out Of An Array |
[
{
"date": "2009-08-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "From version 8.03 onwards, it is no more necessary to code like\n[code=fw:3293wzgh]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bLClickHeader</span> := <span style=\"color: #000000;\">{</span>|| Sort<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">}</span></div>[/code:3293wzgh] for sorting on columns.\n\nPlease see whatsnew.txt:\n[quote:3293wzgh] b) New DATA cSortOrder. It is now not necessary to do the tedious coding of\n oCol:bLclickHeader to enable sorting of data in response the Left Click on the header.\n Assiging the name of index order in case of RDD, column names in case of ADO or the\n column number of array to the Data cSortOrder is all that is needed.\n[/quote:3293wzgh]\nSo the proposed code \n[code=fw:3293wzgh]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">aSort := <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">}</span><br /><span style=\"color: #00C800;\">for</span> nI := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> len<span style=\"color: #000000;\">(</span>oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">)</span><br /> oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span>nI<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bLClickHeader</span> := <span style=\"color: #000000;\">{</span>|| <span style=\"color: #0000ff;\">Msginfo</span><span style=\"color: #000000;\">(</span>aSort<span style=\"color: #000000;\">[</span>nI<span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">}</span><br /><span style=\"color: #00C800;\">next</span><br /> </div>[/code:3293wzgh]\ncan be written as \n[code=fw:3293wzgh]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">aSort := <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">}</span><br /><span style=\"color: #00C800;\">for</span> nI := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> len<span style=\"color: #000000;\">(</span>oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">)</span><br /> oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span>nI<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">cSortOrder</span> := aSort<span style=\"color: #000000;\">[</span> nI <span style=\"color: #000000;\">]</span><br /><span style=\"color: #00C800;\">next</span><br /> </div>[/code:3293wzgh]",
"time": "18:55",
"topic": "Codeblock Using Position Out Of An Array",
"username": "nageswaragunupudi"
}
] | Codeblock Using Position Out Of An Array |
[
{
"date": "2009-08-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I don't know if this helps, but you can also define the sort order using index tags.\n\nadd column to oBrw data company header \"Company\" order \"company\"\n\nRegards,\nJames",
"time": "20:28",
"topic": "Codeblock Using Position Out Of An Array",
"username": "James Bott"
}
] | Codeblock Using Position Out Of An Array |
[
{
"date": "2009-08-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"James Bott\":3fmel5ve]\nadd column to oBrw data company header \"Company\" order \"company\"\nJames[/quote:3fmel5ve]\nYes. \nSimilarly for arrays\n[code=fw:3fmel5ve]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />ADD <span style=\"color: #0000ff;\">TO</span> oBrw ARRAY ELEMENT <span style=\"color: #000000;\">2</span> ORDER <span style=\"color: #000000;\">3</span></div>[/code:3fmel5ve]\nThis is internally translated as oCol:cSortOrder := 3",
"time": "22:45",
"topic": "Codeblock Using Position Out Of An Array",
"username": "nageswaragunupudi"
}
] | Codeblock Using Position Out Of An Array |
[
{
"date": "2012-01-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Necesito guardar un codeblock en una variable , pero en formato string.\n\nbblock:= {|| msginfo(\"hola\") }\n\nusar una function algo asi como blcktostr(bblock ) que devuelva : ' {|| msginfo(\"hola\") } ' \n\nexiste alguna funcion ? \n\nSaludos a todos.",
"time": "16:59",
"topic": "Codeblock a string",
"username": "mastintin"
}
] | Codeblock a string |
[
{
"date": "2012-01-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Mastintin,\n\nCreo que eso que buscas no existe... los codeblocks son codigo compilado... otra cosa es que el genial przemek haya inventado algo...\nUn invento que quiza te podria ayudar; se trataria de crear un nuevo tipo K que en realidad es un array:\n\n#Translate CBNew(<b>) => {<b>, <(b)>}\n#Translate CBEval(<kCB>) => Eval(<kCB>\\[1\\])\n#Translate CBString(<kCB>) => <kCB>\\[2\\]\n\nEjemplos\n\nk:= CBNew({|| MsgInfo(\"probando...\")})\n? CBEval(k)\n? CBString(k)\n\nEspero te pueda servir.",
"time": "18:16",
"topic": "Codeblock a string",
"username": "hmpaquito"
}
] | Codeblock a string |
[
{
"date": "2012-01-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"hmpaquito\":1s7ol1xk]Mastintin,\n\nCreo que eso que buscas no existe... los codeblocks son codigo compilado... otra cosa es que el genial przemek haya inventado algo...\nUn invento que quiza te podria ayudar; se trataria de crear un nuevo tipo K que en realidad es un array:\n\n#Translate CBNew(<b>) => {<b>, <(b)>}\n#Translate CBEval(<kCB>) => Eval(<kCB>\\[1\\])\n#Translate CBString(<kCB>) => <kCB>\\[2\\]\n\nEjemplos\n\nk:= CBNew({|| MsgInfo(\"probando...\")})\n? CBEval(k)\n? CBString(k)\n\nEspero te pueda servir.[/quote:1s7ol1xk]\n\nPues Casi ,pero no sirve.\nSe trata de por ejemplo :\n\noDlg:bpaint := {|| msginfo(\"algo\") }\n\n\ny en la clase tdlg en cGenprg()\n\nif !Empty(::bpainted)\n cPrg += CRLF + ' oWnd:bpainted:= \" '+ blocktostr(::bpainted)+' \" ' +CRLF\n endif\n\no algo similar ....",
"time": "18:51",
"topic": "Codeblock a string",
"username": "mastintin"
}
] | Codeblock a string |
[
{
"date": "2012-01-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Entiendo que si no quieres modificar las clases originales de fwh o bien no quieres utilizar un pseudo tipo, la cosa no tiene arreglo... \n\nPara el caso que dices, yo lo que haria seria:\n\n#Define CBBlock(<k>) <k>\\[1\\]\n1º A la clase dialog, crearle una nueva data: bkPainted\n2º En la definicion previa del dialogo ::bkPainted:= CBNew({|| MsgInfo(\"algo\")})\n3º En el Activate del dialog asignar ::bPainted:= CBBlock(::bkPainted)\n4º En el cGenPrg cPrg += CRLF + ' oWnd:bpainted:= \" '+ CBString(::bkPainted)+' \" ' +CRLF\n\nSaludos",
"time": "19:44",
"topic": "Codeblock a string",
"username": "hmpaquito"
}
] | Codeblock a string |
[
{
"date": "2012-01-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"hmpaquito\":2nnbca30]Entiendo que si no quieres modificar las clases originales de fwh o bien no quieres utilizar un pseudo tipo, la cosa no tiene arreglo... \n\nPara el caso que dices, yo lo que haria seria:\n\n#Define CBBlock(<k>) <k>\\[1\\]\n1º A la clase dialog, crearle una nueva data: bkPainted\n2º En la definicion previa del dialogo ::bkPainted:= CBNew({|| MsgInfo(\"algo\")})\n3º En el Activate del dialog asignar ::bPainted:= CBBlock(::bkPainted)\n4º En el cGenPrg cPrg += CRLF + ' oWnd:bpainted:= \" '+ CBString(::bkPainted)+' \" ' +CRLF\n\nSaludos[/quote:2nnbca30]\n\nAun mas simple , una nueva data cbpainted en la clase twindows donde guardo \"el literar \" del codeblock ( CBString(::bkPainted) ) y asunto solucionado , pero saber si existia alguna fucion tipo HB_serialicer o algo asi .\nMuchas gracias por la respuesta , me ha sido de utilidad, le volvere a dar otra vuelta de cabeza.",
"time": "19:51",
"topic": "Codeblock a string",
"username": "mastintin"
}
] | Codeblock a string |
[
{
"date": "2021-12-16",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Los codeblock al ser un tipo de dato se pueden pasar como parámetros de funciones lo cual le da muchísima potencia a nuestros programas.\nFue una revolución el cambio de la macrocompilación por codeblocks.\n\nEn la época en que se creó el tipo de dato CodeBlock había muy pocos lenguajes que lo tuvieran... desde hace relativamente poco tiempo otros lenguajes lo han incorporado con el nombre de \"Closures\" o \"funciones anónimas\".\nPero incluso ahora con el uso de la clase Symbol se pueden hacer cosas muy chulas:\n\n[code=fw:3gg5mhqo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />PROCEDURE Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oSym := Symbol<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"QOUT\"</span> <span style=\"color: #000000;\">)</span><br /><br /> ? <span style=\"color: #ff0000;\">\"Now test the :Exec() method\"</span><br /><br /> oSym:<span style=\"color: #000000;\">Exec</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"This string is being printed by QOUT\"</span> <span style=\"color: #000000;\">)</span><br /> oSym:<span style=\"color: #000000;\">Exec</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"which is being invoked by the :Exec()\"</span> <span style=\"color: #000000;\">)</span><br /> oSym:<span style=\"color: #000000;\">Exec</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"method in the Symbol class.\"</span> <span style=\"color: #000000;\">)</span><br /><br /> ?<br /> ? <span style=\"color: #ff0000;\">\"symbol name: \"</span>, oSym:<span style=\"color: #0000ff;\">name</span><br /><br /> ? <span style=\"color: #ff0000;\">\"Comparing QOut symbol with xOut symbol\"</span><br /> ? oSym:<span style=\"color: #000000;\">IsEqual</span><span style=\"color: #000000;\">(</span> Symbol<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"xOut\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br /> ? <span style=\"color: #ff0000;\">\"done!\"</span><br /> ?<br /><br /> <span style=\"color: #00C800;\">RETURN</span><br /> </div>[/code:3gg5mhqo] \n\n\nY el no va mássssssssssss podemos usar punteros a funciones, lo cual va un paso más allá de los codeblocks:\n\n[code=fw:3gg5mhqo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">procedure main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> pFunc := @alert<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <br /> pFunc:<span style=\"color: #000000;\">exec</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Esto es una prueba de puntero a la funcion Alert()\"</span> <span style=\"color: #000000;\">)</span><br /><br /> Alert<span style=\"color: #000000;\">(</span> pFunc:<span style=\"color: #0000ff;\">name</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// Devuelve el nombre de la funcion apuntada</span><br /> <br /> pFunc := @upper<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> pruebaPuntero<span style=\"color: #000000;\">(</span> pFunc <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// Llama a una funcion pasando un puntero a funcion</span><br /><br /> <span style=\"color: #00C800;\">return</span><br /><br /> procedure pruebaPuntero<span style=\"color: #000000;\">(</span> p <span style=\"color: #000000;\">)</span><br /><br /> alert<span style=\"color: #000000;\">(</span> p:<span style=\"color: #000000;\">exec</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"esto lo veras en mayusculas\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">return</span><br /> </div>[/code:3gg5mhqo] \n\nHarbour tiene muchos secretos que lo convierten en un lenguaje super potente y de futuro...\nTe imaginas Harbour en la web?\n\nPues eso es posible con Mod_Harbour!!!",
"time": "11:43",
"topic": "Codeblocks y punteros a funciones (Closures?)",
"username": "xmanuel"
}
] | Codeblocks y punteros a funciones (Closures?) |
[
{
"date": "2021-12-16",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Excelente Manu!\nEsa no me la sabía, gracias! Lo pondré en practica en mis futuros códigos.\n\nSaludos\n\nCarlos",
"time": "13:12",
"topic": "Codeblocks y punteros a funciones (Closures?)",
"username": "csincuir"
}
] | Codeblocks y punteros a funciones (Closures?) |
[
{
"date": "2021-12-16",
"forum": "FiveWin para Harbour/xHarbour",
"text": "El lenguaje C es el primero (que yo sepa) que habla de \"punteros\" que es una forma de decir \"direcciones\"\n\nUn puntero apunta a algo. Una dirección es donde hay algo. El puntero apunta a un lugar, a una dirección, donde hay algo.\nun bloque de código es una variable que apunta a un código, que contiene una secuencia de pcode.\n\nLa belleza de Clipper fué el establecer un paralelismo entre un lenguaje a muy bajo nivel (asm y lenguaje C) y otro a alto nivel, equilibrando perfectamente el \"interior\" (puro C) con el \"exterior\" (puro PRG)\n\nY Harbour simplemente siguió el camino marcado por Clipper 5 (Five). El estandard <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEl 5 por numerología también hace referencia al conocimiento oculto, a lo que habia que aprender para construir un compilador. Algo que todos usabamos (los OBJs) pero desconociamos como se generaban. Tocaba y sigue tocando aprender...",
"time": "13:48",
"topic": "Codeblocks y punteros a funciones (Closures?)",
"username": "Antonio Linares"
}
] | Codeblocks y punteros a funciones (Closures?) |
[
{
"date": "2021-12-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Enhorabuena por las explicaciones, realmente son temas que pueden 'marcar' un desarrollo, conocer estas utilidades 'indocumentadas'\n\nLamentablemente, harbour en temas 'avanzados' adolece de buena documentación a nivel de 'desarrollador de PRG'\n\nTener el codigo fuente (en C) no es garantía de documentación ya que muchas veces no llegaremos a descubrir realmente su funcionalidad \n\nExplicar el tema de los punteros de la forma tan simple y pedagógica es de agradecer, tengo libros que casi en su totalidad dedican espacio a este tema y al final, aún estás más confundido que al inicio de la lectura\n\nUna búsqueda en el repositorio de harbour, para obtener información de la clase Symbol me lleva a \n[code=fw:la36fpyf]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> * Harbour implementation <span style=\"color: #0000ff;\">of</span> <span style=\"color: #00C800;\">Class</span><span style=\"color: #000000;\">(</span>y<span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">Class</span> Symbol<br /> * Copyright <span style=\"color: #000000;\">2003</span> Antonio Linares <[email protected]><br /> */<br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"hbclass.ch\"</span><br /><br />CREATE <span style=\"color: #00C800;\">CLASS</span> Symbol<br /> </div>[/code:la36fpyf]\n\nQue a su vez es un envoltorio de las funciones dynsym\n\n[code=fw:la36fpyf]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> __dynsCount<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> __dynsGetName<span style=\"color: #000000;\">(</span> nPos <span style=\"color: #000000;\">)</span><br /> __dynsGetIndex<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"MAIN\"</span> <span style=\"color: #000000;\">)</span><br /> </div>[/code:la36fpyf]\n\nQuizá para los que no tenemos memoria, nos podríais ilustrar qué significó Class(y) para el mundo xBase y como fué su aportación a Harbour\n\nSaludos a todos y felices fiestas !",
"time": "09:29",
"topic": "Codeblocks y punteros a funciones (Closures?)",
"username": "Joaquim Ferrer"
}
] | Codeblocks y punteros a funciones (Closures?) |
[
{
"date": "2021-12-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Cuando Clipper 5 apareció (algunos tuvimos la suerte de tenerlo antes, en mi caso mi buen amigo Carlos Segura me lo envió) descubrimos con sorpresa que podiamos crear y usar objetos pero Nantucket habia decidido no darnos aún la capacidad de crear y usar nuevas clases. Esto era realmente frustrante <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nDentro de las librerías de Clipper, el módulo \"osend\" (creo recordar) era el Santo Grial por descifrar. Anton Van Straaten desde sudAfrica vió la oportunidad de negocio y comenzó a construir Class(y). Yo le llamé por teléfono e intenté que entendiese la importancia de dar un módulo runtime gratis para todos. Todos teniamos que crear y usar nuevas clases y era la única forma que todos pudiésemos usarlas de forma general. El me ignoró rotundamente <!-- s:-D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":-D\" title=\"Very Happy\" /><!-- s:-D --> Algo que años más tarde sucedería exactamente igual con Stephen Pirsig, lider de xBase++.\n\nEn aquel entonces aun no había internet. Solo las BBSs y CompuServe. Y un buen dia, por arte de magia, en las BBSs, apareció un módulo sin nombre, ni autoria, nada... que para sorpresa de todos permitía usar el módulo indocumentado \"osend\" de Clipper 5. Aquello fué un antes y un después. Libertad para programar con nuevas clases y sin tener que pasar por caja obligatoriamente...\n\nMi buen amigo Francisco Pulpón lo estudió a fondo, obsesionado en conseguir la máxima velocidad, y asi nació la librería \"objects\" que se usó para construir FiveWin. Ya no hacia falta Class(y). De hecho no estabamos de acuerdo con determinadas claúsulas usadas por Class(y). Querian usar \"INSTVAR\" cuando lo más lógico era \"DATA\". Introdujimos las nuevas cláusulas INLINE (algo que venia de C++, los métodos inline), VIRTUAL, BLOCK, etc. y decidimos llevarlo a Clipper.\n\nEl código fuente inicial de \"objects\" fué donado para Harbour y fué completado por muchos colaboradores en el desarrollo de Harbour. Y es el que usamos todos cada dia de forma libre en nuestra grandiosa comunidad de usuarios Harbour.\n\nHarbour nos sobrevivirá a todos los Clipperos de corazón y Harbourianos. Libertad, solidaridad, transparencia... ese es nuestro legado. Esta es la grandeza de lo que hemos construido entre todos <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "10:54",
"topic": "Codeblocks y punteros a funciones (Closures?)",
"username": "Antonio Linares"
}
] | Codeblocks y punteros a funciones (Closures?) |
[
{
"date": "2021-12-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote:uv3xokft]Y un buen dia, por arte de magia, en las BBSs, apareció un módulo sin nombre, ni autoria,[/quote:uv3xokft]\nLa magia existe, lo hemos visto en esta bonita historia de Navidad\n\n\nPues no se me ocurre como usar la clase Symbol o los punteros a funciones... Debo estar oxidado",
"time": "13:15",
"topic": "Codeblocks y punteros a funciones (Closures?)",
"username": "hmpaquito"
}
] | Codeblocks y punteros a funciones (Closures?) |
[
{
"date": "2021-12-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Paco,\n\n> Pues no se me ocurre como usar la clase Symbol o los punteros a funciones... Debo estar oxidado\n\nEsa clase la escribí simplemente para demostrar que podiamos tenerla igual que Class(y) la tenía\n\npero, igual que tú, nunca le encontré una utilidad <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nPero quien sabe, cuando de repente pueda ser parte de un puzzle aun por resolver ?",
"time": "13:23",
"topic": "Codeblocks y punteros a funciones (Closures?)",
"username": "Antonio Linares"
}
] | Codeblocks y punteros a funciones (Closures?) |
[
{
"date": "2011-08-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello. \n\nAnyone is using Codejock Calendar 15 with succeed?.\n\nI tried Reinaldo sample but does not work. It gives me such type of errors\n\n[code=fw:qini77m9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> WINOLE/<span style=\"color: #000000;\">1007</span> Argument error: <span style=\"color: #000000;\">WORKDAYSTARTTIME</span></div>[/code:qini77m9]\n\nIt only works:\n\n[code=fw:qini77m9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <br /> <span style=\"color: #00C800;\">local</span> oWnd, oAct<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br /> oAct := TActiveX<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> oWnd, <span style=\"color: #ff0000;\">\"Codejock.CalendarControl.15.1.2\"</span>, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">1000</span>, <span style=\"color: #000000;\">550</span> <span style=\"color: #000000;\">)</span> <br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /> </div>[/code:qini77m9]\n\nI will apreciate very much your feedback.\n\nThanks a lot.",
"time": "20:02",
"topic": "Codejock Calendar",
"username": "ukservice"
}
] | Codejock Calendar |
[
{
"date": "2011-08-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I just returned from a very much needed vacation ! Sorry for the delay.\n\nYes, I am using Codejock Calendar and will be very happy to share our class with you. Please email me : <!-- e --><a href=\"mailto:[email protected]\">[email protected]</a><!-- e --> and I will send it to you.\n\nI have used it with xHarbour ( .com, Sep 2010 ) and I'm trying to get it to work with Harbour and Visual C++ 2010, but still have a problem. However, I did take a break, and also now have been rebuilding my computer so the project is delayed. Perhaps this week I will get back to it 100%.\n\nTim",
"time": "21:28",
"topic": "Codejock Calendar",
"username": "TimStone"
}
] | Codejock Calendar |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.