messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2009-10-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr EMG\nMay I ask, if this works correctly in native (x)Harbour without FWH ? Is this problem only with FWH ?", "time": "17:52", "topic": "Bug in TGet", "username": "nageswaragunupudi" } ]
Bug in TGet
[ { "date": "2009-12-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Any news?\n\nEMG", "time": "12:43", "topic": "Bug in TGet", "username": "Enrico Maria Giordano" } ]
Bug in TGet
[ { "date": "2009-12-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nTesting Your example, I noticed, a RETURN or moving to the next Get,\nrefreshes the Format.\n\n[img:2ef19mxn]http&#58;//www&#46;pflegeplus&#46;com/pictures/focus1&#46;jpg[/img:2ef19mxn]\n\nBest Regards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "14:54", "topic": "Bug in TGet", "username": "ukoenig" } ]
Bug in TGet
[ { "date": "2009-12-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes, but as you can see one digit out of four is missing.\n\nEMG", "time": "16:06", "topic": "Bug in TGet", "username": "Enrico Maria Giordano" } ]
Bug in TGet
[ { "date": "2009-12-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nI use FWH 9.11 and the latest version (11/2009) of xHarbour Builder.\n\nI did some tests and I found no problem at all : not with 1 get and not with 2 gets.\n\nI don't know what's happening.", "time": "00:48", "topic": "Bug in TGet", "username": "driessen" } ]
Bug in TGet
[ { "date": "2009-12-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Are you sure? Please, can you send me your EXE to test it here?\n\nEMG", "time": "00:53", "topic": "Bug in TGet", "username": "Enrico Maria Giordano" } ]
Bug in TGet
[ { "date": "2009-12-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nYou can download an EXE-file at [url:vn39ztfk]http&#58;//www&#46;ma-consult&#46;be/test&#46;exe[/url:vn39ztfk].\n\nPlease let me know when you have used the test so I can deleted it from my webspace.\n\nGood luck.", "time": "12:00", "topic": "Bug in TGet", "username": "driessen" } ]
Bug in TGet
[ { "date": "2009-12-04", "forum": "FiveWin for Harbour/xHarbour", "text": "I just downloaded it and tested, thank you. It shows the problem. If you paste this string:\n\n123456789012345678901234567890\n\nyou will get\n\n123-567-901-345-789-123-567-90 - - - - \n\nAs you can see, 4 is missing, 8 is missing, and so on. If you try to insert that string manually the result is correct:\n\n123-456-789-012-345-678-901-234-567-890\n\nEMG", "time": "12:13", "topic": "Bug in TGet", "username": "Enrico Maria Giordano" } ]
Bug in TGet
[ { "date": "2009-12-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nIndeed, the problems occurs when pasting.", "time": "13:10", "topic": "Bug in TGet", "username": "driessen" } ]
Bug in TGet
[ { "date": "2009-12-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes, as I wrote in the first message of this thread. <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG", "time": "13:12", "topic": "Bug in TGet", "username": "Enrico Maria Giordano" } ]
Bug in TGet
[ { "date": "2009-12-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nI think it is not a FWH bug, I explain you why <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nIn Clipper or in Harbour we can not \"paste\" a value into a GET, we just can type it and FWH does it fine this way too. When we paste a value into a FWH GET we are simply replacing the contained oGet buffer and not typing each one of the characters. Please run this test to see what I mean:\n[code=fw:2sqej153]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />    <span style=\"color: #00C800;\">LOCAL</span> oDlg, oGet<br /><br />    <span style=\"color: #00C800;\">LOCAL</span> cVar := SPACE<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">39</span> <span style=\"color: #000000;\">&#41;</span><br /><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /><br />    @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">GET</span> oGet <span style=\"color: #0000ff;\">VAR</span> cVar;<br />           <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"999-999-999-999-999-999-999-999-999-999\"</span><br />        <br />    <span style=\"color: #B900B9;\">// standard Harbour code</span><br />    oGet:<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>     <br />    oGet:<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">buffer</span> = <span style=\"color: #ff0000;\">\"1234567890\"</span><br />    oGet:<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">Assign</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>  <br />    oGet:<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">UpdateBuffer</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #B900B9;\">// end of standard Harbour code     </span><br />    <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> oGet:<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">buffer</span> <span style=\"color: #000000;\">&#41;</span>       <br /><br />    @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"&Close\"</span> <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 /><br />    <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg;<br />             <span style=\"color: #0000ff;\">CENTER</span><br /><br />    <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /> </div>[/code:2sqej153]", "time": "13:39", "topic": "Bug in TGet", "username": "Antonio Linares" } ]
Bug in TGet
[ { "date": "2009-12-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nThis small example shows more clearly what I mean:\n[code=fw:3vbh7zsn]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />    <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> Transform<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"1234567890\"</span>, <span style=\"color: #ff0000;\">\"999-999-999-999-999-999-999-999-999-999\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:3vbh7zsn]\nIts a (wrong?) Transform() behavior:\n[img:3vbh7zsn]http&#58;//img687&#46;imageshack&#46;us/img687/8397/captureft&#46;jpg[/img:3vbh7zsn]", "time": "13:46", "topic": "Bug in TGet", "username": "Antonio Linares" } ]
Bug in TGet
[ { "date": "2009-12-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nI am reviewing Transform() docs and it does not manage \"-\" in any way. It has no special meaning for Transform():\n\n[url:1yy3k403]http&#58;//www&#46;ousob&#46;com/ng/53guide/nga46c2&#46;php[/url:1yy3k403]\n\nGET's PICTURE docs:\n[url:1yy3k403]http&#58;//www&#46;ousob&#46;com/ng/53guide/ngaee8c&#46;php[/url:1yy3k403]\n\nI think we are missing something...", "time": "14:08", "topic": "Bug in TGet", "username": "Antonio Linares" } ]
Bug in TGet
[ { "date": "2009-12-04", "forum": "FiveWin for Harbour/xHarbour", "text": "This is my understanding of the behavior of non-template characters in the picture clause, consistent from the days of Clipper till now in (x)Harbour.\n\nWhen a picture clause containing non-template characters is used to transform a numeric value, the non-template characters are inserted. But when a character value is transformed, the non-template characters are substituted unless '@R ' mask is used.\n\nTransform( \"12345678901\", \"999-999-999\" ) --> \"123-567-901\"\nTransform( \"123456789\", \"@R 999-999-999\" ) --> \"123-456-789\"\nTransform( 123456789, \"999-999-999\" ) --> \"123-456-789\"\nTransform( 123456789, \"@R 999-999-999\" ) --> \"123-456-789\"\n\nThe behavior reported by Mr. EMG is correct and that is what should be expected. I do not think there is any bug either in FWH or in (x)Harbour. \n\nIf I am still missing anything I am interested to know.", "time": "14:50", "topic": "Bug in TGet", "username": "nageswaragunupudi" } ]
Bug in TGet
[ { "date": "2009-12-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Rao,\n\nMany thanks for the very valuables examples.\n\nI think this may be the way to go:\nTransform( 123456789, \"999-999-999\" ) --> \"123-456-789\"\n\nWe could check the type() of the pasted value and if numeric, then use Val()\n\nthinking about it...", "time": "15:16", "topic": "Bug in TGet", "username": "Antonio Linares" } ]
Bug in TGet
[ { "date": "2009-12-04", "forum": "FiveWin for Harbour/xHarbour", "text": "You are right. But the following pure Clipper samples works fine if we paste in the console:\n\n[code=fw:2p7uwod6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><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: #00C800;\">LOCAL</span> GetList := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> cVar := SPACE<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">39</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">GET</span> cVar;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"999-999-999-999-999-999-999-999-999-999\"</span><br /><br />&nbsp; &nbsp; READ<br /><br />&nbsp; &nbsp; INKEY<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><br /><span style=\"color: #B900B9;\">// 123456789012345678901234567890</span></div>[/code:2p7uwod6]\n\nEMG", "time": "15:26", "topic": "Bug in TGet", "username": "Enrico Maria Giordano" } ]
Bug in TGet
[ { "date": "2009-12-04", "forum": "FiveWin for Harbour/xHarbour", "text": "ops, cVar is character type, so we can't use Val()...", "time": "15:27", "topic": "Bug in TGet", "username": "Antonio Linares" } ]
Bug in TGet
[ { "date": "2009-12-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nI think thats because console's paste types each character, one by one.\n\nMaybe thats the way to go: We could use a for next to type each pasted character", "time": "15:29", "topic": "Bug in TGet", "username": "Antonio Linares" } ]
Bug in TGet
[ { "date": "2009-12-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nThis change in FWH Class TGet seems to work fine <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n[code=fw:oi1qmlm9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">METHOD</span> HandleEvent<span style=\"color: #000000;\">&#40;</span> nMsg, nWParam, nLParam <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> TGet<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oClp, cText, n<br />&nbsp; &nbsp;...<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">case</span> nMsg == WM_PASTE<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> GetFocus<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> == ::<span style=\"color: #000000;\">hWnd</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CallWindowProc<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nOldProc</span>, ::<span style=\"color: #000000;\">hWnd</span>, WM_PASTE, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> CLIPBOARD oClp <span style=\"color: #0000ff;\">OF</span> <span style=\"color: #00C800;\">Self</span> FORMAT <span style=\"color: #0000ff;\">TEXT</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cText = oClp:<span style=\"color: #000000;\">GetText</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oClp:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">for</span> n = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> Len<span style=\"color: #000000;\">&#40;</span> cText <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> Set<span style=\"color: #000000;\">&#40;</span> _SET_INSERT <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">Insert</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">SubStr</span><span style=\"color: #000000;\">&#40;</span> cText, n, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">Overstrike</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">SubStr</span><span style=\"color: #000000;\">&#40;</span> cText, n, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">next</span> &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SetWindowText<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hWnd</span>, ::<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">buffer</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">Assign</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span> &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp;...<br />&nbsp;</div>[/code:oi1qmlm9]", "time": "15:38", "topic": "Bug in TGet", "username": "Antonio Linares" } ]
Bug in TGet
[ { "date": "2009-12-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Cursor position was not properly set. Now it is fine:\n[code=fw:283xotcz]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">case</span> nMsg == WM_PASTE<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> GetFocus<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> == ::<span style=\"color: #000000;\">hWnd</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CallWindowProc<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nOldProc</span>, ::<span style=\"color: #000000;\">hWnd</span>, WM_PASTE, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> CLIPBOARD oClp <span style=\"color: #0000ff;\">OF</span> <span style=\"color: #00C800;\">Self</span> FORMAT <span style=\"color: #0000ff;\">TEXT</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cText = oClp:<span style=\"color: #000000;\">GetText</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oClp:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">for</span> n = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> Len<span style=\"color: #000000;\">&#40;</span> cText <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> Set<span style=\"color: #000000;\">&#40;</span> _SET_INSERT <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">Insert</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">SubStr</span><span style=\"color: #000000;\">&#40;</span> cText, n, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">Overstrike</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">SubStr</span><span style=\"color: #000000;\">&#40;</span> cText, n, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">next</span> &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SetWindowText<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hWnd</span>, ::<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">buffer</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">SetPos</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">Pos</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">Assign</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span> &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">0</span><br />&nbsp;</div>[/code:283xotcz]", "time": "15:50", "topic": "Bug in TGet", "username": "Antonio Linares" } ]
Bug in TGet
[ { "date": "2009-12-05", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank you.\n\nEMG", "time": "13:32", "topic": "Bug in TGet", "username": "Enrico Maria Giordano" } ]
Bug in TGet
[ { "date": "2009-12-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Works like a charm!\n\nEMG", "time": "16:11", "topic": "Bug in TGet", "username": "Enrico Maria Giordano" } ]
Bug in TGet
[ { "date": "2009-12-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Great Antonio !!!", "time": "16:54", "topic": "Bug in TGet", "username": "Massimo Linossi" } ]
Bug in TGet
[ { "date": "2011-06-24", "forum": "FiveWin for Harbour/xHarbour", "text": "In the following sample, please click on the second get and you will see the caret placed on the next digit and not on the clicked digit.\n\n[code=fw:f59i4b9e]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> oDlg<br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> cVar := SPACE<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">30</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> nVar := <span style=\"color: #000000;\">0</span><br /><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /><br />&nbsp; &nbsp; @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">GET</span> cVar<br /><br />&nbsp; &nbsp; @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">GET</span> nVar;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"@EZ 999,999.99\"</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">RIGHT</span><br /><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">CENTER</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:f59i4b9e]\n\nEMG", "time": "19:36", "topic": "Bug in TGet", "username": "Enrico Maria Giordano" } ]
Bug in TGet
[ { "date": "2011-07-05", "forum": "FiveWin for Harbour/xHarbour", "text": "EMG,\n\nthat obviously only happens if the 2nd get doesn't have the focus. As soon as it has the focus everything is OK. So maybe it has something to do what happens if the get gets the focus?", "time": "10:26", "topic": "Bug in TGet", "username": "gkuhnert" } ]
Bug in TGet
[ { "date": "2011-07-05", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes, it happens when you click on the second GET.\n\nEMG", "time": "10:30", "topic": "Bug in TGet", "username": "Enrico Maria Giordano" } ]
Bug in TGet
[ { "date": "2021-08-13", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "In this sample, the size of the GET is very small:\n\n[code=fw:78bga99m]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> oDlg<br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> cVar := SPACE<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">30</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; FW_SETUNICODE<span style=\"color: #000000;\">&#40;</span> .T. <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /><br />&nbsp; &nbsp; @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">GET</span> cVar<br /><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">CENTER</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:78bga99m]\n\nEMG", "time": "11:47", "topic": "Bug in TGet", "username": "Enrico Maria Giordano" } ]
Bug in TGet
[ { "date": "2021-08-13", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Enrico,\n\nIf you use:\n\nLOCAL cVar := Replicate( \"X\", 30 )\n\nwould the shown width be correct ?", "time": "13:27", "topic": "Bug in TGet", "username": "Antonio Linares" } ]
Bug in TGet
[ { "date": "2021-08-13", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Yes, it is.\n\nEMG", "time": "13:41", "topic": "Bug in TGet", "username": "Enrico Maria Giordano" } ]
Bug in TGet
[ { "date": "2016-11-05", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "In the following sample, please change the number and press TAB. The new number doesn't properly align to right.\n\n[code=fw:kqbpcd2a]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />    <span style=\"color: #00C800;\">LOCAL</span> oDlg<br /><br />    <span style=\"color: #00C800;\">LOCAL</span> cCli := <span style=\"color: #000000;\">23</span><br /><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /><br />    @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">GET</span> cCli <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">13</span> <span style=\"color: #0000ff;\">RIGHT</span><br /><br />    @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Chiudi\"</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 /><br />    <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /><br />    <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:kqbpcd2a]\n\nEMG", "time": "18:55", "topic": "Bug in TGet [Fixed]", "username": "Enrico Maria Giordano" } ]
Bug in TGet [Fixed]
[ { "date": "2016-11-07", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Enrico,\n\nThis seems as a valid temporary solution:\n[code=fw:5s6qwca6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />    <span style=\"color: #00C800;\">LOCAL</span> oDlg, oGet<br /><br />    <span style=\"color: #00C800;\">LOCAL</span> cCli := <span style=\"color: #000000;\">23</span><br /><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /><br />    @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">GET</span> oGet <span style=\"color: #0000ff;\">VAR</span> cCli <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">13</span> <span style=\"color: #0000ff;\">RIGHT</span> ;<br />       <span style=\"color: #0000ff;\">VALID</span> <span style=\"color: #000000;\">&#40;</span> oGet:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, .T. <span style=\"color: #000000;\">&#41;</span> <br /><br />    @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Chiudi\"</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 /><br />    <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /><br />    <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:5s6qwca6]", "time": "18:14", "topic": "Bug in TGet [Fixed]", "username": "Antonio Linares" } ]
Bug in TGet [Fixed]
[ { "date": "2016-11-07", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Thank you. It's not something that I need to use. I only noticed this problem and reported here. <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG", "time": "19:02", "topic": "Bug in TGet [Fixed]", "username": "Enrico Maria Giordano" } ]
Bug in TGet [Fixed]
[ { "date": "2017-05-08", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "This bug is still not fixed.\n\nEMG", "time": "13:18", "topic": "Bug in TGet [Fixed]", "username": "Enrico Maria Giordano" } ]
Bug in TGet [Fixed]
[ { "date": "2017-05-08", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Enrico,\n\nPlease add these lines at the end of Class TGet Method KeyChar()\n\n[code=fw:22kgic3a]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">  #ifndef __CLIPPER__<br />               <span style=\"color: #00C800;\">if</span> nKey == VK_RETURN  <span style=\"color: #B900B9;\">// Execute DEFPUSHBUTTON Action</span><br />                  ::<span style=\"color: #00C800;\">Super</span>:<span style=\"color: #000000;\">KeyChar</span><span style=\"color: #000000;\">&#40;</span> nKey, nFlags <span style=\"color: #000000;\">&#41;</span><br />               <span style=\"color: #00C800;\">endif</span><br />           #endif<br /><br />           <span style=\"color: #00C800;\">if</span> lAnd<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nStyle</span>, ES_RIGHT <span style=\"color: #000000;\">&#41;</span>  <span style=\"color: #B900B9;\">// new</span><br />              ::<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>             &nbsp;   <span style=\"color: #B900B9;\">// new</span><br />           <span style=\"color: #00C800;\">endif</span>                          <span style=\"color: #B900B9;\">// new </span><br /><br />           <span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">0</span></div>[/code:22kgic3a]", "time": "17:53", "topic": "Bug in TGet [Fixed]", "username": "Antonio Linares" } ]
Bug in TGet [Fixed]
[ { "date": "2017-05-08", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Changes included in FWH 17.05\n\nmany thanks", "time": "18:03", "topic": "Bug in TGet [Fixed]", "username": "Antonio Linares" } ]
Bug in TGet [Fixed]
[ { "date": "2017-05-08", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Thank you.\n\nEMG", "time": "18:21", "topic": "Bug in TGet [Fixed]", "username": "Enrico Maria Giordano" } ]
Bug in TGet [Fixed]
[ { "date": "2007-01-15", "forum": "FiveWin for Harbour/xHarbour", "text": "This is the sample. Try pressing a digit and you will get the separator dots on the GET.\n\n[code:2wotm1pd]#include \"Fivewin&#46;ch\"\n\n\nFUNCTION MAIN&#40;&#41;\n\n LOCAL oDlg\n\n LOCAL nVar &#58;= 0\n\n DEFINE DIALOG oDlg\n\n @ 0, 0 GET nVar;\n PICTURE \"@EZ 999,999&#46;99\";\n RIGHT\n\n ACTIVATE DIALOG oDlg;\n CENTER\n\n RETURN NIL[/code:2wotm1pd]\n\nEMG", "time": "17:50", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Enrico Maria Giordano" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-01-15", "forum": "FiveWin for Harbour/xHarbour", "text": "It is a bug in xHarbour's GET class:\n\n[code:19qmuk52]FUNCTION MAIN&#40;&#41;\n\n LOCAL GetList &#58;= &#123;&#125;\n\n LOCAL nVar1 &#58;= 0\n LOCAL nVar2 &#58;= 0\n\n CLS\n\n @ 10, 10 GET nVar1;\n PICTURE \"@EZ 999,999&#46;99\";\n WHEN &#40; GetList&#91; 1 &#93;&#58;Picture &#58;= \"@EZ 999999&#46;99\", &#46;T&#46; &#41;;\n VALID &#40; GetList&#91; 1 &#93;&#58;Picture &#58;= \"@EZ 999,999&#46;99\", &#46;T&#46; &#41;\n\n @ 12, 10 GET nVar2;\n PICTURE \"@EZ 999,999&#46;99\"\n\n READ\n\n RETURN NIL[/code:19qmuk52]\n\nAlready reported to xHarbour developers list.\n\nEMG", "time": "23:24", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Enrico Maria Giordano" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-01-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico, this is after or before this entry:\n\n2007-01-07 16:45 UTC-0300 Eduardo Fernandes <modalsist@yahoo.com.br>\n 258 * source/rtl/tget.prg\n 259 ! fixed parsepict() method to avoid replacing commas by spaces, in\n 260 pictures like @Z 99,999.99.\n 261 Adjusted get len for negative numbers, when not exist picture on get.", "time": "01:45", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Nop" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-01-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\n> Already reported to xHarbour developers list. \n\nThanks!", "time": "04:00", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Antonio Linares" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-01-16", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Nop\":37yob631]Enrico, this is after or before this entry:\n\n2007-01-07 16:45 UTC-0300 Eduardo Fernandes <modalsist@yahoo.com.br>\n 258 * source/rtl/tget.prg\n 259 ! fixed parsepict() method to avoid replacing commas by spaces, in\n 260 pictures like @Z 99,999.99.\n 261 Adjusted get len for negative numbers, when not exist picture on get.[/quote:37yob631]\n\nThank you.\n\nEMG", "time": "08:52", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Enrico Maria Giordano" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-01-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nI have a problem when pressing . to enter numbers to the right of the decimal and the original number to the left of the decimal is not cleared. \n\nFor example, I have a number 123.45. If I press .67 the 123 remains and the .67 is entered over the .45. The old behaviour was to clear the all the digits to the left of the decimal so that the result was only 0.67.\n\nDo you get the same behaviour? I'm using PICTURE \"9999.99\". It seems to be a problem with latest xHarbour Jan 07 and FWH.\n\nThanks,\nRandal Ferguson", "time": "07:53", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Randal" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-01-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Please show a self-contained sample of the problem.\n\nEMG", "time": "13:41", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Enrico Maria Giordano" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-01-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nThanks for the reply. I was simply compiling a small FWH sample to test. This sample works when compiled with FWH and xBuilder Mar06 but with xBuilder Oct 06 and Jan 07 I get the behaviour I described.\n\nThanks,\nRandal Ferguson\n\n// Testing GETs\n\n#include \"FiveWin.ch\"\n\nfunction Main()\n LOCAL oDlg, oGet\n LOCAL cCad := \"Testing \" // pad(\"Testing Gets\",40)\n LOCAL nNum := 0\n LOCAL dDat := \"Test 2\"\n\n Set century On\n Set Date Ansi\n Set Date format \"mm/dd/yyyy\"\n\n SET _3DLOOK ON\n\n msginfo(\"testget\")\n\n DEFINE DIALOG oDlg TITLE \"TGet from \" + FWDESCRIPTION\n @ 1, 2 SAY \"Text..:\" OF oDlg\n @ 1, 6 GET oGet VAR cCad OF oDlg SIZE 60, 10 // COLOR \"W/G\" \n @ 1.8, 2 SAY \"Number:\" OF oDlg\n @ 2, 6 GET oGet VAR nNum OF oDlg SIZE 60, 10 PICTURE \"9999999.99\"\n @ 2.6, 2 SAY \"Date:\" OF oDlg\n @ 3, 6 GET oGet VAR dDat OF oDlg SIZE 60, 10 // WHEN .f. // \"@D\"\n oGet:lDisColors = .f. // don't use standard disabled colors\n @ 3, 7 BUTTON \"&Ok\" OF oDlg SIZE 30, 12 ACTION oDlg:End()\n @ 3, 16 BUTTON \"&Cancel\" SIZE 30, 12 OF oDlg ACTION oDlg:End() CANCEL\n\n ACTIVATE DIALOG oDlg CENTERED ;\n VALID MsgYesNo( \"Want to end ?\" )\n\nreturn nil\n\n//------------------------------------------------------------------------//\n\nprocedure appsys\nreturn", "time": "16:34", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Randal" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-01-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Confirmed. Just reported to the xHarbour developers list with the following sample:\n\n[code:srt9vhty]#include \"Inkey&#46;ch\"\n\n\nFUNCTION MAIN&#40;&#41;\n\n LOCAL GetList &#58;= &#123;&#125;\n\n LOCAL nVar &#58;= 123&#46;45\n\n SETKEY&#40; K_F2, &#123; || GetList&#91; 1 &#93;&#58;ToDecPos&#40;&#41; &#125; &#41;\n\n CLS\n\n @ 10, 10 GET nVar;\n PICTURE \"@E 999&#46;99\"\n\n READ\n\n RETURN NIL[/code:srt9vhty]\n\nEMG", "time": "17:27", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Enrico Maria Giordano" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-01-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nThanks!", "time": "18:06", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Antonio Linares" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-01-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nThanks alot! I really appreciate you taking the time to look at this.\n\nBest Regards,\nRandal Ferguson", "time": "20:02", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Randal" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-01-30", "forum": "FiveWin for Harbour/xHarbour", "text": "The bug has been fixed but the result is not what you expected. Now the xHarbour GET class behavior is Clipper compatible but you have to change FWH TGet class to get the same behavior:\n\n[code:2vqlrub2]if &#58;&#58;oGet&#58;Type == \"N\" &#46;and&#46; ;\n &#40; Chr&#40; nKey &#41; == \"&#46;\" &#46;or&#46; Chr&#40; nKey &#41; == \",\" &#41;\n if &#58;&#58;oGet&#58;Clear // EMG\n &#58;&#58;oGet&#58;DelEnd&#40;&#41; // EMG\n endif // EMG\n &#58;&#58;oGet&#58;ToDecPos&#40;&#41;\nelse[/code:2vqlrub2]\n\nEMG", "time": "11:59", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Enrico Maria Giordano" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-01-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nDoes your change work fine with Harbour too ? thanks", "time": "12:28", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Antonio Linares" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-01-30", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":1h0f7en0]Enrico,\n\nDoes your change work fine with Harbour too ? thanks[/quote:1h0f7en0]\n\nYes, it seems so.\n\nEMG", "time": "13:00", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Enrico Maria Giordano" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-01-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks!", "time": "13:03", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Antonio Linares" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-02-02", "forum": "FiveWin for Harbour/xHarbour", "text": "hi, the error now is when i press \".\" , only dec is saved in get. im using last cvs, fwh 2.8 , and EMG solution.", "time": "12:09", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Nop" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-02-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Can you show me a sample of the problem?\n\nEMG", "time": "12:16", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Enrico Maria Giordano" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-02-02", "forum": "FiveWin for Harbour/xHarbour", "text": "EMG, using the samples above, try press \".\", only the decimal part is saved in get. thanks", "time": "13:07", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Nop" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-02-02", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Nop\":kv7a94cn]EMG, using the samples above, try press \".\", only the decimal part is saved in get. thanks[/quote:kv7a94cn]\n\nPressing \",\" or \".\" makes no difference for me. The number is zeroed. What do you get instead?\n\nEMG", "time": "14:39", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Enrico Maria Giordano" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-02-02", "forum": "FiveWin for Harbour/xHarbour", "text": "EMG, try the samples below, but without picture, \n@ 10, 10 GET nVar\nwhen press, \".\", is showed \"1.00\", but after enter, only \"1\", stay in get, decimal part is cut.\nthanks", "time": "18:46", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Nop" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-02-02", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Nop\":1ri66ub4]EMG, try the samples below, but without picture, \n@ 10, 10 GET nVar\nwhen press, \".\", is showed \"1.00\", but after enter, only \"1\", stay in get, decimal part is cut.\nthanks[/quote:1ri66ub4]\n\nOk. Sorry, I can't find the cause of the problem.\n\nEMG", "time": "19:32", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Enrico Maria Giordano" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-02-02", "forum": "FiveWin for Harbour/xHarbour", "text": "EMG, but you confirm this? thanks", "time": "20:02", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Nop" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-02-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes.\n\nEMG", "time": "20:05", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Enrico Maria Giordano" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-02-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Nop,\n\nUse PICTURE \"9999999.99\"", "time": "10:27", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Antonio Linares" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-02-03", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":2v26uimq]Nop,\n\nUse PICTURE \"9999999.99\"[/quote:2v26uimq]\n\nYes, of course. But pure Clipper and [x]Harbour behavior is different.\n\nEMG", "time": "11:30", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Enrico Maria Giordano" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-02-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nyes, right, its just a workaround to solve the problem", "time": "12:12", "topic": "Bug in TGet with latest xHarbour from CVS", "username": "Antonio Linares" } ]
Bug in TGet with latest xHarbour from CVS
[ { "date": "2007-04-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nIn TGet, line 885, there is:\n[code:eqm3k0kg]&#58;&#58;oWnd&#58;GoNextControl&#40; &#58;&#58;hWnd &#41;[/code:eqm3k0kg]\nShould it not be:\n[code:eqm3k0kg]&#58;&#58;oWnd&#58;GoNextCtrl&#40; &#58;&#58;hWnd &#41;[/code:eqm3k0kg]\n--\nSincerely,\n\nPatrick Mast,\n<!-- m --><a class=\"postlink\" href=\"http://www.WinFakt.com\">http://www.WinFakt.com</a><!-- m -->", "time": "08:40", "topic": "Bug in TGet? (+fix)", "username": "Patrick Mast" } ]
Bug in TGet? (+fix)
[ { "date": "2007-04-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Patrick,\n\nIt was already fixed here,\n\nThanks anyhow <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "12:55", "topic": "Bug in TGet? (+fix)", "username": "Antonio Linares" } ]
Bug in TGet? (+fix)
[ { "date": "2016-09-26", "forum": "FiveWin for Harbour/xHarbour", "text": "This is a sample:\n\n[code=fw:3gq64vjn]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> oWnd<br /><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br /><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> TEST<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> TEST<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> oPrn, oGraph<br /><br />&nbsp; &nbsp; PRNLANDSCAPE<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">PRINT</span> oPrn <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Test\"</span> PREVIEW<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PAGE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph = TGraph<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lXGrid</span> = .T.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lYGrid</span> = .T.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lDotted</span> &nbsp;= .F.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lTitle</span> &nbsp; = .T.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lLegends</span> = .F.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">cTitle</span> = <span style=\"color: #ff0000;\">\"TEST\"</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">nBarSep</span> = <span style=\"color: #000000;\">100</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lxVal</span> = .T.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lViewVal</span> = .T.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">cTitX</span> = <span style=\"color: #ff0000;\">\"TESTX\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">cTitY</span> = <span style=\"color: #ff0000;\">\"TESTY\"</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">aSeries</span> = <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"\"</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">109</span>, <span style=\"color: #000000;\">177</span>, <span style=\"color: #000000;\">124</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">1</span>, .F. <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">aYVals</span> = <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">aData</span> = <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AADD<span style=\"color: #000000;\">&#40;</span> oGraph:<span style=\"color: #000000;\">aYVals</span>, <span style=\"color: #ff0000;\">\"2016\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AADD<span style=\"color: #000000;\">&#40;</span> oGraph:<span style=\"color: #000000;\">aData</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>, <span style=\"color: #000000;\">100</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #00C800;\">Print</span><span style=\"color: #000000;\">&#40;</span> oPrn, <span style=\"color: #000000;\">5</span> * oPrn:<span style=\"color: #000000;\">nVertRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">66</span>, <span style=\"color: #000000;\">5</span> * oPrn:<span style=\"color: #000000;\">nHorzRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">70</span> * oPrn:<span style=\"color: #000000;\">nHorzRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">56</span> * oPrn:<span style=\"color: #000000;\">nVertRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">66</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDPAGE</span><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDPRINT</span><br /><br />&nbsp; &nbsp; PRNPORTRAIT<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:3gq64vjn]\n\nI get the following error:\n\n[code=fw:3gq64vjn]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Application<br />===========<br />&nbsp; &nbsp;Path and <span style=\"color: #0000ff;\">name</span>: <span style=\"color: #000000;\">E</span>:\\FWXHARB\\PEPPE.EXE <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">32</span> bits<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">Size</span>: <span style=\"color: #000000;\">3</span>,<span style=\"color: #000000;\">106</span>,<span style=\"color: #000000;\">816</span> bytes<br />&nbsp; &nbsp;Compiler version: <span style=\"color: #000000;\">xHarbour</span> <span style=\"color: #000000;\">1.2</span><span style=\"color: #000000;\">.3</span> Intl. <span style=\"color: #000000;\">&#40;</span>SimpLex<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#40;</span>Build <span style=\"color: #000000;\">20160815</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;FiveWin &nbsp;Version: <span style=\"color: #000000;\">FWHX</span> <span style=\"color: #000000;\">16.06</span><br />&nbsp; &nbsp;Windows version: <span style=\"color: #000000;\">6.2</span>, Build <span style=\"color: #000000;\">9200</span> <br /><br />&nbsp; &nbsp;Time <span style=\"color: #0000ff;\">from</span> start: <span style=\"color: #000000;\">0</span> hours <span style=\"color: #000000;\">0</span> mins <span style=\"color: #000000;\">0</span> secs <br />&nbsp; &nbsp;Error occurred <span style=\"color: #00C800;\">at</span>: <span style=\"color: #000000;\">09</span>/<span style=\"color: #000000;\">26</span>/<span style=\"color: #000000;\">16</span>, <span style=\"color: #000000;\">15</span>:<span style=\"color: #000000;\">05</span>:<span style=\"color: #000000;\">55</span><br />&nbsp; &nbsp;Error description: <span style=\"color: #000000;\">Error</span> BASE/<span style=\"color: #000000;\">1132</span> &nbsp;Bound error: <span style=\"color: #000000;\">array</span> access<br />&nbsp; &nbsp;Args:<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> &nbsp; <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> = A &nbsp; <span style=\"color: #000000;\">&#123;</span> ... <span style=\"color: #000000;\">&#125;</span> length: <span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> &nbsp; <span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> = N &nbsp; <span style=\"color: #000000;\">2</span><br /><br />Stack Calls<br />===========<br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\TGRAPH.PRG => TGRAPH:<span style=\"color: #0000ff;\">PAINT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1054</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\TGRAPH.PRG => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>TGRAPH:<span style=\"color: #000000;\">TGRAPH</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">116</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: &nbsp;=> TGRAPH:<span style=\"color: #00C800;\">DISPLAY</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\CONTROL.PRG => TGRAPH:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1697</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => _FWH<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">3305</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: &nbsp;=> DIALOGBOXINDIRECT<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">DIALOG</span>.PRG => TDIALOG:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">296</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\<span style=\"color: #00C800;\">function</span>\\ERRSYSW.PRG => ERRORDIALOG<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">421</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\<span style=\"color: #00C800;\">function</span>\\ERRSYSW.PRG => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>ERRORSYS<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">23</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\TGRAPH.PRG => TGRAPH:<span style=\"color: #0000ff;\">PAINT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1054</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\TGRAPH.PRG => TGRAPH:<span style=\"color: #00C800;\">PRINT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1782</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">PEPPE</span>.prg => TEST<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">51</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">PEPPE</span>.prg => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>MAIN<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">11</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => TWINDOW:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1028</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">PEPPE</span>.prg => MAIN<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">11</span> <span style=\"color: #000000;\">&#41;</span></div>[/code:3gq64vjn]\n\nChanging\n\noGraph:lViewVal = .T.\n\nto\n\noGraph:lViewVal = .F.\n\nthe error goes away.\n\nAny suggestion?\n\nEMG", "time": "14:09", "topic": "Bug in TGraph", "username": "Enrico Maria Giordano" } ]
Bug in TGraph
[ { "date": "2016-09-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico, change line 1059\n\n[code=fw:1vbesyh8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br />            <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">aSeries</span><span style=\"color: #000000;\">&#91;</span> nJ, <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span> = <span style=\"color: #00C800;\">NIL</span> .OR. ::<span style=\"color: #000000;\">aSeries</span><span style=\"color: #000000;\">&#91;</span> nJ, <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> .AND. ::<span style=\"color: #000000;\">aData</span><span style=\"color: #000000;\">&#91;</span> nJ, nI <span style=\"color: #000000;\">&#93;</span> <> <span style=\"color: #00C800;\">NIL</span><br /> </div>[/code:1vbesyh8]\n\nwith\n\n[code=fw:1vbesyh8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br />            <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">aSeries</span><span style=\"color: #000000;\">&#91;</span> nJ, <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span> = <span style=\"color: #00C800;\">NIL</span> .OR. ::<span style=\"color: #000000;\">aSeries</span><span style=\"color: #000000;\">&#91;</span> nJ, <span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> .AND. ::<span style=\"color: #000000;\">aData</span><span style=\"color: #000000;\">&#91;</span> nJ, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <> <span style=\"color: #00C800;\">NIL</span><br /> </div>[/code:1vbesyh8]", "time": "15:23", "topic": "Bug in TGraph", "username": "cnavarro" } ]
Bug in TGraph
[ { "date": "2016-09-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank you. Now I get\n\n[code=fw:2balzb56]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Argument error conditional</div>[/code:2balzb56]\n\nSorry, I can't provide a sample.\n\nEMG", "time": "15:39", "topic": "Bug in TGraph", "username": "Enrico Maria Giordano" } ]
Bug in TGraph
[ { "date": "2016-09-26", "forum": "FiveWin for Harbour/xHarbour", "text": "You previous sample run now OK for me\n\nTry, but, thik this not is the problem\n[code=fw:3kvnq1rs]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">aSeries</span> = <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Value\"</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">109</span>, <span style=\"color: #000000;\">177</span>, <span style=\"color: #000000;\">124</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">1</span>, .F.,,,, <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp;</div>[/code:3kvnq1rs]", "time": "15:56", "topic": "Bug in TGraph", "username": "cnavarro" } ]
Bug in TGraph
[ { "date": "2016-09-26", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"cnavarro\":zjbuzkoz]You previous sample run now OK for me[/quote:zjbuzkoz]\n\nYes, but the real code in my app doesn't. Here it is, but it's not compilable, sorry:\n\n[code=fw:zjbuzkoz]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> GRAFICO<span style=\"color: #000000;\">&#40;</span> cTit, aDat <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> oPrn, oGraph<br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> i<br /><br />&nbsp; &nbsp; PRNLANDSCAPE<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">PRINT</span> oPrn <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Fatturato \"</span> + LOWER<span style=\"color: #000000;\">&#40;</span> cTit <span style=\"color: #000000;\">&#41;</span> PREVIEW<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PAGE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph = TGraph<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lXGrid</span> = .T.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lYGrid</span> = .T.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lDotted</span> &nbsp;= .F.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lTitle</span> &nbsp; = .T.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lLegends</span> = .F.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">cTitle</span> = <span style=\"color: #ff0000;\">\"FATTURATO \"</span> + cTit<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">nBarSep</span> = <span style=\"color: #000000;\">100</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lxVal</span> = M -> ACS_LEVEL < <span style=\"color: #000000;\">3</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lViewVal</span> = M -> ACS_LEVEL < <span style=\"color: #000000;\">3</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">cTitX</span> = <span style=\"color: #ff0000;\">\"FATTURATO\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">cTitY</span> = <span style=\"color: #ff0000;\">\"ANNI\"</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">aSeries</span> = <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"\"</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">109</span>, <span style=\"color: #000000;\">177</span>, <span style=\"color: #000000;\">124</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">1</span>, .F. <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">aYVals</span> = <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">aData</span> = <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">FOR</span> i = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> LEN<span style=\"color: #000000;\">&#40;</span> aDat <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AADD<span style=\"color: #000000;\">&#40;</span> oGraph:<span style=\"color: #000000;\">aYVals</span>, NTRIM<span style=\"color: #000000;\">&#40;</span> aDat<span style=\"color: #000000;\">&#91;</span> i, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #00C800;\">IF</span><span style=\"color: #000000;\">&#40;</span> i > <span style=\"color: #000000;\">1</span>, <span style=\"color: #ff0000;\">\" (\"</span> + NTRIM<span style=\"color: #000000;\">&#40;</span> aDat<span style=\"color: #000000;\">&#91;</span> i, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\"%)\"</span>, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AADD<span style=\"color: #000000;\">&#40;</span> oGraph:<span style=\"color: #000000;\">aData</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>, aDat<span style=\"color: #000000;\">&#91;</span> i, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">NEXT</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #00C800;\">Print</span><span style=\"color: #000000;\">&#40;</span> oPrn, <span style=\"color: #000000;\">5</span> * oPrn:<span style=\"color: #000000;\">nVertRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">66</span>, <span style=\"color: #000000;\">5</span> * oPrn:<span style=\"color: #000000;\">nHorzRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">70</span> * oPrn:<span style=\"color: #000000;\">nHorzRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">56</span> * oPrn:<span style=\"color: #000000;\">nVertRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">66</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDPAGE</span><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDPRINT</span><br /><br />&nbsp; &nbsp; PRNPORTRAIT<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:zjbuzkoz]\n\nEMG", "time": "16:01", "topic": "Bug in TGraph", "username": "Enrico Maria Giordano" } ]
Bug in TGraph
[ { "date": "2016-09-26", "forum": "FiveWin for Harbour/xHarbour", "text": "The error pops up executing this line:\n\n[code=fw:3clph68n]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oGraph:<span style=\"color: #00C800;\">Print</span><span style=\"color: #000000;\">&#40;</span> oPrn, <span style=\"color: #000000;\">5</span> * oPrn:<span style=\"color: #000000;\">nVertRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">66</span>, <span style=\"color: #000000;\">5</span> * oPrn:<span style=\"color: #000000;\">nHorzRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">70</span> * oPrn:<span style=\"color: #000000;\">nHorzRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">56</span> * oPrn:<span style=\"color: #000000;\">nVertRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">66</span> <span style=\"color: #000000;\">&#41;</span></div>[/code:3clph68n]\n\nEMG", "time": "16:03", "topic": "Bug in TGraph", "username": "Enrico Maria Giordano" } ]
Bug in TGraph
[ { "date": "2016-09-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Try:\n- Create Graph into Dialog\n- After, execute oGraph:Print", "time": "16:06", "topic": "Bug in TGraph", "username": "cnavarro" } ]
Bug in TGraph
[ { "date": "2016-09-26", "forum": "FiveWin for Harbour/xHarbour", "text": "This doesn't work, even with your fix:\n\n[code=fw:zc1jmu0c]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> oDlg<br /><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> TEST<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:zc1jmu0c]\n\nEMG", "time": "16:23", "topic": "Bug in TGraph", "username": "Enrico Maria Giordano" } ]
Bug in TGraph
[ { "date": "2016-09-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Look your sample\n\n[img:2nj148ry]http&#58;//s15&#46;postimg&#46;org/ifvo4wp0b/graph01&#46;png[/img:2nj148ry]\n\n[img:2nj148ry]http&#58;//s11&#46;postimg&#46;org/c5t6ueakj/graph02&#46;png[/img:2nj148ry]", "time": "16:50", "topic": "Bug in TGraph", "username": "cnavarro" } ]
Bug in TGraph
[ { "date": "2016-09-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Did you try ma new sample using DIALOG?\n\nEMG", "time": "17:32", "topic": "Bug in TGraph", "username": "Enrico Maria Giordano" } ]
Bug in TGraph
[ { "date": "2016-09-26", "forum": "FiveWin for Harbour/xHarbour", "text": "It is the same example\n\n[code=fw:3ebh41be]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> oWnd<br /><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">PIXEL</span> <br />&nbsp; &nbsp; oWnd:<span style=\"color: #000000;\">nTop</span> &nbsp; &nbsp; := <span style=\"color: #000000;\">10</span><br />&nbsp; &nbsp; oWnd:<span style=\"color: #000000;\">nLeft</span> &nbsp; &nbsp;:= <span style=\"color: #000000;\">10</span><br />&nbsp; &nbsp; oWnd:<span style=\"color: #000000;\">nWidth</span> &nbsp; := <span style=\"color: #000000;\">600</span><br />&nbsp; &nbsp; oWnd:<span style=\"color: #000000;\">nHeight</span> &nbsp;:= <span style=\"color: #000000;\">600</span><br />&nbsp; &nbsp;<br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> Test1<span style=\"color: #000000;\">&#40;</span> TEST<span style=\"color: #000000;\">&#40;</span> oWnd <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> TEST<span style=\"color: #000000;\">&#40;</span> oWnd <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> oGraph<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph = TGraph<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lXGrid</span> = .T.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lYGrid</span> = .T.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lDotted</span> &nbsp;= .F.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lTitle</span> &nbsp; = .T.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lLegends</span> = .F.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">cTitle</span> = <span style=\"color: #ff0000;\">\"TEST\"</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">nBarSep</span> = <span style=\"color: #000000;\">100</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lxVal</span> = .T.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lViewVal</span> = .T.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">cTitX</span> = <span style=\"color: #ff0000;\">\"TESTX\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">cTitY</span> = <span style=\"color: #ff0000;\">\"TESTY\"</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">aSeries</span> = <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Value\"</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">109</span>, <span style=\"color: #000000;\">177</span>, <span style=\"color: #000000;\">124</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">1</span>, .F.,,,, <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">aYVals</span> = <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">aData</span> = <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AADD<span style=\"color: #000000;\">&#40;</span> oGraph:<span style=\"color: #000000;\">aYVals</span>, <span style=\"color: #ff0000;\">\"2016\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AADD<span style=\"color: #000000;\">&#40;</span> oGraph:<span style=\"color: #000000;\">aData</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>, <span style=\"color: #000000;\">100</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oWnd:<span style=\"color: #000000;\">oClient</span> &nbsp;:= oGraph<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">//if MsgYesNo( \"Print Graph\", \"Attention:\" )</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">// &nbsp; Test1( oGraph )</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">//endif</span><br /><span style=\"color: #00C800;\">RETURN</span> oGraph<br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> TEST1<span style=\"color: #000000;\">&#40;</span> oGraph <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> oPrn<br /><br />&nbsp; &nbsp; PRNLANDSCAPE<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">PRINT</span> oPrn <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Test\"</span> PREVIEW<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PAGE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #00C800;\">Print</span><span style=\"color: #000000;\">&#40;</span> oPrn, <span style=\"color: #000000;\">5</span> * oPrn:<span style=\"color: #000000;\">nVertRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">66</span>, <span style=\"color: #000000;\">5</span> * oPrn:<span style=\"color: #000000;\">nHorzRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">70</span> * oPrn:<span style=\"color: #000000;\">nHorzRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">56</span> * oPrn:<span style=\"color: #000000;\">nVertRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">66</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDPAGE</span><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDPRINT</span><br /><br />&nbsp; &nbsp; PRNPORTRAIT<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 /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br />&nbsp;</div>[/code:3ebh41be]", "time": "18:15", "topic": "Bug in TGraph", "username": "cnavarro" } ]
Bug in TGraph
[ { "date": "2016-09-26", "forum": "FiveWin for Harbour/xHarbour", "text": "This is the sample that doesn't work:\n\n[code=fw:1hrkdgls]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> oDlg<br /><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> TEST<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> TEST<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> oPrn, oGraph<br /><br />&nbsp; &nbsp; PRNLANDSCAPE<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">PRINT</span> oPrn <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Test\"</span> PREVIEW<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PAGE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph = TGraph<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lXGrid</span> = .T.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lYGrid</span> = .T.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lDotted</span> &nbsp;= .F.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lTitle</span> &nbsp; = .T.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lLegends</span> = .F.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">cTitle</span> = <span style=\"color: #ff0000;\">\"TEST\"</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">nBarSep</span> = <span style=\"color: #000000;\">100</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lxVal</span> = .T.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lViewVal</span> = .T.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">cTitX</span> = <span style=\"color: #ff0000;\">\"TESTX\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">cTitY</span> = <span style=\"color: #ff0000;\">\"TESTY\"</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">aSeries</span> = <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"\"</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">109</span>, <span style=\"color: #000000;\">177</span>, <span style=\"color: #000000;\">124</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">1</span>, .F. <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">aYVals</span> = <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">aData</span> = <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AADD<span style=\"color: #000000;\">&#40;</span> oGraph:<span style=\"color: #000000;\">aYVals</span>, <span style=\"color: #ff0000;\">\"2016\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AADD<span style=\"color: #000000;\">&#40;</span> oGraph:<span style=\"color: #000000;\">aData</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>, <span style=\"color: #000000;\">100</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #00C800;\">Print</span><span style=\"color: #000000;\">&#40;</span> oPrn, <span style=\"color: #000000;\">5</span> * oPrn:<span style=\"color: #000000;\">nVertRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">66</span>, <span style=\"color: #000000;\">5</span> * oPrn:<span style=\"color: #000000;\">nHorzRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">70</span> * oPrn:<span style=\"color: #000000;\">nHorzRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">56</span> * oPrn:<span style=\"color: #000000;\">nVertRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">66</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDPAGE</span><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDPRINT</span><br /><br />&nbsp; &nbsp; PRNPORTRAIT<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:1hrkdgls]\n\nEMG", "time": "18:25", "topic": "Bug in TGraph", "username": "Enrico Maria Giordano" } ]
Bug in TGraph
[ { "date": "2016-09-26", "forum": "FiveWin for Harbour/xHarbour", "text": "The error is in the line\n\n[code=fw:3dmmdrkq]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">ReleaseDC</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span></div>[/code:3dmmdrkq]\n\ninside the Print() method.\n\nEMG", "time": "18:26", "topic": "Bug in TGraph", "username": "Enrico Maria Giordano" } ]
Bug in TGraph
[ { "date": "2016-09-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Another problem in Paint() method:\n\n::aSeries[nJ,5]\n\ncontains NIL.\n\nEMG", "time": "19:02", "topic": "Bug in TGraph", "username": "Enrico Maria Giordano" } ]
Bug in TGraph
[ { "date": "2016-09-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Works fine if\n\n[code=fw:12faj0h4]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oGraph:<span style=\"color: #000000;\">aSeries</span> = <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"\"</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">109</span>, <span style=\"color: #000000;\">177</span>, <span style=\"color: #000000;\">124</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">1</span>, .F. <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span></div>[/code:12faj0h4]\n\nis replaced with\n\n[code=fw:12faj0h4]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oGraph:<span style=\"color: #000000;\">aSeries</span> = <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"\"</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">109</span>, <span style=\"color: #000000;\">177</span>, <span style=\"color: #000000;\">124</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">1</span>, .F., .T. <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span></div>[/code:12faj0h4]\n\nIt seems that the fifth item of aSeries lost its default value (previously it had one, don't know since which FWH release).\n\nAnyway, problem solved for me. But a proper fix would be welcome. <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG", "time": "19:11", "topic": "Bug in TGraph", "username": "Enrico Maria Giordano" } ]
Bug in TGraph
[ { "date": "2016-09-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nThis aSeries error in fixed in FWH 16.08\n\nthanks", "time": "19:40", "topic": "Bug in TGraph", "username": "Antonio Linares" } ]
Bug in TGraph
[ { "date": "2016-09-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank you, master! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG", "time": "19:45", "topic": "Bug in TGraph", "username": "Enrico Maria Giordano" } ]
Bug in TGraph
[ { "date": "2016-09-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Unfortunately is not fixed in 16.08. <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG", "time": "13:18", "topic": "Bug in TGraph", "username": "Enrico Maria Giordano" } ]
Bug in TGraph
[ { "date": "2016-09-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nShould I test the same example that you posted on this thread ?\n\nIt worked fine here", "time": "17:44", "topic": "Bug in TGraph", "username": "Antonio Linares" } ]
Bug in TGraph
[ { "date": "2016-09-28", "forum": "FiveWin for Harbour/xHarbour", "text": "This is the sample:\n\n[code=fw:1258x0cq]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> oDlg<br /><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> TEST<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> TEST<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> oPrn, oGraph<br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> cTit := <span style=\"color: #ff0000;\">\"CLIENTI\"</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> aDat := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">2016</span>, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">100</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> i<br /><br />&nbsp; &nbsp; PRNLANDSCAPE<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">PRINT</span> oPrn <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Fatturato \"</span> + LOWER<span style=\"color: #000000;\">&#40;</span> cTit <span style=\"color: #000000;\">&#41;</span> PREVIEW<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PAGE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph = TGraph<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lXGrid</span> = .T.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lYGrid</span> = .T.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lDotted</span> &nbsp;= .F.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lTitle</span> &nbsp; = .T.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lLegends</span> = .F.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">cTitle</span> = <span style=\"color: #ff0000;\">\"FATTURATO \"</span> + cTit<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">nBarSep</span> = <span style=\"color: #000000;\">100</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lxVal</span> = .T.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">lViewVal</span> = .T.<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">cTitX</span> = <span style=\"color: #ff0000;\">\"FATTURATO\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">cTitY</span> = <span style=\"color: #ff0000;\">\"ANNI\"</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">aSeries</span> = <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"\"</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">109</span>, <span style=\"color: #000000;\">177</span>, <span style=\"color: #000000;\">124</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">1</span>, .F. <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">aYVals</span> = <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #000000;\">aData</span> = <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">FOR</span> i = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> LEN<span style=\"color: #000000;\">&#40;</span> aDat <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AADD<span style=\"color: #000000;\">&#40;</span> oGraph:<span style=\"color: #000000;\">aYVals</span>, LTRIM<span style=\"color: #000000;\">&#40;</span> STR<span style=\"color: #000000;\">&#40;</span> aDat<span style=\"color: #000000;\">&#91;</span> i, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #00C800;\">IF</span><span style=\"color: #000000;\">&#40;</span> i > <span style=\"color: #000000;\">1</span>, <span style=\"color: #ff0000;\">\" (\"</span> + LTRIM<span style=\"color: #000000;\">&#40;</span> STR<span style=\"color: #000000;\">&#40;</span> aDat<span style=\"color: #000000;\">&#91;</span> i, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\"%)\"</span>, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AADD<span style=\"color: #000000;\">&#40;</span> oGraph:<span style=\"color: #000000;\">aData</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>, aDat<span style=\"color: #000000;\">&#91;</span> i, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">NEXT</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oGraph:<span style=\"color: #00C800;\">Print</span><span style=\"color: #000000;\">&#40;</span> oPrn, <span style=\"color: #000000;\">5</span> * oPrn:<span style=\"color: #000000;\">nVertRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">66</span>, <span style=\"color: #000000;\">5</span> * oPrn:<span style=\"color: #000000;\">nHorzRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">70</span> * oPrn:<span style=\"color: #000000;\">nHorzRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">56</span> * oPrn:<span style=\"color: #000000;\">nVertRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">66</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDPAGE</span><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDPRINT</span><br /><br />&nbsp; &nbsp; PRNPORTRAIT<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:1258x0cq]\n\nThis is the error:\n\n[code=fw:1258x0cq]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Error description: <span style=\"color: #000000;\">Error</span> BASE/<span style=\"color: #000000;\">1087</span> &nbsp;Argument error: --</div>[/code:1258x0cq]\n\nEMG", "time": "18:11", "topic": "Bug in TGraph", "username": "Enrico Maria Giordano" } ]
Bug in TGraph
[ { "date": "2016-09-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico, for use also with Dialogs, please try with\n\n[code=fw:34cy72zg]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #00C800;\">Print</span><span style=\"color: #000000;\">&#40;</span> oPrn, nTop, nLeft, nWidth, nHeight <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> TGraph<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> nRight, nBottom, nI, nResV<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> cOldBitmap:= ::<span style=\"color: #000000;\">cBitmap</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> aOldF := <span style=\"color: #000000;\">&#123;</span> oClone<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">aFont</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span>, oClone<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">aFont</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oClone<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">aFont</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span>, oClone<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">aFont</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oClone<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">aFont</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span>, oClone<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">aFont</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">6</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oClone<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">aFont</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">7</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span>, oClone<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">aFont</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">8</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oClone<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">aFont</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">9</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;::<span style=\"color: #000000;\">oPrn</span> &nbsp; &nbsp;:= oPrn<br />&nbsp; &nbsp;::<span style=\"color: #000000;\">nTRight</span> := <span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp;::<span style=\"color: #000000;\">nTLeft</span> &nbsp;:= <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp;::<span style=\"color: #000000;\">nTCent</span> &nbsp;:= <span style=\"color: #000000;\">2</span><br />&nbsp; &nbsp;::<span style=\"color: #000000;\">cBitmap</span> := <span style=\"color: #ff0000;\">\" \"</span><br /><br />&nbsp; &nbsp;nRight &nbsp; &nbsp;:= nLeft + nWidth<br />&nbsp; &nbsp;nBottom &nbsp; := nTop &nbsp;+ nHeight<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> !Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hDC</span> <span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">// Add this</span><br />&nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">ReleaseDC</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">// Add this</span><br /><br /><br /><br />&nbsp;</div>[/code:34cy72zg]", "time": "23:14", "topic": "Bug in TGraph", "username": "cnavarro" } ]
Bug in TGraph
[ { "date": "2016-09-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank you. Can you send me the new lib please?\n\nEMG", "time": "10:02", "topic": "Bug in TGraph", "username": "Enrico Maria Giordano" } ]
Bug in TGraph
[ { "date": "2005-10-19", "forum": "FiveWin for Harbour/xHarbour", "text": "This is the sample:\n\n[code:2uo6nd3f]#include \"Fivewin&#46;ch\"\n\n\n#define IDI_QUESTION MAKEINTRESOURCE&#40; 32514 &#41;\n\n\nFUNCTION MAIN&#40;&#41;\n\n LOCAL oDlg, oIcon\n\n DEFINE DIALOG oDlg;\n COLOR CLR_BLACK, CLR_CYAN\n\n @ 1, 1 ICON oIcon OF oDlg\n\n ACTIVATE DIALOG oDlg;\n ON INIT oIcon&#58;hIcon &#58;= LOADICON&#40; 0, IDI_QUESTION &#41;;\n CENTER\n\n RETURN NIL[/code:2uo6nd3f]\n\nThe offending code seems to be\n\nMETHOD EraseBkGnd() VIRTUAL // for transparency on dialogs\n\nfrom icon.prg.\n\nEMG", "time": "14:11", "topic": "Bug in TIcon", "username": "Enrico Maria Giordano" } ]
Bug in TIcon
[ { "date": "2005-10-19", "forum": "FiveWin for Harbour/xHarbour", "text": "I forgot to describe the problem: the sample shows a square of different color around the icon.\n\nEMG", "time": "14:20", "topic": "Bug in TIcon", "username": "Enrico Maria Giordano" } ]
Bug in TIcon
[ { "date": "2005-10-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nhave you tried to assign it a \"NULL\" brush ?", "time": "17:14", "topic": "Bug in TIcon", "username": "Antonio Linares" } ]
Bug in TIcon
[ { "date": "2005-10-19", "forum": "FiveWin for Harbour/xHarbour", "text": "How?\n\nEMG", "time": "17:19", "topic": "Bug in TIcon", "username": "Enrico Maria Giordano" } ]
Bug in TIcon
[ { "date": "2005-10-19", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"EnricoMaria\":119sl56g]How?[/quote:119sl56g]\n\n[code:119sl56g]\nACTIVATE DIALOG oDlg; \n ON INIT &#40; oIcon&#58;hIcon &#58;= LOADICON&#40; 0, IDI_QUESTION &#41;,;\n oIcon&#58;SetBrush&#40; TBrush&#40;&#41;&#58;New&#40; \"NULL\" &#41; &#41; &#41; ; \n CENTER[/code:119sl56g]", "time": "17:59", "topic": "Bug in TIcon", "username": "Antonio Linares" } ]
Bug in TIcon
[ { "date": "2005-10-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Sorry, no change:\n\n[code:2u1x1qux]#include \"Fivewin&#46;ch\"\n\n\n#define IDI_QUESTION MAKEINTRESOURCE&#40; 32514 &#41;\n\n\nFUNCTION MAIN&#40;&#41;\n\n LOCAL oDlg, oIcon\n\n DEFINE DIALOG oDlg;\n COLOR CLR_BLACK, CLR_CYAN\n\n @ 1, 1 ICON oIcon OF oDlg \n\n ACTIVATE DIALOG oDlg;\n ON INIT &#40; oIcon&#58;hIcon &#58;= LOADICON&#40; 0, IDI_QUESTION &#41;,;\n oIcon&#58;SetBrush&#40; TBrush&#40;&#41;&#58;New&#40; \"NULL\" &#41; &#41; &#41;;\n CENTER\n\n RETURN NIL[/code:2u1x1qux]\n\nEMG", "time": "19:06", "topic": "Bug in TIcon", "username": "Enrico Maria Giordano" } ]
Bug in TIcon
[ { "date": "2005-10-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nI assume you are using XP and themes enabled, right ?", "time": "23:31", "topic": "Bug in TIcon", "username": "Antonio Linares" } ]
Bug in TIcon
[ { "date": "2005-10-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes.\n\nEMG", "time": "07:30", "topic": "Bug in TIcon", "username": "Enrico Maria Giordano" } ]
Bug in TIcon
[ { "date": "2007-03-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nI don't think that oIcon should be in inverted comma's <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->\n\nAlex\n\nMETHOD AddIcon( oIcon ) CLASS TImageList\n\n local oIco\n\n if ValType( oIcon ) == \"C\"\n[b:50phbd14] if File( \"oIcon\" )[/b:50phbd14]\n DEFINE ICON oIco FILENAME oIcon\n else\n DEFINE ICON oIco RESOURCE oIcon\n endif\n else\n oIco = oIcon\n endif\n\nreturn ILAddIcon( ::hImageList, oIco:hIcon )", "time": "04:58", "topic": "Bug in TImageList", "username": "AlexSchaft" } ]
Bug in TImageList
[ { "date": "2007-03-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Alex,\n\nFixed, thanks <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "09:33", "topic": "Bug in TImageList", "username": "Antonio Linares" } ]
Bug in TImageList
[ { "date": "2018-02-27", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "In TMail, method Activate, there is\n\n[code=fw:16cdii9u]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">cCurPath = CurDrive<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\":<span style=\"color: #000000;\">\\\"</span> + CurDir()</span></div>[/code:16cdii9u]\n\nBut this doesn't work when the current path is a network one (ie. \\\\myserver\\myfolder).\n\nEMG", "time": "12:04", "topic": "Bug in TMail [Fixed]", "username": "Enrico Maria Giordano" } ]
Bug in TMail [Fixed]
[ { "date": "2018-02-27", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "How to retrieve the current path when it is a network one ? <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "20:57", "topic": "Bug in TMail [Fixed]", "username": "Antonio Linares" } ]
Bug in TMail [Fixed]
[ { "date": "2018-02-27", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Enrico\n\nThis code is not especially elegant .. and it assumes the .exe is located in the drive or unc you wish to resolve.\n\nRick Lipkin\n\n[code=fw:xnqwhn56]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">// where .exe started from is default directory //</span><br /><br />cFILE &nbsp;:= GetModuleFileName<span style=\"color: #000000;\">&#40;</span> GetInstance<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />nSTART := RAT<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\\"</span>, cFILE )<br />cDEFA &nbsp;:= SUBSTR(cFILE,1,nSTART-1)<br /><br />SET DEFA to ( cDEFA )<br /></span></div>[/code:xnqwhn56]", "time": "22:18", "topic": "Bug in TMail [Fixed]", "username": "Rick Lipkin" } ]
Bug in TMail [Fixed]
[ { "date": "2018-02-27", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "[quote=\"Antonio Linares\":14unokhb]How to retrieve the current path when it is a network one ? <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->[/quote:14unokhb]\n\nSomething like:\n\n[code=fw:14unokhb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">IF</span> CurDrive<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> = <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\\"</span><br />&nbsp; &nbsp; cCurPath = CurDir()<br />ELSE<br />&nbsp; &nbsp; cCurPath = CurDrive() + \"</span>:\\<span style=\"color: #ff0000;\">\" + CurDir()<br />ENDIF</span></div>[/code:14unokhb]\n\nEMG", "time": "22:48", "topic": "Bug in TMail [Fixed]", "username": "Enrico Maria Giordano" } ]
Bug in TMail [Fixed]