messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2007-10-10", "forum": "FiveWin for Harbour/xHarbour", "text": "A little change to your fix:\n\n[code:3q2670sa] 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 ) )[/code:3q2670sa]\n\nWithout this the buttons are shifted on right instead of right-down when pressed.\n\nEMG", "time": "08:07", "topic": "Bug in the new 2007 clause", "username": "Enrico Maria Giordano" } ]
Bug in the new 2007 clause
[ { "date": "2007-10-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Another problem: it seems that the height of the buttons is shorter with 2007 clause. Can you check?\n\nEMG", "time": "08:24", "topic": "Bug in the new 2007 clause", "username": "Enrico Maria Giordano" } ]
Bug in the new 2007 clause
[ { "date": "2007-10-10", "forum": "FiveWin for Harbour/xHarbour", "text": "One more bug. In the following sample try to move the mouse over the button and you will see that the font of the messagebar is changed.\n\n[code:20a66cf9]#include \"Fivewin.ch\"\n\n\nFUNCTION MAIN()\n\n LOCAL oWnd, oBar\n\n DEFINE WINDOW oWnd\n\n DEFINE BUTTONBAR oBar OF oWnd\n\n DEFINE BUTTON OF oBar;\n TOOLTIP \"Test\"\n\n SET MESSAGE OF oWnd TO \"This is a test\" 2007\n\n ACTIVATE WINDOW oWnd\n\n RETURN NIL[/code:20a66cf9]\n\nEMG", "time": "08:26", "topic": "Bug in the new 2007 clause", "username": "Enrico Maria Giordano" } ]
Bug in the new 2007 clause
[ { "date": "2007-10-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\n> Without this the buttons are shifted on right instead of right-down when pressed. \n\nMy mistake. Yes, you are right, as usual <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "09:36", "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": "Enrico,\n\n>\nIn the following sample try to move the mouse over the button and you will see that the font of the messagebar is changed. \n>\n\nFixed. Many thanks for your feedback <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nPlease make this change in Class TMsgBar Method Paint():\n[code:1vi9uz48]\n &#58;&#58;Say&#40; &#58;&#58;nHeight / 4,;\n If&#40; &#58;&#58;lCentered, &#40; &#58;&#58;nWidth / 2 &#41; - &#40; GetTextWidth&#40; &#58;&#58;hDC,;\n If&#40; Empty&#40; &#58;&#58;cMsg &#41;, &#58;&#58;cMsgDef, &#58;&#58;cMsg &#41;,;\n &#58;&#58;oWnd&#58;oFont&#58;hFont &#41; / 2 &#41;, 10 &#41;, If&#40; Empty&#40; &#58;&#58;cMsg &#41;, &#58;&#58;cMsgDef, &#58;&#58;cMsg &#41;,;\n &#58;&#58;nClrText,,, &#46;T&#46;, &#46;T&#46; &#41;\n[/code:1vi9uz48]", "time": "09:57", "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. Can you check this too?\n\n[quote=\"EnricoMaria\":3no4aw4e]Another problem: it seems that the height of the buttons is shorter with 2007 clause.[/quote:3no4aw4e]\n\nEMG", "time": "10:03", "topic": "Bug in the new 2007 clause", "username": "Enrico Maria Giordano" } ]
Bug in the new 2007 clause
[ { "date": "2007-10-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nIt seems ok. Please check this example using and removing 2007:\n[code:8gekryzh]\n#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 SIZE 40, 40 // 2007\n\n DEFINE BUTTON OF oBar ; \n TOOLTIP \"Test\" ACTION MsgInfo&#40; oBar&#58;aControls&#91; 1 &#93;&#58;nHeight &#41;\n\n SET MESSAGE OF oWnd TO \"This is a test\" 2007 \n\n ACTIVATE WINDOW oWnd \n\n RETURN NIL\n[/code:8gekryzh]", "time": "10:17", "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": "Ok, but try with 3D clause:\n\n[code:aa44ghuw]DEFINE BUTTONBAR oBar OF oWnd SIZE 40, 40 2007 3D[/code:aa44ghuw]\n\nEMG", "time": "10:24", "topic": "Bug in the new 2007 clause", "username": "Enrico Maria Giordano" } ]
Bug in the new 2007 clause
[ { "date": "2007-10-10", "forum": "FiveWin for Harbour/xHarbour", "text": "With the following change we get the same position for message of 2007 and not 2007 style msgbar:\n\n[code:35me5pkk] &#58;&#58;Say&#40; &#58;&#58;nHeight / 4 - 2,;\n If&#40; &#58;&#58;lCentered, &#40; &#58;&#58;nWidth / 2 &#41; - &#40; GetTextWidth&#40; &#58;&#58;hDC,;\n If&#40; Empty&#40; &#58;&#58;cMsg &#41;, &#58;&#58;cMsgDef, &#58;&#58;cMsg &#41;,;\n &#58;&#58;oWnd&#58;oFont&#58;hFont &#41; / 2 &#41;, 4 &#41;, If&#40; Empty&#40; &#58;&#58;cMsg &#41;, &#58;&#58;cMsgDef, &#58;&#58;cMsg &#41;,;\n &#58;&#58;nClrText,,, &#46;T&#46;, &#46;T&#46; &#41;[/code:35me5pkk]\n\nEMG", "time": "10:26", "topic": "Bug in the new 2007 clause", "username": "Enrico Maria Giordano" } ]
Bug in the new 2007 clause
[ { "date": "2007-10-10", "forum": "FiveWin for Harbour/xHarbour", "text": "The bitmaps are no longer centered inside the buttons with 2007 clause:\n\n[code:lfxlviv8]#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 SIZE 40, 40 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:lfxlviv8]\n\nEMG", "time": "10:42", "topic": "Bug in the new 2007 clause", "username": "Enrico Maria Giordano" } ]
Bug in the new 2007 clause
[ { "date": "2007-10-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\n> Ok, but try with 3D clause:\n\nYes, you are right, 3D clause should not be used with 2007 clause together, or buttons will not cover all the bar height", "time": "10:52", "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": "[quote=\"Antonio Linares\":2prucmlc]Enrico,\n\n> Ok, but try with 3D clause:\n\nYes, you are right, 3D clause should not be used with 2007 clause together, or buttons will not cover all the bar height[/quote:2prucmlc]\n\nRight.\n\nEMG", "time": "10:54", "topic": "Bug in the new 2007 clause", "username": "Enrico Maria Giordano" } ]
Bug in the new 2007 clause
[ { "date": "2007-10-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nThis is the right code to center the bitmaps. Thanks! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n[code:jevswn7h]\n TransBmp&#40; hBmp, nBmpWidth&#40; hBmp &#41;, nBmpHeight&#40; hBmp &#41;, nZeroZeroClr, &#58;&#58;hDC,;\n &#40; &#58;&#58;nWidth / 2 &#41; - &#40; nBmpWidth&#40; hBmp &#41; / 2 &#41; + If&#40; &#58;&#58;lPressed, 2, 1 &#41;,;\n Max&#40; 0, &#40; &#58;&#58;nHeight / &#40; 2 + If&#40; ! Empty&#40; &#58;&#58;cCaption &#41;, 1, 0 &#41; &#41; &#41; - ;\n &#40; nBmpHeight&#40; hBmp &#41; / 2 &#41; &#41; + If&#40; &#58;&#58;lPressed, 2, 1 &#41;,;\n nBmpWidth&#40; hBmp &#41;, nBmpHeight&#40; hBmp &#41; &#41;\n[/code:jevswn7h]", "time": "11:01", "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": "Great! Is it already in the new FWH build?\n\nEMG", "time": "11:40", "topic": "Bug in the new 2007 clause", "username": "Enrico Maria Giordano" } ]
Bug in the new 2007 clause
[ { "date": "2007-10-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Ops! What is hBmp?\n\nEMG", "time": "11:43", "topic": "Bug in the new 2007 clause", "username": "Enrico Maria Giordano" } ]
Bug in the new 2007 clause
[ { "date": "2007-10-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nPlease download FWH 7.10 again, thanks <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "12:16", "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": "Enrico,\n\n>\nWith the following change we get the same position for message of 2007 and not 2007 style msgbar: \n>\n\nThanks! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "12:25", "topic": "Bug in the new 2007 clause", "username": "Antonio Linares" } ]
Bug in the new 2007 clause
[ { "date": "2012-01-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi.\n\nSeems I found a bug in wbrowse when moving the file pointer.\nIf I change the current record of the browsed file and call a refresh ,the wbrowse goes to new record position as expected.\nUntil a mouse click is used to change the current wbrowse position, in some circumstances.\nIn the sample I provide, the file is indexed by a char field that goes from \"10\" to \"25\".\nThe get object validation points the file in the typed record and calls wbrowse's refresh and everything goes Ok.\nBut if, for example, I type \"10\", the browse goes to \"10\" as expected, and after that i click in \"16\" and after that type anything between \"10\" and \"16\" the wbrowse always goes to \"16\".\nIf I type from \"17\" to \"25\" the browse goes Ok !\nThe mouse click is doing something I was unable to find... \nI had some big troubles because of this behavior, causing writing wrong data in a production environmrent. :cry: \n\nAntonio, could you inspect this ?\n \nA small sample of the problem:\nHarbour 3.1.0dev (Rev. 17102)\nFiveWin Harbour October 2011\n[code=fw:3b3cf3ox]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#INCLUDE</span> <span style=\"color: #ff0000;\">\"FIVEWIN.CH\"</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   GenerateTestFile<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   cCodigo := <span style=\"color: #ff0000;\">\"  \"</span><br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oDlg <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">20</span>,<span style=\"color: #000000;\">60</span><br /><br />   @ <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">5</span> <span style=\"color: #0000ff;\">GET</span> oGetCodigo <span style=\"color: #0000ff;\">VAR</span> cCodigo <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">VALID</span><span style=\"color: #000000;\">&#40;</span> V_Codigo<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">90</span>, <span style=\"color: #000000;\">22</span><br /><br />   oBrw := TWBrowse<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">5</span>,<span style=\"color: #000000;\">5</span>,<span style=\"color: #000000;\">400</span>,<span style=\"color: #000000;\">150</span>,,,,oDlg,,,,,,,,,,,,, <span style=\"color: #ff0000;\">\"TESTBRW\"</span> <span style=\"color: #000000;\">&#41;</span><br />   oBrw:<span style=\"color: #000000;\">SetCols</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#123;</span> || TESTBRW->CODIGO <span style=\"color: #000000;\">&#125;</span><span style=\"color: #000000;\">&#125;</span>, <span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"Produto\"</span><span style=\"color: #000000;\">&#125;</span>, <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">260</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /><br /><span style=\"color: #00C800;\">RETURN</span><br /><br /><span style=\"color: #B900B9;\">/************************************************/</span><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> V_Codigo<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #B900B9;\">/************************************************/</span><br /><br />   <span style=\"color: #00C800;\">IF</span> ! EMPTY<span style=\"color: #000000;\">&#40;</span>cCodigo<span style=\"color: #000000;\">&#41;</span> .AND. TESTBRW-><span style=\"color: #000000;\">&#40;</span> DBSEEK<span style=\"color: #000000;\">&#40;</span> cCodigo <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />      oBrw:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">ENDIF</span><br /><br />   oGetCodigo:<span style=\"color: #000000;\">cText</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"  \"</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">RETURN</span><span style=\"color: #000000;\">&#40;</span> .F. <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #B900B9;\">/************************************************/</span><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> GenerateTestFile<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #B900B9;\">/************************************************/</span><br /><br />   aSTRU := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"CODIGO\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br />   DBCREATE<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"TESTBRW.DBF\"</span>, aSTRU <span style=\"color: #000000;\">&#41;</span><br /><br />   USE TESTBRW EXCLUSIVE<br />   <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> FIELD->CODIGO TAG <span style=\"color: #ff0000;\">\"COD\"</span><br /><br />   <span style=\"color: #00C800;\">FOR</span> I := <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">25</span><br />      DBAPPEND<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />      FIELD->CODIGO := STR<span style=\"color: #000000;\">&#40;</span>I,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">NEXT</span><br /><br />   TESTBRW-><span style=\"color: #000000;\">&#40;</span> DBGOTOP<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">RETURN</span><span style=\"color: #000000;\">&#40;</span> .F. <span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:3b3cf3ox]", "time": "11:41", "topic": "Bug in wbrowse", "username": "concentra" } ]
Bug in wbrowse
[ { "date": "2012-01-27", "forum": "FiveWin for Harbour/xHarbour", "text": "This is a patch\nobrw:gotop()\nbefore\n IF ! EMPTY(cCodigo) .AND. TESTBRW->( DBSEEK( cCodigo ) )", "time": "12:12", "topic": "Bug in wbrowse", "username": "MarcoBoschi" } ]
Bug in wbrowse
[ { "date": "2012-01-27", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"MarcoBoschi\":834hz3qe]\nobrw:gotop()\nbefore\n IF ! EMPTY(cCodigo) .AND. TESTBRW->( DBSEEK( cCodigo ) )[/quote:834hz3qe]\nIn this way mouse clicking does not function.\nAnd this not so good...", "time": "13:01", "topic": "Bug in wbrowse", "username": "concentra" } ]
Bug in wbrowse
[ { "date": "2012-01-31", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi.\nAntonio, could you inspected this ?\nI am insisting in it because the browse also moves the current file record by itself, causing unpredictable behavior.\n \nRegards,\n \nMaurício Ventura Faria", "time": "10:14", "topic": "Bug in wbrowse", "username": "concentra" } ]
Bug in wbrowse
[ { "date": "2012-01-31", "forum": "FiveWin for Harbour/xHarbour", "text": "Try this: \n\n/************************************************/\nSTATIC FUNCTION V_Codigo()\n/************************************************/\n\n IF ! EMPTY(cCodigo) .AND. TESTBRW->( DBSEEK( cCodigo ) )\n [b:1li2liu5]oBrw:upstable()[/b:1li2liu5]\n oBrw:Refresh()\n ENDIF\n\n oGetCodigo:cText( \" \" )\n\nRETURN( .F. )", "time": "11:55", "topic": "Bug in wbrowse", "username": "MarcoBoschi" } ]
Bug in wbrowse
[ { "date": "2009-12-13", "forum": "FiveWin for Harbour/xHarbour", "text": "The following sample shows the problem: the 2007 effect of the menu is interrupted by the window scrollbar:\n\n[code=fw:2zu73k52]<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, oMen<br /><br />    <span style=\"color: #0000ff;\">MENU</span> oMen <span style=\"color: #000000;\">2007</span><br />        <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test\"</span><br />    <span style=\"color: #0000ff;\">ENDMENU</span><br /><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd;<br />           <span style=\"color: #0000ff;\">MENU</span> oMen;<br />           <span style=\"color: #0000ff;\">VSCROLL</span><br /><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTONBAR</span> <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #000000;\">2007</span><br /><br />    <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br /><br />    <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:2zu73k52]\n\nEMG", "time": "18:53", "topic": "Bug in window scrollbar", "username": "Enrico Maria Giordano" } ]
Bug in window scrollbar
[ { "date": "2009-12-13", "forum": "FiveWin for Harbour/xHarbour", "text": "I allready wrote for this error but never me founded the solution !!", "time": "21:03", "topic": "Bug in window scrollbar", "username": "Silvio" } ]
Bug in window scrollbar
[ { "date": "2009-12-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Probably I did not understand what exactly is the problem.\nThis is my screenshot of window with scrollbar and menu 2007 style.\n[url=http&#58;//img704&#46;imageshack&#46;us/my&#46;php?image=winscroll2007&#46;jpg:3fxpe1lw][img:3fxpe1lw]http&#58;//img704&#46;imageshack&#46;us/img704/351/winscroll2007&#46;jpg[/img:3fxpe1lw][/url:3fxpe1lw]\nFor me it appears that menu's 2007 style is working when the scrollbar is used.", "time": "06:16", "topic": "Bug in window scrollbar", "username": "nageswaragunupudi" } ]
Bug in window scrollbar
[ { "date": "2009-12-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Please look at the rightmost part of the menu, just below the X button.\n\nEMG", "time": "08:57", "topic": "Bug in window scrollbar", "username": "Enrico Maria Giordano" } ]
Bug in window scrollbar
[ { "date": "2009-12-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks. I see the problem.", "time": "13:03", "topic": "Bug in window scrollbar", "username": "nageswaragunupudi" } ]
Bug in window scrollbar
[ { "date": "2010-05-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Mr. Antonio and Mr. RAO,\n\nI received this error randomly by this simple syntax xBrowser('table') in FWH 10.5\n\n[quote:1gp7cdoj]Stack Calls\n===========\n Called from: => FIELDGET(0)\n Called from: Source\\xBrowse.prg => SETCOLFROMRDD(7249)\n Called from: Source\\xBrowse.prg => TXBROWSE:SETRDD(3731)\n Called from: Source\\xBrowse.prg => XBRWSETDATASOURCE(11160)\n Called from: Source\\xbrowser.prg => XBROWSE(110)\n Called from: Source\\Order.prg => (b)UORDERBAR(2120)\n Called from: .\\source\\classes\\TRBTN.PRG => TRBTN:CLICK(566)\n Called from: .\\source\\classes\\TRBTN.PRG => TRBTN:LBUTTONUP(739)\n Called from: => TWINDOW:HANDLEEVENT(0)\n Called from: .\\source\\classes\\CONTROL.PRG => TCONTROL:HANDLEEVENT(1483)\n Called from: .\\source\\classes\\TRBTN.PRG => TRBTN:HANDLEEVENT(1406)\n Called from: .\\source\\classes\\WINDOW.PRG => _FWH(3391)\n Called from: => WINRUN(0)\n Called from: .\\source\\classes\\WINDOW.PRG => TMDIFRAME:ACTIVATE(976)\n Called from: Source\\main.prg => UMAIN(81)[/quote:1gp7cdoj]\n\n\nRegards,\nFrances", "time": "10:03", "topic": "Bug in xBrowse FWH 10.5??? -- SOLVED", "username": "fraxzi" } ]
Bug in xBrowse FWH 10.5??? -- SOLVED
[ { "date": "2010-05-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Frances,\n\nWhat is the error description ? You have just copied the calls stack.\n\nI have just tested FWH\\samples\\xbwser.prg and it is working fine here.", "time": "10:59", "topic": "Bug in xBrowse FWH 10.5??? -- SOLVED", "username": "Antonio Linares" } ]
Bug in xBrowse FWH 10.5??? -- SOLVED
[ { "date": "2010-05-30", "forum": "FiveWin for Harbour/xHarbour", "text": "[code=fw:2c6irxte]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Called <span style=\"color: #0000ff;\">from</span>: => FIELDGET<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">Source</span>\\<span style=\"color: #0000ff;\">xBrowse</span>.prg => SETCOLFROMRDD<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">7249</span><span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:2c6irxte]\nThis kind of error normally occurs when the alias of the browse is not available, probably closed already or not opened.", "time": "04:42", "topic": "Bug in xBrowse FWH 10.5??? -- SOLVED", "username": "nageswaragunupudi" } ]
Bug in xBrowse FWH 10.5??? -- SOLVED
[ { "date": "2010-06-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Mr. Antonio/Mr. RAO,\n\nThe issue was solved when I used ace32.lib ( v9.10.0.11 ) with xHB1.21.6714 and not my ace32.lib ( v9.10.0.9 )\n\n\nThank you and best regards,\nFrances", "time": "07:53", "topic": "Bug in xBrowse FWH 10.5??? -- SOLVED", "username": "fraxzi" } ]
Bug in xBrowse FWH 10.5??? -- SOLVED
[ { "date": "2008-01-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr. Linares, \nin xbrowse the font-object from footer are always the font-object from header! Please check the source from method PaintFooter. Wrong is oFont := ::oHeaderFont. Should be oFont := ::oFooterFont!", "time": "13:01", "topic": "Bug in xbrowse", "username": "byte-one" } ]
Bug in xbrowse
[ { "date": "2008-01-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Günther,\n\nFixed, thanks! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "15:38", "topic": "Bug in xbrowse", "username": "Antonio Linares" } ]
Bug in xbrowse
[ { "date": "2009-07-07", "forum": "FiveWin for Harbour/xHarbour", "text": "This code :\n\n[code=fw:vcx62w0r]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> &nbsp; <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">XBROWSE</span> oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; COLUMNS ID_CANRMT, ID_CANVTA, ID_CANART, ID_MERMAVTA, ID_MERMA, ID_NOMART, ID_PREVTA, ID_PREART, ID_VACART, ID_IMPART ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PICTURES <span style=\"color: #ff0000;\">\"@z 9999\"</span>, <span style=\"color: #ff0000;\">\"@z 9999\"</span>, <span style=\"color: #ff0000;\">\"@z 9999\"</span>, <span style=\"color: #ff0000;\">\"@z 9999\"</span>, <span style=\"color: #ff0000;\">\"@z 9999\"</span>,, aCliente<span style=\"color: #000000;\">&#91;</span> ID_PICTP <span style=\"color: #000000;\">&#93;</span>, aCliente<span style=\"color: #000000;\">&#91;</span> ID_PICTP <span style=\"color: #000000;\">&#93;</span>, aCliente<span style=\"color: #000000;\">&#91;</span> ID_PICTP <span style=\"color: #000000;\">&#93;</span>, aCliente<span style=\"color: #000000;\">&#91;</span> ID_PICTI <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; HEADERS <span style=\"color: #ff0000;\">\"Remito\"</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\"Vendidos\"</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\"A Liquidar\"</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\"Cargada\"</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\"A Liquidar\"</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OTA<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Art¡culo\"</span><span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\"Promedio\"</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\"A Liquidar\"</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\"Vacios\"</span>+CRLF+<span style=\"color: #ff0000;\">\"a Liquidar\"</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\"IMPORTE\"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FIELDSIZES <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">60</span>, <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">60</span>, <span style=\"color: #000000;\">180</span>, <span style=\"color: #000000;\">65</span>, <span style=\"color: #000000;\">65</span>, <span style=\"color: #000000;\">60</span>, <span style=\"color: #000000;\">70</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; JUSTIFY AL_RIGHT,AL_RIGHT,AL_RIGHT,AL_RIGHT,AL_RIGHT,,AL_RIGHT,AL_RIGHT,AL_RIGHT,AL_RIGHT ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">101</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">OF</span> oDlg ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ARRAY aDatos ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FASTEDIT<br /><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">lFooter</span> := .t.<br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">lHScroll</span> := .f.<br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nStretchCol</span> &nbsp;:= STRETCHCOL_LAST<br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nHeaderHeight</span>:= <span style=\"color: #000000;\">42</span><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nHeader</span> &nbsp; &nbsp; &nbsp;:= <span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aHeaderTop</span> &nbsp; := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"B U L T O S\"</span>, <span style=\"color: #ff0000;\">\"M E R M A\"</span>, <span style=\"color: #ff0000;\">\"P R E C I O\"</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nColDividerStyle</span> &nbsp; &nbsp;:= LINESTYLE_BLACK<br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nRowDividerStyle</span> &nbsp; &nbsp;:= LINESTYLE_BLACK<br /><br />&nbsp; &nbsp;AEVAL<span style=\"color: #000000;\">&#40;</span> oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span>, <span style=\"color: #000000;\">&#123;</span> |o| <span style=\"color: #000000;\">&#40;</span> o:<span style=\"color: #000000;\">nHeadStrAlign</span>:= AL_CENTER,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;o:<span style=\"color: #000000;\">nHeaderType</span>:= <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nHeaderType</span> := <span style=\"color: #000000;\">2</span><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nHeaderType</span> := <span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nHeaderType</span> := <span style=\"color: #000000;\">1</span><br /><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nHeaderType</span> := <span style=\"color: #000000;\">4</span><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nHeaderType</span> := <span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">6</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nHeaderType</span> := <span style=\"color: #000000;\">3</span><br /><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">7</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nHeaderType</span> := <span style=\"color: #000000;\">2</span><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">8</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nHeaderType</span> := <span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">9</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nHeaderType</span> := <span style=\"color: #000000;\">3</span><br /><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bFooter</span> &nbsp; &nbsp; &nbsp;:= <span style=\"color: #000000;\">&#123;</span> || TABSUM<span style=\"color: #000000;\">&#40;</span> aDatos, ID_CANRMT <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">lTotal</span> &nbsp; &nbsp; &nbsp; := .t.<br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bFooter</span> &nbsp; &nbsp; &nbsp;:= <span style=\"color: #000000;\">&#123;</span> || TABSUM<span style=\"color: #000000;\">&#40;</span> aDatos, ID_CANVTA <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">lTotal</span> &nbsp; &nbsp; &nbsp; := .t.<br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bFooter</span> &nbsp; &nbsp; &nbsp;:= <span style=\"color: #000000;\">&#123;</span> || TABSUM<span style=\"color: #000000;\">&#40;</span> aDatos, ID_CANART <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">lTotal</span> &nbsp; &nbsp; &nbsp; := .t.<br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bFooter</span> &nbsp; &nbsp; &nbsp;:= <span style=\"color: #000000;\">&#123;</span> || TABSUM<span style=\"color: #000000;\">&#40;</span> aDatos, ID_MERMAVTA <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">lTotal</span> &nbsp; &nbsp; &nbsp; := .t.<br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bFooter</span> &nbsp; &nbsp; &nbsp;:= <span style=\"color: #000000;\">&#123;</span> || TABSUM<span style=\"color: #000000;\">&#40;</span> aDatos, ID_MERMA <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">lTotal</span> &nbsp; &nbsp; &nbsp; := .t.<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> !Empty<span style=\"color: #000000;\">&#40;</span> oCol := oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">oCol</span><span style=\"color: #000000;\">&#40;</span> OTA<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Art¡culo\"</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; oCol:<span style=\"color: #000000;\">nHeadStrAlign</span>:= AL_LEFT<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br /><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nEditType</span> := EDIT_GET<br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bOnPostEdit</span> := <span style=\"color: #000000;\">&#123;</span> |oCol, xValue, nLastKey| ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> nLastKey == <span style=\"color: #000000;\">13</span>, &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> xValue <= oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aRow</span><span style=\"color: #000000;\">&#91;</span>ID_CANRMT<span style=\"color: #000000;\">&#93;</span>-oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aRow</span><span style=\"color: #000000;\">&#91;</span>ID_MERMA<span style=\"color: #000000;\">&#93;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#40;</span> oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aRow</span><span style=\"color: #000000;\">&#91;</span> oCol:<span style=\"color: #000000;\">nArrayCol</span> <span style=\"color: #000000;\">&#93;</span> := xValue,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aRow</span><span style=\"color: #000000;\">&#91;</span> ID_IMPART <span style=\"color: #000000;\">&#93;</span> := <span style=\"color: #000000;\">&#40;</span>xValue*oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aRow</span><span style=\"color: #000000;\">&#91;</span>ID_PREART<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>+oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aRow</span><span style=\"color: #000000;\">&#91;</span>ID_VACART<span style=\"color: #000000;\">&#93;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Totalex<span style=\"color: #000000;\">&#40;</span> aDeduce, oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aArrayData</span> <span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;msgstop<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">'La cantidad excede el stock recibido.'</span>,<span style=\"color: #ff0000;\">'Error.'</span><span style=\"color: #000000;\">&#41;</span> &nbsp;<span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">nil</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nEditType</span> := EDIT_GET<br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bOnPostEdit</span> := <span style=\"color: #000000;\">&#123;</span> |oCol, xValue, nLastKey| ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> nLastKey == <span style=\"color: #000000;\">13</span>, &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> xValue <= oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aRow</span><span style=\"color: #000000;\">&#91;</span>ID_CANRMT<span style=\"color: #000000;\">&#93;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#40;</span> oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aRow</span><span style=\"color: #000000;\">&#91;</span> oCol:<span style=\"color: #000000;\">nArrayCol</span> <span style=\"color: #000000;\">&#93;</span> := xValue,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aRow</span><span style=\"color: #000000;\">&#91;</span> ID_CANART <span style=\"color: #000000;\">&#93;</span> := oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aRow</span><span style=\"color: #000000;\">&#91;</span>ID_CANRMT<span style=\"color: #000000;\">&#93;</span>-xValue,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aRow</span><span style=\"color: #000000;\">&#91;</span> ID_IMPART <span style=\"color: #000000;\">&#93;</span> := <span style=\"color: #000000;\">&#40;</span>oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aRow</span><span style=\"color: #000000;\">&#91;</span> ID_CANART <span style=\"color: #000000;\">&#93;</span>*oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aRow</span><span style=\"color: #000000;\">&#91;</span>ID_PREART<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>+oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aRow</span><span style=\"color: #000000;\">&#91;</span>ID_VACART<span style=\"color: #000000;\">&#93;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Totalex<span style=\"color: #000000;\">&#40;</span> aDeduce, oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aArrayData</span> <span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;msgstop<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">'La Merma excede el stock recibido.'</span>,<span style=\"color: #ff0000;\">'Error.'</span><span style=\"color: #000000;\">&#41;</span> &nbsp;<span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">nil</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">8</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nEditType</span> := EDIT_GET<br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">8</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bOnPostEdit</span> := <span style=\"color: #000000;\">&#123;</span> |oCol, xValue, nLastKey| ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> nLastKey == <span style=\"color: #000000;\">13</span>, &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#40;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aRow</span><span style=\"color: #000000;\">&#91;</span> oCol:<span style=\"color: #000000;\">nArrayCol</span> <span style=\"color: #000000;\">&#93;</span> := xValue,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aRow</span><span style=\"color: #000000;\">&#91;</span> ID_IMPART <span style=\"color: #000000;\">&#93;</span> := <span style=\"color: #000000;\">&#40;</span>xValue* oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aRow</span><span style=\"color: #000000;\">&#91;</span>ID_CANART<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>+oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aRow</span><span style=\"color: #000000;\">&#91;</span>ID_VACART<span style=\"color: #000000;\">&#93;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Totalex<span style=\"color: #000000;\">&#40;</span> aDeduce, oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aArrayData</span> <span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">nil</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">9</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nEditType</span> := EDIT_GET<br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">9</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bOnPostEdit</span> := <span style=\"color: #000000;\">&#123;</span> |oCol, xValue, nLastKey| ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> nLastKey == <span style=\"color: #000000;\">13</span>, &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#40;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aRow</span><span style=\"color: #000000;\">&#91;</span> oCol:<span style=\"color: #000000;\">nArrayCol</span> <span style=\"color: #000000;\">&#93;</span> := xValue,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aRow</span><span style=\"color: #000000;\">&#91;</span> ID_IMPART <span style=\"color: #000000;\">&#93;</span> := <span style=\"color: #000000;\">&#40;</span>oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aRow</span><span style=\"color: #000000;\">&#91;</span> ID_CANART <span style=\"color: #000000;\">&#93;</span>*oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aRow</span><span style=\"color: #000000;\">&#91;</span>ID_PREART<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>+xValue,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Totalex<span style=\"color: #000000;\">&#40;</span> aDeduce, oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aArrayData</span> <span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">nil</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">10</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bFooter</span>:= <span style=\"color: #000000;\">&#123;</span> || TABSUM<span style=\"color: #000000;\">&#40;</span> aDatos, ID_IMPART <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oLbx<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">10</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">lTotal</span> := .t.</div>[/code:vcx62w0r]\nif my source is:\n\"bultos\" + CRLF + \"remito\" the program run ok.\nbut with SuperHeader in column 1 to 3, if user click in this column, the text and header hide.\nthe column and text only show when i make refresh in all screen.\nother problem:\nin SuperHeader 2, text aligment to rigth, when all ist centered.", "time": "14:31", "topic": "Bug in xbrowse + SuperHeader", "username": "Ariel" } ]
Bug in xbrowse + SuperHeader
[ { "date": "2010-12-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\nthis last FWH version has a bug into the xBrowse class when you browse an array with a column using the SORT clause.\n\nApplication\n===========\n Path and name: K:\\pigc\\PIGCSQL.Exe (32 bits)\n Size: 9,056,768 bytes\n Time from start: 0 hours 0 mins 1 secs\n Error occurred at: 26/12/10, 17:08:34\n Error description: Error DBCMD/2001 Workarea not in use: ORDBAGNAME\n\nStack Calls\n===========\n Called from: => ORDBAGNAME(0)\n Called from: K:\\pigc\\ADDON32\\UPDATED2\\xbrowse.prg => TXBROWSE:ADDCOLUMN(5320)\n\n\nI temporary solved removing line 5320 from the xbrowse class\n\n* oCol:cOrdBag := ( ::cAlias )->( OrdBagName( ncOrder ) )", "time": "17:14", "topic": "Bug in xbrowse using an array and sort", "username": "Marco Turco" } ]
Bug in xbrowse using an array and sort
[ { "date": "2010-12-27", "forum": "FiveWin for Harbour/xHarbour", "text": "This is the fix:\n[code=fw:44okad5a]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">nDataType</span> == DATATYPE_RDD .and. ! Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">cAlias</span> <span style=\"color: #000000;\">&#41;</span> .and. <span style=\"color: #0000ff;\">SELECT</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nAlias</span> <span style=\"color: #000000;\">&#41;</span> > <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCol:<span style=\"color: #000000;\">cOrdBag</span> &nbsp; &nbsp;:= <span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">cAlias</span> <span style=\"color: #000000;\">&#41;</span>-><span style=\"color: #000000;\">&#40;</span> OrdBagName<span style=\"color: #000000;\">&#40;</span> ncOrder <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp;</div>[/code:44okad5a]", "time": "17:05", "topic": "Bug in xbrowse using an array and sort", "username": "nageswaragunupudi" } ]
Bug in xbrowse using an array and sort
[ { "date": "2014-01-08", "forum": "FiveWin para Harbour/xHarbour", "text": "la introduccion de la DATA l2013 a introducido un bug en las barras desde codigo :\n\n@20,0 BUTTONBAR oBarfoto 3D SIZE 350,30 OF ::oWnd\n\npara resolverlo segun caso :\n oBarfoto:l2013:= .f.\n o\noBarfoto:l2013:= .t.\n\nseria bueno revisarlo el error :\n\n Error description: Error BASE/1066 Error de argumento: condicional\n Args:\n [ 1] = U \n\nStack Calls\n===========\n Called from: .\\source\\classes\\BAR.PRG => TBAR:PAINT( 759 )\n Called from: .\\source\\classes\\BAR.PRG => (b)TBAR( 50 )\n Called from: .\\source\\classes\\BAR.PRG => TBAR:DISPLAY( 0 )\n Called from: .\\source\\classes\\CONTROL.PRG => TBAR:HANDLEEVENT( 1699 )\n Called from: window.prg => _FWH( 3262 )\n Called from: => SYSREFRESH( 0 )", "time": "10:01", "topic": "Bug introducido en BUTTONBAR", "username": "mastintin" } ]
Bug introducido en BUTTONBAR
[ { "date": "2014-01-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Manuel,\n\ngracias! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "10:15", "topic": "Bug introducido en BUTTONBAR", "username": "Antonio Linares" } ]
Bug introducido en BUTTONBAR
[ { "date": "2010-01-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Sr. Antonio,\n\nAo redimensionar a window principal, a message bar apresenta um BUG.\n\nset message of ownd to \"Bom trabalho...\" clock date keyboard font ofontem noinset 2007\n\nVeja:\n[url=http&#58;//img98&#46;imageshack&#46;us/i/msgi&#46;jpg/:24fdticn][img:24fdticn]http&#58;//img98&#46;imageshack&#46;us/img98/2506/msgi&#46;th&#46;jpg[/img:24fdticn][/url:24fdticn]", "time": "17:23", "topic": "Bug message bar com 2007", "username": "MGA" } ]
Bug message bar com 2007
[ { "date": "2010-01-06", "forum": "FiveWin para Harbour/xHarbour", "text": "?", "time": "20:19", "topic": "Bug message bar com 2007", "username": "MGA" } ]
Bug message bar com 2007
[ { "date": "2010-01-25", "forum": "FiveWin para Harbour/xHarbour", "text": "SGS,\n\nPuedes proporcionar un ejemplo, en PRG, que reproduzca el error ? gracias", "time": "12:12", "topic": "Bug message bar com 2007", "username": "Antonio Linares" } ]
Bug message bar com 2007
[ { "date": "2010-01-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Sr. Antonio:\n\nfwh/samples/test2007.prg\n\nBasta redimensionar a window principal de modo que a mensagem estoure o tamanho da set message...", "time": "13:43", "topic": "Bug message bar com 2007", "username": "MGA" } ]
Bug message bar com 2007
[ { "date": "2010-03-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Sr. Antonio,\n\nAlguma novidade sobre este bug? ou poderia me dizer em que PRG (source) devo procurar o problema!\n\nObrigado", "time": "18:34", "topic": "Bug message bar com 2007", "username": "MGA" } ]
Bug message bar com 2007
[ { "date": "2010-03-10", "forum": "FiveWin para Harbour/xHarbour", "text": "The problem is true.\n\nSample used : \\Fwh\\Samples\\Test2007.prg \n\n[b:21zgznw0]Screen snapshot of the window[/b:21zgznw0]\n[url=http&#58;//img218&#46;imageshack&#46;us/i/originalv&#46;jpg/:21zgznw0][img:21zgznw0]http&#58;//img218&#46;imageshack&#46;us/img218/1842/originalv&#46;jpg[/img:21zgznw0][/url:21zgznw0]\n\nScreen snapshot of the window [b:21zgznw0][color=#FF0000:21zgznw0]after resizing[/color:21zgznw0][/b:21zgznw0]. The MsgBar MsgItems are overlapped\n[url=http&#58;//img130&#46;imageshack&#46;us/i/resizedtc&#46;jpg/:21zgznw0][img:21zgznw0]http&#58;//img130&#46;imageshack&#46;us/img130/8173/resizedtc&#46;jpg[/img:21zgznw0][/url:21zgznw0]\n\nRegards\nAnser", "time": "05:58", "topic": "Bug message bar com 2007", "username": "anserkk" } ]
Bug message bar com 2007
[ { "date": "2010-03-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Deberíamos decidir que items deben verse en esa situación: los de más a la derecha o solo el de la izquierda ?\n\nWe should decide what items to show on such situation: the rightmost ones or just the leftmost one ?", "time": "09:18", "topic": "Bug message bar com 2007", "username": "Antonio Linares" } ]
Bug message bar com 2007
[ { "date": "2010-03-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Sr. Antonio,\n\nclausula->2007 Deveria funcionar igual a barra default (sem 2007).\n\nset message of ownd to \"Bom trabalho...\" clock date keyboard font ofontem noinset 2007 <----BUG\n\nset message of ownd to \"Bom trabalho...\" clock date keyboard font ofontem noinset <----OK", "time": "12:07", "topic": "Bug message bar com 2007", "username": "MGA" } ]
Bug message bar com 2007
[ { "date": "2010-03-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Sr. Antonio, \n\nAlguma novidade?", "time": "12:01", "topic": "Bug message bar com 2007", "username": "MGA" } ]
Bug message bar com 2007
[ { "date": "2010-03-15", "forum": "FiveWin para Harbour/xHarbour", "text": "SGS.\n\nProblema resuelto...\n\nhay que hacer cambios en TmsgBar (msgbar.prg)\n\n[b:2hsveac1]METHOD Destroy()\nBusca[/b:2hsveac1]\n[code=fw:2hsveac1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />   AEval<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">aItem</span>, <span style=\"color: #000000;\">&#123;</span> | o | <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> o:<span style=\"color: #000000;\">hBitmap1</span> != <span style=\"color: #00C800;\">nil</span>, DeleteObject<span style=\"color: #000000;\">&#40;</span> o:<span style=\"color: #000000;\">hBitmap1</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">&#41;</span>,;<br />                           <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> o:<span style=\"color: #000000;\">hBitmap2</span> != <span style=\"color: #00C800;\">nil</span>, DeleteObject<span style=\"color: #000000;\">&#40;</span> o:<span style=\"color: #000000;\">hBitmap2</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:2hsveac1]\n\n[b:2hsveac1]Reemplaza:[/b:2hsveac1]\n[code=fw:2hsveac1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />   AEval<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">aItem</span>, <span style=\"color: #000000;\">&#123;</span> | o | <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> o:<span style=\"color: #000000;\">hBitmap1</span> != <span style=\"color: #00C800;\">nil</span>, DeleteObject<span style=\"color: #000000;\">&#40;</span> o:<span style=\"color: #000000;\">hBitmap1</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">&#41;</span>,;<br />                           <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> o:<span style=\"color: #000000;\">hBitmap2</span> != <span style=\"color: #00C800;\">nil</span>, DeleteObject<span style=\"color: #000000;\">&#40;</span> o:<span style=\"color: #000000;\">hBitmap2</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">&#41;</span>,;<br />                           <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> o:<span style=\"color: #000000;\">hBack</span> != <span style=\"color: #00C800;\">nil</span>, DeleteObject<span style=\"color: #000000;\">&#40;</span> o:<span style=\"color: #000000;\">hBack</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:2hsveac1]\n\nMETHOD Pain()\n[b:2hsveac1]Busca:[/b:2hsveac1]\n[code=fw:2hsveac1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />::<span style=\"color: #0000ff;\">Say</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nHeight</span> / <span style=\"color: #000000;\">4</span> - <span style=\"color: #000000;\">2</span>,;<br />             <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lCentered</span>, <span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nWidth</span> / <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span> - <span style=\"color: #000000;\">&#40;</span> GetTextWidth<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hDC</span>,;<br />             <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">cMsg</span> <span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">cMsgDef</span>, ::<span style=\"color: #000000;\">cMsg</span> <span style=\"color: #000000;\">&#41;</span>,;<br />             ::<span style=\"color: #000000;\">nClrText</span>,,, .T., .T. <span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:2hsveac1]\n\n[b:2hsveac1]Reemplaza:[/b:2hsveac1]\n[code=fw:2hsveac1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />::<span style=\"color: #0000ff;\">Say</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nHeight</span> / <span style=\"color: #000000;\">4</span> - <span style=\"color: #000000;\">2</span>,;<br />             <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lCentered</span>, <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> Len<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">aItem</span> <span style=\"color: #000000;\">&#41;</span> > <span style=\"color: #000000;\">0</span>, ::<span style=\"color: #000000;\">aItem</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nLeft</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">nWidth</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span> - <span style=\"color: #000000;\">&#40;</span> GetTextWidth<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hDC</span>,;<br />             <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">cMsg</span> <span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">cMsgDef</span>, ::<span style=\"color: #000000;\">cMsg</span> <span style=\"color: #000000;\">&#41;</span>,;<br />             ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oFont</span>:<span style=\"color: #000000;\">hFont</span> <span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#41;</span>,;<br />              <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">cMsg</span> <span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">cMsgDef</span>, ::<span style=\"color: #000000;\">cMsg</span> <span style=\"color: #000000;\">&#41;</span>,;<br />             ::<span style=\"color: #000000;\">nClrText</span>,,, .T., .T. <span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:2hsveac1]\n\nTerminados cambios en clase TMsgBar\n\nCambios en la clase TmsgItem ( tmsgitem.prg )\n\n[b:2hsveac1]Crear data nueva:[/b:2hsveac1]\n\n[code=fw:2hsveac1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">DATA</span> hBack</div>[/code:2hsveac1]\n\n[b:2hsveac1]Reemplazar metodo paint[/b:2hsveac1]\n[code=fw:2hsveac1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #0000ff;\">Paint</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> TMsgItem<br /><br />   <span style=\"color: #00C800;\">local</span> nCount, nClrBack<br />   <span style=\"color: #00C800;\">local</span> nLeft := ::<span style=\"color: #000000;\">nLeft</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">local</span> hBmp, nBmpWidth := <span style=\"color: #000000;\">0</span><br />   <span style=\"color: #00C800;\">local</span> hDC := ::<span style=\"color: #000000;\">oMsgBar</span>:<span style=\"color: #000000;\">GetDC</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">local</span> hDCMem, hOld<br /><br />   <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">oMsgBar</span>:<span style=\"color: #000000;\">l2007</span><br />      ::<span style=\"color: #000000;\">oMsgBar</span>:<span style=\"color: #000000;\">PaintBar</span><span style=\"color: #000000;\">&#40;</span> nLeft, ::<span style=\"color: #000000;\">nWidth</span> <span style=\"color: #000000;\">&#41;</span><br />      hDCMem = CreateCompatibleDC<span style=\"color: #000000;\">&#40;</span> hDC <span style=\"color: #000000;\">&#41;</span><br />      <span style=\"color: #00C800;\">If</span> ::<span style=\"color: #000000;\">hBack</span> == <span style=\"color: #00C800;\">NIL</span><br />         ::<span style=\"color: #000000;\">hBack</span>  = CreateCompatibleBitmap<span style=\"color: #000000;\">&#40;</span> hDC, ::<span style=\"color: #000000;\">nWidth</span> + <span style=\"color: #000000;\">4</span>, ::<span style=\"color: #000000;\">oMsgBar</span>:<span style=\"color: #000000;\">nHeight</span> <span style=\"color: #000000;\">&#41;</span><br />         hOld = SelectObject<span style=\"color: #000000;\">&#40;</span> hDCMem, ::<span style=\"color: #000000;\">hBack</span> <span style=\"color: #000000;\">&#41;</span><br />         BitBlt<span style=\"color: #000000;\">&#40;</span> hDCMem, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, ::<span style=\"color: #000000;\">nWidth</span> + <span style=\"color: #000000;\">4</span>, ::<span style=\"color: #000000;\">oMsgBar</span>:<span style=\"color: #000000;\">nHeight</span>, hDC, ::<span style=\"color: #000000;\">nLeft</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> - <span style=\"color: #000000;\">4</span>, <span style=\"color: #000000;\">0</span>, 0xCC0020 <span style=\"color: #000000;\">&#41;</span><br />         SelectObject<span style=\"color: #000000;\">&#40;</span> hDCMem, hOld <span style=\"color: #000000;\">&#41;</span><br />      <span style=\"color: #00C800;\">endif</span><br />      hOld = SelectObject<span style=\"color: #000000;\">&#40;</span> hDCMem, ::<span style=\"color: #000000;\">hBack</span> <span style=\"color: #000000;\">&#41;</span><br />      BitBlt<span style=\"color: #000000;\">&#40;</span> hDC, ::<span style=\"color: #000000;\">nLeft</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> - <span style=\"color: #000000;\">4</span>, <span style=\"color: #000000;\">0</span>, ::<span style=\"color: #000000;\">nWidth</span> + <span style=\"color: #000000;\">4</span>, ::<span style=\"color: #000000;\">oMsgBar</span>:<span style=\"color: #000000;\">nHeight</span>, hDCMem, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, 0xCC0020 <span style=\"color: #000000;\">&#41;</span><br />      DeleteDC<span style=\"color: #000000;\">&#40;</span> hDCMem <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">endif</span><br /><br />   <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">hBitmap1</span> != <span style=\"color: #00C800;\">nil</span><br />      hBmp = <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lActive</span>, ::<span style=\"color: #000000;\">hBitmap1</span>, ;<br />                 <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hBitmap2</span> != <span style=\"color: #00C800;\">nil</span>, ::<span style=\"color: #000000;\">hBitmap2</span>, ::<span style=\"color: #000000;\">hBitmap1</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />      nBmpWidth  = nBmpWidth<span style=\"color: #000000;\">&#40;</span> hBmp <span style=\"color: #000000;\">&#41;</span><br />      DrawMasked<span style=\"color: #000000;\">&#40;</span> hDC, hBmp, <span style=\"color: #000000;\">2</span>, nLeft + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">endif</span><br /><br />   <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">oMsgBar</span>:<span style=\"color: #000000;\">l2007</span><br />      ::<span style=\"color: #000000;\">oMsgBar</span>:<span style=\"color: #0000ff;\">Say</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oMsgBar</span>:<span style=\"color: #000000;\">nHeight</span> / <span style=\"color: #000000;\">4</span> - <span style=\"color: #000000;\">2</span>,;<br />             nLeft - <span style=\"color: #000000;\">1</span> + <span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nWidth</span> / <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span> - <span style=\"color: #000000;\">&#40;</span> GetTextWidth<span style=\"color: #000000;\">&#40;</span> hDC, AllTrim<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">cMsg</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;\">2</span> <span style=\"color: #000000;\">&#41;</span>,;<br />             AllTrim<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">cMsg</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lActive</span>, ::<span style=\"color: #000000;\">nClrText</span>, ::<span style=\"color: #000000;\">nClrDisabled</span> <span style=\"color: #000000;\">&#41;</span>,;<br />             ::<span style=\"color: #000000;\">nClrPane</span>, ::<span style=\"color: #000000;\">oFont</span>, .T., .T. <span style=\"color: #000000;\">&#41;</span><br />      WndBoxIn<span style=\"color: #000000;\">&#40;</span> hDC, <span style=\"color: #000000;\">2</span>, nLeft - <span style=\"color: #000000;\">4</span>, ::<span style=\"color: #000000;\">oMsgBar</span>:<span style=\"color: #000000;\">nHeight</span> - <span style=\"color: #000000;\">2</span>, nLeft - <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">else</span><br />      DrawMsgItem<span style=\"color: #000000;\">&#40;</span> hDC, ::<span style=\"color: #000000;\">cMsg</span>,;<br />                   <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">5</span>, nLeft + nBmpWidth, ::<span style=\"color: #000000;\">oMsgBar</span>:<span style=\"color: #000000;\">nHeight</span> - <span style=\"color: #000000;\">6</span>,;<br />                         nLeft + <span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nWidth</span> - <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />                         <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lActive</span>, ::<span style=\"color: #000000;\">nClrText</span>, ::<span style=\"color: #000000;\">nClrDisabled</span> <span style=\"color: #000000;\">&#41;</span>,;<br />                     ::<span style=\"color: #000000;\">nClrPane</span>, ::<span style=\"color: #000000;\">oFont</span>:<span style=\"color: #000000;\">hFont</span> <span style=\"color: #000000;\">&#41;</span><br /><br />      WndBoxIn<span style=\"color: #000000;\">&#40;</span> hDC, <span style=\"color: #000000;\">0</span>, nLeft - <span style=\"color: #000000;\">4</span>, ::<span style=\"color: #000000;\">oMsgBar</span>:<span style=\"color: #000000;\">nHeight</span> - <span style=\"color: #000000;\">1</span>, nLeft - <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// Statusbar Parts look</span><br />      <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">oMsgBar</span>:<span style=\"color: #000000;\">lInset</span><br />         WndBoxIn<span style=\"color: #000000;\">&#40;</span> hDC, <span style=\"color: #000000;\">3</span>, nLeft + <span style=\"color: #000000;\">1</span>, ::<span style=\"color: #000000;\">oMsgBar</span>:<span style=\"color: #000000;\">nHeight</span> - <span style=\"color: #000000;\">5</span>, nLeft + ::<span style=\"color: #000000;\">nWidth</span> - <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// Original Depressed Look</span><br />      <span style=\"color: #00C800;\">endif</span>         <br /><br />   <span style=\"color: #00C800;\">endif</span><br />   <br /><br />   ::<span style=\"color: #000000;\">oMsgBar</span>:<span style=\"color: #000000;\">ReleaseDC</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /> </div>[/code:2hsveac1]", "time": "06:05", "topic": "Bug message bar com 2007", "username": "Daniel Garcia-Gil" } ]
Bug message bar com 2007
[ { "date": "2010-03-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Daniel,\n\n <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nEspetacular !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\nMeus Parabéns !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n <!-- s:mrgreen: --><img src=\"{SMILIES_PATH}/icon_mrgreen.gif\" alt=\":mrgreen:\" title=\"Mr. Green\" /><!-- s:mrgreen: -->", "time": "14:46", "topic": "Bug message bar com 2007", "username": "MGA" } ]
Bug message bar com 2007
[ { "date": "2021-11-17", "forum": "FiveWin for Harbour/xHarbour", "text": "[img:2t0wrbbo]https&#58;//i&#46;postimg&#46;cc/yYkvZQDc/test-btn-err&#46;png[/img:2t0wrbbo]\n\nbecause buttons 1 and 3 that have pngs (or bitmaps) don't behave like the number 5\n\nI have seen that when a button is disabled if it has a png or a bitmap it does not behave \nas when it does not have the bitmap (or png), i.e. when it is disabled it assumes a darker color than the button without bitmpas\n\n[b:2t0wrbbo]this my test[/b:2t0wrbbo]\n\n[code=fw:2t0wrbbo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><span style=\"color: #00C800;\">Function</span> test<br /><span style=\"color: #00C800;\">local</span> oDlg<br /><span style=\"color: #00C800;\">local</span> oBtn:=array<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">6</span><span style=\"color: #000000;\">&#41;</span>,nI<br /><span style=\"color: #00C800;\">local</span>  oCursorBtn :=TCursor<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span>,<span style=\"color: #ff0000;\">'HAND'</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg        ;<br />   <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Test btnbmp enable/disable\"</span>     ;<br />   <span style=\"color: #0000ff;\">SIZE</span>  <span style=\"color: #000000;\">400</span>,<span style=\"color: #000000;\">400</span> <span style=\"color: #0000ff;\">PIXEL</span> TRUEPIXEL              ;<br />   <span style=\"color: #0000ff;\">COLOR</span> CLR_BLACK,  nRgb<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">245</span>,<span style=\"color: #000000;\">244</span>,<span style=\"color: #000000;\">234</span><span style=\"color: #000000;\">&#41;</span> TRANSPARENT<br /><br /> @ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> obtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>   ;<br />                FLAT  <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">30</span>  <span style=\"color: #0000ff;\">OF</span> oDlg   <span style=\"color: #0000ff;\">PIXEL</span> ;<br />                <span style=\"color: #0000ff;\">COLOR</span>  CLR_BLACK,nRgb<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">238</span>,<span style=\"color: #000000;\">236</span>,<span style=\"color: #000000;\">219</span><span style=\"color: #000000;\">&#41;</span> ;<br />                <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Pieno.png\"</span> NOROUND;<br />                BITMAP <span style=\"color: #ff0000;\">\"pieno.png\"</span> <span style=\"color: #0000ff;\">LEFT</span><br /><br /><br />@ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">BTNBMP</span> obtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>   ;<br />                FLAT  <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">30</span>  <span style=\"color: #0000ff;\">OF</span> oDlg   <span style=\"color: #0000ff;\">PIXEL</span> ;<br />                <span style=\"color: #0000ff;\">COLOR</span>  CLR_BLACK,nRgb<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">238</span>,<span style=\"color: #000000;\">236</span>,<span style=\"color: #000000;\">219</span><span style=\"color: #000000;\">&#41;</span> ;<br />                <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Pieno.png\"</span> NOROUND;<br />                BITMAP <span style=\"color: #ff0000;\">\"pieno.png\"</span> <span style=\"color: #0000ff;\">LEFT</span><br /><br /><br /><br />@ <span style=\"color: #000000;\">120</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> obtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>   ;<br />                FLAT  <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">30</span>  <span style=\"color: #0000ff;\">OF</span> oDlg   <span style=\"color: #0000ff;\">PIXEL</span> ;<br />                <span style=\"color: #0000ff;\">COLOR</span>  CLR_BLACK,nRgb<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">238</span>,<span style=\"color: #000000;\">236</span>,<span style=\"color: #000000;\">219</span><span style=\"color: #000000;\">&#41;</span> ;<br />                <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"vuoto.png\"</span> NOROUND;<br />                BITMAP <span style=\"color: #ff0000;\">\"vuoto.png\"</span> <span style=\"color: #0000ff;\">LEFT</span><br /><br />@ <span style=\"color: #000000;\">120</span>,<span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">BTNBMP</span> obtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span>   ;<br />                FLAT  <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">30</span>  <span style=\"color: #0000ff;\">OF</span> oDlg   <span style=\"color: #0000ff;\">PIXEL</span> ;<br />                <span style=\"color: #0000ff;\">COLOR</span>  CLR_BLACK,nRgb<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">238</span>,<span style=\"color: #000000;\">236</span>,<span style=\"color: #000000;\">219</span><span style=\"color: #000000;\">&#41;</span> ;<br />                <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"VUOTO.png\"</span> NOROUND;<br />                BITMAP <span style=\"color: #ff0000;\">\"vuoto.png\"</span> <span style=\"color: #0000ff;\">LEFT</span><br /><br />@ <span style=\"color: #000000;\">200</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> obtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#93;</span>   ;<br />                FLAT  <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">30</span>  <span style=\"color: #0000ff;\">OF</span> oDlg   <span style=\"color: #0000ff;\">PIXEL</span> ;<br />                <span style=\"color: #0000ff;\">COLOR</span>  CLR_BLACK,nRgb<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">238</span>,<span style=\"color: #000000;\">236</span>,<span style=\"color: #000000;\">219</span><span style=\"color: #000000;\">&#41;</span> ;<br />                <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"disable senza png\"</span> NOROUND;<br />                 <span style=\"color: #0000ff;\">LEFT</span><br /><br />@ <span style=\"color: #000000;\">200</span>,<span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">BTNBMP</span> obtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">6</span><span style=\"color: #000000;\">&#93;</span>   ;<br />                FLAT  <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">30</span>  <span style=\"color: #0000ff;\">OF</span> oDlg   <span style=\"color: #0000ff;\">PIXEL</span> ;<br />                <span style=\"color: #0000ff;\">COLOR</span>  CLR_BLACK,nRgb<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">238</span>,<span style=\"color: #000000;\">236</span>,<span style=\"color: #000000;\">219</span><span style=\"color: #000000;\">&#41;</span> ;<br />                <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"enable senza png\"</span> NOROUND;<br />                 <span style=\"color: #0000ff;\">LEFT</span><br /><br /><br />                  <span style=\"color: #00C800;\">for</span> nI=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">6</span><br />obtn<span style=\"color: #000000;\">&#91;</span>nI<span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bClrGrad</span> = <span style=\"color: #000000;\">&#123;</span> | lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ! lInvert,;<br />                    <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">225</span>, <span style=\"color: #000000;\">225</span>, <span style=\"color: #000000;\">225</span> <span style=\"color: #000000;\">&#41;</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">225</span>, <span style=\"color: #000000;\">225</span>, <span style=\"color: #000000;\">225</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />                    <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">229</span>,<span style=\"color: #000000;\">241</span>,<span style=\"color: #000000;\">251</span> <span style=\"color: #000000;\">&#41;</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">229</span>,<span style=\"color: #000000;\">241</span>,<span style=\"color: #000000;\">251</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />           obtn<span style=\"color: #000000;\">&#91;</span>nI<span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nClrBorder</span> := nRgb<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">218</span>,<span style=\"color: #000000;\">214</span>,<span style=\"color: #000000;\">179</span><span style=\"color: #000000;\">&#41;</span><br />             obtn<span style=\"color: #000000;\">&#91;</span>nI<span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">oCursor</span>:=   oCursorBtn<br />                  <span style=\"color: #00C800;\">next</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">center</span>;<br />      <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">&#40;</span>obtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,obtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,obtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><br /><br /> </div>[/code:2t0wrbbo]\n\n\n[b:2t0wrbbo]Pieno.png[/b:2t0wrbbo]\n\n[img:2t0wrbbo]https&#58;//i&#46;postimg&#46;cc/KvWFPHJ2/pieno&#46;png[/img:2t0wrbbo]\n\n\n[b:2t0wrbbo]Vuoto.png[/b:2t0wrbbo]\n\n[img:2t0wrbbo]https&#58;//i&#46;postimg&#46;cc/3R3Hr5Jg/vuoto&#46;png[/img:2t0wrbbo]", "time": "13:56", "topic": "Bug on Btnbmp ???", "username": "Silvio.Falconi" } ]
Bug on Btnbmp ???
[ { "date": "2021-11-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Intenta asi:\n\n\n[code=fw:ff3a1893]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">&#40;</span> oBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:ff3a1893]", "time": "14:27", "topic": "Bug on Btnbmp ???", "username": "karinha" } ]
Bug on Btnbmp ???
[ { "date": "2021-11-17", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"karinha\":29lf0juw]Intenta asi:\n\n\n[code=fw:29lf0juw]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />      <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">&#40;</span> oBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, ;<br />                oBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:29lf0juw][/quote:29lf0juw]\n\nbut you understood what i mean???????", "time": "14:41", "topic": "Bug on Btnbmp ???", "username": "Silvio.Falconi" } ]
Bug on Btnbmp ???
[ { "date": "2021-11-17", "forum": "FiveWin for Harbour/xHarbour", "text": "There really is a problem. Refresh() does not work with BTNBMP and PNG.\n\nRealmente hay un problema. Refresh() no funciona con BTNBMP y PNG.\n\n[code=fw:10kil2i5]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">// \\SAMPLES\\BTNBSILV.PRG</span><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><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 />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> oBtn := Array<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">&#41;</span>, nI<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> &nbsp;oCursorBtn := TCursor<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span>, <span style=\"color: #ff0000;\">'HAND'</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Test btnbmp enable/disable Problem PNG\"</span> &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> &nbsp;<span style=\"color: #000000;\">400</span>, <span style=\"color: #000000;\">400</span> <span style=\"color: #0000ff;\">PIXEL</span> TRUEPIXEL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">COLOR</span> CLR_BLACK, &nbsp;nRgb<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">245</span>, <span style=\"color: #000000;\">244</span>, <span style=\"color: #000000;\">234</span> <span style=\"color: #000000;\">&#41;</span> TRANSPARENT<br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> obtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> &nbsp; ;<br />&nbsp; &nbsp; &nbsp; FLAT &nbsp;<span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">30</span> &nbsp;<span style=\"color: #0000ff;\">OF</span> oDlg &nbsp; <span style=\"color: #0000ff;\">PIXEL</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">COLOR</span> &nbsp;CLR_BLACK, nRgb<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">238</span>, <span style=\"color: #000000;\">236</span>, <span style=\"color: #000000;\">219</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Pieno.png\"</span> NOROUND;<br />&nbsp; &nbsp; &nbsp; BITMAP <span style=\"color: #ff0000;\">\"pieno.png\"</span> <span style=\"color: #0000ff;\">LEFT</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <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 /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">BTNBMP</span> obtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> &nbsp; ;<br />&nbsp; &nbsp; &nbsp; FLAT &nbsp;<span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">30</span> &nbsp;<span style=\"color: #0000ff;\">OF</span> oDlg &nbsp; <span style=\"color: #0000ff;\">PIXEL</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">COLOR</span> &nbsp;CLR_BLACK, nRgb<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">238</span>, <span style=\"color: #000000;\">236</span>, <span style=\"color: #000000;\">219</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Pieno.png\"</span> NOROUND;<br />&nbsp; &nbsp; &nbsp; BITMAP <span style=\"color: #ff0000;\">\"pieno.png\"</span> <span style=\"color: #0000ff;\">LEFT</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <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 /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> obtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span> &nbsp; ;<br />&nbsp; &nbsp; &nbsp; FLAT &nbsp;<span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">30</span> &nbsp;<span style=\"color: #0000ff;\">OF</span> oDlg &nbsp; <span style=\"color: #0000ff;\">PIXEL</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">COLOR</span> &nbsp;CLR_BLACK, nRgb<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">238</span>, <span style=\"color: #000000;\">236</span>, <span style=\"color: #000000;\">219</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"vuoto.png\"</span> NOROUND;<br />&nbsp; &nbsp; &nbsp; BITMAP <span style=\"color: #ff0000;\">\"vuoto.png\"</span> <span style=\"color: #0000ff;\">LEFT</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <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 /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">BTNBMP</span> obtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#93;</span> &nbsp; ;<br />&nbsp; &nbsp; &nbsp; FLAT &nbsp;<span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">30</span> &nbsp;<span style=\"color: #0000ff;\">OF</span> oDlg &nbsp; <span style=\"color: #0000ff;\">PIXEL</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">COLOR</span> &nbsp;CLR_BLACK, nRgb<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">238</span>, <span style=\"color: #000000;\">236</span>, <span style=\"color: #000000;\">219</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"VUOTO.png\"</span> NOROUND;<br />&nbsp; &nbsp; &nbsp; BITMAP <span style=\"color: #ff0000;\">\"vuoto.png\"</span> <span style=\"color: #0000ff;\">LEFT</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"4\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">200</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> obtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span> &nbsp; ;<br />&nbsp; &nbsp; &nbsp; FLAT &nbsp;<span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">30</span> &nbsp;<span style=\"color: #0000ff;\">OF</span> oDlg &nbsp; <span style=\"color: #0000ff;\">PIXEL</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">COLOR</span> &nbsp;CLR_BLACK, nRgb<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">238</span>, <span style=\"color: #000000;\">236</span>, <span style=\"color: #000000;\">219</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"disable senza png\"</span> NOROUND;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">LEFT</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">&#40;</span> oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; oDlg:<span style=\"color: #0000ff;\">UpDate</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oDlg:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">200</span>, <span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">BTNBMP</span> obtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">&#93;</span> &nbsp; ;<br />&nbsp; &nbsp; &nbsp; FLAT &nbsp;<span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">30</span> &nbsp;<span style=\"color: #0000ff;\">OF</span> oDlg &nbsp; <span style=\"color: #0000ff;\">PIXEL</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">COLOR</span> &nbsp;CLR_BLACK, nRgb<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">238</span>, <span style=\"color: #000000;\">236</span>, <span style=\"color: #000000;\">219</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"enable senza png\"</span> NOROUND;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">LEFT</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">&#40;</span> oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Enable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, &nbsp;oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Enable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Enable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, &nbsp;oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">FOR</span> nI = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">6</span><br />&nbsp; &nbsp; &nbsp; obtn<span style=\"color: #000000;\">&#91;</span> nI <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bClrGrad</span> = <span style=\"color: #000000;\">&#123;</span>| lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ! lInvert, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">225</span>, <span style=\"color: #000000;\">225</span>, <span style=\"color: #000000;\">225</span> <span style=\"color: #000000;\">&#41;</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">225</span>, <span style=\"color: #000000;\">225</span>, <span style=\"color: #000000;\">225</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">229</span>, <span style=\"color: #000000;\">241</span>, <span style=\"color: #000000;\">251</span> <span style=\"color: #000000;\">&#41;</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">229</span>, <span style=\"color: #000000;\">241</span>, <span style=\"color: #000000;\">251</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; obtn<span style=\"color: #000000;\">&#91;</span> nI <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nClrBorder</span> := nRgb<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">218</span>, <span style=\"color: #000000;\">214</span>, <span style=\"color: #000000;\">179</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; obtn<span style=\"color: #000000;\">&#91;</span> nI <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">oCursor</span> := &nbsp; oCursorBtn<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">NEXT</span><br /><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">/*<br />&nbsp; &nbsp;oBtn[ 1 ]:Disable()<br />&nbsp; &nbsp;oBtn[ 3 ]:Disable()<br />&nbsp; &nbsp;oBtn[ 5 ]:Disable()<br />&nbsp; &nbsp;*/</span><br /><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">// OR:</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">&#40;</span> oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br />&nbsp;</div>[/code:10kil2i5]", "time": "15:32", "topic": "Bug on Btnbmp ???", "username": "karinha" } ]
Bug on Btnbmp ???
[ { "date": "2021-11-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Esto hace que sea más fácil ver el problema con PNG, con BMP funciona normalmente. Prefiero BUTTONBMP, es mucho mejor.\n\nThis makes it easier to see the problem with PNG, with BMP it works as normal. I prefer BUTTONBMP, it's much better.\n\n[code=fw:2irxjtut]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">// \\SAMPLES\\BTNBSILV.PRG</span><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><span style=\"color: #00C800;\">STATIC</span> oBtn<br /><br /><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, nI<br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">// LOCAL oBtn := Array( 6 ), nI</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> &nbsp;oCursorBtn := TCursor<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span>, <span style=\"color: #ff0000;\">'HAND'</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;oBtn := Array<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;SET _3DLOOK <span style=\"color: #0000ff;\">ON</span><br /><br />&nbsp; &nbsp;SkinButtons<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Test btnbmp enable/disable\"</span> &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> &nbsp;<span style=\"color: #000000;\">400</span>, <span style=\"color: #000000;\">400</span> <span style=\"color: #0000ff;\">PIXEL</span> TRUEPIXEL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; COLORS CLR_BLACK, CLR_WHITE TRANSPARENT<br /><br />&nbsp; &nbsp;oDlg:<span style=\"color: #000000;\">lHelPIcon</span> := .F.<br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> obtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> &nbsp; ;<br />&nbsp; &nbsp; &nbsp; FLAT &nbsp;<span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">30</span> &nbsp;<span style=\"color: #0000ff;\">OF</span> oDlg &nbsp; <span style=\"color: #0000ff;\">PIXEL</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">COLOR</span> &nbsp;CLR_BLACK, nRgb<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">238</span>, <span style=\"color: #000000;\">236</span>, <span style=\"color: #000000;\">219</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Pieno.png\"</span> NOROUND;<br />&nbsp; &nbsp; &nbsp; BITMAP <span style=\"color: #ff0000;\">\"pieno.png\"</span> <span style=\"color: #0000ff;\">LEFT</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <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 /><br />&nbsp; &nbsp;oDlg:<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;\">lTransparent</span> = .T.<br />&nbsp; &nbsp;oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">lTransparent</span> = .T.<br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">BTNBMP</span> obtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> &nbsp; ;<br />&nbsp; &nbsp; &nbsp; FLAT &nbsp;<span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">30</span> &nbsp;<span style=\"color: #0000ff;\">OF</span> oDlg &nbsp; <span style=\"color: #0000ff;\">PIXEL</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">COLOR</span> &nbsp;CLR_BLACK, nRgb<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">238</span>, <span style=\"color: #000000;\">236</span>, <span style=\"color: #000000;\">219</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Pieno.png\"</span> NOROUND;<br />&nbsp; &nbsp; &nbsp; BITMAP <span style=\"color: #ff0000;\">\"pieno.png\"</span> <span style=\"color: #0000ff;\">LEFT</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <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 /><br />&nbsp; &nbsp;oDlg:<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">lTransparent</span> = .T.<br />&nbsp; &nbsp;oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">lTransparent</span> = .T.<br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> obtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span> &nbsp; ;<br />&nbsp; &nbsp; &nbsp; FLAT &nbsp;<span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">30</span> &nbsp;<span style=\"color: #0000ff;\">OF</span> oDlg &nbsp; <span style=\"color: #0000ff;\">PIXEL</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">COLOR</span> &nbsp;CLR_BLACK, nRgb<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">238</span>, <span style=\"color: #000000;\">236</span>, <span style=\"color: #000000;\">219</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"vuoto.png\"</span> NOROUND;<br />&nbsp; &nbsp; &nbsp; BITMAP <span style=\"color: #ff0000;\">\"vuoto.png\"</span> <span style=\"color: #0000ff;\">LEFT</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <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 /><br />&nbsp; &nbsp;oDlg:<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;\">lTransparent</span> = .T.<br />&nbsp; &nbsp;oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">lTransparent</span> = .T.<br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">BTNBMP</span> obtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#93;</span> &nbsp; ;<br />&nbsp; &nbsp; &nbsp; FLAT &nbsp;<span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">30</span> &nbsp;<span style=\"color: #0000ff;\">OF</span> oDlg &nbsp; <span style=\"color: #0000ff;\">PIXEL</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">COLOR</span> &nbsp;CLR_BLACK, nRgb<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">238</span>, <span style=\"color: #000000;\">236</span>, <span style=\"color: #000000;\">219</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"VUOTO.png\"</span> NOROUND &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; BITMAP <span style=\"color: #ff0000;\">\"vuoto.png\"</span> <span style=\"color: #0000ff;\">LEFT</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"4\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;oDlg:<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">lTransparent</span> = .T.<br />&nbsp; &nbsp;oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">lTransparent</span> = .T.<br /><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">// Fuincio bien com .BMP</span><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">200</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> obtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span> &nbsp; ;<br />&nbsp; &nbsp; &nbsp; FLAT &nbsp;<span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">30</span> &nbsp;<span style=\"color: #0000ff;\">OF</span> oDlg &nbsp; <span style=\"color: #0000ff;\">PIXEL</span> ;<br />&nbsp; &nbsp; &nbsp; FILENAME <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\p</span>rop.bmp\"</span> &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">COLOR</span> &nbsp;CLR_BLACK, nRgb<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">238</span>, <span style=\"color: #000000;\">236</span>, <span style=\"color: #000000;\">219</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"disable senza png\"</span> NOROUND &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">LEFT</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">&#40;</span> oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; oDlg:<span style=\"color: #0000ff;\">UpDate</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oDlg:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;oDlg:<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">lTransparent</span> = .T.<br />&nbsp; &nbsp;oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">lTransparent</span> = .T.<br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">200</span>, <span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">BTNBMP</span> obtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">&#93;</span> &nbsp; ;<br />&nbsp; &nbsp; &nbsp; FLAT &nbsp;<span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">30</span> &nbsp;<span style=\"color: #0000ff;\">OF</span> oDlg &nbsp; <span style=\"color: #0000ff;\">PIXEL</span> ;<br />&nbsp; &nbsp; &nbsp; FILENAME <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\f</span>loppy.bmp\"</span> &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">COLOR</span> &nbsp;CLR_BLACK, nRgb<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">238</span>, <span style=\"color: #000000;\">236</span>, <span style=\"color: #000000;\">219</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"enable senza png\"</span> NOROUND;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">LEFT</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">&#40;</span> oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Enable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, &nbsp;oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Enable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Enable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, &nbsp;oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;oDlg:<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">lTransparent</span> = .T.<br />&nbsp; &nbsp;oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">lTransparent</span> = .T.<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">FOR</span> nI = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">6</span><br />&nbsp; &nbsp; &nbsp; obtn<span style=\"color: #000000;\">&#91;</span> nI <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bClrGrad</span> = <span style=\"color: #000000;\">&#123;</span>| lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ! lInvert, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">225</span>, <span style=\"color: #000000;\">225</span>, <span style=\"color: #000000;\">225</span> <span style=\"color: #000000;\">&#41;</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">225</span>, <span style=\"color: #000000;\">225</span>, <span style=\"color: #000000;\">225</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">229</span>, <span style=\"color: #000000;\">241</span>, <span style=\"color: #000000;\">251</span> <span style=\"color: #000000;\">&#41;</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">229</span>, <span style=\"color: #000000;\">241</span>, <span style=\"color: #000000;\">251</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; obtn<span style=\"color: #000000;\">&#91;</span> nI <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nClrBorder</span> := nRgb<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">218</span>, <span style=\"color: #000000;\">214</span>, <span style=\"color: #000000;\">179</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; obtn<span style=\"color: #000000;\">&#91;</span> nI <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">oCursor</span> := &nbsp; oCursorBtn<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">NEXT</span><br /><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">/*<br />&nbsp; &nbsp;oBtn[ 1 ]:Disable()<br />&nbsp; &nbsp;oBtn[ 3 ]:Disable()<br />&nbsp; &nbsp;oBtn[ 5 ]:Disable()<br />&nbsp; &nbsp;*/</span><br /><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">// OR:</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span> &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span><span style=\"color: #000000;\">&#40;</span> DesLiga_BtnBmp<span style=\"color: #000000;\">&#40;</span> oBtn <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">/*<br />&nbsp; &nbsp; &nbsp; ON INIT ( oBtn[ 1 ]:Disable(), oBtn[ 1 ]:Refresh(), oBtn[ 3 ]:Disable(), ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oBtn[ 3 ]:Refresh(), oBtn[ 5 ]:Disable(), oBtn[ 5 ]:Refresh() )<br />&nbsp; &nbsp; &nbsp; */</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> DesLiga_BtnBmp<span style=\"color: #000000;\">&#40;</span> oBtn <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">RETURN</span><span style=\"color: #000000;\">&#40;</span> .T. <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #B900B9;\">// FIN / END</span><br />&nbsp;</div>[/code:2irxjtut]", "time": "16:56", "topic": "Bug on Btnbmp ???", "username": "karinha" } ]
Bug on Btnbmp ???
[ { "date": "2021-11-18", "forum": "FiveWin for Harbour/xHarbour", "text": "I saw only if I insert \n[b:30ebuait]oDlg:aControls[ 1 ]:lTransparent = .T.[/b:30ebuait]\n\nthen I see the button \nIf I not insert it the btnbmp show bad", "time": "11:10", "topic": "Bug on Btnbmp ???", "username": "Silvio.Falconi" } ]
Bug on Btnbmp ???
[ { "date": "2008-01-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, \n\nFollowing example shows trouble on Tsay with 'box' or 'raised' in FWH_0801, may you check it ? \n\nThank & Regards. \nChiang Ming-Song \n\n*--------------------------------------------- \n#include \"FiveWin.ch\" \n*============================================= \nproc Main() \n*--------------------------------------------- \nlocal oWnd \nDEFINE WINDOW oWnd FROM 10, 10 TO 500,500 pixel TITLE 'Test say raised' \n*-------- \n@ 0, 1 say Space(2) Size 100, 20 of oWnd pixel raised Color CLR_HGRAY, CLR_HGRAY \n@ 25, 1 say Space(2) Size 100, 20 of oWnd pixel raised Color CLR_HGRAY, CLR_RED \n@ 50, 1 say 'Raised' Size 100, 20 of oWnd pixel raised Color CLR_HGRAY, CLR_RED \n@ 75, 1 say 'Raised' Size 100, 20 of oWnd pixel raised Color CLR_WHITE, CLR_HGRAY \n\n@ 125, 1 say Space(2) Size 100, 20 of oWnd pixel box Color CLR_HGRAY, CLR_HGRAY \n@ 150, 1 say Space(2) Size 100, 20 of oWnd pixel box Color CLR_HGRAY, CLR_RED \n@ 175, 1 say 'Box' Size 100, 20 of oWnd pixel box Color CLR_HGRAY, CLR_RED \n@ 200, 1 say 'Box' Size 100, 20 of oWnd pixel box Color CLR_WHITE, CLR_HGRAY \n\n@ 250, 1 say Space(2) Size 100, 20 of oWnd pixel Color CLR_HGRAY, CLR_HGRAY \n@ 275, 1 say Space(2) Size 100, 20 of oWnd pixel Color CLR_HGRAY, CLR_RED \n@ 300, 1 say 'Plain' Size 100, 20 of oWnd pixel Color CLR_HGRAY, CLR_RED \n@ 325, 1 say 'Plain' Size 100, 20 of oWnd pixel Color CLR_WHITE, CLR_HGRAY \n*---------- \nACTIVATE WINDOW oWnd \n*---------------------------------------------", "time": "02:17", "topic": "Bug on FWH_0801", "username": "jhncon" } ]
Bug on FWH_0801
[ { "date": "2008-01-23", "forum": "FiveWin for Harbour/xHarbour", "text": "John,\n\nRAISED is used for the SS_WHITERECT style, so you won't see a \"raised\" text. It will look as a white rectangle.\n\nBOX is used for the SS_GRAYRECT style, so it will look as a gray rectangle.\n\nWe are using standard Windows behavior there.", "time": "09:31", "topic": "Bug on FWH_0801", "username": "Antonio Linares" } ]
Bug on FWH_0801
[ { "date": "2008-01-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, \n\nThanks for your responce, but Tsay displays Text in raised boder if raised style was specified in FWH version of Dec. 2006.\n\nRegards. \nJohn M. S. Chiang", "time": "15:02", "topic": "Bug on FWH_0801", "username": "jhncon" } ]
Bug on FWH_0801
[ { "date": "2008-01-23", "forum": "FiveWin for Harbour/xHarbour", "text": "John,\n\nPlease email me your source\\classes\\say.prg, thanks", "time": "23:01", "topic": "Bug on FWH_0801", "username": "Antonio Linares" } ]
Bug on FWH_0801
[ { "date": "2008-01-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nSent on Jan.24, may you check it ?\n\nRegards\n\nJohn M. S. Chiang\n\n*-----------------------------\n\n> John, \n\n> Please email me your source\\classes\\say.prg, thanks", "time": "08:22", "topic": "Bug on FWH_0801", "username": "jhncon" } ]
Bug on FWH_0801
[ { "date": "2008-01-28", "forum": "FiveWin for Harbour/xHarbour", "text": "John,\n\nI meant Class TSay from FWH version of Dec. 2006, thanks", "time": "09:38", "topic": "Bug on FWH_0801", "username": "Antonio Linares" } ]
Bug on FWH_0801
[ { "date": "2008-01-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nsay.prg from FWH version of Dec. 2006 sent.\n\nRegards.\n\nJohn M. S. Chiang", "time": "11:19", "topic": "Bug on FWH_0801", "username": "jhncon" } ]
Bug on FWH_0801
[ { "date": "2008-01-28", "forum": "FiveWin for Harbour/xHarbour", "text": "John,\n\nReceived, thanks.\n\nWeren't you using themes previously in your app ? Are you using themes now ? ( 1 24 \"WindowsXP.Manifest\" )", "time": "11:24", "topic": "Bug on FWH_0801", "username": "Antonio Linares" } ]
Bug on FWH_0801
[ { "date": "2008-01-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nI use XP themes in previously and current version.\n\nRegards", "time": "02:12", "topic": "Bug on FWH_0801", "username": "jhncon" } ]
Bug on FWH_0801
[ { "date": "2008-01-29", "forum": "FiveWin for Harbour/xHarbour", "text": "John,\n\nIf you compare the Class TSay, old and current, they are practically the same one. So the problem has to be a different one.\n\nCould you please post a screenshot of your sample with the previous FWH that you used ? thanks,", "time": "10:07", "topic": "Bug on FWH_0801", "username": "Antonio Linares" } ]
Bug on FWH_0801
[ { "date": "2018-01-09", "forum": "FiveWin for Harbour/xHarbour", "text": "If I use the method \n\n[b:349eac9a]oList:lPopUp :=.t.[/b:349eac9a]\n\ni can show a menu popup to change the visualization of Icons \n\nbut if I select one selection of the menu it draw with the mouse a dotted box \n\nand then the final user can select all files and it is no good for me as you can see here \n\n[img:349eac9a]https&#58;//s10&#46;postimg&#46;org/dz69kmvzt/error&#46;png[/img:349eac9a]\n\n\n\nHow I can to not draw the dotted box with the mouse \nit seem as attach the mouse to the control\nany solution ?", "time": "22:27", "topic": "Bug on Listview class", "username": "Silvio.Falconi" } ]
Bug on Listview class
[ { "date": "2018-01-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Silvio,\n\nIt seems as you need to use the style LVS_SINGLESEL\n\nPlease modify the class source code and test it, thanks", "time": "08:57", "topic": "Bug on Listview class", "username": "Antonio Linares" } ]
Bug on Listview class
[ { "date": "2018-01-10", "forum": "FiveWin for Harbour/xHarbour", "text": "where I must modify on CLASS TListView\n LVS_SINGLESEL value ?", "time": "13:19", "topic": "Bug on Listview class", "username": "Silvio.Falconi" } ]
Bug on Listview class
[ { "date": "2018-01-10", "forum": "FiveWin for Harbour/xHarbour", "text": "I try with \n\n#define LVS_ICON 0\n#define LVS_SMALLICON 2\n#define LVS_LIST 3\n#define LVS_SINGLESEL 4\n\noList:WinStyle(LVS_SINGLESEL,.T.)\n\n\nbut is the same", "time": "17:00", "topic": "Bug on Listview class", "username": "Silvio.Falconi" } ]
Bug on Listview class
[ { "date": "2019-10-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Sorry Günther\nThis run also OK for me", "time": "13:55", "topic": "Bug on Tfolderex", "username": "cnavarro" } ]
Bug on Tfolderex
[ { "date": "2019-09-18", "forum": "FiveWin for Harbour/xHarbour", "text": "After oFld:enabletab(nOtion) the controls inside this tab becomes not active.", "time": "09:17", "topic": "Bug on Tfolderex", "username": "byte-one" } ]
Bug on Tfolderex
[ { "date": "2019-09-18", "forum": "FiveWin for Harbour/xHarbour", "text": "yes oldest error never corrected , asked also I many days ago", "time": "12:44", "topic": "Bug on Tfolderex", "username": "Silvio.Falconi" } ]
Bug on Tfolderex
[ { "date": "2019-09-18", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"byte-one\":mtz76ipd]After oFld:enabletab(nOtion) the controls inside this tab becomes not active.[/quote:mtz76ipd]\n\nFor me it's OK\nPlease put a example for test your problem", "time": "15:31", "topic": "Bug on Tfolderex", "username": "cnavarro" } ]
Bug on Tfolderex
[ { "date": "2019-09-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Günther,\n\nIt would help if you would put your software versions in your automatic signature line.", "time": "16:05", "topic": "Bug on Tfolderex", "username": "James Bott" } ]
Bug on Tfolderex
[ { "date": "2019-09-19", "forum": "FiveWin for Harbour/xHarbour", "text": "James, FWH 1812", "time": "20:55", "topic": "Bug on Tfolderex", "username": "byte-one" } ]
Bug on Tfolderex
[ { "date": "2019-09-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Günther\nDo not have a small example to check your problem?", "time": "22:06", "topic": "Bug on Tfolderex", "username": "cnavarro" } ]
Bug on Tfolderex
[ { "date": "2019-09-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Cristobal, simple do a oFld:disabletab(nOtion) and later a oFld:enabletab(nOtion). Then the tab is enabled and can clicked but all the controls inside this tab are inactive.", "time": "11:21", "topic": "Bug on Tfolderex", "username": "byte-one" } ]
Bug on Tfolderex
[ { "date": "2019-09-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Günther, I tested using valid of a get in first folder and run ok\n\n[code=fw:2mcrrv3d]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #00C800;\">Function</span> ActDesactDlgs<span style=\"color: #000000;\">&#40;</span> lEnable <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> x<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">DEFAULT</span> lEnable &nbsp;:= .F.<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">For</span> x = <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">to</span> Len<span style=\"color: #000000;\">&#40;</span> oFolder:<span style=\"color: #000000;\">aDialogs</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> lEnable<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oFolder:<span style=\"color: #000000;\">EnableTab</span><span style=\"color: #000000;\">&#40;</span> x <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oFolder:<span style=\"color: #000000;\">DisableTab</span><span style=\"color: #000000;\">&#40;</span> x <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Next</span> x<br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">nil</span><br /><br />&nbsp;</div>[/code:2mcrrv3d]", "time": "11:26", "topic": "Bug on Tfolderex", "username": "cnavarro" } ]
Bug on Tfolderex
[ { "date": "2019-09-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Please test this code. Except the first tab in all others the controls inside all are inactive!\n[code=fw:3ce0xfv0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">Function</span> ActDesactDlgs<span style=\"color: #000000;\">&#40;</span> lEnable <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">local</span> x<br />   <span style=\"color: #00C800;\">For</span> x = <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">to</span> Len<span style=\"color: #000000;\">&#40;</span> oFolder:<span style=\"color: #000000;\">aDialogs</span> <span style=\"color: #000000;\">&#41;</span><br />          oFolder:<span style=\"color: #000000;\">DisableTab</span><span style=\"color: #000000;\">&#40;</span> x <span style=\"color: #000000;\">&#41;</span><br />         oFolder:<span style=\"color: #000000;\">EnableTab</span><span style=\"color: #000000;\">&#40;</span> x <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">Next</span> x<br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:3ce0xfv0]", "time": "12:23", "topic": "Bug on Tfolderex", "username": "byte-one" } ]
Bug on Tfolderex
[ { "date": "2015-05-07", "forum": "FiveWin for Harbour/xHarbour", "text": "the state save only the _rowsHeight ( .....\"nCreationOrders\", \"nRowHeight\", \"nWidths\", \"lHides\", \"cGrpHdrs\", \"cHeaders\".....)\n\nbut if we want save also the [b:1p33lwi9]nHeaderHeight and nFooterHeight [/b:1p33lwi9] we must save it with our function...\n\nWhy it not saves on cstate ?\n\nI saw it because I'm making a class to config all tables", "time": "09:08", "topic": "Bug on Xbrowse", "username": "Silvio.Falconi" } ]
Bug on Xbrowse
[ { "date": "2015-05-08", "forum": "FiveWin for Harbour/xHarbour", "text": "[code=fw:29zaq0fe]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />cSaveData := oBrw:<span style=\"color: #000000;\">SaveData</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"nHeaderHeight\"</span>, <span style=\"color: #ff0000;\">\"nFooterHeight\"</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:29zaq0fe]\nsaves nHeaderHeight and nFooterHeight also in addition to the standard parameters.\nNext call to oBrw:RestoreData( cSaveData ) restores nHeaderHeight and nFooterHeight also.", "time": "03:39", "topic": "Bug on Xbrowse", "username": "nageswaragunupudi" } ]
Bug on Xbrowse
[ { "date": "2015-05-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Rao,\nI made \n\n \nWritePProString(::cSection,::cStateEntry,::oBrowse:SaveData( { \"nHeaderHeight\", \"nFooterHeight\" } ) ,cIniUser)\n\nbut not run ok", "time": "18:42", "topic": "Bug on Xbrowse", "username": "Silvio.Falconi" } ]
Bug on Xbrowse
[ { "date": "2006-05-16", "forum": "FiveWin for Harbour/xHarbour", "text": "I cannot run this example in fwh:\n\n#include \"FiveWin.ch\" \n\n//----------------------------------------------------------------------------// \nfunction Main() \n\nlocal oDlg, oBrw \nlocal aData := { { \"1\", \"Cliente\", \"=\", \"123456\" },; \n{ \"2\", \"Direccion\", \"$\", \"Spain\" },; \n{ \"3\", \"Telefono\", \"<>\", \"889977665\" } } \n\nDEFINE DIALOG oDlg FROM 0, 0 TO 30, 100 \n\n@ 1, 1 LISTBOX oBrw FIELDS aData[ oBrw:nAt ][ 1 ],; \naData[ oBrw:nAt ][ 2 ],; \naData[ oBrw:nAt ][ 3 ],; \naData[ oBrw:nAt ][ 4 ] OF oDlg ; \nSIZE 150, 100 \n\noBrw:SetArray( aData ) \n\n@ 9 , 9 BUTTON \"&End\" OF oDlg ACTION oDlg:End() \n\n\n\nACTIVATE DIALOG oDlg CENTERED \n\n\nany help?\nPiscicelli/Zingoni", "time": "16:21", "topic": "Bug report on listbox", "username": "Piscicelli Zingoni" } ]
Bug report on listbox
[ { "date": "2006-05-17", "forum": "FiveWin for Harbour/xHarbour", "text": "you forget this :\n\nheaders \"header1',\"header2\",\"header3\",\"header4\" ;", "time": "21:00", "topic": "Bug report on listbox", "username": "tnhoe" } ]
Bug report on listbox
[ { "date": "2006-05-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Many tanks!", "time": "22:18", "topic": "Bug report on listbox", "username": "Piscicelli Zingoni" } ]
Bug report on listbox
[ { "date": "2006-05-19", "forum": "FiveWin for Harbour/xHarbour", "text": "For Antonio:\nThis problem is for the incorrect initialization of ::aHeaders into WBrowse Class! \nI suggest this:\n\nat line 1184:\n[code:uzwkepl4] if Len&#40; &#58;&#58;aHeaders &#41; < nElements\n if &#58;&#58;Cargo == nil\n &#58;&#58;aHeaders = Array&#40; nElements &#41;\n IF Upper&#40; &#58;&#58;cAlias &#41; != \"ARRAY\" \n for n = 1 to nElements\n &#58;&#58;aHeaders&#91; n &#93; = &#40; cAlias &#41;->&#40; FieldName&#40; n &#41; &#41;\n next\n ELSE\n &#58;&#58;aHeaders &#58;= AFill&#40; &#58;&#58;aHeaders, \"\" &#41;\n ENDIF\n else\n &#58;&#58;aHeaders = &#123; \"\" &#125;\n endif\n endif[/code:uzwkepl4]\n\nand at line 1824:\n[code:uzwkepl4] if ! Empty&#40; &#58;&#58;cAlias &#41; &#46;and&#46; Upper&#40; &#58;&#58;cAlias &#41; != \"ARRAY\" // aggiunto da Ugo il 22/03/04\n\n &#58;&#58;bGoTop = If&#40; uVal1 != nil, &#123; || &#40; &#58;&#58;cAlias &#41;->&#40; DbSeek&#40; uVal1, &#46;t&#46; &#41; &#41; &#125;,;\n &#123; || &#40; &#58;&#58;cAlias &#41;->&#40; DbGoTop&#40;&#41; &#41; &#125; &#41;\n\n &#58;&#58;bGoBottom = If&#40; uVal2 != nil, &#123; || &#40; &#58;&#58;cAlias &#41;->&#40; BrwGoBottom&#40; uVal2 &#41; &#41; &#125;,;\n &#123; || &#40; &#58;&#58;cAlias &#41;->&#40; DbGoBottom&#40;&#41; &#41; &#125; &#41;\n\n &#58;&#58;bSkip = If&#40; uVal1 != nil, BuildSkip&#40; &#58;&#58;cAlias, cField, uVal1, uVal2 &#41;,;\n &#123; | n | &#40; &#58;&#58;cAlias &#41;->&#40; _DbSkipper&#40; n &#41; &#41; &#125; &#41;\n\n &#58;&#58;bLogicLen = If&#40; uVal1 != nil,;\n &#123; || &#40; &#58;&#58;cAlias &#41;->&#40; Self&#58;RecCount&#40; uVal1 &#41; &#41; &#125;,;\n &#123; || &#40; &#58;&#58;cAlias &#41;->&#40; RecCount&#40;&#41; &#41; &#125; &#41;\n\n &#58;&#58;nLen = Eval&#40; &#58;&#58;bLogicLen, Self &#41;\n\n &#58;&#58;lHitTop = &#46;f&#46;\n &#58;&#58;lHitBottom = &#46;f&#46;\n\n if uVal1 != nil\n Eval&#40; &#58;&#58;bGoTop, Self &#41;\n endif\n else\n &#58;&#58;bLogiclen = &#123; || 0 &#125;\n endif[/code:uzwkepl4]", "time": "09:12", "topic": "Bug report on listbox", "username": "Ugo" } ]
Bug report on listbox
[ { "date": "2006-05-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Ugo,\n\nThis way we have a number for each column:\n[code:13wuln2w]\n if Len&#40; &#58;&#58;aHeaders &#41; < nElements\n if &#58;&#58;Cargo == nil\n &#58;&#58;aHeaders = Array&#40; nElements &#41;\n for n = 1 to nElements\n if ! Empty&#40; cAlias &#41; &#46;and&#46; Upper&#40; cAlias &#41; != \"ARRAY\"\n &#58;&#58;aHeaders&#91; n &#93; = &#40; cAlias &#41;->&#40; FieldName&#40; n &#41; &#41;\n else\n &#58;&#58;aHeaders&#91; n &#93; = AllTrim&#40; Str&#40; n &#41; &#41;\n endif \n next\n else\n &#58;&#58;aHeaders = &#123; \"\" &#125;\n endif\n endif\n[/code:13wuln2w]", "time": "12:03", "topic": "Bug report on listbox", "username": "Antonio Linares" } ]
Bug report on listbox
[ { "date": "2006-05-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Good solution! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\nCan you insert in next release?", "time": "12:13", "topic": "Bug report on listbox", "username": "Ugo" } ]
Bug report on listbox
[ { "date": "2010-01-23", "forum": "FiveWin para Harbour/xHarbour", "text": "hola, probando el ejemplo testget2 al presionar la tecla flecha abajo se borra parte del boton,\nal hacerlo con btnget y presionar el boton flecha derecha borra por completo el boton, alguien lo ha probado?\ngracias\npaco", "time": "03:03", "topic": "Bug tGet", "username": "Francisco Horta" } ]
Bug tGet
[ { "date": "2010-01-31", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Paco:\n[quote=\"Francisco Horta\":2ylkp1en]hola, probando el ejemplo testget2 al presionar la tecla flecha abajo se borra parte del boton,\nal hacerlo con btnget y presionar el boton flecha derecha borra por completo el boton, alguien lo ha probado?[/quote:2ylkp1en]\n\nHe compilado y probado el ejemplo y funciona bien, no me da el efecto que mencionas.\n\nUn abrazo.", "time": "13:00", "topic": "Bug tGet", "username": "mmercado" } ]
Bug tGet
[ { "date": "2010-02-01", "forum": "FiveWin para Harbour/xHarbour", "text": "que tal Master,\ne recompilado el ejemplo y anexo imagenes.\n\nantes de teclear flecha abajo\n[url=http&#58;//img688&#46;imageshack&#46;us/i/get1&#46;jpg/:30hsa3qs][img:30hsa3qs]http&#58;//img688&#46;imageshack&#46;us/img688/1345/get1&#46;jpg[/img:30hsa3qs][/url:30hsa3qs]\n\ndespues de teclear flecha abajo\n[url=http&#58;//img51&#46;imageshack&#46;us/i/getb&#46;jpg/:30hsa3qs][img:30hsa3qs]http&#58;//img51&#46;imageshack&#46;us/img51/6480/getb&#46;jpg[/img:30hsa3qs][/url:30hsa3qs]\n\nesta raro\nsalu2\npaco", "time": "23:06", "topic": "Bug tGet", "username": "Francisco Horta" } ]
Bug tGet
[ { "date": "2010-02-03", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"Francisco Horta\":dbtrf7o0]esta raro[/quote:dbtrf7o0]\nPuede ser cuestión de versiones, las mías son:\n\nFWH 9.08\nxHarbour 1.2.1 (Simplex)\nHarbour 2.0.0 Beta\n\nUn abrazo.", "time": "14:42", "topic": "Bug tGet", "username": "mmercado" } ]
Bug tGet
[ { "date": "2008-11-30", "forum": "FiveWin para Harbour/xHarbour", "text": "Buenas Antonio, creo que el metodo KeyChar cuando pulsamos intro en un browse sin arbol asignado da error de oTreeItem no tiene metodo oTree.\r\n\r\n[code:23q7747y]\ncase nKey == VK_RETURN\n oCol &#58;= &#58;&#58;SelectedCol&#40;&#41;\n if oCol&#58;nEditType > 0\n if oCol&#58;oEditGet == nil\n if oCol&#58;bEditWhen == nil &#46;or&#46; Eval&#40; oCol&#58;bEditWhen, oCol &#41;\n return oCol&#58;Edit&#40;&#41;\n endif\n else\n PostMessage&#40; oCol&#58;oEditGet&#58;hWnd, WM_KEYDOWN, nKey &#41; //VK_RETURN &#41;\n endif\n else\n If&#40; &#58;&#58;oTreeItem&#58;oTree != nil,&#40; &#58;&#58;oTreeItem&#58;Toggle&#40;&#41;, &#58;&#58;Refresh&#40;&#41; &#41;,&#41;\n endif\n[/code:23q7747y]\n\n\nla linea: \n\n[code:23q7747y]\n If&#40; &#58;&#58;oTreeItem&#58;oTree != nil,&#40; &#58;&#58;oTreeItem&#58;Toggle&#40;&#41;, &#58;&#58;Refresh&#40;&#41; &#41;,&#41;\n[/code:23q7747y]\n\nla he sustituido por :\n\n[code:23q7747y]\n IF &#58;&#58;oTreeItem!=nil\n If&#40; &#58;&#58;oTreeItem&#58;oTree != nil,&#40; &#58;&#58;oTreeItem&#58;Toggle&#40;&#41;, &#58;&#58;Refresh&#40;&#41; &#41;,&#41;\n End if\n[/code:23q7747y]\r\n\r\nA ver si puedes revisarlo, Gracias.", "time": "12:41", "topic": "Bug xBrowse (FWH811)", "username": "Mike Serra" } ]
Bug xBrowse (FWH811)
[ { "date": "2008-12-01", "forum": "FiveWin para Harbour/xHarbour", "text": "Mike,\r\n\r\nSi, es correcto el cambio.\r\n\r\nMuchas gracias! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "16:30", "topic": "Bug xBrowse (FWH811)", "username": "Antonio Linares" } ]
Bug xBrowse (FWH811)
[ { "date": "2008-12-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio, podrias poner el cambio en la lib, es para no tener que modificar e incluir xBrowse.prg en los proyectos.", "time": "17:48", "topic": "Bug xBrowse (FWH811)", "username": "Biel EA6DD" } ]
Bug xBrowse (FWH811)
[ { "date": "2011-12-02", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio / Gente del foro:\nEstoy haciendo mis pininos con xbrowse pero me encuentro con este error que buscando en este foro ya fue resuelto\nhe intentado incluir xbrowse.prg (con la modif. de abajo) en mi bat pero no compila\nPodrian enviarme la lib Fivehx.lib ó la FiveHC.lib o enviarme el link de donde bajarlo\nGracias\n\n\n\n[quote=\"Mike Serra\":2fc13xh1]Buenas Antonio, creo que el metodo KeyChar cuando pulsamos intro en un browse sin arbol asignado da error de oTreeItem no tiene metodo oTree. \n\n[code=fw:2fc13xh1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">case</span> nKey == VK_RETURN<br />oCol := ::<span style=\"color: #000000;\">SelectedCol</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">if</span> oCol:<span style=\"color: #000000;\">nEditType</span> > <span style=\"color: #000000;\">0</span><br /><span style=\"color: #00C800;\">if</span> oCol:<span style=\"color: #000000;\">oEditGet</span> == <span style=\"color: #00C800;\">nil</span><br /><span style=\"color: #00C800;\">if</span> oCol:<span style=\"color: #000000;\">bEditWhen</span> == <span style=\"color: #00C800;\">nil</span> .or. Eval<span style=\"color: #000000;\">&#40;</span> oCol:<span style=\"color: #000000;\">bEditWhen</span>, oCol <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">return</span> oCol:<span style=\"color: #00C800;\">Edit</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">endif</span><br /><span style=\"color: #00C800;\">else</span><br />PostMessage<span style=\"color: #000000;\">&#40;</span> oCol:<span style=\"color: #000000;\">oEditGet</span>:<span style=\"color: #000000;\">hWnd</span>, WM_KEYDOWN, nKey <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//VK_RETURN )</span><br /><span style=\"color: #00C800;\">endif</span><br /><span style=\"color: #00C800;\">else</span><br /><span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oTreeItem</span>:<span style=\"color: #000000;\">oTree</span> != <span style=\"color: #00C800;\">nil</span>,<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oTreeItem</span>:<span style=\"color: #000000;\">Toggle</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">endif</span><br /> </div>[/code:2fc13xh1]\n\n\nla linea: \n\n[code=fw:2fc13xh1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oTreeItem</span>:<span style=\"color: #000000;\">oTree</span> != <span style=\"color: #00C800;\">nil</span>,<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oTreeItem</span>:<span style=\"color: #000000;\">Toggle</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:2fc13xh1]\n\nla he sustituido por :\n\n[code=fw:2fc13xh1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">IF</span> ::<span style=\"color: #000000;\">oTreeItem</span>!=<span style=\"color: #00C800;\">nil</span><br /><span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oTreeItem</span>:<span style=\"color: #000000;\">oTree</span> != <span style=\"color: #00C800;\">nil</span>,<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oTreeItem</span>:<span style=\"color: #000000;\">Toggle</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">&#41;</span><br />End <span style=\"color: #00C800;\">if</span><br /> </div>[/code:2fc13xh1] \n\nA ver si puedes revisarlo, Gracias.[/quote:2fc13xh1]", "time": "04:52", "topic": "Bug xBrowse (FWH811)", "username": "artu01" } ]
Bug xBrowse (FWH811)
[ { "date": "2011-12-02", "forum": "FiveWin para Harbour/xHarbour", "text": "Ya encontre cual era mi problema\nen mi rmk puse\n \nPRG = \\\n...\nxbrowse.prg \\ [color=#FF0000:521uavql]Cuando debio ser xbrowse.PRG \\[/color:521uavql]\n\nSugerencia:\nSI ES POSIBLE, que los parches a las versiones antiguas de FWH las lib esten disponibles.\n\nGracias", "time": "05:07", "topic": "Bug xBrowse (FWH811)", "username": "artu01" } ]
Bug xBrowse (FWH811)
[ { "date": "2011-06-03", "forum": "FiveWin for Harbour/xHarbour", "text": "When press CTRL+C focus on xBrowse show me error mensagem of window and close my app.\n\nI'll try found solution more posted here if other guys have same problem.\n\n <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->", "time": "12:57", "topic": "Bug xBrowse Fwh 11.5", "username": "lailton.webmaster" } ]
Bug xBrowse Fwh 11.5
[ { "date": "2011-06-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Will be fixed in an updated release of 11.5 or in the next 11.6?.\n\nThank you.", "time": "20:09", "topic": "Bug xBrowse Fwh 11.5", "username": "ukservice" } ]
Bug xBrowse Fwh 11.5
[ { "date": "2011-06-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Can you please try with revised build 11.05 published today? Does the problem still continue?", "time": "16:17", "topic": "Bug xBrowse Fwh 11.5", "username": "nageswaragunupudi" } ]
Bug xBrowse Fwh 11.5