messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2017-01-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr. Rao,\n\nYou posted :\n\n[color=#0000FF:3hq51zr7]Please go to METHOD AdoIncrSeek and locate the following line:\n\n do case\n case cType == 'C' \n \nChange it as \n\n do case\n case cType == 'C' .or. uVal == nil\n [/color:3hq51zr7]\nWell with this modification [color=#FF0000:3hq51zr7]incremental filters on numeric and date columns may fail.[/color:3hq51zr7]\n\nIn my tests, DATE and NUMERIC - seek is not working\nThe first browse uses the new seekbar. the second the old fashion way.\nCHARACTER and LOGICAL is working normal.\nWith NUMERIC and DATE the colums are sorted but the seek doesn't work.\n( I can include this test for DOWNLOAD if needed )\n\nThe tested INDEX-builds :\n\n[color=#008000:3hq51zr7]USE CUSTOMER \nORDCREATE( ,\"CUST1\",\"UPPER(FIRST)\", {|| UPPER(FIRST) } , .F. )\nORDCREATE( ,\"CUST2\",\"UPPER(LAST)\", {|| UPPER(LAST) } , .F. )\nORDCREATE( ,\"CUST3\",\"DTOS(HIREDATE)\", {|| DTOS(HIREDATE) } , .F. )\n//ORDCREATE( ,\"CUST3\",\"DTOC(HIREDATE)\", {|| DTOC(HIREDATE) } , .F. )\n//ORDCREATE( ,\"CUST3\",\"HIREDATE\", {|| HIREDATE } , .F. )\nORDCREATE( ,\"CUST4\",\"MARRIED\", {|| MARRIED } , .F. )\nORDCREATE( ,\"CUST5\",\"STR(SALARY)\", {|| STR(SALARY) } , .F. )\n//ORDCREATE( ,\"CUST5\",\"SALARY\", {|| SALARY } , .F. )[/color:3hq51zr7]\n\n[img:3hq51zr7]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Xbrwseek5&#46;jpg[/img:3hq51zr7]\n\nfailed on DATE and NUMERIC\n\n[img:3hq51zr7]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Xbrwseek6&#46;jpg[/img:3hq51zr7]\n\nAny idea ?\n\nregards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->", "time": "19:39", "topic": "A problem xBrowse seek on DATE and NUMERIC ?", "username": "ukoenig" } ]
A problem xBrowse seek on DATE and NUMERIC ?
[ { "date": "2017-01-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Numerics and dates are sorted in the order of the values, not as character values.\nSo the seeks can not be on the initial characters as they appear in the browse. \n\nNumerics: Seek to the value next higher than the value entered.\nDates: Seeks to the value next higher than the value in YYYYMMDD format", "time": "04:00", "topic": "A problem xBrowse seek on DATE and NUMERIC ?", "username": "nageswaragunupudi" } ]
A problem xBrowse seek on DATE and NUMERIC ?
[ { "date": "2017-01-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr. Rao,\n\nit seems, there is still another problem\n\nboth defined ( edit and seek ) doesn't work and is showing a funny effect.\n\n[code=fw:3kav7kmw]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />WITH OBJECT oBrw1<br />     ....<br />     ....<br />     :<span style=\"color: #000000;\">nEditTypes</span> := EDIT_GET<br />     ....<br />     ....<br />     :<span style=\"color: #000000;\">lSeekBar</span> := .t.<br />     ....<br />END<br /> </div>[/code:3kav7kmw]\n\n[img:3kav7kmw]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/xbrwseekb1&#46;jpg[/img:3kav7kmw]\n\nsomething must be changed ?\n\nregards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->", "time": "16:24", "topic": "A problem xBrowse seek on DATE and NUMERIC ?", "username": "ukoenig" } ]
A problem xBrowse seek on DATE and NUMERIC ?
[ { "date": "2017-01-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr Uwe\n\nYou are right. \n\nPlease make these corrections in the Method Edit( nKey ) of TXBrwColumn:\nReplace Line 13089 of FWH1701 ( line 13007 of FWH1612 )\n[code=fw:1p5fnjxl]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; &nbsp;nRow &nbsp; &nbsp;:= <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oBrw</span>:<span style=\"color: #000000;\">nRowSel</span> - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> * ::<span style=\"color: #000000;\">oBrw</span>:<span style=\"color: #000000;\">nRowHeight</span> <span style=\"color: #000000;\">&#41;</span> + ::<span style=\"color: #000000;\">oBrw</span>:<span style=\"color: #000000;\">HeaderHeight</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:1p5fnjxl]\nwith\n[code=fw:1p5fnjxl]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; &nbsp;nRow &nbsp; &nbsp;:= <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oBrw</span>:<span style=\"color: #000000;\">nRowSel</span> - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> * ::<span style=\"color: #000000;\">oBrw</span>:<span style=\"color: #000000;\">nRowHeight</span> <span style=\"color: #000000;\">&#41;</span> + ::<span style=\"color: #000000;\">oBrw</span>:<span style=\"color: #000000;\">FirstRow</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:1p5fnjxl]\n\nAlso replace line 13135 (FWH1701) / line 13053 (FWH1612)\n[code=fw:1p5fnjxl]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; &nbsp;nRow &nbsp; &nbsp;:= <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oBrw</span>:<span style=\"color: #000000;\">nRowSel</span> - <span style=\"color: #000000;\">1</span> &nbsp;<span style=\"color: #000000;\">&#41;</span> * ::<span style=\"color: #000000;\">oBrw</span>:<span style=\"color: #000000;\">nRowHeight</span> <span style=\"color: #000000;\">&#41;</span> + ::<span style=\"color: #000000;\">oBrw</span>:<span style=\"color: #000000;\">HeaderHeight</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #000000;\">2</span><br />&nbsp;</div>[/code:1p5fnjxl]\nwith\n[code=fw:1p5fnjxl]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; &nbsp;nRow &nbsp; &nbsp;:= <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oBrw</span>:<span style=\"color: #000000;\">nRowSel</span> - <span style=\"color: #000000;\">1</span> &nbsp;<span style=\"color: #000000;\">&#41;</span> * ::<span style=\"color: #000000;\">oBrw</span>:<span style=\"color: #000000;\">nRowHeight</span> <span style=\"color: #000000;\">&#41;</span> + ::<span style=\"color: #000000;\">oBrw</span>:<span style=\"color: #000000;\">FirstRow</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #000000;\">2</span><br />&nbsp;</div>[/code:1p5fnjxl]", "time": "19:18", "topic": "A problem xBrowse seek on DATE and NUMERIC ?", "username": "nageswaragunupudi" } ]
A problem xBrowse seek on DATE and NUMERIC ?
[ { "date": "2017-01-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr. Rao,\n\nthank You very much.\nWith these changes it works fine.\n\n[img:22vlggom]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/xbrwedit3&#46;jpg[/img:22vlggom]\n\nI still noticed another problem\nA defined header-image for logical fields is not shown.\nInstead a checkbox is displayed.\nWith all other fieldtyps it is working.\nIn my sample I'm testing a index on ALL fieldtypes\n\n[img:22vlggom]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/xbrwedit5&#46;jpg[/img:22vlggom]\n\nWITH OBJECT oBrw1:Married\n\t:AddBmpFile( [color=#FF0000:22vlggom][b:22vlggom]\"Sort.bmp\"[/b:22vlggom][/color:22vlggom] ) // Index-image\n\t:nHeadBmpNo := 1\nEND\n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "21:34", "topic": "A problem xBrowse seek on DATE and NUMERIC ?", "username": "ukoenig" } ]
A problem xBrowse seek on DATE and NUMERIC ?
[ { "date": "2017-01-29", "forum": "FiveWin for Harbour/xHarbour", "text": "SetCheck() adds to 2 bitmaps the the column.\nAfter that the bitmap (\"sort.bmp\") you added is the 3rd bitmap.\nSo you should use\n:nHeadBmpNo := 3\n\nMethod AddBitmap( <bmpfile/resource/array> ) superceded obsolete methods AddBmpFile() and AddResource() from FWH 10.01\n\n:nHeadBmpNo := :AddBitmap( \"sort.bmp\" )", "time": "03:32", "topic": "A problem xBrowse seek on DATE and NUMERIC ?", "username": "nageswaragunupudi" } ]
A problem xBrowse seek on DATE and NUMERIC ?
[ { "date": "2017-01-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank You very much.\nNow everything of my test is working\n\n[img:6xq5ef4t]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/xbrwseek8&#46;jpg[/img:6xq5ef4t]\n\nbefore adding a download, I will do some code cleaning ( and maybe adding some useful things )\n\nI added Your expositions to the code like\n\noBrw1:Married:SetCheck() // Default FWH Bitmap is Alpha\n[color=#008040:6xq5ef4t]/*\nSetCheck() adds to 2 bitmaps to the column.\nAfter that the bitmap (\"sort.bmp\") you added is the 3rd bitmap.\nSo you should use\n:nHeadBmpNo := 3\nMethod AddBitmap( <bmpfile/resource/array> ) superceded obsolete methods AddBmpFile() \nand AddResource() from FWH 10.01\n:nHeadBmpNo := :AddBitmap( \"sort.bmp\" )\n*/[/color:6xq5ef4t]\n\nas well a [color=#0000FF:6xq5ef4t]readme.txt [/color:6xq5ef4t] for the xbrowse-changes is included\n\n[color=#0000FF:6xq5ef4t]Please make these corrections in the Method Edit( nKey ) of TXBrwColumn:\nReplace Line 13089 of FWH1701 ( line 13007 of FWH1612 )\n\nnRow := ( ( ::oBrw:nRowSel - 1 ) * ::oBrw:nRowHeight ) + ::oBrw:HeaderHeight()\nwith\nnRow := ( ( ::oBrw:nRowSel - 1 ) * ::oBrw:nRowHeight ) + ::oBrw:FirstRow()\n\nAlso replace line 13135 (FWH1701) / line 13053 (FWH1612)\nnRow := ( ( ::oBrw:nRowSel - 1 ) * ::oBrw:nRowHeight ) + ::oBrw:HeaderHeight() + 2\nwith\nnRow := ( ( ::oBrw:nRowSel - 1 ) * ::oBrw:nRowHeight ) + ::oBrw:FirstRow() + 2[/color:6xq5ef4t] \n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "11:16", "topic": "A problem xBrowse seek on DATE and NUMERIC ?", "username": "ukoenig" } ]
A problem xBrowse seek on DATE and NUMERIC ?
[ { "date": "2015-12-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nwith the new release, transparent images are not shown transparent anymore on focused row or cell\nWith FWH 15.10 it was OK.\n\n[img:mke4aqqb]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/XbrwTransp1&#46;jpg[/img:mke4aqqb]\n\nbest regards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->", "time": "14:58", "topic": "A problem xBrowse transp. images (focus) FWH 15.11", "username": "ukoenig" } ]
A problem xBrowse transp. images (focus) FWH 15.11
[ { "date": "2015-12-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr Uwe\n\nPlease give me a small sample code to test at my end and fix the problem\n\nThanks in advance.", "time": "15:16", "topic": "A problem xBrowse transp. images (focus) FWH 15.11", "username": "nageswaragunupudi" } ]
A problem xBrowse transp. images (focus) FWH 15.11
[ { "date": "2015-12-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr. Rao\n\nA full working sample\nEverything included\n\nDownload\n<!-- m --><a class=\"postlink\" href=\"http://www.pflegeplus.com/DOWNLOADS/Testcell1.zip\">http://www.pflegeplus.com/DOWNLOADS/Testcell1.zip</a><!-- m -->\n\n[img:1gy65kev]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Testcell1&#46;jpg[/img:1gy65kev]\n\nbest regards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "16:34", "topic": "A problem xBrowse transp. images (focus) FWH 15.11", "username": "ukoenig" } ]
A problem xBrowse transp. images (focus) FWH 15.11
[ { "date": "2015-12-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Please see the lines 10606 and 10607:\n[code=fw:1eafm38v]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> &nbsp; lTransparent &nbsp; &nbsp; &nbsp;:= Empty<span style=\"color: #000000;\">&#40;</span> oBrush <span style=\"color: #000000;\">&#41;</span> .and. IfNil<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lColTransparent</span>, ::<span style=\"color: #000000;\">oBrw</span>:<span style=\"color: #000000;\">lTransparent</span> <span style=\"color: #000000;\">&#41;</span> .and. ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ! lHighLite &nbsp;.and. ! lSelected<br />&nbsp;</div>[/code:1eafm38v]\nPlease modify as\n[code=fw:1eafm38v]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> &nbsp; lTransparent &nbsp; &nbsp; &nbsp;:= Empty<span style=\"color: #000000;\">&#40;</span> oBrush <span style=\"color: #000000;\">&#41;</span> .and. IfNil<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lColTransparent</span>, ::<span style=\"color: #000000;\">oBrw</span>:<span style=\"color: #000000;\">lTransparent</span> <span style=\"color: #000000;\">&#41;</span> .and. ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ! lHighLite <br />&nbsp;</div>[/code:1eafm38v]\nCan you please try this change in xbrowse and confirm if the painting is ok?", "time": "22:28", "topic": "A problem xBrowse transp. images (focus) FWH 15.11", "username": "nageswaragunupudi" } ]
A problem xBrowse transp. images (focus) FWH 15.11
[ { "date": "2015-12-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr. Rao,\n\n[b:x84sk4oj]tested and works fine.[/b:x84sk4oj]\n\nThank You very much\n\nbest regards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "11:24", "topic": "A problem xBrowse transp. images (focus) FWH 15.11", "username": "ukoenig" } ]
A problem xBrowse transp. images (focus) FWH 15.11
[ { "date": "2008-10-01", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\r\n\r\nIn a very big application i get a Error on reopen a dialog with Folder.\r\nEverything works fine, but if i close the main-dialog and open it again,\r\ni get a folder error.\r\nTo define extra Functions for each folder, \r\n( to big to keep all pages in the main-dialog )\r\ncannot be the reason, because i tested this in other applications and it works fine there.\r\n\r\n[code:3l87dd1w]\n\nApplication\n===========\nPath and name&#58; D&#58;\\T_XBROW\\brwtools&#46;exe &#40;32 bits&#41;\nSize&#58; 1,958,400 bytes\nTime from start&#58; 0 hours 0 mins 7 secs \nError occurred at&#58; 10/01/08, 13&#58;19&#58;30\nError description&#58; Error BASE/1004 Message not found&#58; TFOLDER&#58;NCOUNT\n\nStack Calls\n===========\nCalled from&#58; source\\rtl\\tobject&#46;prg => TFOLDER&#58;ERROR&#40;172&#41;\nCalled from&#58; source\\rtl\\tobject&#46;prg => TFOLDER&#58;MSGNOTFOUND&#40;205&#41;\nCalled from&#58; source\\rtl\\tobject&#46;prg => TFOLDER&#58;NCOUNT&#40;0&#41;\nCalled from&#58; &#46;\\source\\classes\\WINDOW&#46;PRG => TFOLDER&#58;SETFONT&#40;0&#41;\nCalled from&#58; &#46;\\source\\classes\\folder&#46;PRG => TFOLDER&#58;REDEFINE&#40;0&#41;\nCalled from&#58; &#46;\\Brwtools&#46;PRG => TOOLS&#40;614&#41;\nCalled from&#58; &#46;\\Brwtools&#46;PRG => &#40;b&#41;MAKEBAR1&#40;458&#41;\nCalled from&#58; &#46;\\source\\classes\\BTNBMP&#46;PRG => TBTNBMP&#58;CLICK&#40;0&#41;\nCalled from&#58; &#46;\\source\\classes\\BTNBMP&#46;PRG => TBTNBMP&#58;LBUTTONUP&#40;0&#41;\nCalled from&#58; => TWINDOW&#58;HANDLEEVENT&#40;0&#41;\nCalled from&#58; &#46;\\source\\classes\\CONTROL&#46;PRG => TCONTROL&#58;HANDLEEVENT&#40;0&#41;\nCalled from&#58; &#46;\\source\\classes\\BTNBMP&#46;PRG => TBTNBMP&#58;HANDLEEVENT&#40;0&#41;\nCalled from&#58; &#46;\\source\\classes\\WINDOW&#46;PRG => _FWH&#40;0&#41;\nCalled from&#58; => WINRUN&#40;0&#41;\nCalled from&#58; &#46;\\source\\classes\\WINDOW&#46;PRG => TWINDOW&#58;ACTIVATE&#40;0&#41;\nCalled from&#58; &#46;\\Brwtools&#46;PRG => MAIN&#40;437&#41;\n\n// --------- A sample structure of the source ----------------\n\n#include \"FiveWin&#46;ch\"\n#include \"xBrowse&#46;ch\"\n#include \"Folder&#46;ch\"\n\nFUNCTION Main&#40;&#41;\nLOCAL oWnd &#58;= WndMain&#40;&#41; \n\nDEFINE WINDOW oWnd TITLE \"Test\" \n\nACTIVATE WINDOW oWnd MAXIMIZED ;\nON INIT MAKEBAR1&#40; oWnd &#41; \n\nRETURN NIL\n\n// ---------- Open the Dialog from a Button-Bar ----------------\n\nFUNCTION MAKEBAR1&#40; oWnd &#41;\nLOCAL oBar1, oBtn1\n\nDEFINE BUTTONBAR oBar1 OF oWnd SIZE 70, 80 2007 RIGHT \n\nDEFINE BUTTON oBtn1 OF oBar1 ACTION TestFolder&#40;&#41; ;\nRESOURCE \"gear\" PROMPT \"Template\" TOOLTIP \"Create\" \n\nRETURN&#40; NIL &#41;\n\n//----------------- DIALOG ---------------------------------------\n\nSTATIC FUNCTION TestFolder&#40;&#41;\nLOCAL oDlg, oFld, oBtn1\n\nDEFINE DIALOG oDlg RESOURCE \"MainDlg\" TITLE \"Folder-Test\" \n\nREDEFINE FOLDER oFld ID 110 OF oDlg ; \nPROMPTS \" 1 \", \" 2 \", \" 3 \", \" 4 \", \" 5 \", \" 6 \", \" 7 \" ;\nDIALOGS \"Brw1\",\"Brw2\",\"Brw3\",\"Brw4\",\"Brw5\",\"Brw6\",\"Brw7\" \n\nPAGE_1&#40;oDlg,oFld&#41;\nPAGE_2&#40;oDlg,oFld&#41;\nPAGE_3&#40;oDlg,oFld&#41;\nPAGE_4&#40;oDlg,oFld&#41;\nPAGE_5&#40;oDlg,oFld&#41;\nPAGE_6&#40;oDlg,oFld&#41;\nPAGE_7&#40;oDlg,oFld&#41;\n\nREDEFINE BUTTONBMP oBtn1 ID 30 OF oDlg ;\nACTION &#40; oDlg&#58;End&#40;&#41; &#41; ;\nBITMAP \"quit\" PROMPT SPACE&#40;10&#41; + \"&Exit\" TEXTRIGHT\noBtn3&#58;cToolTip = &#123; \"Close the\" + CRLF + \"Template\" + CRLF + ;\n \"Dialog\",\"Close the Dialog\", 1, CLR_BLACK, 14089979 &#125; \n\nACTIVATE DIALOG oDlg CENTERED \n\nRETURN &#40; NIL &#41;\n\n[/code:3l87dd1w]\r\n\r\nMaybe, i have to use a different structure to solve the problem ?\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "12:30", "topic": "A problem, REOPEN a Dialog with a included Folder-resource.", "username": "ukoenig" } ]
A problem, REOPEN a Dialog with a included Folder-resource.
[ { "date": "2008-10-02", "forum": "FiveWin for Harbour/xHarbour", "text": "It looks like the DATA oFont is already nil.\r\n\r\nTry to assign it a new font.", "time": "11:24", "topic": "A problem, REOPEN a Dialog with a included Folder-resource.", "username": "Antonio Linares" } ]
A problem, REOPEN a Dialog with a included Folder-resource.
[ { "date": "2008-10-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\r\n\r\nThank you very much.\r\nYour solution works.\r\n\r\nThe Font oProgfont ( defined for the dialog ) was the problem.\r\nNot the folder.\r\n\r\nThe Font-define before :\r\n\r\nPRIVATE oProgFont := TFont():New(\"Arial\",,-14,.F.,.F. ,,,,.F. )\r\n\r\nDEFINE WINDOW oWnd TITLE \"Test\" \r\n....\r\n....\r\n\r\nDEFINE DIALOG oDlg RESOURCE \"MainDlg\" TITLE \"Test\" FONT oProgFont\r\n....\r\n....\r\n\r\nThe font was defined before the Windows-define\r\nIt seems, after reopen the dialog oProgFont is NIL.\r\nIf i don't use the font for the dialog, the problem is solved.\r\n\r\nNew :\r\n\r\nSTATIC FUNCTION Tools()\r\nLOCAL oDlg, oFld, oBrush\r\n\r\noProgFont := TFont():New(\"Arial\",,-14,.F.,.F. ,,,,.F. )\r\n\r\nDEFINE DIALOG oDlg RESOURCE \"MainDlg\" TITLE \"xBROWSE-Color-Selection\" FONT oProgFont\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "12:24", "topic": "A problem, REOPEN a Dialog with a included Folder-resource.", "username": "ukoenig" } ]
A problem, REOPEN a Dialog with a included Folder-resource.
[ { "date": "2012-02-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nI noticed a problem with radio-painting.\nFrom selected Radio ( downwards ) the Area is deleted.\nIt happens as well on Lostfocus.\n\n[img:l7nyv271]http&#58;//www&#46;pflegeplus&#46;com/pictures/radtest1&#46;jpg[/img:l7nyv271] \n\nafter selecting a Radio :\n[img:l7nyv271]http&#58;//www&#46;pflegeplus&#46;com/pictures/radtest2&#46;jpg[/img:l7nyv271] \n\nLost Focus :\n\n[img:l7nyv271]http&#58;//www&#46;pflegeplus&#46;com/pictures/radtest3&#46;jpg[/img:l7nyv271] \n\nNothing spezial :\n\n[code=fw:l7nyv271]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">local</span> oDlg, oRadio, nRadio := <span style=\"color: #000000;\">1</span>, oFont, oBtn, oSay<br /><br />c_path := CURDRIVE<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\":<span style=\"color: #000000;\">\\\"</span> + GETCURDIR() <br /><br />oFont  := TFont():New(\"</span>Arial<span style=\"color: #ff0000;\">\",,-16,.F.,.T. ,,,,.F. )<br /><br />DEFINE DIALOG oDlg FROM 30, 30 TO 500, 400  PIXEL ;<br />FONT  oFont TITLE \"</span>Radio-Test<span style=\"color: #ff0000;\">\" COLOR \"</span>N<span style=\"color: #B900B9;\">/*BG\" TRANSPARENT <br /><br />/*<br />#xcommand @ <nRow>, <nCol> RADIO [ <oRadMenu> VAR ] <nVar> ;<br />             [ <prm: PROMPT, ITEMS> <cItems,...> ] ;<br />             [ <of: OF, WINDOW, DIALOG> <oWnd> ] ;<br />             [ <help:HELPID, HELP ID> <nHelpId,...> ] ;<br />             [ <change: ON CLICK, ON CHANGE> <uChange> ] ;<br />             [ COLOR <nClrFore> [,<nClrBack>] ] ;<br />             [ MESSAGE <cMsg> ] ;<br />             [ <update: UPDATE> ] ;<br />             [ WHEN <uWhen> ] ;<br />             [ SIZE <nWidth>, <nHeight> ] ;<br />             [ VALID <uValid> ] ;<br />             [ <lDesign: DESIGN> ] ;<br />             [ <lLook3d: 3D, _3D> ] ;<br />             [ <lPixel: PIXEL> ] ;<br />*/</span><br /><br />@ <span style=\"color: #000000;\">15</span>, <span style=\"color: #000000;\">50</span> <span style=\"color: #0000ff;\">RADIO</span> oRadio <span style=\"color: #0000ff;\">VAR</span> nRadio <span style=\"color: #0000ff;\">OF</span> oDlg ;<br /><span style=\"color: #0000ff;\">ITEMS</span> <span style=\"color: #ff0000;\">\"&0\"</span>, <span style=\"color: #ff0000;\">\"0&1\"</span>, <span style=\"color: #ff0000;\">\"0&2\"</span>, <span style=\"color: #ff0000;\">\"0&3\"</span>, <span style=\"color: #ff0000;\">\"0&4\"</span>, <span style=\"color: #ff0000;\">\"0&5\"</span>, <span style=\"color: #ff0000;\">\"0&6\"</span>, <span style=\"color: #ff0000;\">\"0&7\"</span>, <span style=\"color: #ff0000;\">\"0&8\"</span>, <span style=\"color: #ff0000;\">\"0&9\"</span> ;<br />HELPID <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">101</span>, <span style=\"color: #000000;\">102</span>, <span style=\"color: #000000;\">103</span>, <span style=\"color: #000000;\">104</span>, <span style=\"color: #000000;\">105</span>, <span style=\"color: #000000;\">106</span>, <span style=\"color: #000000;\">107</span>, <span style=\"color: #000000;\">108</span>, <span style=\"color: #000000;\">109</span> ;<br /><span style=\"color: #0000ff;\">SIZE</span>  <span style=\"color: #000000;\">30</span>,<span style=\"color: #000000;\">12</span> 3D <span style=\"color: #0000ff;\">PIXEL</span> ;<br /><span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span>  <span style=\"color: #000000;\">&#40;</span> IIF<span style=\"color: #000000;\">&#40;</span> nRadio = <span style=\"color: #000000;\">1</span>, nDGradPos := <span style=\"color: #000000;\">0</span>, <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />              IIF<span style=\"color: #000000;\">&#40;</span> nRadio = <span style=\"color: #000000;\">2</span>, nDGradPos := <span style=\"color: #000000;\">0.1</span>, <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />              IIF<span style=\"color: #000000;\">&#40;</span> nRadio = <span style=\"color: #000000;\">3</span>, nDGradPos := <span style=\"color: #000000;\">0.2</span>, <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />              IIF<span style=\"color: #000000;\">&#40;</span> nRadio = <span style=\"color: #000000;\">4</span>, nDGradPos := <span style=\"color: #000000;\">0.3</span>, <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />              IIF<span style=\"color: #000000;\">&#40;</span> nRadio = <span style=\"color: #000000;\">5</span>, nDGradPos := <span style=\"color: #000000;\">0.4</span>, <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />              IIF<span style=\"color: #000000;\">&#40;</span> nRadio = <span style=\"color: #000000;\">6</span>, nDGradPos := <span style=\"color: #000000;\">0.5</span>, <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />              IIF<span style=\"color: #000000;\">&#40;</span> nRadio = <span style=\"color: #000000;\">7</span>, nDGradPos := <span style=\"color: #000000;\">0.6</span>, <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />              IIF<span style=\"color: #000000;\">&#40;</span> nRadio = <span style=\"color: #000000;\">8</span>, nDGradPos := <span style=\"color: #000000;\">0.7</span>, <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />              IIF<span style=\"color: #000000;\">&#40;</span> nRadio = <span style=\"color: #000000;\">9</span>, nDGradPos := <span style=\"color: #000000;\">0.8</span>, <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />                  IIF<span style=\"color: #000000;\">&#40;</span> nRadio = <span style=\"color: #000000;\">10</span>, nDGradPos := <span style=\"color: #000000;\">0.9</span>, <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">UPDATE</span> <br /><br />AEval<span style=\"color: #000000;\">&#40;</span> oRadio:<span style=\"color: #000000;\">aItems</span>, <span style=\"color: #000000;\">&#123;</span> | oRad | oRad:<span style=\"color: #000000;\">SetFont</span> <span style=\"color: #000000;\">&#40;</span> oFont <span style=\"color: #000000;\">&#41;</span>, ;<br />                                                     oRad:<span style=\"color: #000000;\">nClrText</span> := <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />@ <span style=\"color: #000000;\">175</span>, <span style=\"color: #000000;\">30</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Transparent Text-test\"</span>  <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">PIXEL</span> ;<br /><span style=\"color: #0000ff;\">FONT</span> oFont ;<br /><span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">12</span> <span style=\"color: #0000ff;\">COLOR</span> <span style=\"color: #000000;\">0</span><br /><br />@ <span style=\"color: #000000;\">200</span>, <span style=\"color: #000000;\">40</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn <span style=\"color: #0000ff;\">OF</span> oDlg ;<br /><span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">45</span>, <span style=\"color: #000000;\">25</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #000000;\">2007</span> ;<br />NOBORDER ;<br /><span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&Exit\"</span> ;<br />FILENAME c_path + <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\I</span>mages<span style=\"color: #000000;\">\\E</span>xit.Bmp\"</span> ;<br /><span style=\"color: #0000ff;\">ACTION</span>  oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> ;<br /><span style=\"color: #0000ff;\">FONT</span> oFont  ;<br /><span style=\"color: #0000ff;\">LEFT</span><br />oBtn:<span style=\"color: #000000;\">lTransparent</span> := .t.   <br />oBtn:<span style=\"color: #000000;\">cToolTip</span> =  <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Exit\"</span> + CRLF + <span style=\"color: #ff0000;\">\"1. Dlg-Color\"</span>,<span style=\"color: #ff0000;\">\"Color-Selection\"</span>, <span style=\"color: #000000;\">1</span>, CLR_BLACK, <span style=\"color: #000000;\">14089979</span> <span style=\"color: #000000;\">&#125;</span><br />oBtn:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /><br />oFont:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /> </div>[/code:l7nyv271]\n\nBest Regards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->", "time": "19:37", "topic": "A problem, painting radios", "username": "ukoenig" } ]
A problem, painting radios
[ { "date": "2012-02-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Uwe,\n\nHere it is working fine with FWH 12.01\n\nAre you using Borland ? I email you the 12.01 libs <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\n[url:14hqg690]http&#58;//imageshack&#46;us/photo/my-images/138/capturevg&#46;png/[/url:14hqg690]\n\nThanks,", "time": "20:24", "topic": "A problem, painting radios", "username": "Antonio Linares" } ]
A problem, painting radios
[ { "date": "2012-02-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nthank You very much.\nI tested with xharbour,\necho $(FWDIR)\\lib\\[color=#FF0040:37hanubc]Fivehx.lib [/color:37hanubc]+ >> b32.bc\necho $(FWDIR)\\lib\\FiveHC.lib + >> b32.bc\n\nBest Regards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "21:46", "topic": "A problem, painting radios", "username": "ukoenig" } ]
A problem, painting radios
[ { "date": "2012-02-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Sent <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "00:24", "topic": "A problem, painting radios", "username": "Antonio Linares" } ]
A problem, painting radios
[ { "date": "2012-02-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nthank You very much.\nI linked Fivehx, but couldn*t test, because of a Errormessage :\nUnresolved eternal [color=#FF0000:3u95iwc8]GetModulFilenameExA[/color:3u95iwc8] from => Gettask Fivehx.\nMaybe there is still something to change ( xHarbour ) ?\n\nBest Regards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->", "time": "12:04", "topic": "A problem, painting radios", "username": "ukoenig" } ]
A problem, painting radios
[ { "date": "2012-02-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello\n\nyou have to link psapi.lib from borland", "time": "12:06", "topic": "A problem, painting radios", "username": "Daniel Garcia-Gil" } ]
A problem, painting radios
[ { "date": "2012-02-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, Daniel\n\n[b:5dnp6luk]Radios are tested and are working fine now.[/b:5dnp6luk]\n\nI still noticed : using BTNBMP centerd [color=#FF0000:5dnp6luk]without [/color:5dnp6luk]BMP,\nthe Text is not centerd vertical.\nI added a Dummy-button to the sample, to test LOSTFOCUS.\n\nI noticed a Function-change\nold :\n[color=#0000FF:5dnp6luk]c_path := CURDRIVE() + \":\\\" + GETCURDIR() [/color:5dnp6luk]\nnew ( Function includes Drive )\n[color=#FF0000:5dnp6luk]c_path := GETCURDIR() [/color:5dnp6luk]\n\n\n[img:5dnp6luk]http&#58;//www&#46;pflegeplus&#46;com/pictures/radtest4&#46;jpg[/img:5dnp6luk]\n\nMy new [color=#FF0000:5dnp6luk][b:5dnp6luk]GROUPTESTER[/b:5dnp6luk][/color:5dnp6luk] - Update\nworks as well now testing transparent Painting \nof Groups and Radios on Dialog and TFolderEx with any Brush-combination :\n\n[img:5dnp6luk]http&#58;//www&#46;pflegeplus&#46;com/pictures/grptest3&#46;jpg[/img:5dnp6luk]\n\n[img:5dnp6luk]http&#58;//www&#46;pflegeplus&#46;com/pictures/grptest5&#46;jpg[/img:5dnp6luk]\n\n[img:5dnp6luk]http&#58;//www&#46;pflegeplus&#46;com/pictures/grptest6&#46;jpg[/img:5dnp6luk]\n\n[img:5dnp6luk]http&#58;//www&#46;pflegeplus&#46;com/pictures/grptest7&#46;jpg[/img:5dnp6luk]\n\nBest Regards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "12:51", "topic": "A problem, painting radios", "username": "ukoenig" } ]
A problem, painting radios
[ { "date": "2019-06-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Don't miss to review this professional web blog developed using mod_harbour:\n\nlive demo:\n[url:3edz0iad]https&#58;//harbour&#46;fourtech&#46;es/modharbour_samples/blog/index&#46;prg[/url:3edz0iad]\n\nFull source code:\n[url:3edz0iad]https&#58;//github&#46;com/FiveTechSoft/mod_harbour/tree/master/samples/blog[/url:3edz0iad]", "time": "10:55", "topic": "A professional web blog built with mod_harbour!!!", "username": "Antonio Linares" } ]
A professional web blog built with mod_harbour!!!
[ { "date": "2019-06-16", "forum": "FiveWin for Harbour/xHarbour", "text": "¡¡¡ EXTRAORDINARIA APARIENCIA !!!.\n\nNo entiendo la sintaxis del siguiente:\n[code=fw:10cg4hgo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #000000;\">&#123;</span>% MemoRead<span style=\"color: #000000;\">&#40;</span> hb_GetEnv<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"PRGPATH\"</span> <span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\"/view.prg\"</span> <span style=\"color: #000000;\">&#41;</span> %<span style=\"color: #000000;\">&#125;</span></div>[/code:10cg4hgo]\n\nFuera de una función: ¿ qué es lo que se encierra entre {% ... %} ?", "time": "12:22", "topic": "A professional web blog built with mod_harbour!!!", "username": "Verhoven" } ]
A professional web blog built with mod_harbour!!!
[ { "date": "2019-06-16", "forum": "FiveWin for Harbour/xHarbour", "text": "[b:3ka9r8zj]Incredibile !!![/b:3ka9r8zj]", "time": "16:26", "topic": "A professional web blog built with mod_harbour!!!", "username": "Massimo Linossi" } ]
A professional web blog built with mod_harbour!!!
[ { "date": "2019-06-16", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Verhoven\":22tltvpo]¡¡¡ EXTRAORDINARIA APARIENCIA !!!.\n\nNo entiendo la sintaxis del siguiente:\n[code=fw:22tltvpo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #000000;\">&#123;</span>% MemoRead<span style=\"color: #000000;\">&#40;</span> hb_GetEnv<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"PRGPATH\"</span> <span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\"/view.prg\"</span> <span style=\"color: #000000;\">&#41;</span> %<span style=\"color: #000000;\">&#125;</span></div>[/code:22tltvpo]\n\nFuera de una función: ¿ qué es lo que se encierra entre {% ... %} ?[/quote:22tltvpo]\n\nEs código que podemos usar [b:22tltvpo]antes[/b:22tltvpo] de que se compile y se ejecute nuestro código\n\nAlgo así como un preprocesado adicional previo. Esto es posible gracias a que la maquina virtual ya está funcionando <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "18:56", "topic": "A professional web blog built with mod_harbour!!!", "username": "Antonio Linares" } ]
A professional web blog built with mod_harbour!!!
[ { "date": "2019-06-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Antônio,\n\nWhat else I must to know beyond FWH to use mod_harbour ? What i need to study ?", "time": "13:58", "topic": "A professional web blog built with mod_harbour!!!", "username": "vilian" } ]
A professional web blog built with mod_harbour!!!
[ { "date": "2007-12-29", "forum": "Utilities / Utilidades", "text": "The tool creates a TXT-file ( ????.str ) with all informations\nof the selected DBF, you need for programming. \nThe file includes : the structure-array, declaration of the different variables and so on...\n\nyou can download the file from the download-section\nof the website <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->\n\nThe program starts with a dialog ( no window )\nIs there anybody who knows, why the dialog dosn't close,\nwhen I use the system-exit button ( the X in the dialog head ) ?\nThe normal created Exit-Button works.", "time": "18:10", "topic": "A programming-tool, to create informations of a DBF-file", "username": "ukoenig" } ]
A programming-tool, to create informations of a DBF-file
[ { "date": "2015-12-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nsince some days I have a problem with the forum\nAt first entry, I see the same screen from some days before. ( NOT updated )\nAfter opening a post, the screen is updated.\n\nThis problem I never noticed before.\n\nThe screens I see at startup and after reading a toppic\nWho is online shows also wrong informations.\n\n[img:10yrvz18]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Forum2&#46;jpg[/img:10yrvz18]\n\nany idea what can be the reason ?\n\nregards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->", "time": "16:41", "topic": "A promlem with the forum screen-display", "username": "ukoenig" } ]
A promlem with the forum screen-display
[ { "date": "2015-12-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Could it be related to the browser cache ?", "time": "20:01", "topic": "A promlem with the forum screen-display", "username": "Antonio Linares" } ]
A promlem with the forum screen-display
[ { "date": "2015-12-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nI tested using a REFRESH-option ( right mouseclick ) from inside my file-manager.\nThe screen refreshed and it seems that it works again.\n\nbest regards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "22:22", "topic": "A promlem with the forum screen-display", "username": "ukoenig" } ]
A promlem with the forum screen-display
[ { "date": "2014-06-10", "forum": "Off Topic / Otros temas", "text": "Uploaded is new QtContribs installer for Windows: \nQtContribs_Mingw-482_Qt-530_r313_Setup.exe\nand is downloadable from : <!-- m --><a class=\"postlink\" href=\"https://sourceforge.net/projects/qtcontribs/files/?source=navbar\">https://sourceforge.net/projects/qtcont ... rce=navbar</a><!-- m -->\n\nI suggest install in new folder?", "time": "08:56", "topic": "A qt contrib version ready for android", "username": "mbelgrano" } ]
A qt contrib version ready for android
[ { "date": "2017-12-22", "forum": "FiveWin para Harbour/xHarbour", "text": "Estoy con tema de empezar a planificar una aplicación... o portar, mas bien dicho.\n\nEl tema está en el comienzo, pues noto una baja rentabilidad en \"recursos\", puede ser???\nMe explico. Tengo una WINDOW, con dos botones y un MENU.\nEl detalle está en redimensionar la ventana, si la estiro/encojo de lo ancho, los botones que estan por la WINDOW \"tiemblan\" al redimensionar la ventana... si el menu tiene imágenes (a partir de 5 o 6). Y cuantas más, mas tembleque. He provado de poner las imágenes con FILENAME o con RESOURCE... el efecto es el mismo.\n\nAdjunto un ejemplo para que se pueda comprobar, y si algo estoy haciendo mal, corregir.\nNo se puede subir un fichero???\n\nPongo código...\n\n[code=fw:1t9c7ajo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00C800;\">Static</span> oWnd<br /><span style=\"color: #00C800;\">Static</span> oFont<br /><span style=\"color: #00C800;\">Static</span> oFont1<br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Calibri\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-16</span> &nbsp;<span style=\"color: #B900B9;\">//Linia opcions MENU</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont1 <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Calibri\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-15</span> BOLD<span style=\"color: #B900B9;\">//Items SubMenus</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">800</span>, <span style=\"color: #000000;\">1450</span> <span style=\"color: #0000ff;\">PIXEL</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Prueba FWH\"</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENU</span> xMenu<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">125</span>,<span style=\"color: #000000;\">645</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Btn&1\"</span> <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">30</span> <span style=\"color: #0000ff;\">PIXEL</span><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">155</span>,<span style=\"color: #000000;\">645</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Btn&2\"</span> <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">30</span> <span style=\"color: #0000ff;\">PIXEL</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">CENTERED</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">FONT</span> oFont<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">FONT</span> oFont1<br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">Nil</span><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">Function</span> xMenu<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oMnu<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">MENU</span> oMnu <span style=\"color: #000000;\">2013</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">ADJUST</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion1\"</span> COLORMENU CLR_BLUE <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"MenuFitxers\"</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENU</span> <span style=\"color: #000000;\">2013</span> NOINHERIT <span style=\"color: #0000ff;\">FONT</span> oFont1 COLORMENU CLR_BLUE<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion 101\"</span> <span style=\"color: #B900B9;\">//RESOURCE \"MenuComptes\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion 102\"</span> <span style=\"color: #B900B9;\">//RESOURCE \"MenuNivells\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion 103\"</span> <span style=\"color: #B900B9;\">//RESOURCE \"MenuSeccions\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion 104\"</span> <span style=\"color: #B900B9;\">//RESOURCE \"MenuConceptes\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion 105\"</span> <span style=\"color: #B900B9;\">//RESOURCE \"MenuBancs\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion 106\"</span> <span style=\"color: #B900B9;\">//RESOURCE \"MenuIVA\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion 107\"</span> <span style=\"color: #B900B9;\">//RESOURCE \"MenuUsuaris\"</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDMENU</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion2\"</span> COLORMENU CLR_BLUE <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"MenuAssentaments\"</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENU</span> <span style=\"color: #000000;\">2013</span> NOINHERIT <span style=\"color: #0000ff;\">FONT</span> oFont1 COLORMENU CLR_BLUE<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion 201\"</span> <span style=\"color: #B900B9;\">//RESOURCE \"MenuAssentamentsEntrada\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion 202\"</span> <span style=\"color: #B900B9;\">//RESOURCE \"MenuAssentamentsVisio\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion 203\"</span> <span style=\"color: #B900B9;\">//RESOURCE \"MenuAssentamentsEliminar\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion 204\"</span> <span style=\"color: #B900B9;\">//RESOURCE \"MenuAssentamentsCopia\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion 205\"</span> <span style=\"color: #B900B9;\">//RESOURCE \"MenuAssentamentsCanviCta\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion 206\"</span> <span style=\"color: #B900B9;\">//RESOURCE \"MenuAssentamentsCanviIVA\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion 207\"</span> <span style=\"color: #B900B9;\">//RESOURCE \"MenuAssentamentsExportar\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">SEPARATOR</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">SEPARATOR</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion 208\"</span> <span style=\"color: #B900B9;\">//RESOURCE \"MenuAssentamentsOrdenar\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion 209\"</span> <span style=\"color: #B900B9;\">//RESOURCE \"MenuAssentamentsQuadre\"</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDMENU</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion3\"</span> COLORMENU CLR_BLUE <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"MenuLlistats\"</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion4\"</span> COLORMENU CLR_BLUE <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"MenuVaris\"</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion5\"</span> COLORMENU CLR_BLUE <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"MenuUtilitats\"</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Salir\"</span> &nbsp; COLORMENU CLR_BLUE <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"MenuExit\"</span> <span style=\"color: #0000ff;\">ACTION</span> oWnd:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ENDMENU</span><br /><br /><span style=\"color: #B900B9;\">/*<br />&nbsp; &nbsp;MENU oMnu 2013 FONT oFont ADJUST<br />&nbsp; &nbsp; &nbsp; MENUITEM \"Opcion1\" COLORMENU CLR_BLUE FILENAME \"MenuFitxers.ico\"<br />&nbsp; &nbsp; &nbsp; MENU 2013 NOINHERIT FONT oFont1 COLORMENU CLR_BLUE<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"Opcion 101\" //RESOURCE \"MenuComptes\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"Opcion 102\" //RESOURCE \"MenuNivells\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"Opcion 103\" //RESOURCE \"MenuSeccions\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"Opcion 104\" //RESOURCE \"MenuConceptes\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"Opcion 105\" //RESOURCE \"MenuBancs\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"Opcion 106\" //RESOURCE \"MenuIVA\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"Opcion 107\" //RESOURCE \"MenuUsuaris\"<br />&nbsp; &nbsp; &nbsp; ENDMENU<br /><br />&nbsp; &nbsp; &nbsp; MENUITEM \"Opcion2\" COLORMENU CLR_BLUE FILENAME \"MenuAssentaments.ico\"<br />&nbsp; &nbsp; &nbsp; MENU 2013 NOINHERIT FONT oFont1 COLORMENU CLR_BLUE<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"Opcion 201\" //RESOURCE \"MenuAssentamentsEntrada\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"Opcion 202\" //RESOURCE \"MenuAssentamentsVisio\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"Opcion 203\" //RESOURCE \"MenuAssentamentsEliminar\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"Opcion 204\" //RESOURCE \"MenuAssentamentsCopia\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"Opcion 205\" //RESOURCE \"MenuAssentamentsCanviCta\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"Opcion 206\" //RESOURCE \"MenuAssentamentsCanviIVA\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"Opcion 207\" //RESOURCE \"MenuAssentamentsExportar\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SEPARATOR<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SEPARATOR<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"Opcion 208\" //RESOURCE \"MenuAssentamentsOrdenar\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"Opcion 209\" //RESOURCE \"MenuAssentamentsQuadre\"<br />&nbsp; &nbsp; &nbsp; ENDMENU<br /><br />&nbsp; &nbsp; &nbsp; MENUITEM \"Opcion3\" COLORMENU CLR_BLUE FILENAME \"MenuLlistats.ico\"<br />&nbsp; &nbsp; &nbsp; MENUITEM \"Opcion4\" COLORMENU CLR_BLUE FILENAME \"MenuVaris.ico\"<br />&nbsp; &nbsp; &nbsp; MENUITEM \"Opcion5\" COLORMENU CLR_BLUE FILENAME \"MenuUtilitats.ico\"<br />&nbsp; &nbsp; &nbsp; MENUITEM \"Salir\" &nbsp; COLORMENU CLR_BLUE FILENAME \"MenuExit.Jpg\" ACTION oWnd:End()<br />&nbsp; &nbsp;ENDMENU<br />*/</span><br /><span style=\"color: #00C800;\">Return</span> oMnu<br />&nbsp;</div>[/code:1t9c7ajo]\n\nGracias.", "time": "12:24", "topic": "A que se debe??? Recursos???", "username": "Xevi" } ]
A que se debe??? Recursos???
[ { "date": "2017-12-22", "forum": "FiveWin para Harbour/xHarbour", "text": "De hecho... probando ejemplos, en Samples explbar3.prg tiene el mismo comportamiento.\n\nDe ahí mi inquietud se refuerza, es problema de gestión de recursos???\nEl \"repintado\" de algun control (en el caso de explbar3.prg) o imagen (si hay muchas en un Form) hace que \"Tiemblen\" los objetos contenidos.", "time": "13:04", "topic": "A que se debe??? Recursos???", "username": "Xevi" } ]
A que se debe??? Recursos???
[ { "date": "2017-12-22", "forum": "FiveWin para Harbour/xHarbour", "text": "Un ejemplo lo mas sencillo para mostrar el \"tembleque\", utilizando una sola imagen BMP incluida en la distribución de FW\n\n\n[code=fw:3stovfo7]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00C800;\">Static</span> oWnd<br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">Local</span> oBrush<br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush FILENAME <span style=\"color: #ff0000;\">\"C:<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\0</span>07.bmp\"</span> STRETCH<br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">600</span>, <span style=\"color: #000000;\">800</span> <span style=\"color: #0000ff;\">PIXEL</span>;<br />          <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Prueba Tembleque Controles en FWH\"</span>;<br />          <span style=\"color: #0000ff;\">BRUSH</span> oBrush<br />          <br />   @ <span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">350</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Btn&1\"</span> <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">30</span> <span style=\"color: #0000ff;\">PIXEL</span><br />   @ <span style=\"color: #000000;\">80</span>,<span style=\"color: #000000;\">350</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Btn&2\"</span> <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">30</span> <span style=\"color: #0000ff;\">PIXEL</span><br /><br />   <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">CENTERED</span><br /><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">Nil</span><br /> </div>[/code:3stovfo7]\n\nEl efecto que tiene de \"tembleque\" es estirando y encogiendo del borde de la ventana iaquierda, o esquina sup.izq.\nPues es cuando \"realoja\"/\"repinta\" los controles contenidos en la ventana.", "time": "15:03", "topic": "A que se debe??? Recursos???", "username": "Xevi" } ]
A que se debe??? Recursos???
[ { "date": "2017-12-22", "forum": "FiveWin para Harbour/xHarbour", "text": "Ahora el mismo ejemplo anterior, utilizando un DIALOG en lugar de un WINDOW\n\n[code=fw:2riu0r0i]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00C800;\">Static</span> oWnd<br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">Local</span> oBrush<br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush FILENAME <span style=\"color: #ff0000;\">\"C:<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\0</span>07.bmp\"</span> STRETCH<br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oWnd <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">600</span>, <span style=\"color: #000000;\">800</span> <span style=\"color: #0000ff;\">PIXEL</span>;<br />          <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Prueba Tembleque Controles en FWH\"</span>;<br />          <span style=\"color: #0000ff;\">BRUSH</span> oBrush <br />          oWnd:<span style=\"color: #000000;\">nStyle</span> := nOr<span style=\"color: #000000;\">&#40;</span> oWnd:<span style=\"color: #000000;\">nStyle</span>, WS_THICKFRAME <span style=\"color: #000000;\">&#41;</span>          <br /><br />   @ <span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">350</span>/<span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Btn&1\"</span> <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>/<span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">30</span>/<span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">PIXEL</span><br />   @ <span style=\"color: #000000;\">80</span>,<span style=\"color: #000000;\">350</span>/<span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Btn&2\"</span> <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>/<span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">30</span>/<span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">PIXEL</span><br /><br />   <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oWnd <span style=\"color: #0000ff;\">CENTER</span><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">Nil</span><br /> </div>[/code:2riu0r0i]\n\nAquí, el tembleque prácticamente ha desaparecido, parpadea un poco la imagen y botones al redimensionar tirando de la esquina sup.izq. pero el efecto visual es muy CORRECTO.\n\nEstoy en un intel i5 8Gb RAM\n\nLa pregu... Otro comportamiento distinto entre WINDOW y DIALOG ???\nSe puede arreglar???\nComo tenga en la ventana principal de una aplicacion en MDI, una foto de fondo, imagenes de opciones de menu, ExplBar... el efecto que hace al redimensionar va a quedar malamente!!!\n\nGracias por vuestro tiempo.", "time": "15:48", "topic": "A que se debe??? Recursos???", "username": "Xevi" } ]
A que se debe??? Recursos???
[ { "date": "2017-12-22", "forum": "FiveWin para Harbour/xHarbour", "text": "Acabo de probar esos dos ejemplos en dos portátiles, y funcionan de maravilla, tanto en WINDOW como en DIALOG.\n\nProblema de mi gráfica???\nProblema de algunas gráficas???\n\nBien, si a nadie más le ha ocurrido, será un problema mínimo.\n\n\nGracias.", "time": "16:38", "topic": "A que se debe??? Recursos???", "username": "Xevi" } ]
A que se debe??? Recursos???
[ { "date": "2008-09-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\r\n\r\nIn FWH 8.08 there is a new command XBROWSER.\r\nBecause of hight screen-resolution, i want to change the font.\r\nI couln't find a sample/option for that ( maybe with SETUP ??? ).\r\nIn the < readme > there was no solution for it.\r\n\r\nSyntax:\r\nXBROWSER [ <cAlias>/<oDbf>/<oRs>/<aArray> ] ; // defaults to active alias\r\n[ TITLE <cTitle> ] ; \r\n[ AUTOSORT ] ; // default false\r\n[ SETUP <fnSetUp(oBrw)> ] ; // optional function for user specified setup\r\n[ COLUMNS <listof columns> ] ; // optionally specify columns to be shown\r\n[ SELECT <fnSelect(oBrw,oCol)> ] // optional function for pick lists\r\n\r\nIs it possible to define a Font ?\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "13:44", "topic": "A question => New command: XBROWSER (FWH 8.08 )", "username": "ukoenig" } ]
A question => New command: XBROWSER (FWH 8.08 )
[ { "date": "2008-09-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Basic purpose of XBROWSER command, which gets translated into XBrowse( ... ) function is to \"very quickly\" show a browse with oneline code. If we want to use all power features of xbrowse, we better go the normal way\r\n\r\nStilll we can set many parameters with the setuo clause.\r\n\r\nExamples:\r\n-----------\r\n1) Use customer\r\nXBROWSER\r\n-----------\r\n2) XBROWSER aArray\r\n-----------\r\n3) XBROWSER oRs\r\n------------\r\nIn all the above examples, we do not need to construct a dialog, define xbrowse and define columns\r\n\r\nWe can also setup some paramters of obrw like this\r\n\r\nXBROWSER 'CUSTOMER' SETUP oBrw:bClrStd := { ..... }\r\n\r\nSETUP CLAUSE can call a functionlike\r\n\r\nSETUP MySetUp( oBrw ) and we can configure anything in this function.\r\n\r\nI use this and this is very powerful and very simple and easy to use.\r\nBut if we want to use all features, better we define our own window/dialog and browse and program the normal way", "time": "11:05", "topic": "A question => New command: XBROWSER (FWH 8.08 )", "username": "nageswaragunupudi" } ]
A question => New command: XBROWSER (FWH 8.08 )
[ { "date": "2008-09-28", "forum": "FiveWin for Harbour/xHarbour", "text": "NageswaraRao, G.\r\n\r\nThank you very much for the informations,\r\n\r\nfor a quick preview, the command saves some time.\r\nI noticed, that automaticly the font is used, defined in the dialog\r\nfrom where the browser is shown.\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "13:11", "topic": "A question => New command: XBROWSER (FWH 8.08 )", "username": "ukoenig" } ]
A question => New command: XBROWSER (FWH 8.08 )
[ { "date": "2008-09-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\r\n\r\nI got a problem, trying to change colors and bitmaps from inside folders :\r\n\r\nI want to define new dialog-colors inside a folder with a bitmap-preview\r\nand than show the result in a extra preview-dialog.\r\nI don't want to change the Main-dialog-background.\r\nThe preview is a extra-dialog and has nothing to do with the folder.\r\n\r\nThe source, to define a color/brush for a bitmap and show the result in a extra dialog-preview :\r\n\r\n[code:3r5eepu9]\nA Preview-Bitmap in folder-page 7\n---------------------------------------\nREDEFINE BITMAP oBmp22 ID 145 ADJUST RESOURCE \"DlgSampl\" OF oFld&#58;aDialogs&#91;7&#93;\noBmp22&#58;bPainted &#58;= &#123; |hDC| OnPaint5&#40; hDC, oBMP22&#41; &#125; \n\n\n// ---------- The Bitmap-Refresh-Function -------------------------------------\n\nFUNCTION ONPAINT5&#40; hDC, oBmp22 &#41;\nLOCAL oBrush1\n\nIF DLG_STYLE1 < 3\n IF nHEADGRAD = 1\n aGrad1 &#58;= &#123; &#123; nMOVE1, BR_COLOR1, BR_COLOR2 &#125;, ;\n &#123; nMOVE1, BR_COLOR2, BR_COLOR1 &#125; &#125;\n ENDIF\n IF nHEADGRAD = 2\n aGrad1 &#58;= &#123; &#123; nMOVE1, BR_COLOR1, BR_COLOR1 &#125;, ;\n &#123; nMOVE1, BR_COLOR1, BR_COLOR1 &#125; &#125;\n ENDIF\nENDIF\nIF DLG_STYLE1 > 2 &#46;and&#46; DLG_STYLE1 < 5\n IF nHEADGRAD = 1\n aGrad1 &#58;= &#123; &#123; nMOVE7, DLG_COLOR1, DLG_COLOR2 &#125;, ;\n &#123; nMOVE7, DLG_COLOR2, DLG_COLOR1 &#125; &#125;\n ENDIF\n IF nHEADGRAD = 2\n aGrad1 &#58;= &#123; &#123; nMOVE7, DLG_COLOR1, DLG_COLOR1 &#125;, ;\n &#123; nMOVE7, DLG_COLOR1, DLG_COLOR1 &#125; &#125;\n ENDIF\nENDIF\n// DLG_STYLE1\n// 1 = Dialog-backgroung from xBrowse-Header Horizontal\n// 2 = Dialog-background from xBrowse-Header Vertical\n// 3 = New Gradient for Dialog-background Horizontal\n// 4 = New Gradient for Dialog-background Vertical\n// 5 = Mono-Color for Dialog-background from 1&#46; xBrowse-header-color\n// 6 = Brush-selection for Dialog-background\nIF DLG_STYLE1 < 5\n IF DLG_STYLE1 = 1 &#46;or&#46; DLG_STYLE1 = 3\n GradientFill&#40; hDC, 0, 0, 193, 255, aGrad1, &#46;T&#46; &#41;\n ENDIF\n IF DLG_STYLE1 = 2 &#46;or&#46; DLG_STYLE1 = 4\n GradientFill&#40; hDC, 0, 0, 193, 255, aGrad1, &#46;F&#46; &#41;\n ENDIF\nENDIF\nIF DLG_STYLE1 = 5\n DEFINE BRUSH oBrush1 COLOR DLG_COLOR1\n FillRect&#40;oBmp22&#58;hDC, GetClientRect&#40; oBmp22&#58;hWnd &#41;, ;\n oBrush1&#58;hBrush &#41;\n oBrush1&#58;End&#40;&#41;\nENDIF\nIF DLG_STYLE1 = 6\n DEFINE BRUSH oBrush1 FILENAME LOGO3\n FillRect&#40;oBmp22&#58;hDC, GetClientRect&#40; oBmp2&#58;hWnd &#41;, oBrush1&#58;hBrush &#41;\n oBrush1&#58;End&#40;&#41;\nENDIF\n\nRETURN NIL\n\n//--------- TEST-DATABASE &#40; The Action from the Preview-Button &#41; -------------//\n\nSTATIC FUNCTION Test_Browse5&#40;&#41;\nLocal oDlg5, oLbx30, oBrush5, oBmp5\nLocal cAlias &#58;= cGetNewAlias&#40; \"CUST\" &#41;\nLOCAL oBmp1, nBMPheight\n\nnFOR &#58;= 1\n\nREQUEST DBFCDX\nUSE CUSTOMER NEW ALIAS &#40;cAlias&#41; SHARED VIA \"DBFCDX\"\nGO TOP\n\nDEFINE DIALOG oDlg5 RESOURCE \"TESTSOURCE\" \n&#46;&#46;&#46;&#46;\n&#46;&#46;&#46;&#46;\n&#46;&#46;&#46;&#46;\n\nACTIVATE DIALOG oDlg5 CENTERED ;\nON PAINT DLG_BACK&#40; oDlg5 &#41; ;\nON INIT &#40; oDlg5&#58;Move&#40; 30, 10, oDlg5&#58;nWidth, oDlg5&#58;nHeight, &#46;f&#46; &#41;, ;\n SHOW_BAR&#40; oDlg5 &#41;, OBRW_PEN&#40; oLbx30&#41; &#41;\n\n&#40;cAlias&#41;->&#40; dbCloseArea&#40;&#41; &#41;\n\nRETURN &#40; NIL &#41; \n\n[/code:3r5eepu9]\r\n\r\nThe color-defines for a new dialog-background :\r\n\r\n[img:3r5eepu9]http&#58;//www&#46;pflegeplus&#46;com/pictures/hdc1&#46;jpg[/img:3r5eepu9] \r\n\r\nIf i change to the main-dialog with the preview-button.\r\nAs soon, the button gets the focus,\r\nthe tooltipp shows the color of the bitmap from the folder-page.\r\n\r\n[img:3r5eepu9]http&#58;//www&#46;pflegeplus&#46;com/pictures/hdc2a&#46;jpg[/img:3r5eepu9] \r\n\r\nI do the preview :\r\n\r\n[img:3r5eepu9]http&#58;//www&#46;pflegeplus&#46;com/pictures/hdc3&#46;jpg[/img:3r5eepu9] \r\n\r\nI close the preview and the main-dialog got the color from \r\nthe preview-dialog.\r\n\r\n[img:3r5eepu9]http&#58;//www&#46;pflegeplus&#46;com/pictures/hdc4&#46;jpg[/img:3r5eepu9] \r\n\r\nI don't know, why the main-dialog uses colors, defined inside a folder-page to show in a extra dialog.\r\nI think, it has to do something with < hDC >.\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "11:46", "topic": "A question about => Folder,hDC and BMP-painting (solved)", "username": "ukoenig" } ]
A question about => Folder,hDC and BMP-painting (solved)
[ { "date": "2008-09-23", "forum": "FiveWin for Harbour/xHarbour", "text": "I solved my painting-problems in folders.\r\nFor the gradient-painting on the Main-dialog, i used the same\r\nfunction like for the Gradient-painting in the Preview-dialog. \r\n( with funny results )\r\nThat didn't work. I had to do a extra Gradpaint. \r\nThe functions inside the folders have been OK.\r\nIt works fine now.\r\n\r\n[code:10a3mtv3]\n\nACTIVATE DIALOG oDlg CENTERED NOWAIT ;\nON PAINT &#40; gradpaint0&#40; hDC, oDlg &#41;, SetDialogsGradient&#40; oFld &#41; &#41; ;\nON INIT &#40; oDlg&#58;Move&#40; 30 , 10, oDlg&#58;nWidth, oDlg&#58;nHeight, &#46;f&#46; &#41;, ;\n\t\tRESULT_1_2&#40;&#41;, oResult12&#58;Refresh&#40;&#41; &#41;\n\nRETURN &#40; NIL &#41;\n\n// --------- Gradient-Painting &#40; Main-Dialog &#41; ------------\n\nstatic func gradpaint0&#40; hDC, oDlg &#41;\nlocal aGrad1, oBrush1\n\naGrad1 &#58;= &#123; &#123; nMOVE1, BR_COLOR1, BR_COLOR2 &#125;,&#123; nMOVE1, BR_COLOR2, BR_COLOR1 &#125; &#125;\nGradientFill&#40; hDC, 0, 0, oDlg&#58;nHeight, oDlg&#58;nWidth, aGrad1, &#46;T&#46; &#41;\n\nRETURN NIL\n\n// --------- Gradient-Painting &#40; Folder &#41; -------------------\n\nFUNCTION SetDialogsGradient&#40; oFld &#41; \nlocal n, oDlg \n \nfor n = 1 to Len&#40; oFld&#58;aDialogs &#41; \n oDlg = oFld&#58;aDialogs&#91; n &#93; \n oDlg&#58;bPainted = &#123; | hDC | GradientFill&#40; hDC, 0, 0, oDlg&#58;nHeight, ;\n oDlg&#58;nWidth, &#123; &#123; 0&#46;50, 12609872, 16045947 &#125; &#125; &#41; &#125; \nnext \n\nRETURN NIL \n\n[/code:10a3mtv3]\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "22:54", "topic": "A question about => Folder,hDC and BMP-painting (solved)", "username": "ukoenig" } ]
A question about => Folder,hDC and BMP-painting (solved)
[ { "date": "2008-09-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\r\n\r\nI finished testing the xBrowse-tools.\r\nI have a question about including PEN-styles inside\r\nthe xBrowse-structure.\r\nPEN-defines, i can get working only with Dialog ON INIT\r\nIs there a reason for it and maybe another way, to include this inside the structure ?\r\n\r\n[img:cu8g2n22]http&#58;//www&#46;pflegeplus&#46;com/pictures/image9&#46;jpg[/img:cu8g2n22]\r\n\r\n[code:cu8g2n22]\n\nFUNCTION Test_Browse5&#40;&#41;\nLocal oDlg5, oLbx30, oBrush5, oBmp5\nLocal cAlias &#58;= cGetNewAlias&#40; \"CUST\" &#41;\nnFOR &#58;= 1\n\nREQUEST DBFCDX\nUSE CUSTOMER NEW ALIAS &#40;cAlias&#41; SHARED VIA \"DBFCDX\"\nGO TOP\n\nDEFINE DIALOG oDlg5 RESOURCE \"TESTSOURCE\" \n\noLbx30 &#58;= TXBrowse&#40;&#41;&#58;New&#40; oDlg5 &#41;\n\n// Here it doesn't work\n//oLbx30&#58;hColPen &#58;= CreatePen&#40; PS_SOLID, BR_PEN, PEN_COLOR &#41;\n//oLbx30&#58;hRowPen &#58;= CreatePen&#40; PS_SOLID, BR_PEN, PEN_COLOR &#41;\n\noCol &#58;= oLbx30&#58;AddCol&#40;&#41;\noCol&#58;bStrData &#58;= &#123; || &#40;cAlias&#41;->First&#125;\noCol&#58;cHeader &#58;= \"First\"\noCol&#58;cFooter &#58;= \"First\"\n&#46;&#46;&#46;&#46;\n&#46;&#46;&#46;&#46;\n&#46;&#46;&#46;&#46;\nLbx30&#58;SetRDD&#40;&#41;\n\n// Here it doesn't work\n//oLbx30&#58;hColPen &#58;= CreatePen&#40; PS_SOLID, BR_PEN, PEN_COLOR &#41;\n//oLbx30&#58;hRowPen &#58;= CreatePen&#40; PS_SOLID, BR_PEN, PEN_COLOR &#41;\n\noLbx30&#58;CreateFromResource&#40; 110 &#41;\n\nACTIVATE DIALOG oDlg5 CENTERED ON INIT OBRW_PEN&#40; oLbx30&#41;\n\n&#40;cAlias&#41;->&#40; dbCloseArea&#40;&#41; &#41;\n\nRETURN &#40; NIL &#41; \n\n// ----------- IT works only ON INIT ----------------------------------\n\nSTATIC FUNCTION OBRW_PEN&#40; oLbx30&#41;\n\noLbx30&#58;hColPen &#58;= CreatePen&#40; PS_SOLID, BR_PEN, PEN_COLOR &#41;\noLbx30&#58;hRowPen &#58;= CreatePen&#40; PS_SOLID, BR_PEN, PEN_COLOR &#41;\n\nRETURN&#40; NIL &#41;\n\n\n\n//-------------- The resource-part of sample TESTXBR3&#46;prg ------------//\n// It seems, it has to be ON INIT it works as well\n\nstatic function RddBrwRes&#40;&#41;\n\nlocal oDlg, oBrw, oCol, cAlias &#58;= cGetNewAlias&#40; \"CUST\" &#41;\n\ncFunc &#58;= ProcName&#40; 0 &#41;\n\nUSE CUSTOMER NEW ALIAS &#40;cAlias&#41; SHARED VIA \"DBFCDX\"\nSET ORDER TO TAG FIRST\nGO TOP\nMakeTotal&#40;&#41;\n\nDEFINE DIALOG oDlg RESOURCE \"TEST\" //FONT WndMain&#40;&#41;&#58;oFont\n\nREDEFINE XBROWSE oBrw ID 101 OF oDlg ;\n COLUMNS \"First\", \"Salary\" ;\n FIELDS &#40;cAlias&#41;->State, &#40;cAlias&#41;->Age ;\n HEADERS nil, nil, \"State\", \"AGE\" ;\n JUSTIFY &#46;F&#46;, nil, &#46;F&#46;, &#46;T&#46; ;\n ALIAS cAlias AUTOSORT LINES CELL\n\nADD TO oBrw DATA &#40;cAlias&#41;->CITY HEADER \"City\" CARGO &#123; 1, 2 &#125;\n\nAEVAL&#40; oBrw&#58;aCols, &#123; |o| o&#58;bPopUp &#58;= &#123; |o| ColMenu&#40; o &#41; &#125; &#125; &#41;\nAEval&#40; oBrw&#58;aCols, &#123; |o| o&#58;cToolTip &#58;= &#123; 'Column &#58;' + CRLF + o&#58;cHeader, 'ToolTip' &#125; &#125; &#41;\n \nACTIVATE DIALOG oDlg CENTERED ON INIT &#40; OBRW_PEN&#40; oBrw &#41;, oBrw&#58;SetFocus&#40;&#41; &#41;\n\n&#40;cAlias&#41;->&#40; dbCloseArea&#40;&#41; &#41;\n\nreturn nil\n\n// ---------------------------------------------\n\nSTATIC FUNCTION OBRW_PEN&#40; oBrw &#41;\n\noBrw&#58;hColPen &#58;= CreatePen&#40; PS_SOLID, 5, 128 &#41;\noBrw&#58;hRowPen &#58;= CreatePen&#40; PS_SOLID, 5, 128 &#41;\n\nRETURN&#40; NIL &#41;\n\n\n\n\n[/code:cu8g2n22]", "time": "12:41", "topic": "A question about Dialog ON INIT and xBrowse", "username": "ukoenig" } ]
A question about Dialog ON INIT and xBrowse
[ { "date": "2008-09-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Uwe,\r\n\r\n>PEN-defines, i can get working only with Dialog ON INIT \r\n>Is there a reason for it and maybe another way, to include this inside the structure ?\r\n\r\nIf you look at the xbrowse source, the pens are defined in the Adjust() method which is called from the Initate() method. So, you can't define them before the browse is intiatated, because they will just get overwritten by the pen definitions in the Adjust() method. Unfortunately, bInit is never eval'd in xBrowse so you can't use that either.\r\n\r\nSo, the solution you found seems to be the only one (short of modifying the xbrowse source).\r\n\r\nRegards,\r\nJames", "time": "14:16", "topic": "A question about Dialog ON INIT and xBrowse", "username": "James Bott" } ]
A question about Dialog ON INIT and xBrowse
[ { "date": "2008-09-16", "forum": "FiveWin for Harbour/xHarbour", "text": "James,\r\nThank you very much for the information.\r\n\r\nThe rest of the job is done.\r\n\r\nNow the user can generate a mini-project of his xbrowse-creations.\r\n\r\nFor users FWH Version >= 8.07\r\n[img:gweqlj4r]http&#58;//www&#46;pflegeplus&#46;com/pictures/project1&#46;jpg[/img:gweqlj4r]\r\n\r\nFor users FWH Version < 8.07\r\n[img:gweqlj4r]http&#58;//www&#46;pflegeplus&#46;com/pictures/project3&#46;jpg[/img:gweqlj4r]\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "16:17", "topic": "A question about Dialog ON INIT and xBrowse", "username": "ukoenig" } ]
A question about Dialog ON INIT and xBrowse
[ { "date": "2008-11-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\r\n\r\nIn all my tool-application, i want to create different sources belongs to \r\nthe FWH-versions.\r\nThe user can add his FWH-version and the source will be written\r\nbelongs to his version.\r\n\r\n[img:op9yrwpu]http&#58;//www&#46;pflegeplus&#46;com/pictures/version&#46;jpg[/img:op9yrwpu]\r\n\r\nThere is a lot of GRADIENT-painting.\r\n\r\nSomebody knows the start-FWH-versions for these 3 functions ?\r\nI had a look at the whatsnew.txt, but i am not really shure.\r\n\r\nI don't know the release-version and if it is possible,\r\nto include the source to use for old FWH-versions\r\n------------------------------------------------------\r\nStretchBlt( hDC, nLeft, nTop, nWidth, nHeight )\r\n\r\nI think, this started with < September 2007 build > ( outlook 2003 )\r\n---------------------------------------------------------------------------\r\naRect := GETCLIENTRECT( oDlg5:hWnd )\r\n\r\nGradient( hDC, { aRect[1], aRect[2], aRect[3], aRect[4] }, ;\r\nCOLOR1, COLOR2, .F. )\r\n\r\nI think, this started with FWH 8.08 ( new Buttonbar 2007 )\r\n------------------------------------------------------------------\r\nGradientFill( hDC, 0, 0, oWnd:nHeight, oWnd:nWidth, aGrad, .T. )\r\n\r\nAre these the correct FWH-versions to use the functions ?\r\n\r\nTo make it possible for FWH-users with older versions,\r\ni would like to include a simple gradient-function to the source :\r\nI save a small dialog as BMP and use => StretchBlt\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "14:01", "topic": "A question about FWH-Release-Versions for function-use", "username": "ukoenig" } ]
A question about FWH-Release-Versions for function-use
[ { "date": "2008-11-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Uwe,\r\n\r\nfor all who don´t have the gradient function in their fwh release, here is a replacement (only vertical gradients)\r\n\r\n[code:lq7vfsx4]//-----------------------------------------------------------------//\nSTATIC FUNCTION Degrade &#40; hDC, aRect, nColor, nColorTo &#41;\n\n LOCAL nStep , nStepY \n LOCAL oBrush\n LOCAL i, r,g,b\n LOCAL r0,g0,b0\n LOCAL r1, g1, b1\n LOCAL rD, gD, bD\n\n DEFAULT nColorTo &#58;= nRGB &#40;250,250,250&#41;\n\n //nColor &#58;= nRGB &#40;255,0,0&#41;\n\n nStep &#58;= &#40; aRect&#91; 3 &#93; - aRect&#91; 1 &#93; &#41;\n nStepY &#58;= &#40; aRect&#91; 3 &#93; - aRect&#91; 1 &#93; &#41; / nStep\n aRect&#91; 3 &#93; = aRect&#91; 1 &#93; + nStepY\n\n r0 &#58;= nRGBRed &#40;nColor&#41;\n g0 &#58;= nRGBGreen &#40;nColor&#41;\n b0 &#58;= nRGBBlue &#40;nColor&#41;\n r1 &#58;= nRGBRed &#40;nColorTo&#41;\n g1 &#58;= nRGBGreen &#40;nColorTo&#41;\n b1 &#58;= nRGBBlue &#40;nColorTo&#41;\n rD &#58;= r1-r0\n gD &#58;= g1-g0\n bD &#58;= b1-b0\n\n r &#58;= 256*rD/Max&#40;nStep,1&#41;\n g &#58;= 256*gD/Max&#40;nStep,1&#41;\n b &#58;= 256*bD/Max&#40;nStep,1&#41;\n\n r0*=256\n g0*=256\n b0*=256\n\n FOR i = 0 TO nStep-1 STEP nStepY\n r0 += r\n g0 += g\n b0 += b\n DEFINE BRUSH oBrush COLOR nRGB&#40; r0/256, g0/256, b0/256 &#41;\n FILLRECT&#40; hDC, aRect, oBrush&#58;hBrush &#41;\n RELEASE BRUSH oBrush\n\n aRect&#91; 1 &#93; += nStepY\n aRect&#91; 3 &#93; += nStepY\n NEXT\n\nRETURN &#40;nil&#41;[/code:lq7vfsx4]", "time": "09:46", "topic": "A question about FWH-Release-Versions for function-use", "username": "StefanHaupt" } ]
A question about FWH-Release-Versions for function-use
[ { "date": "2008-11-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Stefan,\r\n\r\nthank you for the function.\r\nI still need the start-date of the two grad-functions.\r\n( maybe Antonio knows the start, it is possible to use them )\r\n\r\nWhat i want to do is :\r\n\r\nsample : FW-release September / 2007\r\nwould be : \r\n[code:1249kkol]\n\nIF nFWFUNC < 7&#46;9 // year&#46;month \n Degrade &#40; hDC, aRect, nColor, nColorTo &#41;\nELSE\n GRAD_PAINT&#40;&#41; \nENDIF\n\n[/code:1249kkol]\r\n\r\nMaybe another way to do it :\r\nSaving the window- and dialog-background as a small BMP\r\nand using it as a Brush. \r\nFWH-users with older versions, will have the same settings. ? \r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "11:07", "topic": "A question about FWH-Release-Versions for function-use", "username": "ukoenig" } ]
A question about FWH-Release-Versions for function-use
[ { "date": "2008-11-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Uwe \r\n\r\njust a litle contribution....\r\n\r\nGradientfill() was included first time in July 2008 version of fivewin I meen FWH 8.07", "time": "11:28", "topic": "A question about FWH-Release-Versions for function-use", "username": "jose_murugosa" } ]
A question about FWH-Release-Versions for function-use
[ { "date": "2008-11-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Uwe,\r\n\r\nthe gradient function starts with Fwh 7.09", "time": "09:21", "topic": "A question about FWH-Release-Versions for function-use", "username": "StefanHaupt" } ]
A question about FWH-Release-Versions for function-use
[ { "date": "2008-11-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\r\n\r\nThank you very much for the information.\r\n\r\nIt means, I have to create 3 different sources\r\nto compile a running EXE-file :\r\n\r\nVersion < 7.09\r\nNo office-bar and extra Gradient-function\r\n-----------------------------------------------\r\nVersion >= 7.09 and < 8.07\r\nOffice-bar with GRADIENT - function\r\n-----------------------------------------------\r\nVersion >= 8.07 \r\nOffice-bar with GRADIENTFILL - function\r\n-----------------------------------------------\r\nThat will make it possible, that the user can compile\r\na running EXE-file for any FWH-versions without \r\nerror-message, because of missing functions.\r\n\r\nI will add these extra functions this weekend.\r\nAlso there will be a new IMAGE-Viewer for fivewin i'm working on.\r\nAs a Graphic-editor, I do a connection to GIMP2 ( freeware )\r\nThere will be still a Image-resize and more.\r\n\r\nA screenshot of the first result :\r\n\r\n[img:3o4ovixg]http&#58;//www&#46;pflegeplus&#46;com/pictures/imageview&#46;jpg[/img:3o4ovixg]\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "11:18", "topic": "A question about FWH-Release-Versions for function-use", "username": "ukoenig" } ]
A question about FWH-Release-Versions for function-use
[ { "date": "2020-02-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi guys,\nI have this Hash:\n[code=fw:28y4aa8t]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"Numero\"</span>:<span style=\"color: #000000;\">68825</span>,<span style=\"color: #ff0000;\">\"Serie\"</span>:<span style=\"color: #ff0000;\">\"1\"</span>,<span style=\"color: #ff0000;\">\"Filial\"</span>:<span style=\"color: #ff0000;\">\"\"</span>,<span style=\"color: #ff0000;\">\"CNPJCli\"</span>:<span style=\"color: #ff0000;\">\"01716341000120\"</span>,<span style=\"color: #ff0000;\">\"TpDoc\"</span>:<span style=\"color: #ff0000;\">\"6\"</span>,<span style=\"color: #ff0000;\">\"InfAdic\"</span>:<span style=\"color: #00C800;\">null</span>,<span style=\"color: #ff0000;\">\"Erros\"</span>:<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"Erro\"</span>:<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"Codigo\"</span>:<span style=\"color: #ff0000;\">\"033\"</span>,<span style=\"color: #ff0000;\">\"Descricao\"</span>:<span style=\"color: #ff0000;\">\"CNPJ emissor nao autorizado para averbar...\"</span>,<span style=\"color: #ff0000;\">\"ValorInformado\"</span>:<span style=\"color: #ff0000;\">\"009256139000175\"</span><span style=\"color: #000000;\">&#125;</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#125;</span><span style=\"color: #000000;\">&#125;</span></div>[/code:28y4aa8t]\n\nHow could I get the content of \"Descricao\" ?", "time": "14:14", "topic": "A question about Hash", "username": "vilian" } ]
A question about Hash
[ { "date": "2020-02-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Así debería funcionar\n\n[code=fw:3h0enliv]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br />cDes := hElhash <span style=\"color: #000000;\">&#91;</span><span style=\"color: #ff0000;\">\"Erros\"</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #ff0000;\">\"Erro\"</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #ff0000;\">\"Descricao\"</span><span style=\"color: #000000;\">&#93;</span><br /><br />&nbsp;</div>[/code:3h0enliv]", "time": "14:46", "topic": "A question about Hash", "username": "leandro" } ]
A question about Hash
[ { "date": "2020-02-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks <!-- s;) --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\";)\" title=\"Wink\" /><!-- s;) -->", "time": "15:00", "topic": "A question about Hash", "username": "vilian" } ]
A question about Hash
[ { "date": "2010-12-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nworking on my new MDI-tools, I noticed a difference between MDI-child and Dialog-borders.\nUpdate-info :\nI added a missing Brush-selection for the MDI-frame. \nIf it is missing in Your download ( Upd. Vers. 1.2 ), it is fixed now.\n\nMDI-child :\n1. the upper corners ( round ) are not transparent.\n2. the lower corners of MDI-child are square.\n\nThe Dialog shows a Shadow, possible for MDI-child as well ?\n\nfrom Tools :\n\n[img:28e47fiq]http&#58;//www&#46;pflegeplus&#46;com/pictures/border&#46;jpg[/img:28e47fiq]\n\nfrom FWH-sample :\n\n[img:28e47fiq]http&#58;//www&#46;pflegeplus&#46;com/pictures/border7&#46;jpg[/img:28e47fiq]\n\nBest regards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->", "time": "22:30", "topic": "A question about MDI-child and Dialog-borders", "username": "ukoenig" } ]
A question about MDI-child and Dialog-borders
[ { "date": "2020-11-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Uwe,\n\nYes, we can do it.\n\nSimply provide us the new name to use", "time": "11:04", "topic": "A question about download- and image - links", "username": "Antonio Linares" } ]
A question about download- and image - links
[ { "date": "2020-11-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Antonio,\n\nI am glad to hear that it is possible for You to change the domain-name\nAs soon the change is done I will tell You the new name <!-- s:!: --><img src=\"{SMILIES_PATH}/icon_exclaim.gif\" alt=\":!:\" title=\"Exclamation\" /><!-- s:!: --> \n\nsamples for :\nDownload file from my website\nhttp://[color=#FF0040:1mk4vbu9]www.pflegeplus.com[/color:1mk4vbu9]/fw_downloads/DbfCsv3.zip\nShow Image from my website\n[img]http://[color=#FF0000:1mk4vbu9]www.pflegeplus.com[/color:1mk4vbu9]/IMAGES/Move1.jpg[/img]\n\nShow Image from my website\n[img]http://[color=#FF0000:1mk4vbu9]www.service-fivewin.de[/color:1mk4vbu9]/IMAGES/Move1.jpg[/img]\n\n[img:1mk4vbu9]http&#58;//www&#46;service-fivewin&#46;de/IMAGES/Move1&#46;jpg[/img:1mk4vbu9]\n\nthank You very much\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "13:46", "topic": "A question about download- and image - links", "username": "ukoenig" } ]
A question about download- and image - links
[ { "date": "2020-11-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nI have a question about the download-links of my website.\nA company asked me, if I would like to sell the domain < PFLEGEPLUS.COM >\n< PFLEGE > is a area of business and < PLUS > means < + > ( it is a desired name )\nThe problem : all samples and images I published inside the forum are\nstored in this website.\nIs it possible to keep everything activated after changing to a new name ?\n( a global link replace)\n\nbest regards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->", "time": "19:53", "topic": "A question about download- and image - links", "username": "ukoenig" } ]
A question about download- and image - links
[ { "date": "2020-11-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Uwe,\n\nHave you thought about a central place to store all you samples/code ?\n\nI've seen interesting software, but sometimes from maybe years ago, but still usefull.", "time": "21:21", "topic": "A question about download- and image - links", "username": "Marc Venken" } ]
A question about download- and image - links
[ { "date": "2020-11-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Uwe,\n\nI keep all forums images (that I post) at github", "time": "08:36", "topic": "A question about download- and image - links", "username": "Antonio Linares" } ]
A question about download- and image - links
[ { "date": "2020-11-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Antonio,\n\nthe new domain-name seems to work\n\n[size=150:3pyhtd2n][b:3pyhtd2n]OLD[/b:3pyhtd2n][/size:3pyhtd2n] <!-- s:!: --><img src=\"{SMILIES_PATH}/icon_exclaim.gif\" alt=\":!:\" title=\"Exclamation\" /><!-- s:!: --> \nsamples for :\nDownload file from my website ( old domain )\n<!-- m --><a class=\"postlink\" href=\"http://www.pflegeplus.com/fw_downloads/DbfCsv3.zip\">http://www.pflegeplus.com/fw_downloads/DbfCsv3.zip</a><!-- m -->\nShow Image from my website\n\n[img]http://[color=#FF0000:3pyhtd2n]www.pflegeplus.com[/color:3pyhtd2n]/IMAGES/Move1.jpg[/img]\n[img:3pyhtd2n]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Move1&#46;jpg[/img:3pyhtd2n]\n\n[size=150:3pyhtd2n][b:3pyhtd2n]NEW[/b:3pyhtd2n][/size:3pyhtd2n] <!-- s:!: --><img src=\"{SMILIES_PATH}/icon_exclaim.gif\" alt=\":!:\" title=\"Exclamation\" /><!-- s:!: --> \ntesting the new domain-name\n<!-- m --><a class=\"postlink\" href=\"http://www.service-fivewin.de\">http://www.service-fivewin.de</a><!-- m -->\nIt is a copy of pflegeplus.com and will be redesigned\n\nShow Image from the new domain\n[color=#FF0000:3pyhtd2n]http://www.service-fivewin.de/IMAGES/Move1.jpg[/color:3pyhtd2n]\n\n[img:3pyhtd2n]http&#58;//www&#46;service-fivewin&#46;de/IMAGES/Move1&#46;jpg[/img:3pyhtd2n]\n\ntesting a download from the new domain\n\n<!-- m --><a class=\"postlink\" href=\"http://www.service-fivewin.de/fw_downloads/DbfCsv3.zip\">http://www.service-fivewin.de/fw_downloads/DbfCsv3.zip</a><!-- m -->\n\nThe new domain / website ( english and german language ) will be redesigned and\nwill include all my images, downloads and useful infos and links \n\nworking on the safe-status still -> http must be https\ntesting save-status\n\n<!-- m --><a class=\"postlink\" href=\"https://www.service-fivewin.de/fw_downloads/DbfCsv3.zip\">https://www.service-fivewin.de/fw_downloads/DbfCsv3.zip</a><!-- m -->\n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "09:01", "topic": "A question about download- and image - links", "username": "ukoenig" } ]
A question about download- and image - links
[ { "date": "2020-11-20", "forum": "FiveWin for Harbour/xHarbour", "text": "I changed the domain-name of the images ln topic :\n\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=3&t=28578&p=160062#p160062\">viewtopic.php?f=3&t=28578&p=160062#p160062</a><!-- l -->\n\nit works perfect without problem <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nregards\nUwe", "time": "15:03", "topic": "A question about download- and image - links", "username": "ukoenig" } ]
A question about download- and image - links
[ { "date": "2020-12-01", "forum": "FiveWin for Harbour/xHarbour", "text": "Now the domain-change is complete\n\nfrom\n\n[b:180f6nnq]Pflegeplus.de[/b:180f6nnq]\nto\n[b:180f6nnq][size=150:180f6nnq]www.service-fivewin.de[/size:180f6nnq][/b:180f6nnq]\n\n[img:180f6nnq]http&#58;//www&#46;service-fivewin&#46;de/IMAGES/Background2&#46;jpg[/img:180f6nnq]\n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "09:51", "topic": "A question about download- and image - links", "username": "ukoenig" } ]
A question about download- and image - links
[ { "date": "2020-12-01", "forum": "FiveWin for Harbour/xHarbour", "text": "Not all images are ok yet.\n\n[img:3vipaar1]http&#58;//www&#46;maveco&#46;be/fivewin/five0112&#46;jpg[/img:3vipaar1]", "time": "10:34", "topic": "A question about download- and image - links", "username": "Marc Venken" } ]
A question about download- and image - links
[ { "date": "2020-12-01", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Marc,\n\nYes I still have to create a new Website only for Fivewin \nincluding the downloads, images and Infos.\n\nNow I have 3 existing Domains\n\n1.) Esc-engineering.de ( main )\n2.) [color=#008040:5yy25xwy][b:5yy25xwy]service-fivewin.de [/b:5yy25xwy][/color:5yy25xwy] ( new subdomain and replacement of 4. )\n3.) pflege-tools.de ( new subdomain of internal software )\n--- Your screenshot from above. This website has to be redesigned as well.\n\n4.) pflegeplus.com ( [color=#FF0000:5yy25xwy]sold[/color:5yy25xwy] )\n\nbest regards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "10:54", "topic": "A question about download- and image - links", "username": "ukoenig" } ]
A question about download- and image - links
[ { "date": "2018-02-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nI wanted to create individual indexes for 7 files\nbefore I used < [color=#0000FF:2a4bc5x8]FW_Cdxcreate() [/color:2a4bc5x8]> <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \neverything works fine without problems\nnext I started to define extra indexes <!-- s:roll: --><img src=\"{SMILIES_PATH}/icon_rolleyes.gif\" alt=\":roll:\" title=\"Rolling Eyes\" /><!-- s:roll: --> \nThe solution returns < [color=#FF0000:2a4bc5x8]corrupt index [/color:2a4bc5x8]>after restart\nI saw that it is possible to define parameter in [color=#0000FF:2a4bc5x8]FW_Cdxcreate()[/color:2a4bc5x8] <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \nNever before I had any problems creating indexfiles.\n\nstrange <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> \n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=3&t=9931&p=48111&hilit=cdx+error+1012#p48111\">viewtopic.php?f=3&t=9931&p=48111&hilit=cdx+error+1012#p48111</a><!-- l -->\n\n[img:2a4bc5x8]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Forum59&#46;jpg[/img:2a4bc5x8]\n\nWith my external DBF-viewer I can open the file without problems\nand the indexfiles are created.\nNO problems using FW_Cdxcreate() <!-- s:roll: --><img src=\"{SMILIES_PATH}/icon_rolleyes.gif\" alt=\":roll:\" title=\"Rolling Eyes\" /><!-- s:roll: --> \n\n[img:2a4bc5x8]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Forum60&#46;jpg[/img:2a4bc5x8]\n\n[code=fw:2a4bc5x8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />        DBSELECTAREA<span style=\"color: #000000;\">&#40;</span>cFileName<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// filenames from sample1 to 7</span><br />        FW_CdxCreate<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />        ORDCREATE<span style=\"color: #000000;\">&#40;</span> ,<span style=\"color: #ff0000;\">\"TOPICNO\"</span>, <span style=\"color: #ff0000;\">\"DESCEND( STR( TOPICNO ) )\"</span>, ;<br />                <span style=\"color: #000000;\">&#123;</span>|| DESCEND<span style=\"color: #000000;\">&#40;</span>STR<span style=\"color: #000000;\">&#40;</span> TOPICNO <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> , .F. <span style=\"color: #000000;\">&#41;</span>  <br />        ORDCREATE<span style=\"color: #000000;\">&#40;</span> ,<span style=\"color: #ff0000;\">\"FORUM\"</span>,<span style=\"color: #ff0000;\">\"STR( FORUM )\"</span>, ;<br />                <span style=\"color: #000000;\">&#123;</span>|| STR<span style=\"color: #000000;\">&#40;</span> FORUM <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> , .F. <span style=\"color: #000000;\">&#41;</span>  <br />        ORDCREATE<span style=\"color: #000000;\">&#40;</span> ,<span style=\"color: #ff0000;\">\"DELETE\"</span>,<span style=\"color: #ff0000;\">\"STR( T_DELETE )\"</span>, ;<br />                <span style=\"color: #000000;\">&#123;</span>|| STR<span style=\"color: #000000;\">&#40;</span> T_DELETE <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> , .F. <span style=\"color: #000000;\">&#41;</span>  <br />        ORDCREATE<span style=\"color: #000000;\">&#40;</span> ,<span style=\"color: #ff0000;\">\"DATE\"</span>,<span style=\"color: #ff0000;\">\"DTOS( DATE )\"</span>, ;<br />                <span style=\"color: #000000;\">&#123;</span>|| DTOS<span style=\"color: #000000;\">&#40;</span> DATE <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> , .F. <span style=\"color: #000000;\">&#41;</span>  <br />        ORDCREATE<span style=\"color: #000000;\">&#40;</span> ,<span style=\"color: #ff0000;\">\"AUTHOR\"</span>,<span style=\"color: #ff0000;\">\"AUTHOR + INFO1 + INFO2\"</span>, ;<br />                <span style=\"color: #000000;\">&#123;</span>|| AUTHOR  + INFO1 + INFO2 <span style=\"color: #000000;\">&#125;</span> , .F. <span style=\"color: #000000;\">&#41;</span><br />        ORDCREATE<span style=\"color: #000000;\">&#40;</span> ,<span style=\"color: #ff0000;\">\"LIKE\"</span>, <span style=\"color: #ff0000;\">\"STR( LIKE ) + AUTHOR + INFO1 + INFO2 ) \"</span>, ;<br />                <span style=\"color: #000000;\">&#123;</span>|| STR<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">LIKE</span> <span style=\"color: #000000;\">&#41;</span> + AUTHOR + INFO1 + INFO2 <span style=\"color: #000000;\">&#125;</span> , .F. <span style=\"color: #000000;\">&#41;</span>      <br />        ORDCREATE<span style=\"color: #000000;\">&#40;</span> ,<span style=\"color: #ff0000;\">\"INFO1\"</span>,<span style=\"color: #ff0000;\">\"INFO1\"</span>, ;<br />                <span style=\"color: #000000;\">&#123;</span>|| INFO1 <span style=\"color: #000000;\">&#125;</span> , .F. <span style=\"color: #000000;\">&#41;</span>         <br />        ORDCREATE<span style=\"color: #000000;\">&#40;</span> ,<span style=\"color: #ff0000;\">\"INFO2\"</span>,<span style=\"color: #ff0000;\">\"INFO2\"</span>, ;<br />                <span style=\"color: #000000;\">&#123;</span>|| INFO2 <span style=\"color: #000000;\">&#125;</span> , .F. <span style=\"color: #000000;\">&#41;</span>         <br /><br /> </div>[/code:2a4bc5x8]\n\nThere is nothing special opening a dbf with my NETTOOLS\n\nThe errorline\n[color=#0000FF:2a4bc5x8]-> 37 USE &cFileName ALIAS &cAlias NEW SHARED[/color:2a4bc5x8]\n\n[code=fw:2a4bc5x8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">FUNCTION</span> NET_USE <span style=\"color: #000000;\">&#40;</span> cFileName, cAlias, nTrials, nTime, lNet <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">LOCAL</span> lReturn  := .T.<br /><span style=\"color: #00C800;\">LOCAL</span> lOpen    := .F.<br /><br />nTrcount   := nTrials<br />YesNo := .F.<br /><br /><span style=\"color: #B900B9;\">// SHARED   all Users</span><br /><span style=\"color: #B900B9;\">// EXCLUSIVE  1 User</span><br /><br /><span style=\"color: #00C800;\">IF</span> FILE<span style=\"color: #000000;\">&#40;</span> cFileName <span style=\"color: #000000;\">&#41;</span><br />    nTrials := nTrcount<br />    <span style=\"color: #00C800;\">DO</span> <span style=\"color: #00C800;\">WHILE</span> !lOpen<br />        <span style=\"color: #00C800;\">DO</span> <span style=\"color: #00C800;\">WHILE</span> .T.<br />            <span style=\"color: #00C800;\">IF</span> !lNet<br />                USE &cFileName <span style=\"color: #0000ff;\">ALIAS</span> &cAlias <span style=\"color: #00C800;\">NEW</span> EXCLUSIVE<br />            <span style=\"color: #00C800;\">ELSE</span><br />                USE &cFileName <span style=\"color: #0000ff;\">ALIAS</span> &cAlias <span style=\"color: #00C800;\">NEW</span> SHARED<br />            <span style=\"color: #00C800;\">ENDIF</span><br />,,,<br />,,,<br /> </div>[/code:2a4bc5x8]\n\nAny idea <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->", "time": "20:16", "topic": "A question about function FW_Cdxcreate()", "username": "ukoenig" } ]
A question about function FW_Cdxcreate()
[ { "date": "2018-02-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Maybe:\n\n[code=fw:1anj5ax9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; &nbsp;FW_CdxCreate<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;CLOSE DATABASE<br /><br />&nbsp; &nbsp;USE SAMPLES EXCLUSIVE VIA <span style=\"color: #ff0000;\">\"DBFCDX\"</span> &nbsp;<span style=\"color: #B900B9;\">// or SHARED</span><br /><br />&nbsp;</div>[/code:1anj5ax9]\n\nRegards", "time": "21:00", "topic": "A question about function FW_Cdxcreate()", "username": "karinha" } ]
A question about function FW_Cdxcreate()
[ { "date": "2018-02-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Indexing 7 DBF's\n\n[color=#0000FF:2s20tsnd]FW_CdxCreate()[/color:2s20tsnd] // WORKS !!!\n\nI tested index by index ALL numerics ( red ) don*t work !\n\n[color=#FF0000:2s20tsnd]//ORDCREATE( ,\"TOPICNO\", \"DESCEND( STR( TOPICNO ) )\", ;\n// {|| DESCEND(STR( TOPICNO ) ) } , .F. ) \n//ORDCREATE( ,\"FORUM\",\"STR( FORUM )\", ;\n// {|| STR( FORUM ) } , .F. ) \n//ORDCREATE( ,\"DELETE\",\"STR( T_DELETE )\", ;\n// {|| STR( T_DELETE ) } , .F. ) [/color:2s20tsnd]\n[color=#0000FF:2s20tsnd]ORDCREATE( ,\"DATE\",\"DTOS( DATE )\", ;\n {|| DTOS( DATE ) } , .F. ) \nORDCREATE( ,\"AUTHOR\",\"AUTHOR + INFO1 + INFO2\", ;\n{|| AUTHOR + INFO1 + INFO2 } , .F. )[/color:2s20tsnd]\n[color=#FF0000:2s20tsnd]//ORDCREATE( ,\"LIKE\", \"STR( LIKE ) + AUTHOR + INFO1 + INFO2 ) \", ;\n// {|| STR( LIKE ) + AUTHOR + INFO1 + INFO2 } , .F. ) [/color:2s20tsnd]\t\n[color=#0000FF:2s20tsnd]ORDCREATE( ,\"INFO1\",\"INFO1\", ;\n{|| INFO1 } , .F. ) \t\t\nORDCREATE( ,\"INFO2\",\"INFO2\", ;\n{|| INFO2 } , .F. ) \t[/color:2s20tsnd]\n\n[color=#008000:2s20tsnd]\t\tDBCREATE( c_path + cFilename + \".DBF\", { ;\n\t\t\t{ \"TOPICNO\",\t'N', 6, 0 }, ; <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: --> \n\t\t\t{ \"LINK\",\t\t'C', 70, 0 }, ;\n\t\t\t{ \"TOPIC\",\t\t'C', 65, 0 }, ;\n\t\t\t{ \"AUTHOR\",\t'C', 40, 0 }, ; <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\t\t\t{ \"DATE\",\t\t'D', 8, 0 }, ; <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\t\t\t{ \"LIKE\",\t\t'N', 1, 0 }, ; <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: --> \n\t\t\t{ \"T_DELETE\",\t'N', 1, 0 }, ; <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: --> \n\t\t\t{ \"INFO1\",\t\t'C', 15, 0 }, ; <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\t\t\t{ \"INFO2\",\t\t'C', 15, 0 }, ; <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\t\t\t{ \"FORUM\",\t'N', 1, 0 }, ; <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: --> \n\t\t\t{ \"CODE\",\t\t'M', 10, 0 } }, \"DBFCDX\", .T., \"DB\" )[/color:2s20tsnd]\n\ncreating indexes for files < Samples1 - 7 >\n\n[code=fw:2s20tsnd]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br />I := <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00C800;\">FOR</span> I := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">7</span><br />    X := LTRIM<span style=\"color: #000000;\">&#40;</span>STR<span style=\"color: #000000;\">&#40;</span>I<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />    cFileName   := <span style=\"color: #ff0000;\">\"SAMPLES\"</span> + X<br />    <span style=\"color: #00C800;\">IF</span> !File<span style=\"color: #000000;\">&#40;</span> c_path + cFilename + <span style=\"color: #ff0000;\">\".CDX\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />        DBSELECTAREA<span style=\"color: #000000;\">&#40;</span>cFileName<span style=\"color: #000000;\">&#41;</span><br />        <span style=\"color: #B900B9;\">//FW_CdxCreate() //  WORKS !!!</span><br />  <br />        ORDCREATE<span style=\"color: #000000;\">&#40;</span> ,<span style=\"color: #ff0000;\">\"TOPICNO\"</span>, <span style=\"color: #ff0000;\">\"DESCEND( STR( TOPICNO ) )\"</span>, ;<br />                <span style=\"color: #000000;\">&#123;</span>|| DESCEND<span style=\"color: #000000;\">&#40;</span>STR<span style=\"color: #000000;\">&#40;</span> TOPICNO <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> , .F. <span style=\"color: #000000;\">&#41;</span>  <br />        ORDCREATE<span style=\"color: #000000;\">&#40;</span> ,<span style=\"color: #ff0000;\">\"FORUM\"</span>,<span style=\"color: #ff0000;\">\"STR( FORUM )\"</span>, ;<br />                <span style=\"color: #000000;\">&#123;</span>|| STR<span style=\"color: #000000;\">&#40;</span> FORUM <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> , .F. <span style=\"color: #000000;\">&#41;</span>  <br />        ORDCREATE<span style=\"color: #000000;\">&#40;</span> ,<span style=\"color: #ff0000;\">\"DELETE\"</span>,<span style=\"color: #ff0000;\">\"STR( T_DELETE )\"</span>, ;<br />                <span style=\"color: #000000;\">&#123;</span>|| STR<span style=\"color: #000000;\">&#40;</span> T_DELETE <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> , .F. <span style=\"color: #000000;\">&#41;</span>  <br />        ORDCREATE<span style=\"color: #000000;\">&#40;</span> ,<span style=\"color: #ff0000;\">\"DATE\"</span>,<span style=\"color: #ff0000;\">\"DTOS( DATE )\"</span>, ;<br />                <span style=\"color: #000000;\">&#123;</span>|| DTOS<span style=\"color: #000000;\">&#40;</span> DATE <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> , .F. <span style=\"color: #000000;\">&#41;</span>  <br />        ORDCREATE<span style=\"color: #000000;\">&#40;</span> ,<span style=\"color: #ff0000;\">\"AUTHOR\"</span>,<span style=\"color: #ff0000;\">\"AUTHOR + INFO1 + INFO2\"</span>, ;<br />                <span style=\"color: #000000;\">&#123;</span>|| AUTHOR  + INFO1 + INFO2 <span style=\"color: #000000;\">&#125;</span> , .F. <span style=\"color: #000000;\">&#41;</span><br />        ORDCREATE<span style=\"color: #000000;\">&#40;</span> ,<span style=\"color: #ff0000;\">\"LIKE\"</span>, <span style=\"color: #ff0000;\">\"STR( LIKE ) + AUTHOR + INFO1 + INFO2 ) \"</span>, ;<br />                <span style=\"color: #000000;\">&#123;</span>|| STR<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">LIKE</span> <span style=\"color: #000000;\">&#41;</span> + AUTHOR + INFO1 + INFO2 <span style=\"color: #000000;\">&#125;</span> , .F. <span style=\"color: #000000;\">&#41;</span>      <br />        ORDCREATE<span style=\"color: #000000;\">&#40;</span> ,<span style=\"color: #ff0000;\">\"INFO1\"</span>,<span style=\"color: #ff0000;\">\"INFO1\"</span>, ;<br />                <span style=\"color: #000000;\">&#123;</span>|| INFO1 <span style=\"color: #000000;\">&#125;</span> , .F. <span style=\"color: #000000;\">&#41;</span>         <br />        ORDCREATE<span style=\"color: #000000;\">&#40;</span> ,<span style=\"color: #ff0000;\">\"INFO2\"</span>,<span style=\"color: #ff0000;\">\"INFO2\"</span>, ;<br />                <span style=\"color: #000000;\">&#123;</span>|| INFO2 <span style=\"color: #000000;\">&#125;</span> , .F. <span style=\"color: #000000;\">&#41;</span>         <br /><br />    <span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">NEXT</span><br /> </div>[/code:2s20tsnd]\n\n[color=#0000FF:2s20tsnd][b:2s20tsnd]I got it working deleting all STR( for only numeric fields [/b:2s20tsnd][/color:2s20tsnd]\nbut what to do with < STR( LIKE ) + AUTHOR + INFO1 + INFO2 > numeric + text + text + text <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \n\nregards\nUwe <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( -->", "time": "21:11", "topic": "A question about function FW_Cdxcreate()", "username": "ukoenig" } ]
A question about function FW_Cdxcreate()
[ { "date": "2018-02-27", "forum": "FiveWin for Harbour/xHarbour", "text": "FW_CdxCreate( [caTagList], [lMemory] ) --> lSuccess\n\nWorks only for DBFCDX. It is desirable to delete the existing cdx and open the DBF in exclusive mode before calling this function.\n\nParam.2: [lMemory] Defaults to .F.. If .t., creates temporary index in memory with bag name \"TMP\"\n\nParam.1: [caTagList]\nDEFAULT: All fields excepting memo fields. All character fields are indexed with UPPER(<fldname>). Other fields are indexed with their own data types, i.e., not converted as character type. In addition, a tag with name \"DELETED\" is created with expression \"DELETED()\". This tag is meant for optimization of navigation by setting filter to \"!DELETED()\".\n\ncaTagList can be specified as a comma-delimited list of field names. \"DELETED\" can also be specified as a field name. \n\ncaTaglist can also be specified as an array of fieldnames/expressions. Each if the element can be a field name or an array of {expression, tagname}.", "time": "03:51", "topic": "A question about function FW_Cdxcreate()", "username": "nageswaragunupudi" } ]
A question about function FW_Cdxcreate()
[ { "date": "2018-02-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr. Rao,\n\nIn many posts, i have seen the advice of creating ALL the indexes with a deleted() into it.\n\n// Also do all your indexes \"for ! deleted()\"\n// And you MUST USE the TAG clause!\n\nuse customer \n index on chgno tag \"custid\" to customer for ! deleted()\n index on descrip tag \"company\" to customer for ! deleted()\n index on phone tag \"phone\" to customer for ! deleted()\n...\n \nYou use a other approach with the set filter ?\n\nIn my case, in Xbrowse 1 have many indexes, and many deleted records. At a given moment I would like to show also the deleted one.\nSo best I set a Checkbox for toggle the Xbrowse deleted with a filter condition then ? \nIf so, I can search for samples here.", "time": "09:02", "topic": "A question about function FW_Cdxcreate()", "username": "Marc Venken" } ]
A question about function FW_Cdxcreate()
[ { "date": "2018-02-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr. Rao,\n\nthank You very much for the info\n\n[code=fw:1rsvfo6x]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Other fields are indexed with their own <span style=\"color: #00C800;\">data</span> types, i.e., not converted <br />as character type.</div>[/code:1rsvfo6x]\n\nthat seems to be the reason that it works without problems.\nAs soon a create a index with STR( field ) // numeric \nI'm getting problems. But I have to define it with a index-mix of C and N.\nI didn't test < cValToChar > lets see what happens.\n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "09:33", "topic": "A question about function FW_Cdxcreate()", "username": "ukoenig" } ]
A question about function FW_Cdxcreate()
[ { "date": "2018-02-27", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote:1bhi2vwb]As soon a create a index with STR( field ) // numeric \nI'm getting problems.[/quote:1bhi2vwb]\nThere is nothing wrong with it.\nWhat kind of problems are you getting?", "time": "09:38", "topic": "A question about function FW_Cdxcreate()", "username": "nageswaragunupudi" } ]
A question about function FW_Cdxcreate()
[ { "date": "2018-02-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr. Rao,\n\nthe problem is a index numeric + text + text\nI changed [color=#FF0000:1hxqnrsp]STR(nVal)[/color:1hxqnrsp] to [color=#0000FF:1hxqnrsp]cValtoChar(nVal)[/color:1hxqnrsp] and that seems to work <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: --> \nBut now my external dbf-editor shows a errormessage because he doesn't know -> cValtoChar \n\nI want to sort the two defined filters inside LIKE and it looks OK now \n\n[img:1hxqnrsp]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Forum61&#46;jpg[/img:1hxqnrsp]\n\n[b:1hxqnrsp]seek LIKE 25, 50, 75 or 100 %[/b:1hxqnrsp]\n\n[img:1hxqnrsp]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Forum62&#46;jpg[/img:1hxqnrsp]\n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "10:39", "topic": "A question about function FW_Cdxcreate()", "username": "ukoenig" } ]
A question about function FW_Cdxcreate()
[ { "date": "2018-02-27", "forum": "FiveWin for Harbour/xHarbour", "text": "STR(..) should not give any error, if LIKE is a numeric field.\nWe need to use common functions only in index expressions.", "time": "16:24", "topic": "A question about function FW_Cdxcreate()", "username": "nageswaragunupudi" } ]
A question about function FW_Cdxcreate()
[ { "date": "2016-10-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi to all.\nI'm trying to use the LibXl dll library for writing an excel file, but I'm having a problem with numbers, that are not written in the file.\nAnyone has tried to use this library ?\nI'm using Xhb.com\nThanks a lot.\nMassimo\n\n[code=fw:b63vp8k7]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><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;\">\"ord.ch\"</span><br /><br /><span style=\"color: #00C800;\">STATIC</span> hLib<br /><br />PROCEDURE MAIN<br /><span style=\"color: #00C800;\">LOCAL</span> book, sheet, riga, font1, formato1<br /><span style=\"color: #00C800;\">LOCAL</span> xFont_Text1, xFont_Text2<br /><span style=\"color: #00C800;\">LOCAL</span> xfrm1, xf1, format1<br /><span style=\"color: #00C800;\">LOCAL</span> xfrm2, xf2, format2<br /><span style=\"color: #00C800;\">LOCAL</span> xfrm3, xf3, format3<br /><br />set date italian<br /><br />hLib = LOADLIBRARY<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"LIBXL.DLL\"</span><span style=\"color: #000000;\">&#41;</span><br /><br />book = xlCreateBook<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">If</span> book # <span style=\"color: #000000;\">0</span><br />    xFont_Text1 = xlBookAddFont<span style=\"color: #000000;\">&#40;</span> Book <span style=\"color: #000000;\">&#41;</span>       ;     xlFontSetName<span style=\"color: #000000;\">&#40;</span> xFont_Text1 , <span style=\"color: #ff0000;\">\"Arial\"</span> <span style=\"color: #000000;\">&#41;</span>    ;     xlFontSetSize<span style=\"color: #000000;\">&#40;</span> xFont_Text1 , <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">&#41;</span><br />    xFont_Text2 = xlBookAddFont<span style=\"color: #000000;\">&#40;</span> Book <span style=\"color: #000000;\">&#41;</span>       ;     xlFontSetName<span style=\"color: #000000;\">&#40;</span> xFont_Text2 , <span style=\"color: #ff0000;\">\"Arial\"</span> <span style=\"color: #000000;\">&#41;</span>    ;     xlFontSetSize<span style=\"color: #000000;\">&#40;</span> xFont_Text2 , <span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">&#41;</span>  ; xlFontBold<span style=\"color: #000000;\">&#40;</span>xFont_Text2<span style=\"color: #000000;\">&#41;</span><br />    xFont_Text3 = xlBookAddFont<span style=\"color: #000000;\">&#40;</span> Book <span style=\"color: #000000;\">&#41;</span>       ;     xlFontSetName<span style=\"color: #000000;\">&#40;</span> xFont_Text3 , <span style=\"color: #ff0000;\">\"Arial\"</span> <span style=\"color: #000000;\">&#41;</span>    ;     xlFontSetSize<span style=\"color: #000000;\">&#40;</span> xFont_Text1 , <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">&#41;</span><br /><br />    xfrm1 = <span style=\"color: #ff0000;\">\"###.###.###,##0\"</span><br />    xf1 = xlBookAddCustomNumFormat<span style=\"color: #000000;\">&#40;</span> Book , xfrm1 <span style=\"color: #000000;\">&#41;</span><br />    format1 = xlBookAddFormat<span style=\"color: #000000;\">&#40;</span> Book <span style=\"color: #000000;\">&#41;</span><br />    xlFormatSetNumFormat<span style=\"color: #000000;\">&#40;</span> format1, xf1 <span style=\"color: #000000;\">&#41;</span><br />    xlFormatSetFont<span style=\"color: #000000;\">&#40;</span> format1, xFont_text1 <span style=\"color: #000000;\">&#41;</span><br /><br />    format2 = xlBookAddFormat<span style=\"color: #000000;\">&#40;</span> Book <span style=\"color: #000000;\">&#41;</span><br />    xlFormatSetFont<span style=\"color: #000000;\">&#40;</span> format2, xFont_text2 <span style=\"color: #000000;\">&#41;</span><br /><br />    format3 = xlBookAddFormat<span style=\"color: #000000;\">&#40;</span> Book <span style=\"color: #000000;\">&#41;</span><br />    xlFormatSetFont<span style=\"color: #000000;\">&#40;</span> format2, xFont_text3 <span style=\"color: #000000;\">&#41;</span><br /><br />    sheet = xlBookAddSheet<span style=\"color: #000000;\">&#40;</span>book, <span style=\"color: #ff0000;\">\"Sheet1\"</span>, <span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br /><br />    use <span style=\"color: #ff0000;\">\"EMPLOYEE\"</span> <span style=\"color: #00C800;\">NEW</span> <span style=\"color: #0000ff;\">ALIAS</span> nomi<br />    dbgotop<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />    riga = <span style=\"color: #000000;\">0</span><br />    xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"Nome\"</span>, format2<span style=\"color: #000000;\">&#41;</span><br />    xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">1</span>, <span style=\"color: #ff0000;\">\"Cognome\"</span>, format2<span style=\"color: #000000;\">&#41;</span><br />    xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">2</span>, <span style=\"color: #ff0000;\">\"Indirizzo\"</span>, format2<span style=\"color: #000000;\">&#41;</span><br />    xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">3</span>, <span style=\"color: #ff0000;\">\"Città\"</span>, format2<span style=\"color: #000000;\">&#41;</span><br />    xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">4</span>, <span style=\"color: #ff0000;\">\"Stato\"</span>, format2<span style=\"color: #000000;\">&#41;</span><br />    xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">5</span>, <span style=\"color: #ff0000;\">\"C.A.P.\"</span>, format2<span style=\"color: #000000;\">&#41;</span><br />    xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">6</span>, <span style=\"color: #ff0000;\">\"Data nascita\"</span>, format2<span style=\"color: #000000;\">&#41;</span><br />    xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">7</span>, <span style=\"color: #ff0000;\">\"Sposato\"</span>, format2<span style=\"color: #000000;\">&#41;</span><br />    xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">8</span>, <span style=\"color: #ff0000;\">\"Età\"</span>, format2<span style=\"color: #000000;\">&#41;</span><br />    xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">9</span>, <span style=\"color: #ff0000;\">\"Stipendio\"</span>, format2<span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #00C800;\">do</span> <span style=\"color: #00C800;\">while</span> !eof<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />        riga ++<br />        xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">0</span>, nomi->FIRST, format3<span style=\"color: #000000;\">&#41;</span><br />        xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">1</span>, nomi->LAST, format3<span style=\"color: #000000;\">&#41;</span><br />        xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">2</span>, nomi->STREET, format3<span style=\"color: #000000;\">&#41;</span><br />        xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">3</span>, nomi->CITY, format3<span style=\"color: #000000;\">&#41;</span><br />        xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">4</span>, nomi->STATE, format3<span style=\"color: #000000;\">&#41;</span><br />        xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">5</span>, nomi->ZIP, format3<span style=\"color: #000000;\">&#41;</span><br />        xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">6</span>, dtoc<span style=\"color: #000000;\">&#40;</span>nomi->HIREDATE<span style=\"color: #000000;\">&#41;</span>, format3<span style=\"color: #000000;\">&#41;</span><br />        xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">7</span>, iif<span style=\"color: #000000;\">&#40;</span>nomi->MARRIED,<span style=\"color: #ff0000;\">\"X\"</span>,<span style=\"color: #ff0000;\">\" \"</span><span style=\"color: #000000;\">&#41;</span>, format3<span style=\"color: #000000;\">&#41;</span><br />        xlSheetWriteNum<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">8</span>, nomi->AGE, format1<span style=\"color: #000000;\">&#41;</span>                           <--- here is the problem<br />        xlSheetWriteNum<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">9</span>, nomi->SALARY, format1<span style=\"color: #000000;\">&#41;</span>                      <--- here is the problem<br />        dbskip<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #00C800;\">enddo</span><br />    nomi-><span style=\"color: #000000;\">&#40;</span>dbclosearea<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><br />    xlSheetSetAutoFitArea<span style=\"color: #000000;\">&#40;</span>sheet, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, riga, <span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#41;</span><br />    xlBookSave<span style=\"color: #000000;\">&#40;</span>book, <span style=\"color: #ff0000;\">\"example.xls\"</span><span style=\"color: #000000;\">&#41;</span><br />    xlBookRelease<span style=\"color: #000000;\">&#40;</span>book<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">EndIf</span><br />freelibrary<span style=\"color: #000000;\">&#40;</span>hLib<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #0000ff;\">msginfo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Finito\"</span><span style=\"color: #000000;\">&#41;</span><br />quit<br /><br />DLL32 <span style=\"color: #00C800;\">Function</span> xlBookSetKey<span style=\"color: #000000;\">&#40;</span>bookHandle As LONG, nome As LPSTR, chiave As LPSTR<span style=\"color: #000000;\">&#41;</span> AS LONG PASCAL <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #ff0000;\">\"xlBookSetKeyA\"</span> Lib hlib<br />DLL32 <span style=\"color: #00C800;\">Function</span> xlCreateBook<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> AS LONG PASCAL <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #ff0000;\">\"xlCreateBookA\"</span> LIB hlib<br />DLL32 <span style=\"color: #00C800;\">Function</span> xlBookAddSheet<span style=\"color: #000000;\">&#40;</span>bookHandle As LONG, <span style=\"color: #0000ff;\">name</span> As LPSTR, sheetHandle As LONG<span style=\"color: #000000;\">&#41;</span> AS LONG PASCAL <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #ff0000;\">\"xlBookAddSheetA\"</span> Lib hlib<br />DLL32 <span style=\"color: #00C800;\">Function</span> xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheetHandle As LONG, riga As LONG, colonna As LONG, valore As LPSTR, formatHandle As LONG<span style=\"color: #000000;\">&#41;</span> AS VOID PASCAL <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #ff0000;\">\"xlSheetWriteStrA\"</span> Lib hlib<br />DLL32 <span style=\"color: #00C800;\">Function</span> xlSheetWriteNum<span style=\"color: #000000;\">&#40;</span>sheetHandle As LONG, riga As LONG, colonna As LONG, valore As LONG, formatHandle As LONG<span style=\"color: #000000;\">&#41;</span> AS VOID PASCAL <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #ff0000;\">\"xlSheetWriteNumA\"</span> Lib hlib<br />DLL32 <span style=\"color: #00C800;\">Function</span> xlBookInsertSheet<span style=\"color: #000000;\">&#40;</span>bookHandle As LONG, indice As LONG, <span style=\"color: #0000ff;\">name</span> As LPSTR, sheetHandle As LONG<span style=\"color: #000000;\">&#41;</span> As LONG PASCAL <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #ff0000;\">\"xlBookInsertSheetA\"</span> Lib hlib<br />DLL32 <span style=\"color: #00C800;\">Function</span> xlBookDelSheet<span style=\"color: #000000;\">&#40;</span>bookHandle As LONG, indice As LONG<span style=\"color: #000000;\">&#41;</span> As LONG PASCAL <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #ff0000;\">\"xlBookDelSheetA\"</span> Lib hlib<br />DLL32 <span style=\"color: #00C800;\">Function</span> xlBookSave<span style=\"color: #000000;\">&#40;</span>bookHandle As LONG, filename As LPSTR<span style=\"color: #000000;\">&#41;</span> AS VOID PASCAL <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #ff0000;\">\"xlBookSaveA\"</span> Lib hlib<br />DLL32 <span style=\"color: #00C800;\">Function</span> xlBookRelease<span style=\"color: #000000;\">&#40;</span>bookHandle As LONG<span style=\"color: #000000;\">&#41;</span> As LONG PASCAL <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #ff0000;\">\"xlBookReleaseA\"</span> Lib hlib<br />DLL32 <span style=\"color: #00C800;\">Function</span> xlSheetSetAutoFitArea<span style=\"color: #000000;\">&#40;</span>sheetHandle As LONG, rowFirst As LONG, colFirst As LONG, rowLast As LONG, colLast As LONG<span style=\"color: #000000;\">&#41;</span> AS VOID PASCAL <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #ff0000;\">\"xlSheetSetAutoFitAreaA\"</span> Lib hlib<br /><br />DLL32 <span style=\"color: #00C800;\">Function</span> xlBookAddFont<span style=\"color: #000000;\">&#40;</span>bookHandle As LONG, fontHandle As LONG<span style=\"color: #000000;\">&#41;</span> AS LONG PASCAL <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #ff0000;\">\"xlBookAddFontA\"</span> Lib hlib<br />DLL32 <span style=\"color: #00C800;\">Function</span> xlFontSetName<span style=\"color: #000000;\">&#40;</span>fontHandle As LONG, nome As LPSTR<span style=\"color: #000000;\">&#41;</span> AS LONG PASCAL <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #ff0000;\">\"xlFontSetNameA\"</span> Lib hlib<br />DLL32 <span style=\"color: #00C800;\">Function</span> xlFontSetSize<span style=\"color: #000000;\">&#40;</span>fontHandle As LONG, <span style=\"color: #0000ff;\">size</span> As LONG<span style=\"color: #000000;\">&#41;</span> AS VOID PASCAL <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #ff0000;\">\"xlFontSetSizeA\"</span> Lib hlib<br />DLL32 <span style=\"color: #00C800;\">Function</span> xlFontSetBold<span style=\"color: #000000;\">&#40;</span>fontHandle As LONG, bold As LONG<span style=\"color: #000000;\">&#41;</span> AS VOID PASCAL <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #ff0000;\">\"xlFontSetBoldA\"</span> Lib hlib<br />DLL32 <span style=\"color: #00C800;\">Function</span> xlFontBold<span style=\"color: #000000;\">&#40;</span>fontHandle As LONG<span style=\"color: #000000;\">&#41;</span> AS LONG PASCAL <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #ff0000;\">\"xlFontBoldA\"</span>  Lib hlib<br /><br />DLL32 <span style=\"color: #00C800;\">Function</span> xlBookAddCustomNumFormat <span style=\"color: #000000;\">&#40;</span>bookHandle As LONG, customNumFormat As LPSTR<span style=\"color: #000000;\">&#41;</span> AS LONG PASCAL <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #ff0000;\">\"xlBookAddCustomNumFormatA\"</span> Lib hlib<br />DLL32 <span style=\"color: #00C800;\">Function</span> xlBookAddFormat<span style=\"color: #000000;\">&#40;</span>bookHandle As LONG, formatHandle As LONG<span style=\"color: #000000;\">&#41;</span> AS LONG PASCAL <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #ff0000;\">\"xlBookAddFormatA\"</span> Lib hlib<br />DLL32 <span style=\"color: #00C800;\">Function</span> xlFormatSetNumFormat<span style=\"color: #000000;\">&#40;</span>formatHandle As LONG, numFormat As LONG<span style=\"color: #000000;\">&#41;</span> AS VOID PASCAL <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #ff0000;\">\"xlFormatSetNumFormatA\"</span> Lib hlib<br /><br />DLL32 <span style=\"color: #00C800;\">Function</span> xlFormatSetFont<span style=\"color: #000000;\">&#40;</span>formatHandle As LONG, fontHandle As LONG<span style=\"color: #000000;\">&#41;</span> AS LONG PASCAL <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #ff0000;\">\"xlFormatSetFontA\"</span> Lib hlib<br />DLL32 <span style=\"color: #00C800;\">Function</span> xlBookSetDefaultFont<span style=\"color: #000000;\">&#40;</span>bookHandle As LONG, fontName As LPSTR, fontSize As LONG<span style=\"color: #000000;\">&#41;</span> AS VOID PASCAL <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #ff0000;\">\"xlBookSetDefaultFontA\"</span> Lib hlib<br /> </div>[/code:b63vp8k7]", "time": "09:32", "topic": "A question about libxl", "username": "Massimo Linossi" } ]
A question about libxl
[ { "date": "2016-10-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi.\nI resolved changing all the DLL32 calls with some functions in C and linking a lib.\nThis DLL is really, really fast and you don't need Excel. You can find a demo in the site and test it.\nThanks a lot.\nMassimo", "time": "17:50", "topic": "A question about libxl", "username": "Massimo Linossi" } ]
A question about libxl
[ { "date": "2016-10-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Massimo\n\nCould you share your example corrected?\n\nThank you\nregards", "time": "18:10", "topic": "A question about libxl", "username": "devtuxtla" } ]
A question about libxl
[ { "date": "2016-10-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Here it is. You must download the DLL and the library from the LIBXL site.\n\nI made a test with a DBF of 5000 records. The procedure below has been executed in less than one second.\n\n[code=fw:38vnx07i]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><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;\">\"ord.ch\"</span><br /><br />PROCEDURE MAIN<br /><span style=\"color: #00C800;\">LOCAL</span> book, sheet, riga<br /><span style=\"color: #00C800;\">LOCAL</span> xf<br /><span style=\"color: #00C800;\">LOCAL</span> num_format1, date_format<br /><span style=\"color: #00C800;\">LOCAL</span> Header_Font, header_Format<br /><span style=\"color: #00C800;\">LOCAL</span> Line_Font, Line_Format<br /><br />set date italian<br />set century <span style=\"color: #0000ff;\">on</span><br /><br />book = xlCreateBookC<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">If</span> book # <span style=\"color: #000000;\">0</span><br />    Header_Font = xlBookAddFont<span style=\"color: #000000;\">&#40;</span> Book, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />    xlFontSetName<span style=\"color: #000000;\">&#40;</span> Header_Font , <span style=\"color: #ff0000;\">\"Arial\"</span> <span style=\"color: #000000;\">&#41;</span><br />    xlFontSetSize<span style=\"color: #000000;\">&#40;</span> Header_Font , <span style=\"color: #000000;\">12</span> <span style=\"color: #000000;\">&#41;</span><br />    xlFontBold<span style=\"color: #000000;\">&#40;</span> Header_Font <span style=\"color: #000000;\">&#41;</span><br /><br />    Line_Font = xlBookAddFont<span style=\"color: #000000;\">&#40;</span> Book, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />    xlFontSetName<span style=\"color: #000000;\">&#40;</span> Line_Font , <span style=\"color: #ff0000;\">\"Arial\"</span> <span style=\"color: #000000;\">&#41;</span><br />    xlFontSetSize<span style=\"color: #000000;\">&#40;</span> Line_Font , <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">&#41;</span><br /><br />    Header_Format = xlBookAddFormat<span style=\"color: #000000;\">&#40;</span> Book, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />    xlFormatSetFont<span style=\"color: #000000;\">&#40;</span> Header_Format, Header_Font <span style=\"color: #000000;\">&#41;</span><br /><br />    Line_Format = xlBookAddFormat<span style=\"color: #000000;\">&#40;</span> Book, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />    xlFormatSetFont<span style=\"color: #000000;\">&#40;</span> Line_Format, Line_Font <span style=\"color: #000000;\">&#41;</span><br /><br />    num_format1 = xlBookAddFormat<span style=\"color: #000000;\">&#40;</span> Book, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />    xf = xlBookAddCustomNumFormat<span style=\"color: #000000;\">&#40;</span> Book , <span style=\"color: #ff0000;\">\"###,###,###,##0\"</span> <span style=\"color: #000000;\">&#41;</span><br />    xlFormatSetNumFormat<span style=\"color: #000000;\">&#40;</span> num_format1, xf <span style=\"color: #000000;\">&#41;</span><br />    xlFormatSetFont<span style=\"color: #000000;\">&#40;</span> num_format1, Line_Font <span style=\"color: #000000;\">&#41;</span><br /><br />    date_format = xlBookAddFormat<span style=\"color: #000000;\">&#40;</span> Book, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />    xf = xlBookAddCustomNumFormat<span style=\"color: #000000;\">&#40;</span> Book , <span style=\"color: #ff0000;\">\"DD/MM/YYYY\"</span> <span style=\"color: #000000;\">&#41;</span><br />    xlFormatSetNumFormat<span style=\"color: #000000;\">&#40;</span> date_format, xf <span style=\"color: #000000;\">&#41;</span><br />    xlFormatSetFont<span style=\"color: #000000;\">&#40;</span> date_format, Line_Font <span style=\"color: #000000;\">&#41;</span><br /><br />    sheet = xlBookAddSheet<span style=\"color: #000000;\">&#40;</span>book, <span style=\"color: #ff0000;\">\"Sheet1\"</span>, <span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br /><br />    use <span style=\"color: #ff0000;\">\"EMPLOYEE\"</span> <span style=\"color: #00C800;\">NEW</span> <span style=\"color: #0000ff;\">ALIAS</span> nomi<br />    dbgotop<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />    riga = <span style=\"color: #000000;\">0</span><br />    xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"Nome\"</span>, Header_Format<span style=\"color: #000000;\">&#41;</span><br />    xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">1</span>, <span style=\"color: #ff0000;\">\"Cognome\"</span>, Header_Format<span style=\"color: #000000;\">&#41;</span><br />    xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">2</span>, <span style=\"color: #ff0000;\">\"Indirizzo\"</span>, Header_Format<span style=\"color: #000000;\">&#41;</span><br />    xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">3</span>, <span style=\"color: #ff0000;\">\"Città\"</span>, Header_Format<span style=\"color: #000000;\">&#41;</span><br />    xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">4</span>, <span style=\"color: #ff0000;\">\"Stato\"</span>, Header_Format<span style=\"color: #000000;\">&#41;</span><br />    xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">5</span>, <span style=\"color: #ff0000;\">\"C.A.P.\"</span>, Header_Format<span style=\"color: #000000;\">&#41;</span><br />    xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">6</span>, <span style=\"color: #ff0000;\">\"Data nascita\"</span>, Header_Format<span style=\"color: #000000;\">&#41;</span><br />    xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">7</span>, <span style=\"color: #ff0000;\">\"Sposato\"</span>, Header_Format<span style=\"color: #000000;\">&#41;</span><br />    xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">8</span>, <span style=\"color: #ff0000;\">\"Età\"</span>, Header_Format<span style=\"color: #000000;\">&#41;</span><br />    xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">9</span>, <span style=\"color: #ff0000;\">\"Stipendio\"</span>, Header_Format<span style=\"color: #000000;\">&#41;</span><br /><br />    <span style=\"color: #00C800;\">do</span> <span style=\"color: #00C800;\">while</span> !eof<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />        riga ++<br />        xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">0</span>, nomi->FIRST, Line_Format<span style=\"color: #000000;\">&#41;</span><br />        xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">1</span>, nomi->LAST, Line_Format<span style=\"color: #000000;\">&#41;</span><br />        xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">2</span>, nomi->STREET, Line_Format<span style=\"color: #000000;\">&#41;</span><br />        xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">3</span>, nomi->CITY, Line_Format<span style=\"color: #000000;\">&#41;</span><br />        xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">4</span>, nomi->STATE, Line_Format<span style=\"color: #000000;\">&#41;</span><br />        xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">5</span>, nomi->ZIP, Line_Format<span style=\"color: #000000;\">&#41;</span><br />        xlSheetWriteStr<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">6</span>, dtoc<span style=\"color: #000000;\">&#40;</span>nomi->HIREDATE<span style=\"color: #000000;\">&#41;</span>, date_format<span style=\"color: #000000;\">&#41;</span><br />        xlSheetWriteBool<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">7</span>, nomi->MARRIED, Line_Format<span style=\"color: #000000;\">&#41;</span><br />        xlSheetWriteNum<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">8</span>, nomi->AGE, num_format1<span style=\"color: #000000;\">&#41;</span><br />        xlSheetWriteNum<span style=\"color: #000000;\">&#40;</span>sheet, riga, <span style=\"color: #000000;\">9</span>, nomi->SALARY, num_format1<span style=\"color: #000000;\">&#41;</span><br />        dbskip<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #00C800;\">enddo</span><br />    nomi-><span style=\"color: #000000;\">&#40;</span>dbclosearea<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><br />    xlSheetWriteFormula<span style=\"color: #000000;\">&#40;</span>sheet, riga<span style=\"color: #000000;\">+2</span>, <span style=\"color: #000000;\">9</span>, <span style=\"color: #ff0000;\">\"=SUM(J2:J\"</span> + alltrim<span style=\"color: #000000;\">&#40;</span>str<span style=\"color: #000000;\">&#40;</span>riga<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span>+<span style=\"color: #ff0000;\">\")\"</span>, num_format1<span style=\"color: #000000;\">&#41;</span><br /><br />    xlBookSave<span style=\"color: #000000;\">&#40;</span>book, <span style=\"color: #ff0000;\">\"example.xls\"</span><span style=\"color: #000000;\">&#41;</span><br />    xlBookRelease<span style=\"color: #000000;\">&#40;</span>book<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">EndIf</span><br /><br /><span style=\"color: #0000ff;\">msginfo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Finito\"</span><span style=\"color: #000000;\">&#41;</span><br />quit<br /><br /><br />*********************************************************************************<br /><span style=\"color: #00D7D7;\">#pragma</span> BEGINDUMP<br /><br /><span style=\"color: #00D7D7;\">#include</span> <windows.h><br /><span style=\"color: #00D7D7;\">#include</span> <shlobj.h><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"hbapi.h\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"hbvm.h\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"hbstack.h\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"hbapiitm.h\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"include<span style=\"color: #000000;\">\\l</span>ibxl.h\"</span><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> XLCREATEBOOKC <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />   hb_retni<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span>int<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#40;</span>BookHandle<span style=\"color: #000000;\">&#41;</span> xlCreateBookCA<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> XLBOOKSAVE <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />   BookHandle handle = <span style=\"color: #000000;\">&#40;</span>BookHandle<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>;<br />   const char* filename = <span style=\"color: #000000;\">&#40;</span>const char*<span style=\"color: #000000;\">&#41;</span> hb_parc<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>;<br /><br />   hb_retl<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span>int<span style=\"color: #000000;\">&#41;</span> xlBookSaveA<span style=\"color: #000000;\">&#40;</span> handle , filename <span style=\"color: #000000;\">&#41;</span> != <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> XLBOOKADDSHEET <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />   BookHandle handle = <span style=\"color: #000000;\">&#40;</span>BookHandle<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>;<br />   const char* <span style=\"color: #0000ff;\">name</span> = <span style=\"color: #000000;\">&#40;</span>const char*<span style=\"color: #000000;\">&#41;</span> hb_parc<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>;<br />   SheetHandle initSheet = <span style=\"color: #000000;\">&#40;</span>SheetHandle<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#41;</span>;<br /><br />   hb_retni<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span>int<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#40;</span>SheetHandle<span style=\"color: #000000;\">&#41;</span> xlBookAddSheetA<span style=\"color: #000000;\">&#40;</span> handle , <span style=\"color: #0000ff;\">name</span> , initSheet <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> XLBOOKADDFORMAT <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />   BookHandle handle = <span style=\"color: #000000;\">&#40;</span>BookHandle<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>;<br />   FormatHandle initFormat = <span style=\"color: #000000;\">&#40;</span>FormatHandle<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>;<br /><br />   hb_retni<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span>int<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#40;</span>FormatHandle<span style=\"color: #000000;\">&#41;</span> xlBookAddFormatA<span style=\"color: #000000;\">&#40;</span> handle , initFormat <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> XLBOOKADDFONT <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />   BookHandle handle = <span style=\"color: #000000;\">&#40;</span>BookHandle<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>;<br />   FontHandle initFont = <span style=\"color: #000000;\">&#40;</span>FontHandle<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>;<br /><br />   hb_retni<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span>int<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#40;</span>FontHandle<span style=\"color: #000000;\">&#41;</span> xlBookAddFontA<span style=\"color: #000000;\">&#40;</span> handle , initFont <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> XLBOOKADDCUSTOMNUMFORMAT <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />   BookHandle handle = <span style=\"color: #000000;\">&#40;</span>BookHandle<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>;<br />   const char* customNumFormat = <span style=\"color: #000000;\">&#40;</span>const char*<span style=\"color: #000000;\">&#41;</span> hb_parc<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>;<br /><br />   hb_retni<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span>int<span style=\"color: #000000;\">&#41;</span> xlBookAddCustomNumFormatA<span style=\"color: #000000;\">&#40;</span> handle , customNumFormat <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> XLBOOKCUSTOMNUMFORMAT <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />   BookHandle handle = <span style=\"color: #000000;\">&#40;</span>BookHandle<span style=\"color: #000000;\">&#41;</span> hb_parptr<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>;<br />   int fmt = <span style=\"color: #000000;\">&#40;</span>int<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>;<br /><br />   hb_retc<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span>const char*<span style=\"color: #000000;\">&#41;</span> xlBookCustomNumFormatA<span style=\"color: #000000;\">&#40;</span> handle , fmt <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> XLFONTSETNAME <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />   FontHandle handle = <span style=\"color: #000000;\">&#40;</span>FontHandle<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>;<br />   const char* <span style=\"color: #0000ff;\">name</span> = <span style=\"color: #000000;\">&#40;</span>const char*<span style=\"color: #000000;\">&#41;</span> hb_parc<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>;<br /><br />   xlFontSetNameA<span style=\"color: #000000;\">&#40;</span> handle , <span style=\"color: #0000ff;\">name</span> <span style=\"color: #000000;\">&#41;</span>;<br />   hb_retnl<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>; <br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> XLFONTBOLD <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />   FontHandle handle = <span style=\"color: #000000;\">&#40;</span>FontHandle<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>;<br /><br />   hb_retni<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span>int<span style=\"color: #000000;\">&#41;</span> xlFontBoldA<span style=\"color: #000000;\">&#40;</span> handle <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> XLFONTSETSIZE <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />   FontHandle handle = <span style=\"color: #000000;\">&#40;</span>FontHandle<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>;<br />   int <span style=\"color: #0000ff;\">size</span> = <span style=\"color: #000000;\">&#40;</span>int<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>;<br /><br />   xlFontSetSizeA<span style=\"color: #000000;\">&#40;</span> handle , <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">&#41;</span>;<br />   hb_retnl<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>; <br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> XLSHEETWRITESTR <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />   SheetHandle handle = <span style=\"color: #000000;\">&#40;</span>SheetHandle<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>;<br />   int row = <span style=\"color: #000000;\">&#40;</span>int<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>;<br />   int col = <span style=\"color: #000000;\">&#40;</span>int<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#41;</span>;<br />   const char* value = <span style=\"color: #000000;\">&#40;</span>const char*<span style=\"color: #000000;\">&#41;</span> hb_parc<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#41;</span>;<br />   FormatHandle format = <span style=\"color: #000000;\">&#40;</span>FormatHandle<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#41;</span>;<br /><br />   hb_retl<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span>int<span style=\"color: #000000;\">&#41;</span> xlSheetWriteStrA<span style=\"color: #000000;\">&#40;</span> handle , row , col , value , format <span style=\"color: #000000;\">&#41;</span> != <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> XLSHEETWRITENUM <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />   SheetHandle handle = <span style=\"color: #000000;\">&#40;</span>SheetHandle<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>;<br />   int row = <span style=\"color: #000000;\">&#40;</span>int<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>;<br />   int col = <span style=\"color: #000000;\">&#40;</span>int<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#41;</span>;<br />   double value = <span style=\"color: #000000;\">&#40;</span>double<span style=\"color: #000000;\">&#41;</span> hb_parnd<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#41;</span>;<br />   FormatHandle format = <span style=\"color: #000000;\">&#40;</span>FormatHandle<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#41;</span>;<br /><br />   hb_retl<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span>int<span style=\"color: #000000;\">&#41;</span> xlSheetWriteNumA<span style=\"color: #000000;\">&#40;</span> handle , row , col , value , format <span style=\"color: #000000;\">&#41;</span> != <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> XLSHEETWRITEBOOL <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />   SheetHandle handle = <span style=\"color: #000000;\">&#40;</span>SheetHandle<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>;<br />   int row = <span style=\"color: #000000;\">&#40;</span>int<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>;<br />   int col = <span style=\"color: #000000;\">&#40;</span>int<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#41;</span>;<br />   int value  = <span style=\"color: #000000;\">&#40;</span>int<span style=\"color: #000000;\">&#41;</span> hb_parl<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#41;</span>;<br />   FormatHandle format = <span style=\"color: #000000;\">&#40;</span>FormatHandle<span style=\"color: #000000;\">&#41;</span> hb_parptr<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#41;</span>;<br /><br />   hb_retl<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span>int<span style=\"color: #000000;\">&#41;</span> xlSheetWriteBoolA<span style=\"color: #000000;\">&#40;</span> handle , row , col , value , format <span style=\"color: #000000;\">&#41;</span> != <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> XLFORMATSETFONT <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />   FormatHandle handle = <span style=\"color: #000000;\">&#40;</span>FormatHandle<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>;<br />   FontHandle fontHandle = <span style=\"color: #000000;\">&#40;</span>FontHandle<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>;<br /><br />   hb_retni<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span>int<span style=\"color: #000000;\">&#41;</span> xlFormatSetFontA<span style=\"color: #000000;\">&#40;</span> handle , fontHandle <span style=\"color: #000000;\">&#41;</span> != <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> XLFORMATSETNUMFORMAT <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />   FormatHandle handle = <span style=\"color: #000000;\">&#40;</span>FormatHandle<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>;<br />   int numFormat = <span style=\"color: #000000;\">&#40;</span>int<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>;<br /><br />   xlFormatSetNumFormatA<span style=\"color: #000000;\">&#40;</span> handle , numFormat <span style=\"color: #000000;\">&#41;</span>;<br />   hb_retni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> XLSHEETWRITEFORMULA <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />   SheetHandle handle = <span style=\"color: #000000;\">&#40;</span>SheetHandle<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>;<br />   int row = <span style=\"color: #000000;\">&#40;</span>int<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>;<br />   int col = <span style=\"color: #000000;\">&#40;</span>int<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#41;</span>;<br />   const char* value = <span style=\"color: #000000;\">&#40;</span>const char*<span style=\"color: #000000;\">&#41;</span> hb_parc<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#41;</span>;<br />   FormatHandle format = <span style=\"color: #000000;\">&#40;</span>FormatHandle<span style=\"color: #000000;\">&#41;</span> hb_parptr<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#41;</span>;<br /><br />   hb_retl<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span>int<span style=\"color: #000000;\">&#41;</span> xlSheetWriteFormulaA<span style=\"color: #000000;\">&#40;</span> handle , row , col , value , format <span style=\"color: #000000;\">&#41;</span> != <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> XLBOOKRELEASE <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />   BookHandle handle = <span style=\"color: #000000;\">&#40;</span>BookHandle<span style=\"color: #000000;\">&#41;</span> hb_parni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>;<br /><br />   xlBookReleaseA<span style=\"color: #000000;\">&#40;</span> handle <span style=\"color: #000000;\">&#41;</span>;<br />   hb_retnl<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>; <br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00D7D7;\">#pragma</span> ENDDUMP<br /><br /> </div>[/code:38vnx07i]", "time": "08:08", "topic": "A question about libxl", "username": "Massimo Linossi" } ]
A question about libxl
[ { "date": "2016-10-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Massimo\n\nWhen compiling with the library I get this error\n\n[code=fw:wth1e07p]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />Error: <span style=\"color: #ff0000;\">'C:<span style=\"color: #000000;\">\\F</span>WH1412<span style=\"color: #000000;\">\\S</span>AMPLES<span style=\"color: #000000;\">\\L</span>IBXL.LIB'</span> contains invalid OMF record, type 0x21 <span style=\"color: #000000;\">&#40;</span>possibly COFF<span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:wth1e07p]\n\nI imagine that the compiler BCC should. Is there any library that works with this compiler.\n\nThank you very much", "time": "18:04", "topic": "A question about libxl", "username": "horacio" } ]
A question about libxl
[ { "date": "2016-10-06", "forum": "FiveWin for Harbour/xHarbour", "text": "You must use the IMPLIB program to create the lib from the DLL.\nimplib -a libxl32.lib libxl32.dll\n\nTake a look also here [url:sz2y0uee]http&#58;//www&#46;ntkproject&#46;com/forum_ntk/comments&#46;php?DiscussionID=25[/url:sz2y0uee]", "time": "18:49", "topic": "A question about libxl", "username": "Massimo Linossi" } ]
A question about libxl
[ { "date": "2016-10-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Massimo\n\nI have managed to generate the library, compiles run smoothly but this error\n\n[code=fw:8vw1wth7]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />Application Internal Error - C:\\libxl\\stdcall\\belgrano.exe<br />Terminated <span style=\"color: #00C800;\">at</span>: <span style=\"color: #000000;\">2016</span><span style=\"color: #000000;\">-10</span><span style=\"color: #000000;\">-07</span> <span style=\"color: #000000;\">09</span>:<span style=\"color: #000000;\">22</span>:<span style=\"color: #000000;\">38</span><br />Unrecoverable error <span style=\"color: #000000;\">6005</span>: <span style=\"color: #000000;\">Exception</span> error:<br /><br />    Exception Code:<span style=\"color: #000000;\">C0000005</span> ACCESS_VIOLATION<br />    Exception Address:<span style=\"color: #000000;\">00000000</span><br />    EAX:006BE704  EBX:<span style=\"color: #000000;\">00000001</span>  ECX:02025B10  EDX:<span style=\"color: #000000;\">00000002</span><br />    ESI:<span style=\"color: #000000;\">00478994</span>  EDI:0054A3A0  EBP:0018FDF4<br />    CS:<span style=\"color: #000000;\">EIP</span>:<span style=\"color: #000000;\">0023</span>:<span style=\"color: #000000;\">00000000</span>  SS:<span style=\"color: #000000;\">ESP</span>:002B:0018FDE8<br />    DS:002B  ES:002B  FS:<span style=\"color: #000000;\">0053</span>  GS:002B<br />    Flags:<span style=\"color: #000000;\">00010212</span><br />    Exception Parameters: <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span><br />    CS:<span style=\"color: #000000;\">EIP</span>:<br />    SS:<span style=\"color: #000000;\">ESP</span>: <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> 0018FF08 00472A42 <span style=\"color: #000000;\">00000002</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000001</span> 00670F7C <span style=\"color: #000000;\">00003170</span> <span style=\"color: #000000;\">00671528</span> 00319A3C 006BEA60 <span style=\"color: #000000;\">00000011</span> 0018FE30 0048F853<br /><br />    C stack:<br />    EIP:     EBP:       Frame: <span style=\"color: #000000;\">OldEBP</span>, RetAddr, Params...<br />    <span style=\"color: #000000;\">00000000</span> 0018FDF4   0018FF08 00472A42 <span style=\"color: #000000;\">00000002</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000001</span> 00670F7C <span style=\"color: #000000;\">00003170</span> <span style=\"color: #000000;\">00671528</span> 00319A3C 006BEA60<br />    00472A42 0018FF08   0018FF30 <span style=\"color: #000000;\">00401564</span> 0054A348 0054A0A4 <span style=\"color: #000000;\">00478994</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000018</span><br />    <span style=\"color: #000000;\">00401564</span> 0018FF30   0018FF44 00471D17 <span style=\"color: #000000;\">00000000</span> 0054A034 007B2218<br />    00471D17 0018FF44   0018FF50 004A2D12 <span style=\"color: #000000;\">00000001</span><br />    004A2D12 0018FF50   0018FF80 0054688F <span style=\"color: #000000;\">00400000</span> <span style=\"color: #000000;\">00000000</span> 007B2218 0000000A <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> 7EFDE000 <span style=\"color: #000000;\">00000000</span><br />    0054688F 0018FF80   0018FF94 <span style=\"color: #000000;\">00000000</span> 0054A034 75BE336A 7EFDE000<br />    <span style=\"color: #000000;\">00000000</span> 0018FF94   0018FFD4 772A9882 7EFDE000 77345C48 <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> 7EFDE000 <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span><br />    772A9882 0018FFD4   0018FFEC 772A9855 004013E4 7EFDE000 <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span><br /><br /><br />Modules:<br /><span style=\"color: #000000;\">00400000</span> 002E6000 C:\\libxl\\stdcall\\belgrano.exe<br /><span style=\"color: #000000;\">77270000</span> <span style=\"color: #000000;\">00180000</span> C:\\Windows\\SysWOW64\\ntdll.dll<br />75BD0000 <span style=\"color: #000000;\">00110000</span> C:\\Windows\\syswow64\\kernel32.dll<br />76E20000 <span style=\"color: #000000;\">00047000</span> C:\\Windows\\syswow64\\KERNELBASE.dll<br /><span style=\"color: #000000;\">10000000</span> 0064F000 C:\\libxl\\stdcall\\LIBXL.DLL<br />74CE0000 <span style=\"color: #000000;\">00090000</span> C:\\Windows\\syswow64\\GDI32.dll<br />76CC0000 <span style=\"color: #000000;\">00100000</span> C:\\Windows\\syswow64\\USER32.dll<br />758D0000 000A1000 C:\\Windows\\syswow64\\ADVAPI32.dll<br />75A10000 000AC000 C:\\Windows\\syswow64\\msvcrt.dll<br />74D70000 <span style=\"color: #000000;\">00019000</span> C:\\Windows\\SysWOW64\\sechost.dll<br />769E0000 000F0000 C:\\Windows\\syswow64\\RPCRT4.dll<br />74BE0000 <span style=\"color: #000000;\">00060000</span> C:\\Windows\\syswow64\\SspiCli.dll<br />74BD0000 0000C000 C:\\Windows\\syswow64\\CRYPTBASE.dll<br />769C0000 0000A000 C:\\Windows\\syswow64\\LPK.dll<br />74C40000 0009D000 C:\\Windows\\syswow64\\USP10.dll<br />75D70000 00C4B000 C:\\Windows\\syswow64\\SHELL32.dll<br />74DC0000 <span style=\"color: #000000;\">00057000</span> C:\\Windows\\syswow64\\SHLWAPI.dll<br />73FE0000 <span style=\"color: #000000;\">00009000</span> C:\\Windows\\system32\\VERSION.DLL<br />70B20000 <span style=\"color: #000000;\">00051000</span> C:\\Windows\\system32\\WINSPOOL.DRV<br />70FD0000 <span style=\"color: #000000;\">00084000</span> C:\\Windows\\WinSxS\\x86_microsoft.windows.common-controls_6595b64144ccf1df_5<span style=\"color: #000000;\">.82</span><span style=\"color: #000000;\">.7601</span>.18837_none_ec86b8d6858ec0bc\\COMCTL32.DLL<br /><span style=\"color: #000000;\">75010000</span> 0007B000 C:\\Windows\\syswow64\\COMDLG32.DLL<br /><span style=\"color: #000000;\">70400000</span> <span style=\"color: #000000;\">00005000</span> C:\\Windows\\system32\\MSIMG32.DLL<br /><span style=\"color: #000000;\">75680000</span> 0015C000 C:\\Windows\\syswow64\\OLE32.DLL<br />757E0000 0008F000 C:\\Windows\\syswow64\\OLEAUT32.DLL<br />71B10000 0001C000 C:\\Windows\\system32\\OLEDLG.DLL<br />76DC0000 <span style=\"color: #000000;\">00060000</span> C:\\Windows\\system32\\IMM32.DLL<br />755B0000 000CC000 C:\\Windows\\syswow64\\MSCTF.dll<br /><br />Called <span style=\"color: #0000ff;\">from</span> XLBOOKADDFONT<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />Called <span style=\"color: #0000ff;\">from</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#41;</span> in belgrano.prg<br />------------------------------------------------------------------------<br />Application Internal Error - C:\\libxl\\stdcall\\belgrano.exe<br />Terminated <span style=\"color: #00C800;\">at</span>: <span style=\"color: #000000;\">2016</span><span style=\"color: #000000;\">-10</span><span style=\"color: #000000;\">-07</span> <span style=\"color: #000000;\">09</span>:<span style=\"color: #000000;\">22</span>:<span style=\"color: #000000;\">41</span><br />Unrecoverable error <span style=\"color: #000000;\">6005</span>: <span style=\"color: #000000;\">Exception</span> error:<br /><br />    Exception Code:<span style=\"color: #000000;\">C0000005</span> ACCESS_VIOLATION<br />    Exception Address:<span style=\"color: #000000;\">00000000</span><br />    EAX:006BE704  EBX:<span style=\"color: #000000;\">00000001</span>  ECX:02025B10  EDX:<span style=\"color: #000000;\">00000002</span><br />    ESI:<span style=\"color: #000000;\">00478994</span>  EDI:0054A3A0  EBP:0018FDF4<br />    CS:<span style=\"color: #000000;\">EIP</span>:<span style=\"color: #000000;\">0023</span>:<span style=\"color: #000000;\">00000000</span>  SS:<span style=\"color: #000000;\">ESP</span>:002B:0018FDE8<br />    DS:002B  ES:002B  FS:<span style=\"color: #000000;\">0053</span>  GS:002B<br />    Flags:<span style=\"color: #000000;\">00010212</span><br />    Exception Parameters: <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span><br />    CS:<span style=\"color: #000000;\">EIP</span>:<br />    SS:<span style=\"color: #000000;\">ESP</span>: <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> 0018FF08 00472A42 <span style=\"color: #000000;\">00000002</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000001</span> 00670F7C <span style=\"color: #000000;\">00003170</span> <span style=\"color: #000000;\">00671528</span> 00319A3C 006BEA60 <span style=\"color: #000000;\">00000011</span> 0018FE30 0048F853<br /><br />    C stack:<br />    EIP:     EBP:       Frame: <span style=\"color: #000000;\">OldEBP</span>, RetAddr, Params...<br />    <span style=\"color: #000000;\">00000000</span> 0018FDF4   0018FF08 00472A42 <span style=\"color: #000000;\">00000002</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000001</span> 00670F7C <span style=\"color: #000000;\">00003170</span> <span style=\"color: #000000;\">00671528</span> 00319A3C 006BEA60<br />    00472A42 0018FF08   0018FF30 <span style=\"color: #000000;\">00401564</span> 0054A348 0054A0A4 <span style=\"color: #000000;\">00478994</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000018</span><br />    <span style=\"color: #000000;\">00401564</span> 0018FF30   0018FF44 00471D17 <span style=\"color: #000000;\">00000000</span> 0054A034 007B2218<br />    00471D17 0018FF44   0018FF50 004A2D12 <span style=\"color: #000000;\">00000001</span><br />    004A2D12 0018FF50   0018FF80 0054688F <span style=\"color: #000000;\">00400000</span> <span style=\"color: #000000;\">00000000</span> 007B2218 0000000A <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> 7EFDE000 <span style=\"color: #000000;\">00000000</span><br />    0054688F 0018FF80   0018FF94 <span style=\"color: #000000;\">00000000</span> 0054A034 75BE336A 7EFDE000<br />    <span style=\"color: #000000;\">00000000</span> 0018FF94   0018FFD4 772A9882 7EFDE000 77345C48 <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span> 7EFDE000 C0000005 75C076E7 75C076E7<br />    772A9882 0018FFD4   0018FFEC 772A9855 004013E4 7EFDE000 <span style=\"color: #000000;\">00000000</span> <span style=\"color: #000000;\">00000000</span><br /><br /><br />Modules:<br /><span style=\"color: #000000;\">00400000</span> 002E6000 C:\\libxl\\stdcall\\belgrano.exe<br /><span style=\"color: #000000;\">77270000</span> <span style=\"color: #000000;\">00180000</span> C:\\Windows\\SysWOW64\\ntdll.dll<br />75BD0000 <span style=\"color: #000000;\">00110000</span> C:\\Windows\\syswow64\\kernel32.dll<br />76E20000 <span style=\"color: #000000;\">00047000</span> C:\\Windows\\syswow64\\KERNELBASE.dll<br /><span style=\"color: #000000;\">10000000</span> 0064F000 C:\\libxl\\stdcall\\LIBXL.DLL<br />74CE0000 <span style=\"color: #000000;\">00090000</span> C:\\Windows\\syswow64\\GDI32.dll<br />76CC0000 <span style=\"color: #000000;\">00100000</span> C:\\Windows\\syswow64\\USER32.dll<br />758D0000 000A1000 C:\\Windows\\syswow64\\ADVAPI32.dll<br />75A10000 000AC000 C:\\Windows\\syswow64\\msvcrt.dll<br />74D70000 <span style=\"color: #000000;\">00019000</span> C:\\Windows\\SysWOW64\\sechost.dll<br />769E0000 000F0000 C:\\Windows\\syswow64\\RPCRT4.dll<br />74BE0000 <span style=\"color: #000000;\">00060000</span> C:\\Windows\\syswow64\\SspiCli.dll<br />74BD0000 0000C000 C:\\Windows\\syswow64\\CRYPTBASE.dll<br />769C0000 0000A000 C:\\Windows\\syswow64\\LPK.dll<br />74C40000 0009D000 C:\\Windows\\syswow64\\USP10.dll<br />75D70000 00C4B000 C:\\Windows\\syswow64\\SHELL32.dll<br />74DC0000 <span style=\"color: #000000;\">00057000</span> C:\\Windows\\syswow64\\SHLWAPI.dll<br />73FE0000 <span style=\"color: #000000;\">00009000</span> C:\\Windows\\system32\\VERSION.DLL<br />70B20000 <span style=\"color: #000000;\">00051000</span> C:\\Windows\\system32\\WINSPOOL.DRV<br />70FD0000 <span style=\"color: #000000;\">00084000</span> C:\\Windows\\WinSxS\\x86_microsoft.windows.common-controls_6595b64144ccf1df_5<span style=\"color: #000000;\">.82</span><span style=\"color: #000000;\">.7601</span>.18837_none_ec86b8d6858ec0bc\\COMCTL32.DLL<br /><span style=\"color: #000000;\">75010000</span> 0007B000 C:\\Windows\\syswow64\\COMDLG32.DLL<br /><span style=\"color: #000000;\">70400000</span> <span style=\"color: #000000;\">00005000</span> C:\\Windows\\system32\\MSIMG32.DLL<br /><span style=\"color: #000000;\">75680000</span> 0015C000 C:\\Windows\\syswow64\\OLE32.DLL<br />757E0000 0008F000 C:\\Windows\\syswow64\\OLEAUT32.DLL<br />71B10000 0001C000 C:\\Windows\\system32\\OLEDLG.DLL<br />76DC0000 <span style=\"color: #000000;\">00060000</span> C:\\Windows\\system32\\IMM32.DLL<br />755B0000 000CC000 C:\\Windows\\syswow64\\MSCTF.dll<br /><br />Called <span style=\"color: #0000ff;\">from</span> XLBOOKADDFONT<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />Called <span style=\"color: #0000ff;\">from</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">24</span><span style=\"color: #000000;\">&#41;</span> in belgrano.prg<br />------------------------------------------------------------------------<br /> </div>[/code:8vw1wth7]\n\nRegards", "time": "13:26", "topic": "A question about libxl", "username": "horacio" } ]
A question about libxl
[ { "date": "2016-10-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Sorry, I don't know what could be.\nI use the Xharbour.com compiler.", "time": "11:48", "topic": "A question about libxl", "username": "Massimo Linossi" } ]
A question about libxl
[ { "date": "2019-08-08", "forum": "mod_harbour", "text": "Hi.\nIn one main prg I have a request of login that is validated. Then the user can go in different pages with datas and browses.\nI've places a button in the menu for logging out and this clears the string in the cookie so if you\nclick on main the program launch the login process again. But if you press the previous page different times\nyou can see the pages that are loaded before. How can I prevent this ?\nTIA\nMassimo", "time": "19:20", "topic": "A question about moving between pages", "username": "Massimo Linossi" } ]
A question about moving between pages
[ { "date": "2019-08-09", "forum": "mod_harbour", "text": "Massimo,\n\nTry with this:\n\n? '<META HTTP-EQUIV=\"CACHE-CONTROL\" CONTENT=\"NO-CACHE\">'", "time": "10:10", "topic": "A question about moving between pages", "username": "Antonio Linares" } ]
A question about moving between pages
[ { "date": "2019-08-09", "forum": "mod_harbour", "text": "Antonio,\nI've tried your code and you see that the url seems to be refreshed (in Safari you see the meter below the url)\nbut the page is the last you saw. If you click on the previous page of the browser in the url there is written \n\"http://192.168.10.180/samples/BSTUDIO/utenti.prg?reload\" but the first lines of code of the prg are not executed \nagain until you make a manual refresh of the page.", "time": "15:49", "topic": "A question about moving between pages", "username": "Massimo Linossi" } ]
A question about moving between pages
[ { "date": "2014-06-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nusing [size=150:3skbf8hh]TEXTOUT[/size:3skbf8hh], painting text on a [color=#0000FF:3skbf8hh][b:3skbf8hh]alphablended[/b:3skbf8hh][/color:3skbf8hh] image,\nI noticed the TEXTCOLOR is painted related to a defined background.\nThe text itself doesn't use a solid defined textcolor.\n\nthe screenshot shows the problem :\nA defined red textcolor changes on different positions, mixed with the background-color ( not solid )\n\n[img:3skbf8hh]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Textout10&#46;jpg[/img:3skbf8hh]\n\nOn a NON transparent images, the textcolor is painted solid and works fine.\n\nIs there a source-file of TEXTOUT, maybe to change something ?\n\n[img:3skbf8hh]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Textout12&#46;jpg[/img:3skbf8hh]\n\nI added a transparent [color=#0000FF:3skbf8hh][b:3skbf8hh]TTITLE[/b:3skbf8hh][/color:3skbf8hh] as a test,\nbut it works only for painting. For saving, I have to paint on < [color=#FF0000:3skbf8hh][b:3skbf8hh]hMemDC[/b:3skbf8hh][/color:3skbf8hh] >\nMaybe it is possible, to paint a TTITLE on hMemDC instead on oDrawImg ???\n\n----------------------------\n\nSTATIC FUNCTION CL_DT( hMemDC, nStyle, oDrawImg )\n[color=#008000:3skbf8hh]LOCAL hOldFont := SelectObject( hMemDC, oFont3:hFont )[/color:3skbf8hh], oTitle1\n\n[color=#0000FF:3skbf8hh]@ aPoints[1][1], aPoints[1][2] TITLE oTitle1 SIZE 300, 50 OF oDrawImg NOBORDER \noTitle1:nShadow := 0\noTitle1:aGrdBack := {}\noTitle1:lTransparent := .T.\n@ 1, 1 TITLETEXT OF oTitle1 TEXT TIME() FONT oFont3 COLOR nPenColor [/color:3skbf8hh]\n\n[color=#008000:3skbf8hh][b:3skbf8hh]//SetBkMode( hMemDC, 1 ) \n//SetTextColor( hMemDC, nPenColor ) \n//TextOut( hMemDC, aPoints[1][1], aPoints[1][2], TIME() )\n//SelectObject ( hMemDC, hOldFont )[/b:3skbf8hh][/color:3skbf8hh]\n\nRETURN( NIL )\n\n----------------------------\n\n[b:3skbf8hh]The TTITLE - result[/b:3skbf8hh]\n\n[img:3skbf8hh]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Textout13&#46;jpg[/img:3skbf8hh]\n\nbest regards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->", "time": "19:05", "topic": "A question about using TEXTOUT on different images.", "username": "ukoenig" } ]
A question about using TEXTOUT on different images.
[ { "date": "2019-08-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr Rao:\n\nWhy this code does not work (There is not conection)\n\n[code=fw:2fdjxrnr]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />FWCONNECT oCn HOST <span style=\"color: #ff0000;\">\"localhost\"</span> USER <span style=\"color: #ff0000;\">\"root\"</span> PASSWORD <span style=\"color: #ff0000;\">\"secret\"</span> DB <span style=\"color: #ff0000;\">\"AppSap\"</span><br />&nbsp;</div>[/code:2fdjxrnr]\n\nBut this one yes (There is conection)\n\n[code=fw:2fdjxrnr]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />FWCONNECT oCn HOST <span style=\"color: #ff0000;\">\"192.178.100.3\"</span> USER <span style=\"color: #ff0000;\">\"root\"</span> PASSWORD <span style=\"color: #ff0000;\">\"secret\"</span> DB <span style=\"color: #ff0000;\">\"AppSap\"</span><br />&nbsp;</div>[/code:2fdjxrnr]\n\nThe only diference is the host name.\n\nRegards", "time": "03:42", "topic": "A question for Mr. Rao", "username": "Armando" } ]
A question for Mr. Rao
[ { "date": "2019-08-16", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Armando\":3av9d4u5]Mr Rao:\n\nWhy this code does not work (There is not conection)\n\n[code=fw:3av9d4u5]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />FWCONNECT oCn HOST <span style=\"color: #ff0000;\">\"localhost\"</span> USER <span style=\"color: #ff0000;\">\"root\"</span> PASSWORD <span style=\"color: #ff0000;\">\"secret\"</span> DB <span style=\"color: #ff0000;\">\"AppSap\"</span><br /> </div>[/code:3av9d4u5]\n\nBut this one yes (There is conection)\n\n[code=fw:3av9d4u5]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />FWCONNECT oCn HOST <span style=\"color: #ff0000;\">\"192.178.100.3\"</span> USER <span style=\"color: #ff0000;\">\"root\"</span> PASSWORD <span style=\"color: #ff0000;\">\"secret\"</span> DB <span style=\"color: #ff0000;\">\"AppSap\"</span><br /> </div>[/code:3av9d4u5]\n\nThe only diference is the host name.\n\nRegards[/quote:3av9d4u5]\n\nArmando no soy Mr.Rao, pero para localhost prueba con 127.0.0.1, saludos, gracias... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->", "time": "14:23", "topic": "A question for Mr. Rao", "username": "joseluisysturiz" } ]
A question for Mr. Rao
[ { "date": "2019-08-16", "forum": "FiveWin for Harbour/xHarbour", "text": "José Luis:\n\nTambién funciona, muchas gracias.\n\nSolo queda la incógnita, por que con localhost no?\n\nSaludos", "time": "15:39", "topic": "A question for Mr. Rao", "username": "Armando" } ]
A question for Mr. Rao
[ { "date": "2019-08-17", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Armando\":23je6jd9]José Luis:\n\nTambién funciona, muchas gracias.\n\nSolo queda la incógnita, por que con localhost no?\n\nSaludos[/quote:23je6jd9]\n\nCheck your hosts file in the path \\Windows\\system32\\drivers\\etc", "time": "06:38", "topic": "A question for Mr. Rao", "username": "anserkk" } ]
A question for Mr. Rao
[ { "date": "2019-08-17", "forum": "FiveWin for Harbour/xHarbour", "text": "anserkk:\n\nThanks for your answer.\n\nI made the change as follow but there is no way.\n\n[code=fw:3cmxjgcz]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /># localhost <span style=\"color: #0000ff;\">name</span> resolution is handled within DNS itself.<br />&nbsp; &nbsp; <span style=\"color: #000000;\">127.0</span><span style=\"color: #000000;\">.0</span><span style=\"color: #000000;\">.1</span> &nbsp; &nbsp; &nbsp; localhost<br />#&nbsp; &nbsp;::<span style=\"color: #000000;\">1</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; localhost<br />&nbsp;</div>[/code:3cmxjgcz]\n\nRegards", "time": "16:46", "topic": "A question for Mr. Rao", "username": "Armando" } ]
A question for Mr. Rao
[ { "date": "2019-08-20", "forum": "FiveWin for Harbour/xHarbour", "text": "You said that it is working fine if you try 127.0.0.1 instead of localhost, right ?\n\nCan I get the exact error message that you get when you try to connect to localhost ?\n\nThere are few possibilities for this issue, based on the error we shall try to identify the problem", "time": "05:19", "topic": "A question for Mr. Rao", "username": "anserkk" } ]
A question for Mr. Rao
[ { "date": "2019-08-20", "forum": "FiveWin for Harbour/xHarbour", "text": "anserkk:\n\nYou said that it is working fine if you try 127.0.0.1 instead of localhost, right ?\nYes that's right.\n\nThe message is\n\n2003\nCan't connect to MySQL server on 'localhost' (10061)\n\nThanks for your help\n\nRegards", "time": "15:58", "topic": "A question for Mr. Rao", "username": "Armando" } ]
A question for Mr. Rao
[ { "date": "2019-08-21", "forum": "FiveWin for Harbour/xHarbour", "text": "What is the value of the entry \nbind-address\nin my.cnf (in case your OS is linux) or my.ini\n\nIs that uncommented or commented?\n\nThe users in the DB ?\n[url=https&#58;//imgbb&#46;com/:2xg1xgq0][img:2xg1xgq0]https&#58;//i&#46;ibb&#46;co/jynwkgH/My-Sql-Users&#46;jpg[/img:2xg1xgq0][/url:2xg1xgq0]", "time": "13:40", "topic": "A question for Mr. Rao", "username": "anserkk" } ]
A question for Mr. Rao
[ { "date": "2019-08-21", "forum": "FiveWin for Harbour/xHarbour", "text": "anserkk:\n\nThere is no bind-address entry in mysql.ini (I have windows 10)\nand the users is\n\nroot localhost \n\nRegards", "time": "15:30", "topic": "A question for Mr. Rao", "username": "Armando" } ]
A question for Mr. Rao
[ { "date": "2007-06-22", "forum": "FiveWin for Harbour/xHarbour", "text": "The following sample doesn't show the string \"Other\" on the combobox. Is it expected?\n\n[code:3s6goopj]#include \"Fivewin&#46;ch\"\n\n\nFUNCTION MAIN&#40;&#41;\n\n LOCAL oDlg\n\n LOCAL cVar &#58;= \"Other\"\n\n LOCAL aItems &#58;= &#123; \"Test 1\", \"Test 2\", \"Test 3\" &#125;\n\n DEFINE DIALOG oDlg\n \n @ 1 , 1 COMBOBOX cVar;\n ITEMS aItems\n\n @ 3, 1 BUTTON \"&Close\";\n ACTION oDlg&#58;End&#40;&#41;\n\n ACTIVATE DIALOG oDlg;\n CENTER\n\n RETURN NIL[/code:3s6goopj]\n\nEMG", "time": "22:09", "topic": "A question regarding TCombobox", "username": "Enrico Maria Giordano" } ]
A question regarding TCombobox
[ { "date": "2007-06-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\n>The following sample doesn't show the string \"Other\" on the combobox. Is it expected? \n\nI would not expect it. A combobox is supposed to be limited to those choices in the array.\n\nJames", "time": "00:30", "topic": "A question regarding TCombobox", "username": "James Bott" } ]
A question regarding TCombobox
[ { "date": "2007-06-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Ok, thank you.\n\nEMG", "time": "16:23", "topic": "A question regarding TCombobox", "username": "Enrico Maria Giordano" } ]
A question regarding TCombobox
[ { "date": "2006-02-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, what was the exact reason why you commented out the following statement from TDialog?\n\n// 28/06/05 AL\n// ::nResult:LostFocus() // updates related variable\n\nEMG", "time": "14:44", "topic": "A question regarding TDialog", "username": "Enrico Maria Giordano" } ]
A question regarding TDialog
[ { "date": "2008-10-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\r\n\r\nOn Sunday, there was a solution of mine in the forum,\r\nhow to change the format of a PNG-file to 24-Bit BMP(transparent)\r\nwith a good freeware-Icon-editor, \r\nas well to add this bitmap to a dialog-title.\r\n\r\nThere was nothing special.\r\nIs there a reason, why my post is deleted ? (edited: it was moved, not deleted)\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "11:45", "topic": "A reason, a existing post is -moved- ?", "username": "ukoenig" } ]
A reason, a existing post is -moved- ?