messages
listlengths 1
1
| topic
stringlengths 2
60
|
|---|---|
[
{
"date": "2020-12-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "D.\n\nYou simply upload the image file to your repo in GitHub, then you click on it, right click on the image again and copy the \"raw\" url.\nThat url is the one to post here clicking on the Img button here when editing.\n\nPlease post here the entire content of C:\\fwh\\samples\\test.xml once your overwrite it",
"time": "19:01",
"topic": "Are there any Treeview samples with associated edit boxes?",
"username": "Antonio Linares"
}
] |
Are there any Treeview samples with associated edit boxes?
|
[
{
"date": "2020-12-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Sorry, I thought we were sharing files on the FW repository. But of course we're using our own space.\n\nToo many things going on. Alright, thanks Antonio.\n\nLet me know if you need any more info, regarding the error.",
"time": "19:12",
"topic": "Are there any Treeview samples with associated edit boxes?",
"username": "FWExplorer"
}
] |
Are there any Treeview samples with associated edit boxes?
|
[
{
"date": "2020-12-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Here's the test.xml\n\n<!-- m --><a class=\"postlink\" href=\"https://github.com/HBEnthusiast/FW/raw/main/test.xml\">https://github.com/HBEnthusiast/FW/raw/main/test.xml</a><!-- m -->",
"time": "19:16",
"topic": "Are there any Treeview samples with associated edit boxes?",
"username": "FWExplorer"
}
] |
Are there any Treeview samples with associated edit boxes?
|
[
{
"date": "2020-12-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Did you get the same error, Antonio?",
"time": "01:50",
"topic": "Are there any Treeview samples with associated edit boxes?",
"username": "FWExplorer"
}
] |
Are there any Treeview samples with associated edit boxes?
|
[
{
"date": "2020-12-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "D.\n\nYes, it fails here too\n\nWe still have some bugs to solve",
"time": "11:14",
"topic": "Are there any Treeview samples with associated edit boxes?",
"username": "Antonio Linares"
}
] |
Are there any Treeview samples with associated edit boxes?
|
[
{
"date": "2020-12-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Ok, thanks. I'll continue playing with it.",
"time": "13:30",
"topic": "Are there any Treeview samples with associated edit boxes?",
"username": "FWExplorer"
}
] |
Are there any Treeview samples with associated edit boxes?
|
[
{
"date": "2008-08-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\r\n Like hBmpRecSel := FwRArrow()\r\n hBmpBtnList := FwDArrow()\r\n hBmpSortAsc := FwBmpAsc()\r\n hBmpSortDes := FwBmpDes()\r\n Are there checked, uncheck box bitmap functions ?\r\nRegards!\r\nShuming Wang",
"time": "03:38",
"topic": "Are there checked uncheck box bitmap functions ?",
"username": "ShumingWang"
}
] |
Are there checked uncheck box bitmap functions ?
|
[
{
"date": "2008-08-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "None as of now ( to my knowledge). I wish fivewin provides them too",
"time": "04:31",
"topic": "Are there checked uncheck box bitmap functions ?",
"username": "nageswaragunupudi"
}
] |
Are there checked uncheck box bitmap functions ?
|
[
{
"date": "2008-08-13",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I'm keen for same facility.\r\n\r\nFor many years I have used the following for a Tick / Empty pair:\r\n\r\n--------------\r\n// Use OEM system resources <- Black tick\r\nLOCAL _hOn := LoadBitMap(0, OBM_CHECK) \r\n\r\n// Next equates to an empty cell and is treated as if it were bitmap\r\nLOCAL _hOff := Chr(160) \t\r\n-------------\r\n\r\n//When finished with these, do this\r\n\r\nDeleteObject(_hOn)\r\n\r\n---------------\r\n\r\nThe above approach works fine - it's just not as visually pretty as I would like.\r\n\r\nColin Wisbey",
"time": "09:05",
"topic": "Are there checked uncheck box bitmap functions ?",
"username": "Colin Wisbey"
}
] |
Are there checked uncheck box bitmap functions ?
|
[
{
"date": "2008-08-13",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Checked and UnChecked images are based on the used Windows theme and on the used Windows version, so we can not provide generic functions, unless we decide what images we want for them (XP, Vista, themed or classic? what theme ?)",
"time": "10:26",
"topic": "Are there checked uncheck box bitmap functions ?",
"username": "Antonio Linares"
}
] |
Are there checked uncheck box bitmap functions ?
|
[
{
"date": "2018-10-23",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Apologies for resurrecting such an old post but hoping it's been solved by now. I've been out of the FWH community loop for long time but need to revisit some legacy apps of mine and, in my browses based on TCBrowse, it seems that the next bit still works to display a check (tick) in a cell but no longer works (under Win 10 32 bit) to display a \"blank\" to represent unchecked. Now using CHR(160) results in an oversized red cross instead of a blank as it had done under Win XP, Vista and Win 7 32bit.\n\n_hOn := LoadBitMap(0, OBM_CHECK) // Use OEM system resources <- Black tick <- this still works fine\n// Next equates to an empty cell and is treated as if it were bitmap \nLOCAL _hOff := Chr(160) // <- this no longer works.\n\nAnyone have a suggestion? Many thanks in advance.\n\nColin Wisbey\n(BTW, regards to all my old FW/FWH friends, many of whom I'm pleased to notice are still active on here).",
"time": "03:44",
"topic": "Are there checked uncheck box bitmap functions ?",
"username": "Colin Wisbey"
}
] |
Are there checked uncheck box bitmap functions ?
|
[
{
"date": "2018-10-23",
"forum": "FiveWin for Harbour/xHarbour",
"text": "FWBmpOn() and FWBmpOff()",
"time": "03:56",
"topic": "Are there checked uncheck box bitmap functions ?",
"username": "nageswaragunupudi"
}
] |
Are there checked uncheck box bitmap functions ?
|
[
{
"date": "2018-10-23",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thank you as always, my friend, and especially for such a prompt response but I've been out of the Fivewin loop and my FWH version is about 2008 so does not have those functions.\nRegards,\nColin",
"time": "05:44",
"topic": "Are there checked uncheck box bitmap functions ?",
"username": "Colin Wisbey"
}
] |
Are there checked uncheck box bitmap functions ?
|
[
{
"date": "2018-10-23",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Colin, it's a pleasure to see you hanging around here again. <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG",
"time": "09:24",
"topic": "Are there checked uncheck box bitmap functions ?",
"username": "Enrico Maria Giordano"
}
] |
Are there checked uncheck box bitmap functions ?
|
[
{
"date": "2018-10-23",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thanks, Enrico. Cheers, mate.\nCol",
"time": "23:42",
"topic": "Are there checked uncheck box bitmap functions ?",
"username": "Colin Wisbey"
}
] |
Are there checked uncheck box bitmap functions ?
|
[
{
"date": "2008-05-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\r\n Are there functions like:\r\n 09:01 +5 --> 09:06\r\n 09:01 -08:01--> 01:01\r\nThanks !\r\nShuming Wang",
"time": "10:45",
"topic": "Are there time functions :09:01+5-->:09:06",
"username": "ShumingWang"
}
] |
Are there time functions :09:01+5-->:09:06
|
[
{
"date": "2008-05-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Estas Funciones las encontr en el Foro hace muchos años atras\r\nEspero te sirvan...\r\n\r\n[code:3nwq21lt]\n\n*+--------------------------------------------------------------------\n*+\n*+ Function TimeAsSeconds()\n*+\n*+--------------------------------------------------------------------\n*+\nFUNCTION TimeAsSeconds( cTime )\n\nRETURN VAL( cTime ) * 3600 + VAL( SUBSTR( cTime, 4 ) ) * 60 + VAL( SUBSTR( cTime, 7 ) )\n\n*+--------------------------------------------------------------------\n*+\n*+ Function TimeAsSeconds()\n*+\n*+--------------------------------------------------------------------\n*+\nFUNCTION TimeAsMinute( cTime )\nLOCAL nSEC := VAL( cTime ) * 3600 + VAL( SUBSTR( cTime, 4 ) ) * 60 //+ VAL( SUBSTR( cTime, 7 ) )\nRETURN( nSEC / 60 )\n\n*+--------------------------------------------------------------------\n*+\n*+ Function TimeAsString()\n*+\n*+--------------------------------------------------------------------\n*+\nFUNCTION TimeAsChar( nSeconds )\n\nRETURN STRZERO( INT( MOD( nSeconds / 3600, 24 ) ), 2, 0 ) + ;\n STRZERO( INT( MOD( nSeconds / 60, 60 ) ), 2, 0 ) + ;\n STRZERO( INT( MOD( nSeconds, 60 ) ), 2, 0 )\n\n*+--------------------------------------------------------------------\n*+\n*+ Function TimeAsString()\n*+\n*+--------------------------------------------------------------------\n*+\nFUNCTION TimeAsString( nSeconds )\n\nRETURN STRZERO( INT( MOD( nSeconds / 3600, 24 ) ), 2, 0 ) + \":\" + ;\n STRZERO( INT( MOD( nSeconds / 60, 60 ) ), 2, 0 ) + \":\" + ;\n STRZERO( INT( MOD( nSeconds, 60 ) ), 2, 0 )\n\n*+--------------------------------------------------------------------\n*+\n*+ Function TimeDiff()\n*+\n*+--------------------------------------------------------------------\n*+\nFUNCTION TimeDiff( cStartTime, cEndTime )\nDefault cEndTime := Time()\nRETURN TimeAsString( IF( cEndTime < cStartTime, 86400, 0 ) + ;\n TimeAsSeconds( cEndTime ) - TimeAsSeconds( cStartTime ) )\n\n*+--------------------------------------------------------------------\n*+\n*+ Function TimeIsValid() 20:20:00\n*+\n*+--------------------------------------------------------------------\n*+\nFUNCTION TimeIsValid( cTime )\nRETURN VAL( cTime ) < 24 .AND. VAL( SUBSTR( cTime, 4 ) ) < 60 .AND. VAL( SUBSTR( cTime, 7 ) ) < 60\n\n\n[/code:3nwq21lt]",
"time": "11:40",
"topic": "Are there time functions :09:01+5-->:09:06",
"username": "pablovidal"
}
] |
Are there time functions :09:01+5-->:09:06
|
[
{
"date": "2008-05-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"ShumingWang\":19wft9dw]Hi,\n Are there functions like:\n 09:01 +5 --> 09:06\n 09:01 -08:01--> 01:01\nThanks !\nShuming Wang[/quote:19wft9dw]\r\n\r\n\r\nThis ar native functions of xharbour:\r\n\r\nSecs()\r\nCalculates the number of seconds from a time string. \r\nSyntax\r\nSecs( <cTime>|<dDateTime> ) --> nSeconds\r\n\r\nTString()\r\nConverts numeric seconds into a time formatted character string. \r\nSyntax\r\nTString( <nSeconds> ) --> cTimeString\r\n\r\nI hope It may help.",
"time": "12:16",
"topic": "Are there time functions :09:01+5-->:09:06",
"username": "jose_murugosa"
}
] |
Are there time functions :09:01+5-->:09:06
|
[
{
"date": "2008-05-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "pablovidal,jose_murugosa,\r\n Thank you!\r\nShuming Wang",
"time": "02:24",
"topic": "Are there time functions :09:01+5-->:09:06",
"username": "ShumingWang"
}
] |
Are there time functions :09:01+5-->:09:06
|
[
{
"date": "2006-02-28",
"forum": "FiveWin para Pocket PC",
"text": "Hola,\n\n¿Como puedo averiguar el area cliente de una WINDOW y por extensión de un Control?\n\nParece ser que el método GetCliRect no está implementado.\n\nSaludos,\nJosé Luis Capel",
"time": "14:04",
"topic": "Area cliente en FWPPC",
"username": "jlcapel"
}
] |
Area cliente en FWPPC
|
[
{
"date": "2006-02-28",
"forum": "FiveWin para Pocket PC",
"text": "Hola\n\nPrueba GetCoors( o:hWnd )\n\n\nSiau.\nC.",
"time": "14:19",
"topic": "Area cliente en FWPPC",
"username": "Carles"
}
] |
Area cliente en FWPPC
|
[
{
"date": "2006-02-28",
"forum": "FiveWin para Pocket PC",
"text": "Jose Luis,\n\noWnd:nWidth y oWnd:nHeight",
"time": "15:08",
"topic": "Area cliente en FWPPC",
"username": "Antonio Linares"
}
] |
Area cliente en FWPPC
|
[
{
"date": "2006-02-28",
"forum": "FiveWin para Pocket PC",
"text": "Carles, Antonio,\n\nGracias por las respuesta.\n\nGetcoors me devuelve siempre 0.\n\noWnd:nHeight y oWnd:nWidth es lo que buscaba.\n\nNo obstante... tengo una duda (básicamente por desconocimiento del funcionamiento del mundo Windows CE): ¿ El area cliente incluye o no la zona de los menús ?\n\nnHeight vale lo mismo con menú como sin menú. ¿Cuanto mide el menú?\n\nSaludos y gracias,\nJosé Luis Capel",
"time": "16:18",
"topic": "Area cliente en FWPPC",
"username": "jlcapel"
}
] |
Area cliente en FWPPC
|
[
{
"date": "2019-10-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola otra vez. Pase un wbrowse a txbrowse por los problemas ya comentados \n\n[code=fw:837bf8qb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">/*************************************************************************************/</span><br /><span style=\"color: #B900B9;\">// FUNCION AGREGAR CHOFERES Ó MODIFICAR</span><br /><span style=\"color: #B900B9;\">// utiliza la clase database</span><br /><span style=\"color: #B900B9;\">// Setiembre de 2001</span><br /><span style=\"color: #B900B9;\">/*************************************************************************************/</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"splitter.ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"inkey.ch\"</span><br /><br /><br /><span style=\"color: #B900B9;\">// * * *</span><br /><span style=\"color: #B900B9;\">// FUNCION : Brwven() -> NIL</span><br /><span style=\"color: #B900B9;\">// DESCRIPCION: Realiza un Browse de la base de datos CHOFER.Dbf,</span><br /><span style=\"color: #B900B9;\">// Permitiendo: Borrar o Modificar el registro actual,</span><br /><span style=\"color: #B900B9;\">// Dar de alta Nuevo o Buscar registro.</span><br /><span style=\"color: #B900B9;\">// * * *</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Brwcho<br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oLbx<br /> <span style=\"color: #00C800;\">LOCAL</span> oDlg, oSplit := Array<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> oRadioButtons<br /> <span style=\"color: #00C800;\">LOCAL</span> nOrden := <span style=\"color: #000000;\">1</span><br /> <span style=\"color: #00C800;\">LOCAL</span> onbut := Array<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> oCho<br /> <span style=\"color: #00C800;\">LOCAL</span> paso := <span style=\"color: #ff0000;\">\"no paso\"</span><br /> <span style=\"color: #00C800;\">LOCAL</span> surge, oRadiobutton, titu<br /><br /> <span style=\"color: #00C800;\">IF</span> !PASAJE<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"chofer\"</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /> <span style=\"color: #00C800;\">ENDIF</span><br /><br /> DATABASE oCho<br /> oCho:<span style=\"color: #000000;\">setorder</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span><br /> oCho:<span style=\"color: #000000;\">gotop</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oCho:<span style=\"color: #000000;\">beof</span> := <span style=\"color: #000000;\">{</span>|| <span style=\"color: #00C800;\">nil</span> <span style=\"color: #000000;\">}</span><br /><br /><br /><br /> <span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">icon</span> surge <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"icomega\"</span><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"DIALOG_2\"</span><br /> oDlg:<span style=\"color: #000000;\">cCaption</span> := <span style=\"color: #ff0000;\">\"Vendedores\"</span><br /><br /> <span style=\"color: #0000ff;\">REDEFINE</span> SPLITTER oSplit<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">110</span> <span style=\"color: #0000ff;\">COLOR</span> rgb<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">234</span>, <span style=\"color: #000000;\">234</span>, <span style=\"color: #000000;\">234</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #0000ff;\">of</span> odlg _3DLOOK<br /> <span style=\"color: #0000ff;\">REDEFINE</span> SPLITTER oSplit<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">111</span> <span style=\"color: #0000ff;\">COLOR</span> rgb<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">234</span>, <span style=\"color: #000000;\">234</span>, <span style=\"color: #000000;\">234</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #0000ff;\">of</span> odlg _3DLOOK<br /><br /><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">XBROWSE</span> oLbx <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">101</span> DATASOURCE oCho ;<br /> columns <span style=\"color: #ff0000;\">\"codigo\"</span>, <span style=\"color: #ff0000;\">\"nombre\"</span>,<span style=\"color: #ff0000;\">\"dni\"</span>,<span style=\"color: #ff0000;\">\"camion\"</span>,<span style=\"color: #ff0000;\">\"patente\"</span>,<span style=\"color: #ff0000;\">\"modelo\"</span>, <span style=\"color: #ff0000;\">\"tipo\"</span>, <span style=\"color: #ff0000;\">\"te\"</span>,<span style=\"color: #ff0000;\">\"domicilio\"</span>,<span style=\"color: #ff0000;\">\"localidad\"</span>,<span style=\"color: #ff0000;\">\"provincia\"</span> ;<br /> HEADERS <span style=\"color: #ff0000;\">\"CODIGO\"</span>, <span style=\"color: #ff0000;\">\"APELLIDO\"</span>, <span style=\"color: #ff0000;\">\"DOCUMENTO\"</span>, <span style=\"color: #ff0000;\">\"CAMION\"</span>, <span style=\"color: #ff0000;\">\"PATENTE\"</span>, ;<br /> <span style=\"color: #ff0000;\">\"MODELO\"</span>, <span style=\"color: #ff0000;\">\"TIPO\"</span>, <span style=\"color: #ff0000;\">\"TELEFONO\"</span>, <span style=\"color: #ff0000;\">\"DOMICILIO\"</span>, <span style=\"color: #ff0000;\">\"LOCALIDAD\"</span>, <span style=\"color: #ff0000;\">\"PROVINCIA\"</span>;<br /> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">ON</span> DBLCLICK <span style=\"color: #000000;\">(</span> FCHOFER<span style=\"color: #000000;\">(</span> oLbx, .f.,oCho<span style=\"color: #000000;\">)</span>,oLbx:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><br /><br /> olbx:<span style=\"color: #000000;\">setfocus</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> WITH OBJECT oLbx<br /> :<span style=\"color: #000000;\">nMarqueeStyle</span> := <span style=\"color: #000000;\">4</span><br /> :<span style=\"color: #000000;\">nColDividerStyle</span> := LINESTYLE_BLACK<br /> :<span style=\"color: #000000;\">nStretchCol</span> := STRETCHCOL_LAST<br /> :<span style=\"color: #000000;\">lColDividerComplete</span> := .F.<br /> :<span style=\"color: #000000;\">l2010</span> := .T.<br /> :<span style=\"color: #000000;\">lAllowColHiding</span> := .F.<br /> :<span style=\"color: #000000;\">lIncrFilter</span> := .T.<br /> :<span style=\"color: #000000;\">lSeekWild</span> := .F.<br /> :<span style=\"color: #000000;\">bKeyDown</span> := <span style=\"color: #000000;\">{</span>| nKey | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nKey == K_ENTER, <span style=\"color: #000000;\">(</span> FCHOFER<span style=\"color: #000000;\">(</span> oLbx, .f.,oCho<span style=\"color: #000000;\">)</span>,oDlg:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> :<span style=\"color: #000000;\">nRowDividerStyle</span> :=<span style=\"color: #000000;\">2</span> <span style=\"color: #B900B9;\">// Row divider style: 0 No lines 1 Black line 2 Dark gray line 3 Raised 4 Inset 5 Fore Color 6 Light gray</span><br /> :<span style=\"color: #000000;\">nColDividerStyle</span> :=<span style=\"color: #000000;\">2</span><br /><br /> END WITH<br /><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">RADIO</span> oRadioButton <span style=\"color: #0000ff;\">VAR</span> nOrden <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">108</span>, <span style=\"color: #000000;\">107</span>;<br /> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> Orden<span style=\"color: #000000;\">(</span> nOrden, oLbx, oCho <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// Al detectar un cambio se ejecutar la funci¢n</span><br /><br /><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> oNbut<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">102</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"btnagregar\"</span>, <span style=\"color: #ff0000;\">\"btnagrega1\"</span> <span style=\"color: #0000ff;\">ACTION</span> FCHOFER<span style=\"color: #000000;\">(</span> oLbx, .T., oCho <span style=\"color: #000000;\">)</span> NOBORDER<br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> oNbut<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">103</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"btncambio\"</span>, <span style=\"color: #ff0000;\">\"btncambi1\"</span> <span style=\"color: #0000ff;\">ACTION</span> FCHOFER<span style=\"color: #000000;\">(</span> oLbx, .F., oCho <span style=\"color: #000000;\">)</span> NOBORDER<br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> oNbut<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">104</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"btnbusca\"</span>, <span style=\"color: #ff0000;\">\"btnbusc1\"</span> <span style=\"color: #0000ff;\">ACTION</span> Buscar<span style=\"color: #000000;\">(</span> oLbx, nOrden, oCho, paso <span style=\"color: #000000;\">)</span> NOBORDER<br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> oNbut<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">105</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"btnborra\"</span>, <span style=\"color: #ff0000;\">\"btnborr1\"</span> <span style=\"color: #0000ff;\">ACTION</span> DelClient<span style=\"color: #000000;\">(</span> oLbx, oCho, <span style=\"color: #000000;\">(</span> oCho:<span style=\"color: #000000;\">cAlias</span> <span style=\"color: #000000;\">)</span>->nombre <span style=\"color: #000000;\">)</span> NOBORDER<br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> oNbut<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">106</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"btnimpri\"</span>, <span style=\"color: #ff0000;\">\"btnimpr1\"</span> <span style=\"color: #0000ff;\">ACTION</span> oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> NOBORDER<br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> oNbut<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">109</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"btnsalir\"</span>, <span style=\"color: #ff0000;\">\"btnsali1\"</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> cierroalias<span style=\"color: #000000;\">(</span> oCho:<span style=\"color: #000000;\">calias</span><span style=\"color: #000000;\">)</span>, oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> NOBORDER<br /><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTER</span> <span style=\"color: #0000ff;\">NOWAIT</span> <span style=\"color: #0000ff;\">valid</span><span style=\"color: #000000;\">(</span> olbx:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, sysrefresh<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, cierroalias<span style=\"color: #000000;\">(</span> oCho:<span style=\"color: #000000;\">calias</span> <span style=\"color: #000000;\">)</span>, .T. <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">RETURN</span><span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">)</span></div>[/code:837bf8qb]\n\nAl hacer doble click se abre un diálogo para cargar o modificar datos\nLo haces una vez abre el diálogo, lo cerras y\nlo abris nuevamente y ok pero a la tercera indefectiblemente da este error\n\n[code=fw:837bf8qb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Application<br />===========<br /> Path and <span style=\"color: #0000ff;\">name</span>: <span style=\"color: #000000;\">K</span>:\\fivexhar2\\fivehar.exe <span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">32</span> bits<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">Size</span>: <span style=\"color: #000000;\">6</span>,<span style=\"color: #000000;\">572</span>,<span style=\"color: #000000;\">544</span> bytes<br /> Compiler version: <span style=\"color: #000000;\">Harbour</span> <span style=\"color: #000000;\">3.2</span>.0dev <span style=\"color: #000000;\">(</span>r1806032230<span style=\"color: #000000;\">)</span><br /> FiveWin version: <span style=\"color: #000000;\">FWH</span> <span style=\"color: #000000;\">17.09</span><br /> C compiler version: <span style=\"color: #000000;\">Borland</span>/Embarcadero C++ <span style=\"color: #000000;\">7.3</span> <span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">32</span>-bit<span style=\"color: #000000;\">)</span><br /> Windows version: <span style=\"color: #000000;\">6.2</span>, Build <span style=\"color: #000000;\">9200</span> <br /><br /> Time <span style=\"color: #0000ff;\">from</span> start: <span style=\"color: #000000;\">0</span> hours <span style=\"color: #000000;\">0</span> mins <span style=\"color: #000000;\">12</span> secs <br /> Error occurred <span style=\"color: #00C800;\">at</span>: <span style=\"color: #000000;\">23</span>/<span style=\"color: #000000;\">10</span>/<span style=\"color: #000000;\">2019</span>, <span style=\"color: #000000;\">22</span>:<span style=\"color: #000000;\">49</span>:<span style=\"color: #000000;\">57</span><br /> Error description: <span style=\"color: #000000;\">Error</span> DBCMD/<span style=\"color: #000000;\">2001</span> Area de trabajo no usada: <span style=\"color: #000000;\">DBGOTO</span><br /><br />Stack Calls<br />===========<br /> Called <span style=\"color: #0000ff;\">from</span>: => DBGOTO<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\DATABASE.PRG => TDATABASE:<span style=\"color: #000000;\">TD_SAVEREC</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1973</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\DATABASE.PRG => TDATABASE:<span style=\"color: #000000;\">SKIPPER</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1558</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\DATABASE.PRG => <span style=\"color: #000000;\">(</span>b<span style=\"color: #000000;\">)</span>TDATABASE_SETXBROWSE<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1602</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">XBROWSE</span>.PRG => <span style=\"color: #000000;\">(</span>b<span style=\"color: #000000;\">)</span>TXBROWSE<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">503</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">XBROWSE</span>.PRG => TXBROWSE:<span style=\"color: #000000;\">SKIP</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">XBROWSE</span>.PRG => TXBROWSE:<span style=\"color: #0000ff;\">PAINT</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1946</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">XBROWSE</span>.PRG => TXBROWSE:<span style=\"color: #00C800;\">DISPLAY</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1746</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\CONTROL.PRG => TCONTROL:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1697</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">XBROWSE</span>.PRG => TXBROWSE:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">10242</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => _FWH<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">3348</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: => DIALOGBOXINDIRECT<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">DIALOG</span>.PRG => TDIALOG:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">296</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\<span style=\"color: #00C800;\">function</span>\\ERRSYSW.PRG => ERRORDIALOG<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">436</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\<span style=\"color: #00C800;\">function</span>\\ERRSYSW.PRG => <span style=\"color: #000000;\">(</span>b<span style=\"color: #000000;\">)</span>ERRORSYS<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">23</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: => ORDKEYCOUNT<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\DATABASE.PRG => <span style=\"color: #000000;\">(</span>b<span style=\"color: #000000;\">)</span>TDATABASE<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">212</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\DATABASE.PRG => TDATABASE:<span style=\"color: #000000;\">KEYCOUNT</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\DATABASE.PRG => <span style=\"color: #000000;\">(</span>b<span style=\"color: #000000;\">)</span>TDATABASE_SETXBROWSE<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1607</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">XBROWSE</span>.PRG => <span style=\"color: #000000;\">(</span>b<span style=\"color: #000000;\">)</span>TXBROWSE<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">497</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">XBROWSE</span>.PRG => TXBROWSE:<span style=\"color: #000000;\">KEYCOUNT</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">XBROWSE</span>.PRG => TXBROWSE:<span style=\"color: #0000ff;\">REFRESH</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1650</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">megacho</span>.prg => <span style=\"color: #000000;\">(</span>b<span style=\"color: #000000;\">)</span>BRWCHO<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">74</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => TWINDOW:<span style=\"color: #000000;\">LDBLCLICK</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1997</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\CONTROL.PRG => TCONTROL:<span style=\"color: #000000;\">LDBLCLICK</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1744</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">XBROWSE</span>.PRG => TXBROWSE:<span style=\"color: #000000;\">LDBLCLICK</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">4709</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: => TWINDOW:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\CONTROL.PRG => TCONTROL:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1731</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">XBROWSE</span>.PRG => TXBROWSE:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">10242</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => _FWH<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">3348</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: => WINRUN<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => TMDIFRAME:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1037</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">origen</span>.prg => ORIGEN<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">260</span> <span style=\"color: #000000;\">)</span><br /><br />System; etc:<span style=\"color: #000000;\">etc</span><br /><br /> </div>[/code:837bf8qb]\n\nEncontre un posteo similar del año 2010 bajo el título Errores esporádicos con XBROWSE\nPero no me lo soluciona. \n\nQue es lo que falta o sobra, ya que la base se cierra cuando cierro el diálogo o uso la opción salir del diálogo\n\nFwh17.09 y harbour3.2\n\nLuis",
"time": "03:12",
"topic": "Area de trabajo no usada: ORDKEYNO",
"username": "surGom"
}
] |
Area de trabajo no usada: ORDKEYNO
|
[
{
"date": "2019-10-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "SurGom, buenos días:\n\nNo tengo ni idea del motivo de este error.\nPero... ¿ podrías por favor poner una imagen de esta ventana ( \"DIALOG_2\" ) para ver el aspecto y su resultado final ?\n\nMil gracias.\nLORENZO.",
"time": "07:38",
"topic": "Area de trabajo no usada: ORDKEYNO",
"username": "Loren"
}
] |
Area de trabajo no usada: ORDKEYNO
|
[
{
"date": "2019-10-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Analise ó post estas funciones:\n\n[code=fw:i8lgrspz]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">origen</span>.prg => ORIGEN<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">260</span> <span style=\"color: #000000;\">)</span> Vien de aqui?<br /><br /> Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">megacho</span>.prg => <span style=\"color: #000000;\">(</span>b<span style=\"color: #000000;\">)</span>BRWCHO<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">74</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">//???</span><br /> <span style=\"color: #B900B9;\">// ???</span><br /> Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">FCHOFER</span>.PRG <span style=\"color: #B900B9;\">// algo errado aqui?</span><br /> </div>[/code:i8lgrspz]\n\nSaludos.",
"time": "14:18",
"topic": "Area de trabajo no usada: ORDKEYNO",
"username": "karinha"
}
] |
Area de trabajo no usada: ORDKEYNO
|
[
{
"date": "2019-10-26",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Karinha, me parece que como estoy utilizando la clase twbrowse de Hernán por ahí puede ser el conficto. Ahora lo voy a tener que dejar porque surgieron otras cosas mas apremiantes. Si compilo el sistema con la clase database fw15 y quito las ordenes para que el xbrowse no haga la busqueda, no hay problema hace tiempo que funciona así. \n\nGracias por tu atención",
"time": "13:15",
"topic": "Area de trabajo no usada: ORDKEYNO",
"username": "surGom"
}
] |
Area de trabajo no usada: ORDKEYNO
|
[
{
"date": "2022-09-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hola buen día, en un programa que trabaja con SQL, tengo en los abm un listbox donde muestro los datos y si hacen click sobre cualquier registro y arrastran da este error.\n\nComo se puede evitar que provoque el error.\n\nSaludos\nJorge",
"time": "15:26",
"topic": "Area de trabajo no usada: ORDKEYNO",
"username": "jpcavagnaro"
}
] |
Area de trabajo no usada: ORDKEYNO
|
[
{
"date": "2022-09-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Post el ERROR asi, porfa:\n\n[url:2cdy337o]http://forums.fivetechsupport.com/viewtopic.php?f=6&t=37936&start=0[/url:2cdy337o]\n\nUse:\n\n[code=fw:2cdy337o]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">//external ordkeyno, ordkeycount, ordcreate, ordkeygoto</span><br /><br />REQUEST OrdKeyNo, OrdKeyCount, OrdCreate, OrdKeyGoto<br /> </div>[/code:2cdy337o]\n\nRegards, saludos.",
"time": "15:51",
"topic": "Area de trabajo no usada: ORDKEYNO",
"username": "karinha"
}
] |
Area de trabajo no usada: ORDKEYNO
|
[
{
"date": "2022-09-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"jpcavagnaro\":3bjnr4fm]Hola buen día, en un programa que trabaja con SQL, tengo en los abm un listbox donde muestro los datos y si hacen click sobre cualquier registro y arrastran da este error.\n\nComo se puede evitar que provoque el error.\n\nSaludos\nJorge[/quote:3bjnr4fm]\n\nLet us see how you are building xbrowse.\nand\nyour fwh version\nwhat sql library you are using\n\nTry to prepare a small sample.",
"time": "23:14",
"topic": "Area de trabajo no usada: ORDKEYNO",
"username": "nageswaragunupudi"
}
] |
Area de trabajo no usada: ORDKEYNO
|
[
{
"date": "2022-09-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Gracias por responder, este es el código:\n\n\nxOrdenadoPor =\"\"\nxcampobusca = \"Nombre\"\ncSQL := \"SELECT top(25) * FROM clientes \"\n\noRS1cli := CargaRecordSet( cSQL, CadenaCon )\n\n\nDEFINE FONT oFont NAME \"Arial narrow\" SIZE 0, - 12\nDEFINE FONT oFont1 NAME \"Arial narrow \" SIZE 6, 18\n\n\nDEFINE WINDOW oWndChild MDICHILD OF oWnd FROM 0,0 TO 24,79TITLE \"Actualización de Clientes \"\nDEFINE DIALOG odlg RESOURCE \"pan_actu\" ;\n OF oWndChild\n\nREDEFINE GET obusco var xbusco ID 171 PICTURE \"@!\" OF oDlg ;\nON CHANGE ( ::assign(), oRS1Cli:=buscosql( oBrow, xbusco, oRS1Cli ) )\n\nREDEFINE LISTBOX oBrow FIELDS ;\niif (oRS1Cli:Fields( \"activo\" ):Value=\"S\",aHbitMaps[1],aHbitMaps[2]),; // str( oRS1Cli:Fields( \"Id\" ):Value, 0 ), ; str( oRS1Cli:Fields( \"Id\" ):Value, 0 ), ;\nstr( oRS1Cli:Fields( \"numero\" ):Value, 0 ), ;\nstr( oRS1Cli:Fields( \"documento\" ):Value, 0 ), ;\nstr( oRS1Cli:Fields( \"vendedor\" ):Value, 0 ), ;\noRS1Cli:Fields( \"Nombre\" ):Value, ;\noRS1Cli:Fields( \"Apodo\" ):Value, ;\noRS1Cli:Fields( \"Domic\" ):Value, ;\noRS1Cli:Fields( \"copo\" ):Value, ;\noRS1Cli:Fields( \"loca\" ):Value, ;\noRS1Cli:Fields( \"tele\" ):Value ;\nHEADERS \"Act.\", \"Nro.\",\"Documento\", ; // ,\"Reg.\"\n\"Vend\", \"Nombre\",\"Apodo\", ;\n \"Direccion\" , ;\n\"C.Postal\", ;\n\"Localidad\", ;\n( \"Telofono\" ), ;\n( \"Zona\" ) ; // \"zona\",;\nID 181 of odlg ;\nfont ofont1\n\noBrow:bLogicLen = { || oRS1Cli:RecordCount }\noBrow:bGoTop = { || oRS1Cli:MoveFirst() }\noBrow:bGoBottom = { || oRS1Cli:MoveLast() }\noBrow:bSkip = { | nSkip | Skipper( oRs1Cli, nSkip ) }\noBrow:lcellstyle := .f.\noBrow:nlinestyle := 2\noBrow:nclrpane := { || iif( ( oRS1Cli:AbsolutePosition / 2 ) - INT( oRS1Cli:AbsolutePosition / 2 ) > 0, RGB( 193, 221, 255 ), RGB( 221, 245, 255 ) ) }\noBrow:GoTop()\n\noBrow:aActions = { \"ID\",\"numero\", \"\", \"\", \"Nombre\", \"Domicilio\" }\noBrow:aActions[ 1 ] = { || iif (xcampobusca = \"activo\",(xcampobusca := \"activo\",xOrdenadoPor:= \"activo desc\"),(xcampobusca := \"activo\",xOrdenadoPor:= \" activo \")), oRS1Cli:=buscosql( oBrow, \"\", obusco, oRS1Cli ) }\noBrow:aActions[ 2 ] = { || iif (xcampobusca = \"numero\",(xcampobusca := \"numero\",xOrdenadoPor:= \"numero desc\"),(xcampobusca := \"numero\",xOrdenadoPor:= \"numero \")), oRS1Cli:=buscosql( oBrow, \"\", obusco, oRS1Cli ) }\noBrow:aActions[ 3 ] = { || xcampobusca := \"documento\",xOrdenadoPor:=\"documento\", oRS1Cli:=buscosql( oBrow, \"\", obusco, oRS1Cli ) }\noBrow:aActions[ 4 ] = { || xcampobusca := \"vendedor\",xOrdenadoPor:=\"vendedor\", oRS1Cli:=buscosql( oBrow, \"\", obusco, oRS1Cli ) }\noBrow:aActions[ 5 ] = { || xcampobusca := \"Nombre\",xOrdenadoPor:=\"Nombre\", oRS1Cli:=buscosql( oBrow, \"\", obusco, oRS1Cli ) }\noBrow:aActions[ 6 ] = { || xcampobusca := \"apodo\" ,xOrdenadoPor:=\"apodo\" , oRS1Cli:=buscosql( oBrow, \"\", obusco, oRS1Cli ) }\n\n\nREDEFINE BTNBMP 2007 prompt HB_UTF8CHR( 57609 ) + \" Agregar \" font oSegoe ID 170 OF oDlg ACTION EditClient( oBrow, oCon, oRs1cli, oRS1Cli:AbsolutePosition, .t. ) //editclient( oLbx, .t. )\nREDEFINE BTNBMP 2007 prompt HB_UTF8CHR( 57604 ) + \" Editar \" font oSegoe ID 180 OF oDlg ACTION EditClient( oBrow, oCon, oRs1cli, oRS1Cli:AbsolutePosition, .f. ) // editclient( oLbx, .f. )\nREDEFINE BTNBMP 2007 prompt HB_UTF8CHR( 57607 ) + \" Borrar \" font oSegoe ID 260 OF oDlg ACTION borrasql( odlg, oRS1cli )\nREDEFINE BTNBMP 2007 prompt HB_UTF8CHR( 58102 ) + \" Imprimir \" font oSegoe ID 210 OF oDlg ACTION lisclie( xcampo ) //generoxls() //\nREDEFINE BTNBMP 2007 prompt HB_UTF8CHR( 57615 ) + \" Volver \" font oSegoe ID 240 OF oDlg ACTION (oWndChild:End(),oRS1cli:Close()) //on init buscosql(oBrow, \"\")\n\nACTIVATE DIALOG oDlg nowait ON INIT odlg:Move( 0, 0 )\n\noWndChild:nWidth := odlg:nWidth + 7\noWndChild:nHeight := odlg:nHeight + 32\n\nACTIVATE WINDOW oWndChild ON INIT (oRS1Cli:=buscosql( obrow, xbusco, oRS1Cli ) ,oWnd:paint() )",
"time": "13:03",
"topic": "Area de trabajo no usada: ORDKEYNO",
"username": "jpcavagnaro"
}
] |
Area de trabajo no usada: ORDKEYNO
|
[
{
"date": "2006-01-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "In my program, there is a listbox. when information in this list is doubleclicked the fields in the dialog box are updated. this works fine for all of them, exept for two places where a dbf field is shared between the two. I have used a PADL function, so that if the information in the field ends with .EXE then it will go to a preprocessor field, otherwise it will go to an invoice condition field. however, when i doubleclick the listbox i get an \"arguement error conditional\" message. Here is the code i use\n\nCODE;\n\nIF PADL(REPDETS->REP_FOR,3,\"exe\")\n mPreProcessor := REPDETS->REP_FOR\n ELSE\n mInvCon := REPDETS->REP_FOR\nENDIF\n\nAny ideas? \n\nThanks in advance",
"time": "11:45",
"topic": "Arguement Error Conditional",
"username": "deanomeano"
}
] |
Arguement Error Conditional
|
[
{
"date": "2006-01-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Deano,\n\nTry this:\n\nIF Right(REPDETS->REP_FOR,3 ) == \"exe\"\n...",
"time": "11:57",
"topic": "Arguement Error Conditional",
"username": "Antonio Linares"
}
] |
Arguement Error Conditional
|
[
{
"date": "2006-01-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thanks Antonio, all seems ok now <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "12:03",
"topic": "Arguement Error Conditional",
"username": "deanomeano"
}
] |
Arguement Error Conditional
|
[
{
"date": "2006-02-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "is wrong this expresiion ?\n\n\n[code:v0fy4s8r] i:=0\n do while i <= wdiapro\n wfecFin++\n if wDiaLab[Dow(wFecIni+i)]\n wFecFin++\n endif\n i++\n enddo[/code:v0fy4s8r]\n\nit me make error on <=... why ?\n\nRegards",
"time": "21:25",
"topic": "Argument error: <=",
"username": "Silvio"
}
] |
Argument error: <=
|
[
{
"date": "2006-02-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Check the data type of wdiapro. It must be numeric.\n\nEMG",
"time": "23:03",
"topic": "Argument error: <=",
"username": "Enrico Maria Giordano"
}
] |
Argument error: <=
|
[
{
"date": "2006-02-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "yes it is numeric\nif i insert wdiapro=1 it run ok",
"time": "23:06",
"topic": "Argument error: <=",
"username": "Silvio"
}
] |
Argument error: <=
|
[
{
"date": "2010-01-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi all , \n\nTesting Mysql1.prg with ADORDD , adding a new record (Button NEW) i get the following : \n\nArgument error: MOVEFIRST\nStack Calls\n===========\n Called from: => WIN_OLEAUTO:MOVEFIRST(0)\n Called from: adordd.prg => ADO_GOTOP(555)\n Called from: => DBGOTOP(0)\n Called from: .\\source\\classes\\WBROWSE.PRG => (b)TWBROWSE_SETFILTER(1991)\n Called from: .\\source\\classes\\WBROWSE.PRG => TWBROWSE:GOTOP(1035)\n Called from: .\\source\\classes\\WBROWSE.PRG => TWBROWSE:UPSTABLE(1935)\n Called from: .\\source\\classes\\WBROWSE.PRG => (b)TWBROWSE_NEW(304)\n\nSomebody can help me ? \n\nTank you \n\nWalter Zafferami",
"time": "18:50",
"topic": "Argument error: MOVEFIRST",
"username": "wzaf"
}
] |
Argument error: MOVEFIRST
|
[
{
"date": "2010-01-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I've found that if I call BROWSE() with argument bNew := { || add1record() }\nwhere add1recors is : \n\n append blank \n fieldput(1, \"\" )\n\nall work fine. \n\nIn other words: if the first field od the new record is not null , there is no error. \n <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \n\nbest regards \nWzaf",
"time": "17:28",
"topic": "Argument error: MOVEFIRST",
"username": "wzaf"
}
] |
Argument error: MOVEFIRST
|
[
{
"date": "2007-12-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "How to solve the following:\n\nApplication\n===========\n Path and name: C:\\test\\test1.exe (32 bits)\n Size: ********* bytes\n Time from start: 0 hours 0 mins 11 secs \n Error occurred at: 10/12/07, 02:10:20\n Error description: Error BASE/3104 Argument error: SWITCH\n Args:\n [ 1] = U \n\nStack Calls\n===========\n Called from: => XLSFONT(0)\n Called from: .\\c13.prg => EXCELFAB(6110)\n Called from: .\\c13.prg => (b)EXCELFAA(6067)\n Called from: .\\source\\function\\MSGRUN.PRG => (b)MSGRUN(0)\n Called from: .\\source\\classes\\DIALOG.PRG => (b)TDIALOG(0)\n Called from: => TDIALOG:DISPLAY(0)\n Called from: => TDIALOG:HANDLEEVENT(0)\n Called from: => DIALOGBOXINDIRECT(0)\n Called from: => TDIALOG:ACTIVATE(0)\n Called from: .\\source\\function\\MSGRUN.PRG => MSGRUN(0)\n Called from: .\\c13.prg => EXCELFAA(6067)\n Called from: .\\c13.prg => (b)EXCELFA(6047)\n Called from: => TBUTTON:CLICK(0)\n Called from: => TBUTTON:HANDLEEVENT(0)\n Called from: .\\source\\classes\\WINDOW.PRG => _FWH(0)\n Called from: => SENDMESSAGE(0)\n Called from: => TDIALOG:COMMAND(0)\n Called from: => TWINDOW:HANDLEEVENT(0)\n Called from: => TDIALOG:HANDLEEVENT(0)\n Called from: => DIALOGBOXINDIRECT(0)\n Called from: => TDIALOG:ACTIVATE(0)\n Called from: .\\c13.prg => EXCELFA(6056)\n Called from: .\\c11.prg => (b)EXCELTRAN(7105)\n Called from: => TWINDOW:LBUTTONDOWN(0)\n Called from: => TBITMAP:LBUTTONDOWN(0)\n Called from: => TWINDOW:HANDLEEVENT(0)\n Called from: => TCONTROL:HANDLEEVENT(0)\n Called from: => TBITMAP:HANDLEEVENT(0)\n Called from: .\\source\\classes\\WINDOW.PRG => _FWH(0)\n Called from: => DIALOGBOXINDIRECT(0)\n Called from: => TDIALOG:ACTIVATE(0)\n Called from: .\\c11.prg => EXCELTRAN(7237)\n Called from: .\\ec.prg => (b)BUILDMENU2(4012)\n Called from: => TMENU:COMMAND(0)\n Called from: => TWINDOW:COMMAND(0)\n Called from: => TWINDOW:HANDLEEVENT(0)\n Called from: .\\source\\classes\\WINDOW.PRG => _FWH(0)\n Called from: => WINRUN(0)\n Called from: => TWINDOW:ACTIVATE(0)\n Called from: .\\test1.prg => MAIN(146)\n\nThe Code:\nFUNCTION excelfab()\n\n#include \"fivewin.ch\" \n#include \"FileXLS.ch\" \n\n#define BORDER_UP nOr( BORDER_TOP ) \n#define BORDER_DOWN nOr( BORDER_BOTTOM ) \n#DEFINE TRUE .T. \n#DEFINE FALSE .F. \n\nstatic oFileXLS \n\n \nLocal nFont1, nFont2 \n\nLocal nFormat1, nFormat2,nXlsLine:=0 \n\nPublic Drive:=\"D:\\\",Directory:=\"TempXLS\",Start:=\"\\\" \nlChDir(\"D:\\\") \nlMkDir(\"TempXLS\") \nlChDir(\"TempXLS\") \n\nDEFINE XLS FONT nFont1 NAME \"Arial\" HEIGHT 12 BOLD <- Why Argument error: SWITCH\n\nPlease help",
"time": "19:43",
"topic": "Argument error: SWITCH",
"username": "acwoo"
}
] |
Argument error: SWITCH
|
[
{
"date": "2007-12-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Acwoo,\n\nThe error is inside XLSFONT()\n\nPlease search for SWITCH statement inside XLSFONT() source code",
"time": "20:19",
"topic": "Argument error: SWITCH",
"username": "Antonio Linares"
}
] |
Argument error: SWITCH
|
[
{
"date": "2007-12-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thanks for the reply\n\nI still can't figure out\n\nWhy Argument error: SWITCH \n\nPlease help",
"time": "01:33",
"topic": "Argument error: SWITCH",
"username": "acwoo"
}
] |
Argument error: SWITCH
|
[
{
"date": "2007-12-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Acwoo,\n\nPlease post the source code of XLSFONT()",
"time": "01:47",
"topic": "Argument error: SWITCH",
"username": "Antonio Linares"
}
] |
Argument error: SWITCH
|
[
{
"date": "2007-12-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Got it fixed. Thanks",
"time": "04:25",
"topic": "Argument error: SWITCH",
"username": "acwoo"
}
] |
Argument error: SWITCH
|
[
{
"date": "2010-02-23",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola : \n Estoy nuevamente evaluando el programas para generar reporte Fast Report, Lo hice funcionar 10 puntos el único problema que tengo es enviar parametros a una función escrita en Harbour.\n\n El ejemplo que baje de internet funciono ok, \n\n * OK\n oFr:SetEventHandler( \"Report\" , \"OnUserFunction\" , { | FName, FParams | CallUserFunction( FName , FParams ) } )\n oFr:AddFunction( \"function XBaseStr( nValue: Double, nLength: Variant = EmptyVar, nDecimals: Variant = EmptyVar): Variant\",;\n \"Funciones Unire\" , \"It's a XBase Str() function!\")\n \n* ERROR *\n oFr:AddFunction( \"function DireccionLegal(HbVar: String): Variant\" , \"Funciones Unire\" , \"Devuelve Direccion Legal de una persona.\")\n....\n\n \n \nfunction CallUserFunction( FName , FParams )\n \nlocal RES\n* OK\nif (FName == \"XBASESTR\" )\n RES := Str(FParams[1], FParams[2], FParams[3]) \n \n*ERROR\nelseif (FName == \"DIRECCIONLEGAL\")\n RES := DirecioLegal( FParams[1] )\n \nendif\n \nreturn RES\n\n\n\nAgradeceria algún ejemplo.\nGracias\nTheler Hugo\nArgentina",
"time": "22:43",
"topic": "Argumento de función de Harbour dentro Fast Report",
"username": "hugotheler"
}
] |
Argumento de función de Harbour dentro Fast Report
|
[
{
"date": "2021-02-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola,¿ como puedo abrir y modificar un archivo xls, xlsx y xlsm ?\nEn una hoja especifica o en una hoja única\n\n\nGracias, Saludos",
"time": "02:40",
"topic": "Arhivos xls y xlsm",
"username": "servicomver"
}
] |
Arhivos xls y xlsm
|
[
{
"date": "2021-02-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola,¿ como puedo abrir y modificar un archivo xls, xlsx y xlsm ?\nEn una hoja especifica o en una hoja única\n\n\nGracias, Saludos",
"time": "02:40",
"topic": "Arhivos xls y xlsm",
"username": "servicomver"
}
] |
Arhivos xls y xlsm
|
[
{
"date": "2021-02-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "It is much simpler using the FWH builtin function \nGetExcelBook( cFileFullPath ) --> oBook\n\n[code=fw:z86oyd7w]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">(</span> oBook := GetExcelBook<span style=\"color: #000000;\">(</span> cExcelFileNameWithFullPath <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> != <span style=\"color: #00C800;\">nil</span><br /> oBook:<span style=\"color: #000000;\">Application</span>:<span style=\"color: #000000;\">Visible</span> := .t.<br /> <span style=\"color: #00C800;\">endif</span><br /> </div>[/code:z86oyd7w]\n\nYou can also opt for full code like this:\n[code=fw:z86oyd7w]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> OpenExcelBook<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> cExcelFile := <span style=\"color: #ff0000;\">\"import.xlsx\"</span><br /> <span style=\"color: #00C800;\">local</span> oExcel, oBook, lOpened := .f.<br /><br /> <span style=\"color: #00C800;\">if</span> File<span style=\"color: #000000;\">(</span> cExcelFile <span style=\"color: #000000;\">)</span><br /> cExcelFile := TrueName<span style=\"color: #000000;\">(</span> cExcelFile <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// add full path</span><br /> CursorWait<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">(</span> oExcel := ExcelObj<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> != <span style=\"color: #00C800;\">nil</span><br /> <span style=\"color: #00C800;\">TRY</span><br /> oBook := oExcel:<span style=\"color: #000000;\">WorkBooks</span>:<span style=\"color: #000000;\">Open</span><span style=\"color: #000000;\">(</span> cExcelFile <span style=\"color: #000000;\">)</span><br /> lOpened := .t.<br /> CATCH<br /> END<br /> <span style=\"color: #00C800;\">if</span> lOpened<br /> oExcel:<span style=\"color: #000000;\">Visible</span> := .t.<br /> <span style=\"color: #00C800;\">else</span><br /> ? <span style=\"color: #ff0000;\">\"Can not open \"</span> + cExcelFile<br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">else</span><br /> ? <span style=\"color: #ff0000;\">\"Excel not installed\"</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">else</span><br /> ? cExcelFile + <span style=\"color: #ff0000;\">\" not found\"</span><br /> <span style=\"color: #00C800;\">endif</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:z86oyd7w]\n\nWe recommend the first approach.",
"time": "04:34",
"topic": "Arhivos xls y xlsm",
"username": "nageswaragunupudi"
}
] |
Arhivos xls y xlsm
|
[
{
"date": "2014-10-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Estimados\n\nQuiero Armar el menú desde una Tabla... mas o menos igual que desde un base de dato.\n\nEl tema que cuando quiero ejecutar la funcion que corresponde al items del menú NO me reconoce las variables que deben ir en dicha funcion.\n\n[code=fw:1kvcqsri]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">MAEREPLV:=CDX_Abrir<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'MAEREPLV'</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">1</span>,<span style=\"color: #ff0000;\">'MAEREPLV'</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #000000;\">(</span>MAEREPLV<span style=\"color: #000000;\">)</span>-><span style=\"color: #000000;\">(</span>ORDSETFOCUS<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #000000;\">(</span>MAEREPLV<span style=\"color: #000000;\">)</span>-><span style=\"color: #000000;\">(</span>dbgotop<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">While</span> !<span style=\"color: #000000;\">(</span>MAEREPLV<span style=\"color: #000000;\">)</span>-><span style=\"color: #000000;\">(</span>Eof<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><br /><br /> aadd<span style=\"color: #000000;\">(</span> mReportesItems , <span style=\"color: #000000;\">(</span>MAEREPLV<span style=\"color: #000000;\">)</span>->DETALLE <span style=\"color: #000000;\">)</span><br /> aadd<span style=\"color: #000000;\">(</span> mReportesFunci , <span style=\"color: #ff0000;\">'{||RepMaesDocu(EMPRESA,'</span>+str<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">(</span>MAEREPLV<span style=\"color: #000000;\">)</span>->CODIINT,<span style=\"color: #000000;\">10</span><span style=\"color: #000000;\">)</span>+<span style=\"color: #ff0000;\">',mCodiUSUA)}'</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #000000;\">(</span>MAEREPLV<span style=\"color: #000000;\">)</span>-><span style=\"color: #000000;\">(</span>DbSkip<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">EndDo</span><br />ER_4<span style=\"color: #000000;\">(</span>MAEREPLV<span style=\"color: #000000;\">)</span><br /> </div>[/code:1kvcqsri]\n\ny en en el Menu lo ejecuto así:\n\n[code=fw:1kvcqsri]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <span style=\"color: #00C800;\">For</span> Xmenu = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> len<span style=\"color: #000000;\">(</span>mReportesItems<span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #0000ff;\">MENUITEM</span> mReportesItems<span style=\"color: #000000;\">[</span>Xmenu<span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #0000ff;\">MESSAGE</span> mReportesItems<span style=\"color: #000000;\">[</span>Xmenu<span style=\"color: #000000;\">]</span> ;<br /> BLOCK &<span style=\"color: #000000;\">(</span>mReportesFunci<span style=\"color: #000000;\">[</span>Xmenu<span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span> <br /> <br /> <span style=\"color: #00C800;\">Next</span> Xmenu<br /> </div>[/code:1kvcqsri]\n\ncuando selecciono la opcion del menu me dice que No existe la variable EMPRESA... esta variable es una variable Static y tiene un TEXTO \n\ncual es mi error.... <!-- s:oops: --><img src=\"{SMILIES_PATH}/icon_redface.gif\" alt=\":oops:\" title=\"Embarassed\" /><!-- s:oops: --> \n\nmuchas gracias\n\nDavid",
"time": "22:09",
"topic": "Arma MENU desde una Tabla",
"username": "davidObarrio"
}
] |
Arma MENU desde una Tabla
|
[
{
"date": "2014-10-06",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Mira \\samples\\TESTMNU.PRG\n\nSalu2.",
"time": "14:26",
"topic": "Arma MENU desde una Tabla",
"username": "karinha"
}
] |
Arma MENU desde una Tabla
|
[
{
"date": "2008-03-13",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Olá,\nComo desenhar arquivos png ?",
"time": "20:11",
"topic": "Arquivo PNG",
"username": "Vagner"
}
] |
Arquivo PNG
|
[
{
"date": "2008-03-13",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Vagner,\n\nRevisa samples\\TestImg.prg\n\nVerás como puedes visualizar archivos PNG",
"time": "23:22",
"topic": "Arquivo PNG",
"username": "Antonio Linares"
}
] |
Arquivo PNG
|
[
{
"date": "2008-03-14",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias Antonio,\nVou tentar <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->",
"time": "14:58",
"topic": "Arquivo PNG",
"username": "Vagner"
}
] |
Arquivo PNG
|
[
{
"date": "2008-03-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Olá Antonio,\nTestei com o TImage, mas não ficou bom <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: --> \nPrint Screen da tela \n[img:5zjyo1n2]http://www.kssoftware.com.br/vagner/Teste1.jpg[/img:5zjyo1n2]\nArquivo Png Original :\n[img:5zjyo1n2]http://www.kssoftware.com.br/vagner/Teste1.png[/img:5zjyo1n2]\nEle perdeu totalmente a transparência <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: -->",
"time": "20:45",
"topic": "Arquivo PNG",
"username": "Vagner"
}
] |
Arquivo PNG
|
[
{
"date": "2008-03-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Só para Lembrar <!-- s:P --><img src=\"{SMILIES_PATH}/icon_razz.gif\" alt=\":P\" title=\"Razz\" /><!-- s:P -->",
"time": "13:58",
"topic": "Arquivo PNG",
"username": "Vagner"
}
] |
Arquivo PNG
|
[
{
"date": "2010-09-14",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Como faço para usar bitmap no formato PNG ??\n\nAssin não tá funcionando.\n\n[code=fw:3ggr1c4x]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #0000ff;\">Define</span> <span style=\"color: #0000ff;\">Button</span> obtn <span style=\"color: #0000ff;\">Prompt</span> <span style=\"color: #ff0000;\">\"Papel\"</span> ;<br /> File<span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\i</span>magens<span style=\"color: #000000;\">\\i</span>cones<span style=\"color: #000000;\">\\S</span>air.PNG\"</span> ;<br /> <span style=\"color: #0000ff;\">Of</span> oBar <span style=\"color: #0000ff;\">Action</span> oWnd:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span></div>[/code:3ggr1c4x]\n\n\nObrigado.",
"time": "23:34",
"topic": "Arquivo.PNG",
"username": "ICO"
}
] |
Arquivo.PNG
|
[
{
"date": "2010-09-15",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola\n\nRevisa este link\n\n[url:2mpwxdxg]http://forums.fivetechsupport.com/viewtopic.php?f=6&t=18563&start=0&hilit=png[/url:2mpwxdxg]\n\n[url:2mpwxdxg]http://forums.fivetechsupport.com/viewtopic.php?f=3&t=18833[/url:2mpwxdxg]\n\n[url=http://img339.imageshack.us/i/pngy.jpg/:2mpwxdxg][img:2mpwxdxg]http://img339.imageshack.us/img339/2624/pngy.jpg[/img:2mpwxdxg][/url:2mpwxdxg]",
"time": "14:31",
"topic": "Arquivo.PNG",
"username": "Patricio Avalos Aguirre"
}
] |
Arquivo.PNG
|
[
{
"date": "2010-09-15",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Obrigado Patricio.. Vou verificar sua dica..",
"time": "20:23",
"topic": "Arquivo.PNG",
"username": "ICO"
}
] |
Arquivo.PNG
|
[
{
"date": "2011-04-25",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Estimados\n\nCon windows XP funciona muy bien pero con windows 7 profesional 64bit muestra de esta forma los archivos PNG\n\n[url=http://img199.imageshack.us/i/pngconwin7profesional64.png/:hptn5lyn][img:hptn5lyn]http://img199.imageshack.us/img199/5629/pngconwin7profesional64.png[/img:hptn5lyn][/url:hptn5lyn]\n\nUploaded with [url=http://imageshack.us:hptn5lyn]ImageShack.us[/url:hptn5lyn]\n\nhabra alguna actualizacion del la libreria [b:hptn5lyn]fwpngx.lib[/b:hptn5lyn]",
"time": "21:03",
"topic": "Arquivo.PNG",
"username": "Patricio Avalos Aguirre"
}
] |
Arquivo.PNG
|
[
{
"date": "2011-04-25",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Patricio\n\nNo hay ninguna actualizacion, actualmente no tengo como hacer las pruebas en 64bit <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( -->\nvoy a instalar win7 64 virtualizado a ver si puedo contruirte la libreria para 64bit",
"time": "21:10",
"topic": "Arquivo.PNG",
"username": "Daniel Garcia-Gil"
}
] |
Arquivo.PNG
|
[
{
"date": "2011-04-25",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias Daniel\n\nEspero tus comentarios..",
"time": "22:01",
"topic": "Arquivo.PNG",
"username": "Patricio Avalos Aguirre"
}
] |
Arquivo.PNG
|
[
{
"date": "2011-04-26",
"forum": "FiveLinux / FiveDroid (Android)",
"text": "<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=11&t=21405&start=0\">viewtopic.php?f=11&t=21405&start=0</a><!-- l -->",
"time": "07:57",
"topic": "Arrancando la maquina virtual de Harbour desde Android !!!",
"username": "Antonio Linares"
}
] |
Arrancando la maquina virtual de Harbour desde Android !!!
|
[
{
"date": "2008-06-23",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Buen Dia a todos.\r\n\r\nPor que al arrastrar un objeto, btnbmp o SSay y moverlo de abajo hacia arriba de derecha a izquierda deja un rastro gris. Tengo FWH 24 y lo compile tanto con harbour 41.0 como xhabour 0.99.51 \r\n\r\nDe antemano agradezco la ayuda qu eme puedan proporcionar y le mando un afectuoso saludos.\r\n\r\npaco soriano.",
"time": "17:39",
"topic": "Arrastrar Objeto",
"username": "pacosoriano"
}
] |
Arrastrar Objeto
|
[
{
"date": "2008-06-23",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Paco,\r\n\r\nEstás usando la cláusula DESIGN ?\r\n\r\nPuedes poner un pequeño ejemplo de como lo haces ? gracias,",
"time": "18:03",
"topic": "Arrastrar Objeto",
"username": "Antonio Linares"
}
] |
Arrastrar Objeto
|
[
{
"date": "2008-06-23",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias Antonio por responder , este es el codigo\r\n\r\n\r\n#INCLUDE \"FiveWin.ch\"\r\n\r\n#define FW_NORMAL 400\r\n#define D_WIDTH 4\r\n#define D_HEIGHT 13\r\nSTATIC oConfig\r\nSTATIC oWnd\r\nSTATIC cForm\r\n\r\n\r\nFUNCTION MAIN()\r\n LOCAL oBmp, oFont\r\n\r\n\r\n DEFINE FONT oFont NAME \"ARIAL\" SIZE 0, -12\r\n\r\n DEFINE WINDOW oWnd TITLE \"Arrastrar\" COLOR CLR_BLUE,CLR_YELLOW\r\n\r\n @ 15,40 BITMAP oBmp FILE \"BALANCE.BMP\" OF oWnd UPDATE DESIGN \r\n\r\n ACTIVATE WINDOW oWnd\r\nRETURN(.T.)\r\n\r\n--------------------- fin de codigo ---------------------\r\n\r\nse supone que se debe ver como lo hace en el siguiente link.. \r\n\r\n\r\nmuchas gracias.\r\n\r\n\r\n[img:k6zye9g0]http://img45.imageshack.us/my.php?image=rastroqo7.png[/img:k6zye9g0][/code]",
"time": "18:43",
"topic": "Arrastrar Objeto",
"username": "pacosoriano"
}
] |
Arrastrar Objeto
|
[
{
"date": "2008-06-23",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Usas XP ó Vista ? (se me olvidó preguntarte) <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "19:07",
"topic": "Arrastrar Objeto",
"username": "Antonio Linares"
}
] |
Arrastrar Objeto
|
[
{
"date": "2008-06-23",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Antonio.\r\n\r\n\r\nPerdon por no poner el S.O.. pero ahi te va es Windows XP.\r\n\r\nLo extraño es que si lo muevo hacia abajo no deja el trazo. ya le puse un brush NULL y nada sigue igual... si voy a otra ventana y regreso se borra el trazo o las lineas grises.\r\n\r\nmuchas gracias..\r\n\r\nsaludos",
"time": "19:25",
"topic": "Arrastrar Objeto",
"username": "pacosoriano"
}
] |
Arrastrar Objeto
|
[
{
"date": "2008-06-23",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Aqui está funcionando bien con FWH 8.05 y Vista.\r\n\r\nAqui tienes el EXE por si quieres probarlo:\r\n<!-- m --><a class=\"postlink\" href=\"http://rapidshare.com/files/124514139/test.zip.html\">http://rapidshare.com/files/124514139/test.zip.html</a><!-- m -->",
"time": "19:31",
"topic": "Arrastrar Objeto",
"username": "Antonio Linares"
}
] |
Arrastrar Objeto
|
[
{
"date": "2008-06-23",
"forum": "FiveWin para Harbour/xHarbour",
"text": "YA VIII!!!!!\r\n\r\n\r\nY si funciona muy bien, tendre que actualizarme. Solo un detalle se puede que en ves de que salga el cuadro gris que salieran puntitos, o que en ves de gris fuera de otro color al momento qu elo mueves que fuera caulquier otro color , azul, cyan, amarillo... si se puede? cambiar linea por puntos y gris por otro color???\r\n\r\n\r\nBueno muchas gracias, la verdad es que tenia un par de dias probando y no me permitia hacer otras cosas por estar buscandole mofique CONTROL, SSAY, vi setcapture chekdos, showbox y nada. Pero se que es mi version y eso ya es avance. \r\n\r\nMuchas gracias.\r\n\r\nsaludos",
"time": "20:03",
"topic": "Arrastrar Objeto",
"username": "pacosoriano"
}
] |
Arrastrar Objeto
|
[
{
"date": "2013-05-10",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Saludos foristas, \nAlguien ha intentado o sabe como arrastrar un objeto treeview a otro objeto treeview.\nLa idea es poder copiar partes de un arbol e ingresarlos a otro arrastrando y soltando.\n\nAlguna Pista?",
"time": "21:19",
"topic": "Arrastrar y Soltar desde un objeto TREEVIEW",
"username": "hebert_j_vargas"
}
] |
Arrastrar y Soltar desde un objeto TREEVIEW
|
[
{
"date": "2013-05-15",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola, e intentado activar la data del objeto oTree:lDrag := .T., pero al parecer se coloca en modo diseño porque arrastra todo el objeto tree y lo deja en la posicion donde lo suelto.\n\n¿Alguien tiene una pista?",
"time": "13:31",
"topic": "Arrastrar y Soltar desde un objeto TREEVIEW",
"username": "hebert_j_vargas"
}
] |
Arrastrar y Soltar desde un objeto TREEVIEW
|
[
{
"date": "2013-05-16",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Herbert,\n\nRevisa FWH\\samples\\testdrp3.prg que muestra como hacer arrastrar y soltar en FWH.\n\nNo lo he probado con un TreeView pero debería funcionar de forma similar, pruébalo y me comentas, gracias <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "10:29",
"topic": "Arrastrar y Soltar desde un objeto TREEVIEW",
"username": "Antonio Linares"
}
] |
Arrastrar y Soltar desde un objeto TREEVIEW
|
[
{
"date": "2013-05-16",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Excelente Maestro, Ahora si funciona adecuadamente. Muchas gracias, en adelante revisare los samples antes de colocar una pregunta.\n\nSaludos,",
"time": "15:53",
"topic": "Arrastrar y Soltar desde un objeto TREEVIEW",
"username": "hebert_j_vargas"
}
] |
Arrastrar y Soltar desde un objeto TREEVIEW
|
[
{
"date": "2007-01-23",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola de nuevo a todos los del foro!\n\nTengo un cliente de recursos humanos que ha solicitado poder visualizar su información en forma de arbor y al arrastrar, por ejemplo, un departamento a otro lugar del árbol, este se mueva pero con toda la información que va pegada a esa sección... ¿eso lo podemos hacer con FWH ?\n\nSaludos\n\nLaura Edith Hernández H.",
"time": "19:09",
"topic": "Arrastras y actualizar...",
"username": "Laurel"
}
] |
Arrastras y actualizar...
|
[
{
"date": "2007-01-23",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Laura,\n\nNo, de momento el drag & drop en trees no está soportado en FWH",
"time": "22:55",
"topic": "Arrastras y actualizar...",
"username": "Antonio Linares"
}
] |
Arrastras y actualizar...
|
[
{
"date": "2009-07-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "This is an example how to create an array from low level (C code) and assign it to a local variable by reference (PRG code):\n[code=fw:ccriwni4]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><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> a<br /><br /> Test<span style=\"color: #000000;\">(</span> @a <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> ValType<span style=\"color: #000000;\">(</span> a <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> Len<span style=\"color: #000000;\">(</span> a <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00D7D7;\">#pragma</span> BEGINDUMP<br /><br /><span style=\"color: #00D7D7;\">#include</span> <hbapi.h><br /><span style=\"color: #00D7D7;\">#include</span> <hbapiitm.h><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">(</span> TEST <span style=\"color: #000000;\">)</span><br /><span style=\"color: #000000;\">{</span><br /> PHB_ITEM pArray = hb_itemNew<span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">NULL</span> <span style=\"color: #000000;\">)</span>;<br /><br /> hb_arrayNew<span style=\"color: #000000;\">(</span> pArray, <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">)</span>; <span style=\"color: #B900B9;\">// 4 elements</span><br /> <br /> hb_arraySetC<span style=\"color: #000000;\">(</span> pArray, <span style=\"color: #000000;\">1</span>, <span style=\"color: #ff0000;\">\"Hello\"</span> <span style=\"color: #000000;\">)</span>; <span style=\"color: #B900B9;\">// a string</span><br /> hb_arraySetNL<span style=\"color: #000000;\">(</span> pArray, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">123</span> <span style=\"color: #000000;\">)</span>; <span style=\"color: #B900B9;\">// a number</span><br /> hb_arraySetL<span style=\"color: #000000;\">(</span> pArray, <span style=\"color: #000000;\">3</span>, <span style=\"color: #00C800;\">TRUE</span> <span style=\"color: #000000;\">)</span>; <span style=\"color: #B900B9;\">// a logical</span><br /> hb_arraySetDL<span style=\"color: #000000;\">(</span> pArray, <span style=\"color: #000000;\">4</span>, <span style=\"color: #000000;\">11223344</span> <span style=\"color: #000000;\">)</span>; <span style=\"color: #B900B9;\">// a date</span><br /> <br /> hb_itemCopy<span style=\"color: #000000;\">(</span> hb_param<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span>, HB_IT_ANY <span style=\"color: #000000;\">)</span>, pArray <span style=\"color: #000000;\">)</span>;<br /> hb_itemRelease<span style=\"color: #000000;\">(</span> pArray <span style=\"color: #000000;\">)</span>;<br /><span style=\"color: #000000;\">}</span><br /><br /><span style=\"color: #00D7D7;\">#pragma</span> ENDDUMP<br /> </div>[/code:ccriwni4]",
"time": "09:19",
"topic": "Array (C level) to reference variable (PRG level)",
"username": "Antonio Linares"
}
] |
Array (C level) to reference variable (PRG level)
|
[
{
"date": "2009-07-15",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Aqui teneis un ejemplo de como crear un array desde código C y asignarlo a una variable pasada por referencia desde PRG:\n[code=fw:23ctblw1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><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> a<br /><br /> Test<span style=\"color: #000000;\">(</span> @a <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> ValType<span style=\"color: #000000;\">(</span> a <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> Len<span style=\"color: #000000;\">(</span> a <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00D7D7;\">#pragma</span> BEGINDUMP<br /><br /><span style=\"color: #00D7D7;\">#include</span> <hbapi.h><br /><span style=\"color: #00D7D7;\">#include</span> <hbapiitm.h><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">(</span> TEST <span style=\"color: #000000;\">)</span><br /><span style=\"color: #000000;\">{</span><br /> PHB_ITEM pArray = hb_itemNew<span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">NULL</span> <span style=\"color: #000000;\">)</span>;<br /><br /> hb_arrayNew<span style=\"color: #000000;\">(</span> pArray, <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">)</span>; <span style=\"color: #B900B9;\">// 4 elements</span><br /> <br /> hb_arraySetC<span style=\"color: #000000;\">(</span> pArray, <span style=\"color: #000000;\">1</span>, <span style=\"color: #ff0000;\">\"Hello\"</span> <span style=\"color: #000000;\">)</span>; <span style=\"color: #B900B9;\">// a string</span><br /> hb_arraySetNL<span style=\"color: #000000;\">(</span> pArray, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">123</span> <span style=\"color: #000000;\">)</span>; <span style=\"color: #B900B9;\">// a number</span><br /> hb_arraySetL<span style=\"color: #000000;\">(</span> pArray, <span style=\"color: #000000;\">3</span>, <span style=\"color: #00C800;\">TRUE</span> <span style=\"color: #000000;\">)</span>; <span style=\"color: #B900B9;\">// a logical</span><br /> hb_arraySetDL<span style=\"color: #000000;\">(</span> pArray, <span style=\"color: #000000;\">4</span>, <span style=\"color: #000000;\">11223344</span> <span style=\"color: #000000;\">)</span>; <span style=\"color: #B900B9;\">// a date</span><br /> <br /> hb_itemCopy<span style=\"color: #000000;\">(</span> hb_param<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span>, HB_IT_ANY <span style=\"color: #000000;\">)</span>, pArray <span style=\"color: #000000;\">)</span>;<br /> hb_itemRelease<span style=\"color: #000000;\">(</span> pArray <span style=\"color: #000000;\">)</span>;<br /><span style=\"color: #000000;\">}</span><br /><br /><span style=\"color: #00D7D7;\">#pragma</span> ENDDUMP<br /> </div>[/code:23ctblw1]",
"time": "09:21",
"topic": "Array (desde C) a variable por referencia (desde PRG)",
"username": "Antonio Linares"
}
] |
Array (desde C) a variable por referencia (desde PRG)
|
[
{
"date": "2008-01-04",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Sigo con el asunto del array.\n\nLo que necesito hacer es \"cargar\" un array con los datos de dos de los campos de una DBF y luego hacer un browse de dos columnas con ese array para que, al hacer doble click sobre una fila realice una acción.\n\nEstuve viendo el ejemplo testarr5.prg pero no me sirve ya que al array lo carga con la función directory( \"*.prg\" ).\n\nLo que necesito es un ejemplo completo de como cargarlo y como hojearlo.\n\nGracias.\n\nRolando <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "00:31",
"topic": "Array - Ayuda please",
"username": "rolando"
}
] |
Array - Ayuda please
|
[
{
"date": "2008-01-04",
"forum": "FiveWin para Harbour/xHarbour",
"text": "que tal Rolando, espero esto te sirva:\n\n (lalias)->(dbgotop())\n do while (lalias)->(!eof())\n aadd(adatosh,{(lalias)->columna1,(lalias)->columna2})\n (lalias)->(dbskip())\n enddo\n\n TWBrowse():lHScroll:= .f.\n @ 34,02 LISTBOX agets[8] FIELDS \"\";\n HEADERS 'Columna 1','Columna2';\n FIELDSIZES 60,100;\n ON DBLCLICK haceralgo();\n SIZE 228,82 OF ODlg PIXEL\n\n agets[8]:bLine:= {|nAt| nAt:= agets[8]:nAt, If( Len(adatosh) <1 .or. nAt>Len(adatosh),Array(2),;\n {adatosh[nAt,1],;\n transform(adatosh[nAt,2],'999,999,999.99')\n})}\n\n agets[8]:SetArray( adatosh )\n\n\nsaludos.\nAlex.",
"time": "01:01",
"topic": "Array - Ayuda please",
"username": "alex_cyr"
}
] |
Array - Ayuda please
|
[
{
"date": "2008-01-04",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Pan chancay.... (expresion que significa.... fácil.....) \n\n\nlocal aArray:={} \n\nDO WHILE !EOF() \nAADD(aArray , {((cAlias)->MODELO) , ((cAlias)->CHASIS)}) \nDBSKIP() \nENDDO \n\nIF LEN(aArray) = 0 // por si no se lleno el arreglo \nAADD(aArray,{\"\",\"\"}) \nENDIF \n\nDEFINE DIALOG oDlg RESOURCE 1009 OF oWnd \nREDEFINE LISTBOX oLbx ; \nFIELDS aArray[oLbx:nAt, 1], aArray[oLbx:nAt, 2] ; \nHEADERS \"MODELO\", \"CHASSIS\" ; \nON DBLCLICK oDlg:End() ; // aqui le pones alguna funcion\nSIZES 100, 100 ; \nID 102 OF oDlg \n\noLbx:SetArray(aArray)\noLbx:cTooltip:='Doble click para selectar ítem y salir' \n\nACTIVATE DIALOG oDlg CENTER \n....",
"time": "04:55",
"topic": "Array - Ayuda please",
"username": "Willi Quintana"
}
] |
Array - Ayuda please
|
[
{
"date": "2012-01-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\n\n Exist or not functions to convert array to str and str to array ? Can't find at this moment ... If not exist , maybe you can share with working solution ?\n\n Thanks !",
"time": "18:47",
"topic": "Array <> String",
"username": "Rimantas"
}
] |
Array <> String
|
[
{
"date": "2012-01-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Rimantas,\n\nThis may help you:\n\n[code=fw:3ji0trkc]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br />extern HBCharacter<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> c := <span style=\"color: #ff0000;\">\"Hello\"</span><br /><br /> ASSOCIATE <span style=\"color: #00C800;\">CLASS</span> String WITH TYPE Character<br /><br /> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> c<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> c <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00C800;\">CLASS</span> String<br /><br /> <span style=\"color: #00C800;\">METHOD</span> GetChar<span style=\"color: #000000;\">(</span> nIndex <span style=\"color: #000000;\">)</span> OPERATOR <span style=\"color: #ff0000;\">\"[]\"</span><br /><br /> <span style=\"color: #00C800;\">METHOD</span> ClassName<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">INLINE</span> <span style=\"color: #ff0000;\">\"CHARACTER\"</span><br /><br /><span style=\"color: #00C800;\">ENDCLASS</span><br /><br /><span style=\"color: #00C800;\">METHOD</span> GetChar<span style=\"color: #000000;\">(</span> nIndex <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> String<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #0000ff;\">SubStr</span><span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">Self</span>, nIndex, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span></div>[/code:3ji0trkc]",
"time": "01:08",
"topic": "Array <> String",
"username": "Antonio Linares"
}
] |
Array <> String
|
[
{
"date": "2012-01-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Rimantas,\n\nsimple function to save an array into a string, the fields separated with \";\"\n\n[code=fw:k9imdh1m]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">FUNCTION</span> SaveArray2String <span style=\"color: #000000;\">(</span>aArray<span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> i<br /> <span style=\"color: #00C800;\">LOCAL</span> c := <span style=\"color: #ff0000;\">\"\"</span><br /><br /> <span style=\"color: #00C800;\">FOR</span> i := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> Len <span style=\"color: #000000;\">(</span>aArray<span style=\"color: #000000;\">)</span><br /> c += aArray<span style=\"color: #000000;\">[</span>i<span style=\"color: #000000;\">]</span>+<span style=\"color: #ff0000;\">\";\"</span><br /> <span style=\"color: #00C800;\">NEXT</span><br /> c := <span style=\"color: #0000ff;\">Left</span> <span style=\"color: #000000;\">(</span>c, Len<span style=\"color: #000000;\">(</span>c<span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">-1</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// remove the last ;</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #000000;\">(</span>c<span style=\"color: #000000;\">)</span><br /> </div>[/code:k9imdh1m]",
"time": "09:05",
"topic": "Array <> String",
"username": "StefanHaupt"
}
] |
Array <> String
|
[
{
"date": "2012-01-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"StefanHaupt\":2ywlazqk]Rimantas,\nsimple function to save an array into a string, the fields separated with \";\"\n[/quote:2ywlazqk]\n\n Hi Stefan ,\n Thanks , something similar I did at this moment . Simply I was thinking that alreday exist solution .\n\n With best regards !",
"time": "13:36",
"topic": "Array <> String",
"username": "Rimantas"
}
] |
Array <> String
|
[
{
"date": "2012-01-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":z1ri7muv]Rimantas,\n\nThis may help you:\n[code=fw:z1ri7muv]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br />extern HBCharacter<br /> </div>[/code:z1ri7muv][/quote:z1ri7muv]\n\n Interesting ... Thanks Antonio !\n\n With best regards !",
"time": "13:37",
"topic": "Array <> String",
"username": "Rimantas"
}
] |
Array <> String
|
[
{
"date": "2013-02-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I make a array with arr := array(30) and then aFill(arr,{}).\nWhen I now say aadd(arr[1],{1,2,3,4}]) all arrays in arr become this aadd() not only arr[1]!\nWhe i fill the arr with aeval(arr,{|,index|aadd(arr[index],{1,2,3,4}}) then is it ok.\nI use xHarbour.",
"time": "16:25",
"topic": "Array BUG?",
"username": "byte-one"
}
] |
Array BUG?
|
[
{
"date": "2013-02-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "It is not a bug. It is the expected behavior.\n\nAFill( aArray, {} ) results in filling all elements of aArray with reference to the pointer of the same array {}\n\nLet us see this example:\n\nx := y := {} // both x and y contain the pointer to the same array.\nSo whether we use the variable x or y, we are operating on the same array.\n\nAAdd( x, 1 ) // this is same as AAdd( y, 1 ) because x and y hold reference to the same array.\nNow x[ 1 ] contains 1 and y[ 1 ] also contains 1\n\nAFill( aArray, Array(0) ) is the recommended way. Each element is assigned with pointer to a different array.",
"time": "16:45",
"topic": "Array BUG?",
"username": "nageswaragunupudi"
}
] |
Array BUG?
|
[
{
"date": "2013-02-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thanks much! Is now clear.",
"time": "19:09",
"topic": "Array BUG?",
"username": "byte-one"
}
] |
Array BUG?
|
[
{
"date": "2005-11-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello All,\n\nI am developing a multi selection using two TwBrowse list box with add and remove buttons. One listbox working on table and other working on an array (containing selected items). \n\nThe problem is when user presses Remove button, I delete an element from array using ADEL. As a result the last element of array becomes NIL and TwBrowse gives error.\n\nIs there any workaround ?\n\nTIA\nMilan.",
"time": "07:51",
"topic": "Array Browsing using TwBrowse (Standard)",
"username": "Milan Mehta"
}
] |
Array Browsing using TwBrowse (Standard)
|
[
{
"date": "2005-11-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Use ASize() after ADel() to truncate the array.\n\nEMG",
"time": "08:53",
"topic": "Array Browsing using TwBrowse (Standard)",
"username": "Enrico Maria Giordano"
}
] |
Array Browsing using TwBrowse (Standard)
|
[
{
"date": "2005-11-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Enrico,\n\nYes it does solve the problem. Thanks.\n\nMilan.\n\n[quote=\"EnricoMaria\":1btoab9f]Use ASize() after ADel() to truncate the array.\n\nEMG[/quote:1btoab9f]",
"time": "10:27",
"topic": "Array Browsing using TwBrowse (Standard)",
"username": "Milan Mehta"
}
] |
Array Browsing using TwBrowse (Standard)
|
[
{
"date": "2007-12-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Everybody,\n\nI may be overlooking something simple but it has been awhile since I have worked with array's.\n\nI have set up an array using:\n\naIDocList := {}\nDO WHILE ! EOF()\n aAdd( aIDocList, {DropList->Name, DropList->BMPFile} )\n skip\nENDDO\n\nI now need to allow the user to select the first item from a combobox in a dialog, store that value to cItem1 while storing the second value to cItem2.\n\nI am stuck at this point ... any ideas?",
"time": "14:22",
"topic": "Array Question",
"username": "Jeff Barnes"
}
] |
Array Question
|
[
{
"date": "2007-12-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Jeff,\n\nI suggest creating two arrays. Use the one you wish for the combobox, then after the user makes the selection, extract the related one from the second array by the location of the selection in the first array. Was that clear?\n\nJames",
"time": "16:51",
"topic": "Array Question",
"username": "James Bott"
}
] |
Array Question
|
[
{
"date": "2007-12-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi James,\n\nI thought of doing that but I could not figure out how to get the item number from the array when selected from a resource dialog box.\n\nIf you could help with that one, I'll be all set.",
"time": "18:19",
"topic": "Array Question",
"username": "Jeff Barnes"
}
] |
Array Question
|
[
{
"date": "2007-12-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[code:22eu8yef]oLbx:nAt[/code:22eu8yef]\n\nEMG",
"time": "18:25",
"topic": "Array Question",
"username": "Enrico Maria Giordano"
}
] |
Array Question
|
[
{
"date": "2007-12-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Jeff,\n\nJames is right about needing a single dimension array for your combobox because a combobox cannot handle multidimension arrays directly. However, you may have some unstated reason for wanting to create aIDocList as a multidimensional array for use as such somewhere else in your program. If that is the case, then just download the file \"TestComb.zip\" from the link below for a sample of how to do that. The example is in 16 bit FiveWin, but works exactly the same in 32 bits...\n\n<!-- m --><a class=\"postlink\" href=\"http://www.leadersoft.com/software/testcomb.zip\">http://www.leadersoft.com/software/testcomb.zip</a><!-- m -->\n\n- Roger",
"time": "19:13",
"topic": "Array Question",
"username": "Roger Seiler"
}
] |
Array Question
|
[
{
"date": "2007-12-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Jeff, here it is if you just want to see the code without having to download the sample....\n\n*----------------------------\n\n* testcomb.prg\n\n#include \"fivewin.ch\"\n\nPROCEDURE Main()\n\nLOCAL aNames := {},aIDocList := {},cItem := \"\",;\n cItem1 := \"\",cItem2 := \"\",;\n oDlg,oCbx,oBtn\n\nUSE Droplist ALIAS Droplist NEW\n\nDO WHILE !EOF()\n\n aAdd( aNames, DropList->Name )\n aAdd( aIDocList, {DropList->Name, DropList->BMPFile} ) \n\n SKIP\n\nENDDO\n\nDEFINE DIALOG oDlg TITLE \"TestCombo for Jeff Barnes\" ;\n FROM 1,5 TO 10,40\n\n// Here is the important part, using a 1-dimension array for ITEMS, and\n// then using the selection to pull data from a multi-dimension array...\n@ 2,5 COMBOBOX oCbx VAR cItem ITEMS aNames ;\n SIZE 40,40 PIXEL OF oDlg ;\n ON CHANGE (cItem1 := aIDocList[oCbx:nAt,1], ;\n cItem2 := aIDocList[oCbx:nAt,2], ;\n oDlg:Update() )\n\n@ 20, 5 SAY cItem1 SIZE 30,12 PIXEL OF oDlg UPDATE\n@ 20,65 SAY cItem2 SIZE 40,12 PIXEL OF oDlg UPDATE\n\n@ 40,5 BUTTON oBtn PROMPT \"Cancel\" SIZE 25,12 PIXEL OF oDlg ;\n ACTION (oDlg:End() )\n\nACTIVATE DIALOG oDlg\n \n\n\nRETURN \n*-------------",
"time": "19:23",
"topic": "Array Question",
"username": "Roger Seiler"
}
] |
Array Question
|
[
{
"date": "2007-12-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thanks Enrico / James.",
"time": "19:23",
"topic": "Array Question",
"username": "Jeff Barnes"
}
] |
Array Question
|
[
{
"date": "2008-01-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Jeff,\n\n>I thought of doing that but I could not figure out how to get the item number from the array when selected from a resource dialog box. \n\nAs Enrico or Roger showed, or:\n\naArray2[ ascan( aArray1, cItem ) )\n\nJames",
"time": "00:02",
"topic": "Array Question",
"username": "James Bott"
}
] |
Array Question
|
[
{
"date": "2008-01-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thanks Roger.\n\nI ended up using the 2 separate arrays but I like your solution ... I will keep this one for next time <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "17:57",
"topic": "Array Question",
"username": "Jeff Barnes"
}
] |
Array Question
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.