messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2014-07-10", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Antonio,\n\nthank you. I will wait for the full btnbmp bugfix.\n\nEMG", "time": "08:50", "topic": "Bug in font management? [Solved]", "username": "Enrico Maria Giordano" } ]
Bug in font management? [Solved]
[ { "date": "2014-07-10", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Antonio,\n\n[quote=\"Antonio Linares\":1uqnklaa]Enrico,\n\nPlease look for hOldFont in Class TBtnBmp where it is assigned and change it this way:\n\n hOldFont = SelectObject( ::hDC, ::oFont:hFont )\n\nThat solves it <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->[/quote:1uqnklaa]\n\nI found two occurrences:\n\n[code=fw:1uqnklaa]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">hOldFont = SelectObject<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hDC</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lBarBtn</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oFont</span> != <span style=\"color: #00C800;\">nil</span>, ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oFont</span>:<span style=\"color: #000000;\">hFont</span>, ::<span style=\"color: #000000;\">oFont</span>:<span style=\"color: #000000;\">hFont</span> <span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">oFont</span>:<span style=\"color: #000000;\">hFont</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span></div>[/code:1uqnklaa]\n\nand\n\n[code=fw:1uqnklaa]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">hOldFont = SelectObject<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hDC</span>, ::<span style=\"color: #000000;\">oFont</span>:<span style=\"color: #000000;\">hFont</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// If( ::lBarBtn, ::oWnd:oWnd:oFont:hFont, ::oFont:hFont ) )</span></div>[/code:1uqnklaa]\n\nDo I have to change the first as it will look like the second?\n\nPlease confirm.\n\nEMG", "time": "10:00", "topic": "Bug in font management? [Solved]", "username": "Enrico Maria Giordano" } ]
Bug in font management? [Solved]
[ { "date": "2014-07-10", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "I forgot to mention that I'm using the old btnbmp.\n\nEMG", "time": "10:03", "topic": "Bug in font management? [Solved]", "username": "Enrico Maria Giordano" } ]
Bug in font management? [Solved]
[ { "date": "2014-07-10", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Enrico,\n\nI have emailed you the most recent version of the Class TBtnBmp, with the new Method Paint(), properly structured <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nHave you received it ?", "time": "14:27", "topic": "Bug in font management? [Solved]", "username": "Antonio Linares" } ]
Bug in font management? [Solved]
[ { "date": "2014-07-10", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Antonio,\n\nyes, I already answered:\n\n[url:sgcw7j0r]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=18&t=28499&start=45[/url:sgcw7j0r]\n\nEMG", "time": "14:35", "topic": "Bug in font management? [Solved]", "username": "Enrico Maria Giordano" } ]
Bug in font management? [Solved]
[ { "date": "2012-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nplease add the missing [color=#FF0000:2jukug59]r[/color:2jukug59]'s:\n[img:2jukug59]http&#58;//img28&#46;imageshack&#46;us/img28/158/fwerrorprg&#46;jpg[/img:2jukug59]", "time": "15:29", "topic": "Bug in fwerror.prg (Solved, not a bug)", "username": "frose" } ]
Bug in fwerror.prg (Solved, not a bug)
[ { "date": "2012-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Frank,\n\nThat code was for Clipper, not for Harbour.\n\nIn fact we can remove the Clipper part and leave it this way:\n\n\nfunction __LowMemError()\n\nreturn Eval( ErrorBlock(), _FWGenError( MEMORYLOW_ERROR ) )\n\n//----------------------------------------------------------------------------//\n\nfunction _FWGenError( nError, cOperation )", "time": "20:16", "topic": "Bug in fwerror.prg (Solved, not a bug)", "username": "Antonio Linares" } ]
Bug in fwerror.prg (Solved, not a bug)
[ { "date": "2012-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nok, I agree.\n\nI was looking after the 'nExtMem()' crash and saw the missing r's, so at first I thought that was the reason, but obviously it wasn't!\n\nThank you for clarification", "time": "21:19", "topic": "Bug in fwerror.prg (Solved, not a bug)", "username": "frose" } ]
Bug in fwerror.prg (Solved, not a bug)
[ { "date": "2011-03-29", "forum": "FiveWin for Harbour/xHarbour", "text": "In the following sample the last character of the label is truncated:\n\n[code=fw:1cfjuy5h]<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 />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANSPARENT<br /><br />&nbsp; &nbsp; @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #ff0000;\">\"Test\"</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:1cfjuy5h]\n\nEMG", "time": "10:28", "topic": "Bug in labels", "username": "Enrico Maria Giordano" } ]
Bug in labels
[ { "date": "2011-03-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nFixed, thanks! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) --> (uploaded to the repository)\n\nWe may publish a revised version 11.03 with it", "time": "11:02", "topic": "Bug in labels", "username": "Antonio Linares" } ]
Bug in labels
[ { "date": "2011-03-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank you, Antonio!\n\nEMG", "time": "11:15", "topic": "Bug in labels", "username": "Enrico Maria Giordano" } ]
Bug in labels
[ { "date": "2011-04-05", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Mr. Antonio,\n\nI re-download v11.03 then delete all obj/c and re-compile my project.\n\nStill having problem with redefine say..\n\n[img:2tojycss]http&#58;//i208&#46;photobucket&#46;com/albums/bb82/fraxzi/FWxHarbour/Say_bug_1103&#46;png[/img:2tojycss]\n\n\nKind Regards,\nFrances", "time": "01:52", "topic": "Bug in labels", "username": "fraxzi" } ]
Bug in labels
[ { "date": "2011-04-05", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio ,\n\nI have the same problem \n[url:2bw54xmy]http&#58;//img844&#46;imageshack&#46;us/i/immagineqc&#46;jpg/[/url:2bw54xmy]\n Regards \nMAurizio", "time": "11:44", "topic": "Bug in labels", "username": "Maurizio" } ]
Bug in labels
[ { "date": "2011-04-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nPlease, when will Fivetech provide a fixed version. We need to update our FWH but there are many bugs they are not fixed and we need a stable product.\n\nThank you.", "time": "12:03", "topic": "Bug in labels", "username": "pascual" } ]
Bug in labels
[ { "date": "2011-04-06", "forum": "FiveWin for Harbour/xHarbour", "text": "We have just published a revised FWH 11.03 build. It should be available to download in a few minutes, thanks <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "14:11", "topic": "Bug in labels", "username": "Antonio Linares" } ]
Bug in labels
[ { "date": "2006-11-27", "forum": "FiveWin for Harbour/xHarbour", "text": "The following sample bombs out with an error:\n\n[code:2u6rikcv]#include \"Fivewin&#46;ch\"\n\n\nFUNCTION MAIN&#40;&#41;\n\n LOCAL oWnd, oBar\n\n DEFINE WINDOW oWnd\n\n DEFINE BUTTONBAR oBar OF oWnd 3D\n\n DEFINE BUTTON;\n OF oBar;\n FILE \"C&#58;\\FWH\\BITMAPS\\16x16\\close&#46;bmp\";\n ACTION oWnd&#58;End&#40;&#41;;\n TOOLTIP \"Close\"\n\n ACTIVATE WINDOW oWnd\n\n RETURN NIL[/code:2u6rikcv]\n\nThis is the error:\n\n[quote:2u6rikcv]Error BASE/1066 Argument error: conditional[/quote:2u6rikcv]\n\nThis is the call stack:\n\n[quote:2u6rikcv]Stack Calls\n===========\n Called from: BTNBMP.PRG => TBTNBMP:PAINT(0)\n Called from: BTNBMP.PRG => (b)TBTNBMP:TBTNBMP(0)\n Called from: BTNBMP.PRG => TBTNBMP:DISPLAY(0)\n Called from: CONTROL.PRG => TBTNBMP:HANDLEEVENT(0)\n Called from: WINDOW.PRG => _FWH(0)\n Called from: => UPDATEWINDOW(0)\n Called from: WINDOW.PRG => TWINDOW:ACTIVATE(0)\n Called from: BUG3.prg => MAIN(18)[/quote:2u6rikcv]\n\nEMG", "time": "16:16", "topic": "Bug in latest FWH", "username": "Enrico Maria Giordano" } ]
Bug in latest FWH
[ { "date": "2006-11-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nYour sample works fine for me...\nfwh 2.8 + xHarbour builder oct. 2006", "time": "19:16", "topic": "Bug in latest FWH", "username": "Marc Boissinot" } ]
Bug in latest FWH
[ { "date": "2006-11-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes, I know it was working fine with Oct 2006 build. The bug is in the latest, Nov 2006.\n\nEMG", "time": "19:23", "topic": "Bug in latest FWH", "username": "Enrico Maria Giordano" } ]
Bug in latest FWH
[ { "date": "2006-11-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nPlease add this line:\n\nMETHOD Paint() CLASS TBtnBmp\n\n...\n\n DEFAULT ::lTransparent := .f. //this!", "time": "09:16", "topic": "Bug in latest FWH", "username": "Antonio Linares" } ]
Bug in latest FWH
[ { "date": "2006-11-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, I just found that if I copy/paste TBtnBmp class inside my sample PRG then it works fine without any changes. It seems that the source code is different from what it is in the LIB.\n\nEMG", "time": "09:25", "topic": "Bug in latest FWH", "username": "Enrico Maria Giordano" } ]
Bug in latest FWH
[ { "date": "2006-11-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Ok, it seems that your fix did the trick anyway.\n\nEMG", "time": "09:39", "topic": "Bug in latest FWH", "username": "Enrico Maria Giordano" } ]
Bug in latest FWH
[ { "date": "2006-11-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nYes, you are right. Somehow the latest Class TBtnBmp didn't go into the LIB. We are going to publish the FWH build again. Thanks,", "time": "09:47", "topic": "Bug in latest FWH", "username": "Antonio Linares" } ]
Bug in latest FWH
[ { "date": "2006-11-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank you!\n\nEMG", "time": "09:49", "topic": "Bug in latest FWH", "username": "Enrico Maria Giordano" } ]
Bug in latest FWH
[ { "date": "2016-01-25", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "This bug is still there (ALT-1 does nothing, ALT-2 open Test&1, mdichild icon vanishes):\n\n[code=fw:295swjq1]<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> oWnd, oMenu<br /><br />    <span style=\"color: #0000ff;\">MENU</span> oMenu <span style=\"color: #000000;\">2007</span><br />        <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test&1\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MSGINFO</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"1\"</span> <span style=\"color: #000000;\">&#41;</span><br />        <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test&2\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MSGINFO</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"2\"</span> <span style=\"color: #000000;\">&#41;</span><br />        <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test&3\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MSGINFO</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"3\"</span> <span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #0000ff;\">ENDMENU</span><br /><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">MDI</span>;<br />           <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"MDI Test\"</span>;<br />           <span style=\"color: #0000ff;\">MENU</span> oMenu<br /><br />    <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd;<br />             <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> CREATECHILD<span style=\"color: #000000;\">&#40;</span> oWnd <span style=\"color: #000000;\">&#41;</span><br /><br />    <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> CREATECHILD<span style=\"color: #000000;\">&#40;</span> oMdi <span style=\"color: #000000;\">&#41;</span><br /><br />    <span style=\"color: #00C800;\">LOCAL</span> oWnd, oMenu<br /><br />    <span style=\"color: #0000ff;\">MENU</span> oMenu <span style=\"color: #000000;\">2007</span><br />        <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Changed&1\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MSGINFO</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"1\"</span> <span style=\"color: #000000;\">&#41;</span><br />        <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Changed&2\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MSGINFO</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"2\"</span> <span style=\"color: #000000;\">&#41;</span><br />        <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Changed&3\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MSGINFO</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"3\"</span> <span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #0000ff;\">ENDMENU</span><br /><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">MDICHILD</span> <span style=\"color: #0000ff;\">OF</span> oMdi;<br />           <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"MDI Child Test\"</span>;<br />           <span style=\"color: #0000ff;\">MENU</span> oMenu<br /><br />    <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd;<br />             <span style=\"color: #0000ff;\">VALID</span> !GETKEYSTATE<span style=\"color: #000000;\">&#40;</span> VK_ESCAPE <span style=\"color: #000000;\">&#41;</span>;<br />             <span style=\"color: #0000ff;\">MAXIMIZED</span><br /><br />    <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:295swjq1]\n\nEMG", "time": "12:17", "topic": "Bug in mdichild menu [Fixed]", "username": "Enrico Maria Giordano" } ]
Bug in mdichild menu [Fixed]
[ { "date": "2016-01-25", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "[quote=\"Enrico Maria Giordano\":15iukfwr]This bug is still there (ALT-1 does nothing, ALT-2 open Test&1, mdichild icon vanishes):\n\n[code=fw:15iukfwr]<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> oWnd, oMenu<br /><br />    <span style=\"color: #0000ff;\">MENU</span> oMenu <span style=\"color: #000000;\">2007</span><br />        <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test&1\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MSGINFO</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"1\"</span> <span style=\"color: #000000;\">&#41;</span><br />        <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test&2\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MSGINFO</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"2\"</span> <span style=\"color: #000000;\">&#41;</span><br />        <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test&3\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MSGINFO</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"3\"</span> <span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #0000ff;\">ENDMENU</span><br /><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">MDI</span>;<br />           <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"MDI Test\"</span>;<br />           <span style=\"color: #0000ff;\">MENU</span> oMenu<br /><br />    <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd;<br />             <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> CREATECHILD<span style=\"color: #000000;\">&#40;</span> oWnd <span style=\"color: #000000;\">&#41;</span><br /><br />    <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> CREATECHILD<span style=\"color: #000000;\">&#40;</span> oMdi <span style=\"color: #000000;\">&#41;</span><br /><br />    <span style=\"color: #00C800;\">LOCAL</span> oWnd, oMenu<br /><br />    <span style=\"color: #0000ff;\">MENU</span> oMenu <span style=\"color: #000000;\">2007</span><br />        <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Changed&1\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MSGINFO</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"1\"</span> <span style=\"color: #000000;\">&#41;</span><br />        <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Changed&2\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MSGINFO</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"2\"</span> <span style=\"color: #000000;\">&#41;</span><br />        <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Changed&3\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MSGINFO</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"3\"</span> <span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #0000ff;\">ENDMENU</span><br /><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">MDICHILD</span> <span style=\"color: #0000ff;\">OF</span> oMdi;<br />           <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"MDI Child Test\"</span>;<br />           <span style=\"color: #0000ff;\">MENU</span> oMenu<br /><br />    <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd;<br />             <span style=\"color: #0000ff;\">VALID</span> !GETKEYSTATE<span style=\"color: #000000;\">&#40;</span> VK_ESCAPE <span style=\"color: #000000;\">&#41;</span>;<br />             <span style=\"color: #0000ff;\">MAXIMIZED</span><br /><br />    <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:15iukfwr]\n\nEMG[/quote:15iukfwr]\n\nEnrico, you are right\nThis old bug is present for me\nI have not been forgotten\n\nYou can see my first tests\n\nRemove characters of comment in lines 1412 at 1415 in menudraw.c\n\n[code=fw:15iukfwr]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">//if( bMdi ) //&& bPrev )</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">// {</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">//lpdis->rcItem.right -= 57;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">// }</span><br />&nbsp;</div>[/code:15iukfwr]", "time": "22:29", "topic": "Bug in mdichild menu [Fixed]", "username": "cnavarro" } ]
Bug in mdichild menu [Fixed]
[ { "date": "2017-06-05", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Any news?\n\nEMG", "time": "08:35", "topic": "Bug in mdichild menu [Fixed]", "username": "Enrico Maria Giordano" } ]
Bug in mdichild menu [Fixed]
[ { "date": "2017-06-05", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Dear Enrico\nWhen MdiChild is created, locate the SYSMENU icon in the main menu bar. The items in the main menu are renumbered their order to (n + 1), but the menu has already been created before drawing.\nThe order of creation and in the painting are different\nIt is a problem that must be fixed in the creation of the table of accelerators\n\nAt the moment\n[quote:1ovfrdf8]\nSTATIC FUNCTION CREATECHILD( oMdi )\n\n LOCAL oWnd, oMenu\n\n MENU oMenu 2007\n MENUITEM \"Changed&1\" ACTION MSGINFO( \"1\" )\n MENUITEM \"Changed&2\" ACTION MSGINFO( \"2\" )\n MENUITEM \"Changed&3\" ACTION MSGINFO( \"3\" )\n ENDMENU\n\n DEFINE WINDOW oWnd MDICHILD OF oMdi;\n TITLE \"MDI Child Test\";\n MENU oMenu [b:1ovfrdf8]NOSYSMENU[/b:1ovfrdf8]\n\n ACTIVATE WINDOW oWnd;\n VALID !GETKEYSTATE( VK_ESCAPE );\n MAXIMIZED\n\n RETURN NIL\n\n[/quote:1ovfrdf8]", "time": "14:03", "topic": "Bug in mdichild menu [Fixed]", "username": "cnavarro" } ]
Bug in mdichild menu [Fixed]
[ { "date": "2017-06-05", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "If I understood correctly, this is not possible as MDICHILDs are dinamically created after the creation of the main MDI window.\n\nEMG", "time": "14:56", "topic": "Bug in mdichild menu [Fixed]", "username": "Enrico Maria Giordano" } ]
Bug in mdichild menu [Fixed]
[ { "date": "2017-06-05", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "[quote=\"Enrico Maria Giordano\":3fghboc2]If I understood correctly, this is not possible as MDICHILDs are dinamically created after the creation of the main MDI window.\n\nEMG[/quote:3fghboc2]\n\nNO\nThe problem is with menu and SYSMENU ( locate ) of mdichild\nTable of accelerators is created with ( ALT + 1 ) as the first item\nAs the MENUSYS icon is inserted ( now SYSMENU is first item ), the first item defined in the menu is now the second one (the accelerator table has not been modified), so it appears when you press ALT + 1, the SYSMENU and not the action of item & 1\n\nIf you add clausule NOSYSMENU, run OK", "time": "15:41", "topic": "Bug in mdichild menu [Fixed]", "username": "cnavarro" } ]
Bug in mdichild menu [Fixed]
[ { "date": "2017-06-05", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Undestood. But with NOSYSMENU we don't have the three button on the right (minimize, restore and close) anymore. <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG", "time": "15:51", "topic": "Bug in mdichild menu [Fixed]", "username": "Enrico Maria Giordano" } ]
Bug in mdichild menu [Fixed]
[ { "date": "2017-06-05", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "I know\nThat's what needs to be solved", "time": "15:55", "topic": "Bug in mdichild menu [Fixed]", "username": "cnavarro" } ]
Bug in mdichild menu [Fixed]
[ { "date": "2017-06-05", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Ok, thank you.\n\nEMG", "time": "16:05", "topic": "Bug in mdichild menu [Fixed]", "username": "Enrico Maria Giordano" } ]
Bug in mdichild menu [Fixed]
[ { "date": "2017-06-05", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Fixed for next version", "time": "22:29", "topic": "Bug in mdichild menu [Fixed]", "username": "cnavarro" } ]
Bug in mdichild menu [Fixed]
[ { "date": "2017-06-05", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Great! Many thanks!\n\nEMG", "time": "22:30", "topic": "Bug in mdichild menu [Fixed]", "username": "Enrico Maria Giordano" } ]
Bug in mdichild menu [Fixed]
[ { "date": "2017-06-28", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Unfortunately the bug has moved here (note: MAXIMIZED is commented out):\n\n[code=fw:kzd41ffv]<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, oMenu<br /><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">MENU</span> oMenu <span style=\"color: #000000;\">2007</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test&1\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MSGINFO</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"1\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test&2\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MSGINFO</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"2\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test&3\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MSGINFO</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"3\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDMENU</span><br /><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">MDI</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"MDI Test\"</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENU</span> oMenu<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> CREATECHILD<span style=\"color: #000000;\">&#40;</span> oWnd <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> CREATECHILD<span style=\"color: #000000;\">&#40;</span> oMdi <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> oWnd, oMenu<br /><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">MENU</span> oMenu <span style=\"color: #000000;\">2007</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Changed&1\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MSGINFO</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"1\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Changed&2\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MSGINFO</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"2\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Changed&3\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MSGINFO</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"3\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDMENU</span><br /><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">MDICHILD</span> <span style=\"color: #0000ff;\">OF</span> oMdi;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"MDI Child Test\"</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENU</span> oMenu<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;\">VALID</span> !GETKEYSTATE<span style=\"color: #000000;\">&#40;</span> VK_ESCAPE <span style=\"color: #000000;\">&#41;</span>;<br /><span style=\"color: #B900B9;\">// &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MAXIMIZED</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:kzd41ffv]\n\nEMG", "time": "23:16", "topic": "Bug in mdichild menu [Fixed]", "username": "Enrico Maria Giordano" } ]
Bug in mdichild menu [Fixed]
[ { "date": "2017-06-29", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Enrico, \nExplain your problem better with this example\nI have tried it and I think it works correctly", "time": "01:21", "topic": "Bug in mdichild menu [Fixed]", "username": "cnavarro" } ]
Bug in mdichild menu [Fixed]
[ { "date": "2017-06-29", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "With MAXIMIZED commented out, try pressing ALT-1 and you will see a message with 2 instead of 1.\n\nEMG", "time": "09:01", "topic": "Bug in mdichild menu [Fixed]", "username": "Enrico Maria Giordano" } ]
Bug in mdichild menu [Fixed]
[ { "date": "2017-06-29", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Ok\nAs I said in previous posts, it is not a problem of the menus, it's of the METHOD Menuchar CLASS TWindow, try with this modification\n[code=fw:w8ws8uoo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />                  <span style=\"color: #00C800;\">if</span> Upper<span style=\"color: #000000;\">&#40;</span> oMenu:<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">ClassName</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"TMDIFRAME\"</span><br />                     <span style=\"color: #00C800;\">if</span> Upper<span style=\"color: #000000;\">&#40;</span> oMenu:<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oWndActive</span>:<span style=\"color: #000000;\">ClassName</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"TMDICHILD\"</span> .and. ;<br />                        lAnd<span style=\"color: #000000;\">&#40;</span> oMenu:<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oWndActive</span>:<span style=\"color: #000000;\">nStyle</span>, WS_SYSMENU <span style=\"color: #000000;\">&#41;</span><br />                        <span style=\"color: #00C800;\">if</span> IsZoomed<span style=\"color: #000000;\">&#40;</span> oMenu:<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oWndActive</span>:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span><br />                           nPos := n<br />                        <span style=\"color: #00C800;\">else</span><br />                           nPos := n - <span style=\"color: #000000;\">1</span><br />                        <span style=\"color: #00C800;\">endif</span><br />                     <span style=\"color: #00C800;\">else</span><br />                        nPos := n - <span style=\"color: #000000;\">1</span><br />                     <span style=\"color: #00C800;\">endif</span><br />                  <span style=\"color: #00C800;\">else</span><br />                     nPos := n - <span style=\"color: #000000;\">1</span><br />                  <span style=\"color: #00C800;\">endif</span><br />                  <span style=\"color: #00C800;\">return</span> nMakeLong<span style=\"color: #000000;\">&#40;</span> nPos, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:w8ws8uoo]", "time": "13:56", "topic": "Bug in mdichild menu [Fixed]", "username": "cnavarro" } ]
Bug in mdichild menu [Fixed]
[ { "date": "2017-06-29", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Yes, it works, thank you. I look forward for a FWH update.\n\nEMG", "time": "14:58", "topic": "Bug in mdichild menu [Fixed]", "username": "Enrico Maria Giordano" } ]
Bug in mdichild menu [Fixed]
[ { "date": "2008-02-12", "forum": "FiveWin for Harbour/xHarbour", "text": "In the following sample, the text \"CHECKLIST\" is not centered and the item background is not red:\n\n[code:yb3eexr7]#include \"Fivewin&#46;ch\"\n\n\nFUNCTION MAIN&#40;&#41;\n\n LOCAL oWnd\n\n DEFINE WINDOW oWnd\n\n SET MESSAGE OF oWnd 2007\n\n DEFINE MSGITEM OF oWnd&#58;oMsgBar;\n SIZE 70;\n COLOR CLR_BLACK, CLR_HRED;\n PROMPT \"CHECKLIST\"\n\n oWnd&#58;oMsgBar&#58;KeybOn&#40;&#41;\n oWnd&#58;oMsgBar&#58;DateOn&#40;&#41;\n oWnd&#58;oMsgBar&#58;ClockOn&#40;&#41;\n\n ACTIVATE WINDOW oWnd\n\n RETURN NIL[/code:yb3eexr7]\n\nEMG", "time": "23:13", "topic": "Bug in message bar", "username": "Enrico Maria Giordano" } ]
Bug in message bar
[ { "date": "2008-02-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nThe item background color is not used if 2007 is specified (at least, not yet)\n\nRegarding the center of the text, we are using GetTextWidth() to calculate its position when painting it. But it seems that GetTextWidth() does not work fine or we are doing something wrong...", "time": "23:22", "topic": "Bug in message bar", "username": "Antonio Linares" } ]
Bug in message bar
[ { "date": "2008-02-12", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":1z807snq]Enrico,\n\nThe item background color is not used if 2007 is specified (at least, not yet)[/quote:1z807snq]\n\nOk.\n\n[quote=\"Antonio Linares\":1z807snq]Regarding the center of the text, we are using GetTextWidth() to calculate its position when painting it. But it seems that GetTextWidth() does not work fine or we are doing something wrong...[/quote:1z807snq]\n\nOk, thank you.\n\nEMG", "time": "23:26", "topic": "Bug in message bar", "username": "Enrico Maria Giordano" } ]
Bug in message bar
[ { "date": "2008-02-13", "forum": "FiveWin for Harbour/xHarbour", "text": "This is a possible fix:\n\n[code:310bmhww] if &#58;&#58;oMsgBar&#58;l2007\n &#58;&#58;oMsgBar&#58;Say&#40; &#58;&#58;oMsgBar&#58;nHeight / 4 - 2,;\n nLeft - 1 + &#40; &#58;&#58;nWidth - GetTextWidth&#40; hDC, AllTrim&#40; &#58;&#58;cMsg &#41;, &#58;&#58;oFont&#58;hFont &#41; &#41; / 2,;\n AllTrim&#40; &#58;&#58;cMsg &#41;, If&#40; &#58;&#58;lActive, &#58;&#58;nClrText, &#58;&#58;nClrDisabled &#41;,;\n &#58;&#58;nClrPane, &#58;&#58;oFont, &#46;T&#46;, &#46;T&#46; &#41;\n WndBoxIn&#40; hDC, 2, nLeft - 4, &#58;&#58;oMsgBar&#58;nHeight - 2, nLeft - 3 &#41;\n else[/code:310bmhww]\n\nEMG", "time": "12:06", "topic": "Bug in message bar", "username": "Enrico Maria Giordano" } ]
Bug in message bar
[ { "date": "2008-05-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Possible fix with BitMap:\r\n\r\n if ::oMsgBar:l2007\r\n ::oMsgBar:Say( ::oMsgBar:nHeight / 4 - 2,;\r\n nLeft + nBmpWidth - iif(nBmpWidth>0,7,1) + ( ::nWidth - GetTextWidth( hDC, AllTrim( ::cMsg ), ::oFont:hFont ) ) / 2,;\r\n AllTrim( ::cMsg ), If( ::lActive, ::nClrText, ::nClrDisabled ),;\r\n ::nClrPane, ::oFont, .T., .T. )\r\n\r\n // nLeft - 1 + ( ::nWidth - GetTextWidth( hDC, AllTrim( ::cMsg ), ::oFont:hFont ) ) / 2,;\r\n\r\n WndBoxIn( hDC, 2, nLeft - 4, ::oMsgBar:nHeight - 2, nLeft - 3 )\r\n\r\n else\r\n\r\n\r\nRegards,\r\n\r\nCarlos Gallego", "time": "23:41", "topic": "Bug in message bar", "username": "Cgallegoa" } ]
Bug in message bar
[ { "date": "2011-12-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Please run the following test and click on the window: you will see that the normal highlight color of the selection bar of the browse is not shown anymore (it was in the previous FWH release). It is gray instead:\n\n[code=fw:3jo6r5o7]<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; USE CUSTOMER<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;\">CLICK</span> TEST<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; CLOSE<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> oDlg<br /><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">800</span>, <span style=\"color: #000000;\">600</span><br /><br />&nbsp; &nbsp; @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">LISTBOX</span> FIELDS<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> NOMODAL<br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:3jo6r5o7]\n\nEMG", "time": "22:13", "topic": "Bug in modal dialog", "username": "Enrico Maria Giordano" } ]
Bug in modal dialog
[ { "date": "2011-12-05", "forum": "FiveWin for Harbour/xHarbour", "text": "It seems, that in a nomodal-dialog the first control looses the background color!?", "time": "01:43", "topic": "Bug in modal dialog", "username": "byte-one" } ]
Bug in modal dialog
[ { "date": "2011-12-05", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nThis change is required in Class TDialog. Thanks! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\n[img:yfkobems]http&#58;//img31&#46;imageshack&#46;us/img31/6739/captureufd&#46;png[/img:yfkobems]", "time": "10:38", "topic": "Bug in modal dialog", "username": "Antonio Linares" } ]
Bug in modal dialog
[ { "date": "2011-12-05", "forum": "FiveWin for Harbour/xHarbour", "text": "This code seems to be the right one:\n\n[code=fw:2dmn3zez]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">         <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">Initiate</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />            <span style=\"color: #00C800;\">if</span> Len<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">aControls</span> <span style=\"color: #000000;\">&#41;</span> >= <span style=\"color: #000000;\">1</span><br />               ::<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">PostMsg</span><span style=\"color: #000000;\">&#40;</span> WM_SETFOCUS <span style=\"color: #000000;\">&#41;</span><br />            <span style=\"color: #00C800;\">endif</span><br />         <span style=\"color: #00C800;\">endif</span><br />               <br />         ::<span style=\"color: #000000;\">Show</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>      <br />         ::<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// needed for resource dialogs </span><br /> </div>[/code:2dmn3zez]", "time": "10:43", "topic": "Bug in modal dialog", "username": "Antonio Linares" } ]
Bug in modal dialog
[ { "date": "2011-12-05", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, thats not a good way. You see, the focus-color are not gone if leaving the get. And also the focus goes always return to the first control of the folderpage if i return from another folderpage.\nAs I say, this problem is only on NOWAIT-Dialogs!!\nThe problem of the bolded say on transparent dialogs is also visible in this testdialog! \n\n[code=fw:3l3p0co3]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> test<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /> <span style=\"color: #00C800;\">local</span> oDlg, oFld, oGet, cCombo, cTest := <span style=\"color: #ff0000;\">\"Hello world\"</span>, cAnother := <span style=\"color: #ff0000;\">\"Another GET\"</span><br /><br />SetGetColorFocus<span style=\"color: #000000;\">&#40;</span> CLR_BLUE <span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Antonio Test\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">400</span>, <span style=\"color: #000000;\">300</span> TRANSPARENT<br />   @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">19</span> <span style=\"color: #0000ff;\">GET</span> cTest <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">COLOR</span> CLR_HRED,CLR_GRAY<br />   @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">5</span> FOLDEREX_ST oFld <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&One\"</span>, <span style=\"color: #ff0000;\">\"&Two\"</span>, <span style=\"color: #ff0000;\">\"&Three\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">140</span>,<span style=\"color: #000000;\">120</span><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> cTest <span style=\"color: #0000ff;\">OF</span> oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">COLOR</span> CLR_HRED,CLR_GRAY<br />   @ <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">COMBOBOX</span> cCombo <span style=\"color: #0000ff;\">PROMPTS</span> <span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"A\"</span>,<span style=\"color: #ff0000;\">\"B\"</span>,<span style=\"color: #ff0000;\">\"C\"</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #0000ff;\">OF</span> oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />   @ <span style=\"color: #000000;\">4</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">GET</span> cAnother <span style=\"color: #0000ff;\">OF</span> oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">COLOR</span> CLR_HRED,CLR_GRAY<br />   @ <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #ff0000;\">\"Bolder.. , when TAB changes the focus goes in-/outside the folder\"</span> <span style=\"color: #0000ff;\">OF</span> oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />   @ <span style=\"color: #000000;\">7.2</span>, <span style=\"color: #000000;\">14</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Ok\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">msginfo</span><span style=\"color: #000000;\">&#40;</span>;<br />   <span style=\"color: #ff0000;\">\"BG-Color Get 1: \"</span>+str<span style=\"color: #000000;\">&#40;</span>oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nClrpane</span><span style=\"color: #000000;\">&#41;</span>+CRLF+CRLF+;<br />   <span style=\"color: #ff0000;\">\"BG-Color Get 2: \"</span>+str<span style=\"color: #000000;\">&#40;</span>oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nClrpane</span><span style=\"color: #000000;\">&#41;</span>;<br />   <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTER</span> <span style=\"color: #B900B9;\">//NOWAIT</span><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:3l3p0co3]", "time": "11:38", "topic": "Bug in modal dialog", "username": "byte-one" } ]
Bug in modal dialog
[ { "date": "2011-12-05", "forum": "FiveWin for Harbour/xHarbour", "text": "Günther,\n\nThis code satisfies Enrico's example and your example also:\n\n[code=fw:3v8nj8vs]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">         <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">Initiate</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />            ::<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />         <span style=\"color: #00C800;\">endif</span><br /> </div>[/code:3v8nj8vs]\n\nStill we need to find why the first control is not getting the right color. Still I have to check the FixSays()", "time": "12:28", "topic": "Bug in modal dialog", "username": "Antonio Linares" } ]
Bug in modal dialog
[ { "date": "2011-12-05", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, thanks!\nI found, the bolder-effect on says are ONLY on TfolderEx NOT on Tfolder and ONLY on the first change outside from the folderex. If i change once from one folderdialog to another, the ugly effect is gone!", "time": "13:25", "topic": "Bug in modal dialog", "username": "byte-one" } ]
Bug in modal dialog
[ { "date": "2011-12-06", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote:14f03z5b]Still we need to find why the first control is not getting the right color.\nStill I have to check the FixSays()[/quote:14f03z5b]\nAny results, Antonio?", "time": "13:52", "topic": "Bug in modal dialog", "username": "byte-one" } ]
Bug in modal dialog
[ { "date": "2011-12-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Günther,\n\nWe are doing more tests to solve the pending issues", "time": "16:54", "topic": "Bug in modal dialog", "username": "Antonio Linares" } ]
Bug in modal dialog
[ { "date": "2011-12-06", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":3p3x428l]Günther,\n We are doing more tests to solve the pending issues[/quote:3p3x428l]\n\n Antonio , I really don't know is that related , but in folderex created on dialog aren't working other languages , russian as sample . With folderex on windows it's working , but on dialogs not . So if I let prompts for folderex on dialog :\n\n DEFINE DIALOG oDlg RESOURCE \"DIALOG1\"\n REDEFINE FOLDEREX oFld1 ID 110 OF oDlg;\n PROMPT \"&Clipper\", \"&???????\" DIALOGS \"Sub1\", \"Sub2\" \n\n It not will work ( second tab - in russian \"Windows\" ). Please , turn attention for that .\n\n With best regards !", "time": "19:04", "topic": "Bug in modal dialog", "username": "Rimantas" } ]
Bug in modal dialog
[ { "date": "2007-11-22", "forum": "FiveWin for Harbour/xHarbour", "text": "This is the fixed line:\n\n[code:1zd0rvdg]ui = &#40; &#40; short * &#41;&#40; &d &#41; &#41;&#91;3&#93; & 0xfff0; // Get exponent[/code:1zd0rvdg]\n\nNote short type instead of int.\n\nEMG", "time": "16:13", "topic": "Bug in nDbl2Flt()", "username": "Enrico Maria Giordano" } ]
Bug in nDbl2Flt()
[ { "date": "2007-11-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nThanks! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "20:03", "topic": "Bug in nDbl2Flt()", "username": "Antonio Linares" } ]
Bug in nDbl2Flt()
[ { "date": "2012-01-31", "forum": "FiveWin for Harbour/xHarbour", "text": "In the following sample, please click on the checkbox and then hit Enter on the keyboard. The focus doesn't go to the button. It works fine without a TFolder. I'm using FWH 11.11 and have the manifest file in the resources.\n\n[code=fw:39e8yi73]<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, oFld, oBtn<br /><br />    <span style=\"color: #00C800;\">LOCAL</span> lVar := .F.<br /><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg;<br />           <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"FOLDER\"</span><br /><br />    <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">FOLDER</span> oFld;<br />             <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">101</span> <span style=\"color: #0000ff;\">OF</span> oDlg;<br />             <span style=\"color: #0000ff;\">PROMPTS</span> <span style=\"color: #ff0000;\">\"Test\"</span>;<br />             <span style=\"color: #0000ff;\">DIALOGS</span> <span style=\"color: #ff0000;\">\"TEST\"</span><br /><br />    <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span>;<br />             <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">101</span> <span style=\"color: #0000ff;\">OF</span> oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>;<br />             FILE <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\o</span>pen.bmp\"</span>;<br />             NOBORDER<br /><br />    <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">CHECKBOX</span> lVar;<br />             <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">102</span> <span style=\"color: #0000ff;\">OF</span> oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br /><br />    <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtn <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&Close\"</span>;<br />             <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">201</span> <span style=\"color: #0000ff;\">OF</span> oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</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;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span>;<br />             <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">102</span> <span style=\"color: #0000ff;\">OF</span> oDlg;<br />             FILE <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\o</span>pen.bmp\"</span>;<br />             NOBORDER<br /><br />    <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span>;<br />             <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">201</span> <span style=\"color: #0000ff;\">OF</span> oDlg;<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 />             <span style=\"color: #0000ff;\">CENTER</span><br /><br />    <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:39e8yi73]\n\n[code=fw:39e8yi73]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">FOLDER</span> <span style=\"color: #0000ff;\">DIALOG</span> <span style=\"color: #000000;\">49</span>, <span style=\"color: #000000;\">52</span>, <span style=\"color: #000000;\">365</span>, <span style=\"color: #000000;\">295</span><br /><span style=\"color: #0000ff;\">STYLE</span> DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU<br />CAPTION <span style=\"color: #ff0000;\">\"Folder test\"</span><br /><span style=\"color: #0000ff;\">FONT</span> <span style=\"color: #000000;\">8</span>, <span style=\"color: #ff0000;\">\"MS Sans Serif\"</span><br />LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL<br /><span style=\"color: #000000;\">&#123;</span><br /> CONTROL <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #000000;\">101</span>, <span style=\"color: #ff0000;\">\"SysTabControl32\"</span>, <span style=\"color: #000000;\">0</span> | WS_CHILD | WS_VISIBLE, <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">265</span>, <span style=\"color: #000000;\">195</span><br /> PUSHBUTTON <span style=\"color: #ff0000;\">\"&Close\"</span>, <span style=\"color: #000000;\">201</span>, <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">275</span>, <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">15</span><br /> CONTROL <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #000000;\">102</span>, <span style=\"color: #ff0000;\">\"TBtnBmp\"</span>, <span style=\"color: #000000;\">0</span> | WS_CHILD | WS_VISIBLE, <span style=\"color: #000000;\">280</span>, <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">25</span><br /><span style=\"color: #000000;\">&#125;</span><br /><br />TEST <span style=\"color: #0000ff;\">DIALOG</span> <span style=\"color: #000000;\">49</span>, <span style=\"color: #000000;\">52</span>, <span style=\"color: #000000;\">365</span>, <span style=\"color: #000000;\">295</span><br /><span style=\"color: #0000ff;\">STYLE</span> WS_CHILD<br /><span style=\"color: #0000ff;\">FONT</span> <span style=\"color: #000000;\">8</span>, <span style=\"color: #ff0000;\">\"MS Sans Serif\"</span><br />LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL<br /><span style=\"color: #000000;\">&#123;</span><br /> CONTROL <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #000000;\">101</span>, <span style=\"color: #ff0000;\">\"TBtnBmp\"</span>, <span style=\"color: #000000;\">0</span> | WS_CHILD | WS_VISIBLE, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">25</span><br /> AUTOCHECKBOX <span style=\"color: #ff0000;\">\"Checkbox\"</span>, <span style=\"color: #000000;\">102</span>, <span style=\"color: #000000;\">97</span>, <span style=\"color: #000000;\">74</span>, <span style=\"color: #000000;\">60</span>, <span style=\"color: #000000;\">12</span><br /> PUSHBUTTON <span style=\"color: #ff0000;\">\"Button\"</span>, <span style=\"color: #000000;\">201</span>, <span style=\"color: #000000;\">103</span>, <span style=\"color: #000000;\">134</span>, <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">14</span><br /><span style=\"color: #000000;\">&#125;</span></div>[/code:39e8yi73]\n\nEMG", "time": "19:06", "topic": "Bug in navigation key VK_ENTER", "username": "Enrico Maria Giordano" } ]
Bug in navigation key VK_ENTER
[ { "date": "2012-01-31", "forum": "FiveWin for Harbour/xHarbour", "text": "enrico\n11.12\nit work ok.\nclick in the checkbox and press enter, the button Close have the focus.\n\nthe only bad thing is what press tab many time, and only controls out of folder have focus, \nonly press a control inside the folder and the chckbox have focus.\n\nsalu2", "time": "20:00", "topic": "Bug in navigation key VK_ENTER", "username": "carlos vargas" } ]
Bug in navigation key VK_ENTER
[ { "date": "2012-01-31", "forum": "FiveWin for Harbour/xHarbour", "text": "hi have this mod in tcheckbox\n[code=fw:2gqzyhn6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">METHOD</span> KeyChar<span style=\"color: #000000;\">&#40;</span> nKey, nFlags <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> TCheckbox<br /><br />   <span style=\"color: #00C800;\">IF</span> nKey == VK_RETURN<br />      ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">GoNextCtrl</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <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 /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">METHOD</span> KeyDown<span style=\"color: #000000;\">&#40;</span> nKey, nFlags <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> TCheckbox<br /><br />   <span style=\"color: #00C800;\">DO</span> <span style=\"color: #00C800;\">CASE</span><br />   <span style=\"color: #00C800;\">CASE</span> nKey == VK_UP<br />      <span style=\"color: #00C800;\">IF</span> Len<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">aControls</span> <span style=\"color: #000000;\">&#41;</span> > <span style=\"color: #000000;\">1</span><br />         ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">GoPrevCtrl</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span><br />      <span style=\"color: #00C800;\">ENDIF</span><br />   <span style=\"color: #00C800;\">CASE</span> nKey == VK_DOWN<br />      <span style=\"color: #00C800;\">IF</span> Len<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">aControls</span> <span style=\"color: #000000;\">&#41;</span> > <span style=\"color: #000000;\">1</span><br />         ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">GoNextCtrl</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span><br />      <span style=\"color: #00C800;\">ENDIF</span><br />   <span style=\"color: #00C800;\">ENDCASE</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">Super</span>:<span style=\"color: #000000;\">KeyDown</span><span style=\"color: #000000;\">&#40;</span> nKey, nFlags <span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:2gqzyhn6]\n\nand in tbutton\n[code=fw:2gqzyhn6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #00C800;\">METHOD</span> GetDlgCode<span style=\"color: #000000;\">&#40;</span> nLastKey <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> TButton<br /><br />&nbsp; &nbsp;::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">nLastKey</span> := nLastKey<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">IF</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oWnd</span> != <span style=\"color: #00C800;\">nil</span> .and. <span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">IsKindOf</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"TFOLDER\"</span> <span style=\"color: #000000;\">&#41;</span> .or. ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">IsKindOf</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"TFOLDEREX\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> DLGC_WANTALLKEYS<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br />&nbsp;</div>[/code:2gqzyhn6]", "time": "20:02", "topic": "Bug in navigation key VK_ENTER", "username": "carlos vargas" } ]
Bug in navigation key VK_ENTER
[ { "date": "2012-01-31", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank you Carlos! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG", "time": "22:48", "topic": "Bug in navigation key VK_ENTER", "username": "Enrico Maria Giordano" } ]
Bug in navigation key VK_ENTER
[ { "date": "2012-02-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Carlos,\n\nMETHOD KeyDown( nKey, nFlags ) CLASS TCheckbox added for 12.02, thanks! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "00:46", "topic": "Bug in navigation key VK_ENTER", "username": "Antonio Linares" } ]
Bug in navigation key VK_ENTER
[ { "date": "2012-02-03", "forum": "FiveWin for Harbour/xHarbour", "text": "gracias antonio por considerar mis fix. <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nestoy realizando una validacion del correcto movimiento de foco en radiobuttons en folders, los cuales de momento me estan\nfallando, preparare un demo de esto pronto.\n\nsalu2\ncarlos vargas", "time": "04:51", "topic": "Bug in navigation key VK_ENTER", "username": "carlos vargas" } ]
Bug in navigation key VK_ENTER
[ { "date": "2012-02-03", "forum": "FiveWin for Harbour/xHarbour", "text": "antonio, look this fix.\n[code=fw:29qwp1pp]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #00C800;\">CLASS</span> TRadioFROM TControl<br />&nbsp; &nbsp; ....<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">METHOD</span> KeyChar<span style=\"color: #000000;\">&#40;</span> nKey, nFlags <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;....<br /><span style=\"color: #00C800;\">endclass</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">METHOD</span> KeyChar<span style=\"color: #000000;\">&#40;</span> nKey, nFlags <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> TRadio<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">IF</span> nKey == VK_RETURN<br />&nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">GoNextCtrl</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <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 /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br />&nbsp;<br />&nbsp;</div>[/code:29qwp1pp]", "time": "05:00", "topic": "Bug in navigation key VK_ENTER", "username": "carlos vargas" } ]
Bug in navigation key VK_ENTER
[ { "date": "2012-02-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, please run this code, the second page in folder, look the jump of focus in radioitems.\nin first radioitem if you use the left or right keys the focus junmp in radioitem is is corrects.\nbut if you use up or down key jump to first gets.\n\nsalu2\n \n\n[code=fw:3lq7vf3w]<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 />        <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, oFnt, oFld, lVal := .T., cVar := space<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">25</span><span style=\"color: #000000;\">&#41;</span>, cVar2 := space<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">25</span><span style=\"color: #000000;\">&#41;</span>, nNivel:=<span style=\"color: #000000;\">1</span>, lVar1:=.f., lVar2:=.t., lVar3:=.f.<br /><br />           <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFnt <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Tahoma\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-12</span><br />           <br />           <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">400</span>, <span style=\"color: #000000;\">300</span> <span style=\"color: #0000ff;\">FONT</span> oFnt<br /><br />           @ <span style=\"color: #000000;\">0.5</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">FOLDER</span> oFld <span style=\"color: #0000ff;\">PROMPTS</span> <span style=\"color: #ff0000;\">\"One\"</span>, <span style=\"color: #ff0000;\">\"Two\"</span>, <span style=\"color: #ff0000;\">\"Three\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">190</span>, <span style=\"color: #000000;\">120</span><br /><br />           @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span>  <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #ff0000;\">\"Hola1\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">25</span>, <span style=\"color: #000000;\">12</span> <span style=\"color: #0000ff;\">OF</span> oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />           <br />           @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">GET</span>      cVar                <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">12</span> <span style=\"color: #0000ff;\">OF</span> oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />           <br />           @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">CHECKBOX</span> lVal <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&Test\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">12</span> <span style=\"color: #0000ff;\">OF</span> oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br /><br />           @ <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">1</span>  <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #ff0000;\">\"Hola2\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">25</span>, <span style=\"color: #000000;\">12</span> <span style=\"color: #0000ff;\">OF</span> oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />           @ <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">GET</span>      cVar2               <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">12</span> <span style=\"color: #0000ff;\">OF</span> oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>      <br /><br />          @ <span style=\"color: #000000;\">1</span>,  <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #ff0000;\">\"&Name:\"</span> <span style=\"color: #0000ff;\">OF</span> oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span><br />          @ <span style=\"color: #000000;\">1</span>,  <span style=\"color: #000000;\">6</span> <span style=\"color: #0000ff;\">GET</span> cVar <span style=\"color: #0000ff;\">OF</span> oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span><br />          @ <span style=\"color: #000000;\">2</span>,  <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #ff0000;\">\"&Address:\"</span> <span style=\"color: #0000ff;\">OF</span> oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span><br />          @ <span style=\"color: #000000;\">2</span>,  <span style=\"color: #000000;\">6</span> <span style=\"color: #0000ff;\">GET</span> cVar2 <span style=\"color: #0000ff;\">OF</span> oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span>  <br /><br />          @ <span style=\"color: #000000;\">4</span>,  <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">CHECKBOX</span> lVar1 <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&FivePro\"</span> <span style=\"color: #0000ff;\">OF</span> oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">70</span>, <span style=\"color: #000000;\">11</span><br />          @ <span style=\"color: #000000;\">5</span>,  <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">CHECKBOX</span> lVar2  <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&Dialog\"</span>  <span style=\"color: #0000ff;\">OF</span> oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">70</span>, <span style=\"color: #000000;\">11</span><br />          @ <span style=\"color: #000000;\">6</span>,  <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">CHECKBOX</span> lVar3 <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&Objects\"</span> <span style=\"color: #0000ff;\">OF</span> oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">70</span>, <span style=\"color: #000000;\">11</span><br /><br />          @ <span style=\"color: #000000;\">4</span>,  <span style=\"color: #000000;\">9</span> <span style=\"color: #0000ff;\">RADIO</span> nNivel <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&Novice\"</span>, <span style=\"color: #ff0000;\">\"A&vanced\"</span>, <span style=\"color: #ff0000;\">\"&Expert\"</span> <span style=\"color: #0000ff;\">OF</span> oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span><br />       <br />           @ <span style=\"color: #000000;\">7.3</span>, <span style=\"color: #000000;\">14</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"&Ok\"</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 <span style=\"color: #0000ff;\">CENTERED</span><br /><br />        <span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br />     <br /> </div>[/code:3lq7vf3w]", "time": "05:01", "topic": "Bug in navigation key VK_ENTER", "username": "carlos vargas" } ]
Bug in navigation key VK_ENTER
[ { "date": "2012-02-03", "forum": "FiveWin for Harbour/xHarbour", "text": "umm the code is the same, but the efect is diferent. <!-- s:-o --><img src=\"{SMILIES_PATH}/icon_surprised.gif\" alt=\":-o\" title=\"Surprised\" /><!-- s:-o -->\n\n[code=fw:3u2sqi63]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">METHOD</span> KeyDown<span style=\"color: #000000;\">&#40;</span> nKey, nFlags <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> TRadio<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">do</span> <span style=\"color: #00C800;\">case</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">case</span> nKey == VK_DOWN .or. nKey == VK_RIGHT<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::<span style=\"color: #000000;\">oRadMenu</span>:<span style=\"color: #000000;\">GoNext</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::<span style=\"color: #000000;\">oRadMenu</span>:<span style=\"color: #000000;\">aItems</span><span style=\"color: #000000;\">&#91;</span> ::<span style=\"color: #000000;\">oRadMenu</span>:<span style=\"color: #000000;\">nOption</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">0</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">case</span> nKey == VK_UP .or. nKey == VK_LEFT<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::<span style=\"color: #000000;\">oRadMenu</span>:<span style=\"color: #000000;\">GoPrev</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::<span style=\"color: #000000;\">oRadMenu</span>:<span style=\"color: #000000;\">aItems</span><span style=\"color: #000000;\">&#91;</span> ::<span style=\"color: #000000;\">oRadMenu</span>:<span style=\"color: #000000;\">nOption</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endcase</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">Super</span>:<span style=\"color: #000000;\">KeyDown</span><span style=\"color: #000000;\">&#40;</span> nKey, nFlags <span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:3u2sqi63]", "time": "05:13", "topic": "Bug in navigation key VK_ENTER", "username": "carlos vargas" } ]
Bug in navigation key VK_ENTER
[ { "date": "2012-02-11", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"carlos vargas\":1hq0duob]antonio, look this fix.\n[code=fw:1hq0duob]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #00C800;\">CLASS</span> TRadioFROM TControl<br />    ....<br />   <span style=\"color: #00C800;\">METHOD</span> KeyChar<span style=\"color: #000000;\">&#40;</span> nKey, nFlags <span style=\"color: #000000;\">&#41;</span><br />   ....<br /><span style=\"color: #00C800;\">endclass</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">METHOD</span> KeyChar<span style=\"color: #000000;\">&#40;</span> nKey, nFlags <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> TRadio<br /><br />   <span style=\"color: #00C800;\">IF</span> nKey == VK_RETURN<br />      ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">GoNextCtrl</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <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 /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /> <br /> </div>[/code:1hq0duob][/quote:1hq0duob]\n\nCarlos,\n\nImplementado, gracias <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "09:07", "topic": "Bug in navigation key VK_ENTER", "username": "Antonio Linares" } ]
Bug in navigation key VK_ENTER
[ { "date": "2012-02-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Carlos,\n\nTu ejemplo aqui va bien con FWH 12.01. No hay diferencia entre flecha izq, der, arr, aba y luego pulsar enter", "time": "10:49", "topic": "Bug in navigation key VK_ENTER", "username": "Antonio Linares" } ]
Bug in navigation key VK_ENTER
[ { "date": "2012-02-12", "forum": "FiveWin for Harbour/xHarbour", "text": "aca me falla, el movimiento entre items de un radio group, funciona bien con las teclas izq y der, hacen el ciclo entre los items,\npero usando arriba o abajo, al llegar al ultimo item, el foco salta hacia el primer get del dialogo contenedor.\nesto en folder.\n\nsalu2\ncarlos vargas", "time": "05:31", "topic": "Bug in navigation key VK_ENTER", "username": "carlos vargas" } ]
Bug in navigation key VK_ENTER
[ { "date": "2012-02-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Carlos,\n\nCon que versión de FWH estás probando ?", "time": "12:10", "topic": "Bug in navigation key VK_ENTER", "username": "Antonio Linares" } ]
Bug in navigation key VK_ENTER
[ { "date": "2012-02-12", "forum": "FiveWin for Harbour/xHarbour", "text": "11.12\n\nsalu2\ncarlos vargas", "time": "18:29", "topic": "Bug in navigation key VK_ENTER", "username": "carlos vargas" } ]
Bug in navigation key VK_ENTER
[ { "date": "2012-02-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Carlos,\n\nAqui tienes tu ejemplo construido con las librerias más recientes:\n\n[url:3twb5w6x]http&#58;//code&#46;google&#46;com/p/fivewin-contributions/downloads/detail?name=carlos2&#46;zip&can=2&q=[/url:3twb5w6x]\n\npor favor pruébalo y me comentas, gracias <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "00:58", "topic": "Bug in navigation key VK_ENTER", "username": "Antonio Linares" } ]
Bug in navigation key VK_ENTER
[ { "date": "2012-02-13", "forum": "FiveWin for Harbour/xHarbour", "text": "lo mismo antonio, se da el mismo problema.\npreparare un video para que observes el error.\n\nsalu2", "time": "13:19", "topic": "Bug in navigation key VK_ENTER", "username": "carlos vargas" } ]
Bug in navigation key VK_ENTER
[ { "date": "2005-12-16", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Running the following sample you can hear a beep only when the dialog is closed but not when it gets the focus:\n\n[code:1yh8ig11]#include \"Fivewin&#46;ch\"\n\n\nFUNCTION MAIN&#40;&#41;\n\n LOCAL oDlg\n\n LOCAL cVar &#58;= SPACE&#40; 30 &#41;\n\n DEFINE DIALOG oDlg\n\n oDlg&#58;bGotFocus = &#123; || Tone&#40; 440, 1 &#41; &#125;\n\n @ 1, 1 GET cVar\n\n ACTIVATE DIALOG oDlg;\n CENTER\n\n RETURN NIL[/code:1yh8ig11]\n\nEMG", "time": "18:29", "topic": "Bug in oDlg:bGotFocus", "username": "Enrico Maria Giordano" } ]
Bug in oDlg:bGotFocus
[ { "date": "2005-12-16", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Enrico,\n\nIt does not look as a bug, as the dialog never gets the focus, just momentary when it is going to be closed. All the time a control has the focus.", "time": "18:56", "topic": "Bug in oDlg:bGotFocus", "username": "Antonio Linares" } ]
Bug in oDlg:bGotFocus
[ { "date": "2005-12-16", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Ok, but this is not consistent with the behavior of bLostFocus. Why?\n\nEMG", "time": "20:03", "topic": "Bug in oDlg:bGotFocus", "username": "Enrico Maria Giordano" } ]
Bug in oDlg:bGotFocus
[ { "date": "2005-12-17", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Enrico,\n\nDo you mean with oDlg:bLostFocus ?", "time": "07:04", "topic": "Bug in oDlg:bGotFocus", "username": "Antonio Linares" } ]
Bug in oDlg:bGotFocus
[ { "date": "2005-12-17", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Yes. oDlg:bLostFocus is evaluated when a dialog losts the focus even if there are controls on it while oDlg:bGotFocus isn't.\n\nEMG", "time": "10:00", "topic": "Bug in oDlg:bGotFocus", "username": "Enrico Maria Giordano" } ]
Bug in oDlg:bGotFocus
[ { "date": "2005-12-17", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Enrico,\n\nI have been reviewing the way the Windows msgs are routed by FWH internals, and we don't make any distinction from GotFocus and LostFocus(), so it seems its a Windows behavior for dialogboxes, as Class TDialog code just does this:\n\n[code:3i3fvwkx]\n METHOD GotFocus&#40;&#41; INLINE &#58;&#58;lFocused &#58;= &#46;t&#46;,;\n If&#40; &#58;&#58;bGotFocus != nil, Eval&#40; &#58;&#58;bGotFocus &#41;, nil &#41;\n&#46;&#46;&#46;\n METHOD LostFocus&#40;&#41; INLINE &#58;&#58;lFocused &#58;= &#46;f&#46;,;\n If&#40; &#58;&#58;bLostFocus != nil, Eval&#40; &#58;&#58;bLostFocus &#41;, nil &#41;\n[/code:3i3fvwkx]", "time": "10:07", "topic": "Bug in oDlg:bGotFocus", "username": "Antonio Linares" } ]
Bug in oDlg:bGotFocus
[ { "date": "2005-12-17", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Ok, no problems. Thank you.\n\nEMG", "time": "10:10", "topic": "Bug in oDlg:bGotFocus", "username": "Enrico Maria Giordano" } ]
Bug in oDlg:bGotFocus
[ { "date": "2013-04-26", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=3&t=25706&start=30#p143679\">viewtopic.php?f=3&t=25706&start=30#p143679</a><!-- l -->", "time": "21:05", "topic": "Bug in oDlg:bGotFocus", "username": "Antonio Mart." } ]
Bug in oDlg:bGotFocus
[ { "date": "2006-05-15", "forum": "All products support", "text": "Vi allego questo piccolo test che mi va in 16bit ma non mi va in 32bit (harbour):\n\n*------------------\n\n#include \"FiveWin.ch\"\n\n//----------------------------------------------------------------------------//\nfunction Main()\n\n local oDlg, oBrw\n local aData := { { \"1\", \"Cliente\", \"=\", \"123456\" },;\n { \"2\", \"Direccion\", \"$\", \"Spain\" },;\n { \"3\", \"Telefono\", \"<>\", \"889977665\" } }\n\n DEFINE DIALOG oDlg FROM 0, 0 TO 30, 100\n\n @ 1, 1 LISTBOX oBrw FIELDS aData[ oBrw:nAt ][ 1 ],;\n aData[ oBrw:nAt ][ 2 ],;\n aData[ oBrw:nAt ][ 3 ],;\n aData[ oBrw:nAt ][ 4 ] OF oDlg ;\n SIZE 150, 100\n\n oBrw:SetArray( aData )\n\n @ 9 , 9 BUTTON \"&End\" OF oDlg ACTION oDlg:End()\n\n\n\n ACTIVATE DIALOG oDlg CENTERED\n\n\n\nreturn nil\n\n*-------\n\nIn 32 bit mi da questo errore:\nApplication\n===========\n Path and name: C:\\FWH24\\SAMPLES\\testar.exe (32 bits)\n Size: 951,296 bytes\n Time from start: 0 hours 0 mins 0 secs \n Error occurred at: 05/15/06, 21:54:07\n Error description: Error BASE/1002 Alias does not exist\n\nMentre in fw24 tutto ok!\n\nGrazie \nPiscicelli/Zingoni", "time": "20:55", "topic": "Bug in piccolo testar.prg 32/bit", "username": "Piscicelli Zingoni" } ]
Bug in piccolo testar.prg 32/bit
[ { "date": "2006-05-15", "forum": "All products support", "text": "Confermato. Se vuoi segnala il problema ad Antonio nel forum in inglese.\n\nEMG", "time": "21:33", "topic": "Bug in piccolo testar.prg 32/bit", "username": "Enrico Maria Giordano" } ]
Bug in piccolo testar.prg 32/bit
[ { "date": "2010-07-08", "forum": "FiveWin for Harbour/xHarbour", "text": "In the sample testpre2.prg, if you build a preview and then close the main window, the preview is frozen and you have to kill it using Task Manager.\n\nEMG", "time": "13:16", "topic": "Bug in preview modal", "username": "Enrico Maria Giordano" } ]
Bug in preview modal
[ { "date": "2010-07-08", "forum": "FiveWin for Harbour/xHarbour", "text": "I try now.\non the xp professional not made this error.\nPerhaps you use w7 or Vista?", "time": "13:21", "topic": "Bug in preview modal", "username": "MdaSolution" } ]
Bug in preview modal
[ { "date": "2010-07-08", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Enrico Maria Giordano\":2l0smmu3]In the sample testpre2.prg, if you build a preview and then close the main window, the preview is frozen and you have to kill it using Task Manager.\n\nEMG[/quote:2l0smmu3]\n\nSorry, I messed up the real problem. This is a correct description (there are two):\n\n1. The sample testpre2.prg should show a non-modal preview but it shows a modal one instead (ie. it's possible to put the focus back to the main window).\n\n2. Adding the MODAL clause to the PRINT command, the preview freezes when the main window is closed.\n\nEMG", "time": "16:55", "topic": "Bug in preview modal", "username": "Enrico Maria Giordano" } ]
Bug in preview modal
[ { "date": "2005-12-16", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Running the following sample I can see no bitmaps on the toolbar, only empty buttons:\n\n[code:2zficzhu]#include \"Fivewin&#46;ch\"\n#include \"Report&#46;ch\"\n\n\nFUNCTION MAIN&#40;&#41;\n\n LOCAL oRpt\n\n USE C&#58;\\XHARBOUR\\TEST\n\n REPORT oRpt PREVIEW\n\n COLUMN TITLE \"FIRST\";\n DATA FIELD -> first\n\n COLUMN TITLE \"LAST\";\n DATA FIELD -> last\n\n COLUMN TITLE \"STREET\";\n DATA FIELD -> street\n\n COLUMN TITLE \"CITY\";\n DATA FIELD -> city\n\n END REPORT\n\n ACTIVATE REPORT oRpt\n\n CLOSE\n\n RETURN NIL[/code:2zficzhu]\n\nEMG", "time": "17:01", "topic": "Bug in print preview (fixed)", "username": "Enrico Maria Giordano" } ]
Bug in print preview (fixed)
[ { "date": "2005-12-16", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "Enrico,\n\nPlease download FWH again and test it again. It was a last minute bug that got on the build but has been already fixed.", "time": "18:34", "topic": "Bug in print preview (fixed)", "username": "Antonio Linares" } ]
Bug in print preview (fixed)
[ { "date": "2005-12-16", "forum": "Bugs report & fixes / Informe de errores y arreglos", "text": "All ok, bug solved, thank you!\n\nEMG", "time": "18:49", "topic": "Bug in print preview (fixed)", "username": "Enrico Maria Giordano" } ]
Bug in print preview (fixed)
[ { "date": "2009-01-07", "forum": "FiveWin for Harbour/xHarbour", "text": "In the following sample the SAY is transparent while the RADIO isn't:\n\n[code:2p7n0stg]#include \"Fivewin&#46;ch\"\n\n\nFUNCTION MAIN()\n\n LOCAL oDlg\n\n LOCAL nVar\n\n LOCAL hBmp &#58;= READBITMAP( 0, \"c&#58;\\fwh\\bitmaps\\fivewin&#46;bmp\" )\n\n DEFINE DIALOG oDlg;\n TRANSPARENT\n\n @ 1, 5 SAY \"This is a test\"\n\n @ 2, 5 RADIO nVar;\n PROMPT \"Test1\", \"Test2\"\n\n ACTIVATE DIALOG oDlg;\n ON PAINT PALBMPDRAW( hDC, 0, 0, hBmp );\n CENTER\n\n DELETEOBJECT( hBmp )\n\n RETURN NIL[/code:2p7n0stg]\n\nEMG", "time": "00:08", "topic": "Bug in radio button transparence", "username": "Enrico Maria Giordano" } ]
Bug in radio button transparence
[ { "date": "2009-01-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nTransparency has to be used with brushes. It is a Windows API limitation, not a bug.\n\nThis is the right way to do it:\n[code:32gox351]\n#include \"Fivewin&#46;ch\"\n\n\nFUNCTION MAIN()\n\n LOCAL oDlg, oBrush\n\n LOCAL nVar\n\n DEFINE BRUSH oBrush FILENAME \"c&#58;\\fwh\\bitmaps\\fivewin&#46;bmp\"\n\n DEFINE DIALOG oDlg;\n TRANSPARENT BRUSH oBrush\n\n @ 1, 5 SAY \"This is a test\"\n\n @ 2, 5 RADIO nVar;\n PROMPT \"Test1\", \"Test2\"\n\n ACTIVATE DIALOG oDlg\n\n oBrush&#58;End()\n\n RETURN NIL\n[/code:32gox351]\n[url=http&#58;//imageshack&#46;us:32gox351][img:32gox351]http&#58;//img49&#46;imageshack&#46;us/img49/367/captureev1&#46;png[/img:32gox351][/url:32gox351]", "time": "01:34", "topic": "Bug in radio button transparence", "username": "Antonio Linares" } ]
Bug in radio button transparence
[ { "date": "2009-01-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Ok, thank you.\n\nEMG", "time": "09:18", "topic": "Bug in radio button transparence", "username": "Enrico Maria Giordano" } ]
Bug in radio button transparence
[ { "date": "2008-10-14", "forum": "FiveWin for Harbour/xHarbour", "text": "I recently noticed in my application that if I scroll to the bottom of a TXBrowse() display with the mouse wheel, then edit one of the text controls in ANY form, the SPACE bar results in a \"2\" being typed.\r\n\r\nThe mallorca.prg sample program shows exactly the same problem. If you launch it, spin the mouse wheel to move the browse cursor to the last row, double click on a data row of the Description column, and press the SPACE bar, you should see \"2's\" typed.\r\n\r\nNote that it is only the mouse wheel which causes this. Getting to the last TXBrowse() row using the down arrow does not cause the problem.\r\n\r\nI have the latest FiveWin and Harbour builds.\r\n\r\nCan anyone else reproduce this or is there a problem with my environment? \r\n\r\nThanks!", "time": "16:41", "topic": "Bug in text control after TXBrowse() mouse wheel scrolling??", "username": "PatrickWeisser" } ]
Bug in text control after TXBrowse() mouse wheel scrolling??
[ { "date": "2008-10-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Patrick,\r\n\r\nI remember another message thread where 2's were mysteriously appearing, but I think it was under different circumstances. Try searching the forum (this section).\r\n\r\nRegards,\r\nJames", "time": "18:28", "topic": "Bug in text control after TXBrowse() mouse wheel scrolling??", "username": "James Bott" } ]
Bug in text control after TXBrowse() mouse wheel scrolling??
[ { "date": "2008-10-15", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes I had the same problem. Difference it was a 3. The number of spaces the scroll skips is entered in the get. Got redi of it with this function[code:160lanfh]\nfunction WheelScroll&#40;&#41;\n\n return nil //ScrLines[/code:160lanfh]\r\n\r\nThe code will set the scroll to one line at a time. It is a bug and needs to be fixed.\r\n\r\nHarvey", "time": "04:03", "topic": "Bug in text control after TXBrowse() mouse wheel scrolling??", "username": "hag" } ]
Bug in text control after TXBrowse() mouse wheel scrolling??
[ { "date": "2008-10-15", "forum": "FiveWin for Harbour/xHarbour", "text": "Hey thanks Harvey, that worked great!\r\n\r\n-Patrick", "time": "05:16", "topic": "Bug in text control after TXBrowse() mouse wheel scrolling??", "username": "PatrickWeisser" } ]
Bug in text control after TXBrowse() mouse wheel scrolling??
[ { "date": "2008-10-15", "forum": "FiveWin for Harbour/xHarbour", "text": "Somehow this code in source\\function\\valblank.prg is related with the bug:\r\n[code:gmt04jgt]\n // oReg&#58;= TReg32&#40;&#41;&#58;New&#40; HKEY_CURRENT_USER, \"Control Panel\\Desktop\" &#41;\n // nScrLines &#58;= oReg&#58;Get&#40; \"WheelScrollLines\" &#41;\n // oReg&#58;Close&#40;&#41;\n[/code:gmt04jgt]\r\nUntil we discover what exactly happens with it, we have to comment them.", "time": "09:36", "topic": "Bug in text control after TXBrowse() mouse wheel scrolling??", "username": "Antonio Linares" } ]
Bug in text control after TXBrowse() mouse wheel scrolling??
[ { "date": "2008-10-15", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\r\n\r\nI am guessing the value of nScrLines is somehow ending up in the GET.\r\n\r\nJames", "time": "16:38", "topic": "Bug in text control after TXBrowse() mouse wheel scrolling??", "username": "James Bott" } ]
Bug in text control after TXBrowse() mouse wheel scrolling??
[ { "date": "2007-10-09", "forum": "FiveWin for Harbour/xHarbour", "text": "This is the sample. If you uncomment the 2007 clause the bitmap will be shifted up.\n\n[code:2m22kxux]#include \"Fivewin&#46;ch\"\n\n\nFUNCTION MAIN&#40;&#41;\n\n LOCAL oWnd, oBar\n\n DEFINE WINDOW oWnd\n\n DEFINE BUTTONBAR oBar OF oWnd //2007\n\n DEFINE BUTTON OF oBar;\n FILE \"C&#58;\\FWH\\BITMAPS\\CLIENT&#46;BMP\"\n\n ACTIVATE WINDOW oWnd\n\n RETURN NIL[/code:2m22kxux]\n\nEMG", "time": "10:59", "topic": "Bug in the new 2007 clause", "username": "Enrico Maria Giordano" } ]
Bug in the new 2007 clause
[ { "date": "2007-10-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nFixed:\n\n TransBmp( ::hBitmap1, nBmpWidth( ::hBitmap1 ), nBmpHeight( ::hBitmap1 ), nZeroZeroClr, ::hDC,;\n ( ::nWidth / 2 ) - ( nBmpWidth( ::hBitmap1 ) / 2 ) + If( ::lPressed, 2, 1 ),;\n Max( 0, ( ::nHeight / 3 ) - ( nBmpHeight( ::hBitmap1 ) / 2 ) + If( ::lPressed, 2, 1 ) ),;\n nBmpWidth( ::hBitmap1 ), nBmpHeight( ::hBitmap1 ) )\n\nmany thanks for your feedback <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nWe plan to publish a modified 7.10 build this same week with late-changes on Class TBtnBmp", "time": "19:13", "topic": "Bug in the new 2007 clause", "username": "Antonio Linares" } ]
Bug in the new 2007 clause
[ { "date": "2007-10-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank you!\n\nEMG", "time": "00:09", "topic": "Bug in the new 2007 clause", "username": "Enrico Maria Giordano" } ]
Bug in the new 2007 clause