messages
listlengths 1
1
| topic
stringlengths 2
60
|
|---|---|
[
{
"date": "2018-02-27",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "[quote=\"Rick Lipkin\":20p8so43]Enrico\n\nThis code is not especially elegant .. and it assumes the .exe is located in the drive or unc you wish to resolve.\n\nRick Lipkin\n\n[code=fw:20p8so43]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">// where .exe started from is default directory //</span><br /><br />cFILE := GetModuleFileName<span style=\"color: #000000;\">(</span> GetInstance<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br />nSTART := RAT<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\\"</span>, cFILE )<br />cDEFA := SUBSTR(cFILE,1,nSTART-1)<br /><br />SET DEFA to ( cDEFA )<br /></span></div>[/code:20p8so43][/quote:20p8so43]\n\nBetter fix TMail.\n\nEMG",
"time": "22:48",
"topic": "Bug in TMail [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMail [Fixed]
|
[
{
"date": "2018-02-28",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Enrico,\n\nHere you have your changes, please try them <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nIncluded for FWH 18.02\n\n[code=fw:29obluey]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #0000ff;\">Activate</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TMail<br /><br /> <span style=\"color: #00C800;\">local</span> cCurPath<br /><br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">nRetCode</span> != <span style=\"color: #000000;\">-1</span><br /> <span style=\"color: #00C800;\">IF</span> CurDrive<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> = <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\\"</span><br /> cCurPath = CurDir()<br /> ELSE<br /> cCurPath = CurDrive() + \"</span>:\\<span style=\"color: #ff0000;\">\" + CurDir()<br /> ENDIF<br /><br /> ::nRetCode = MAPISendMail( ::cSubject, ::cNoteText, ::cMsgType,;<br /> DToS( ::dDate ) + \"</span> <span style=\"color: #ff0000;\">\" + ::cTime,;<br /> ::cConversationID, ::lReceipt, ::lFromUser,;<br /> ::aOrigin, ::aRecipients, ::aFiles )<br /> lChDir( cCurPath )<br /> else<br /> MsgStop( \"</span>Error initializing <span style=\"color: #0000ff;\">mail</span><span style=\"color: #ff0000;\">\" )<br /> endif<br /><br />return nil<br /></span></div>[/code:29obluey]",
"time": "09:40",
"topic": "Bug in TMail [Fixed]",
"username": "Antonio Linares"
}
] |
Bug in TMail [Fixed]
|
[
{
"date": "2018-03-01",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "It doesn't work. This is look as the right way:\n\n[code=fw:2pdsq4fg]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #0000ff;\">Activate</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TMail<br /><br /> <span style=\"color: #00C800;\">local</span> cCurPath<br /><br /> <span style=\"color: #B900B9;\">// ::nRetCode = MAPILogOn()</span><br /><br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">nRetCode</span> != <span style=\"color: #000000;\">-1</span><br /> <span style=\"color: #00C800;\">if</span> CurDrive<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> = <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\\"</span><br /> cCurPath = \"</span>\\<span style=\"color: #ff0000;\">\" + CurDir()<br /> else<br /> cCurPath = CurDrive() + \"</span>:\\<span style=\"color: #ff0000;\">\" + CurDir()<br /> endif<br /><br /> ::nRetCode = MAPISendMail( ::cSubject, ::cNoteText, ::cMsgType,;<br /> DToS( ::dDate ) + \"</span> <span style=\"color: #ff0000;\">\" + ::cTime,;<br /> ::cConversationID, ::lReceipt, ::lFromUser,;<br /> ::aOrigin, ::aRecipients, ::aFiles )<br /> lChDir( cCurPath )<br /> else<br /> MsgStop( \"</span>Error initializing <span style=\"color: #0000ff;\">mail</span><span style=\"color: #ff0000;\">\" )<br /> endif<br /><br />return nil</span></div>[/code:2pdsq4fg]\n\nEMG",
"time": "08:56",
"topic": "Bug in TMail [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMail [Fixed]
|
[
{
"date": "2018-03-01",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "many thanks <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "11:23",
"topic": "Bug in TMail [Fixed]",
"username": "Antonio Linares"
}
] |
Bug in TMail [Fixed]
|
[
{
"date": "2010-01-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "In the following sample, open the menu and wait for the timer to change the prompt. You will see that the menuitem temporary losts its 2007 style:\n\n[code=fw:2qpbcmhk]<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;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oWnd, oMenu, oTimer<br /><br /> <span style=\"color: #0000ff;\">MENU</span> oMenu <span style=\"color: #000000;\">2007</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test\"</span><br /><br /> <span style=\"color: #0000ff;\">MENU</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test\"</span> CHECKED<br /> <span style=\"color: #0000ff;\">ENDMENU</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> oMenu<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">TIMER</span> oTimer <span style=\"color: #0000ff;\">OF</span> oWnd;<br /> <span style=\"color: #0000ff;\">INTERVAL</span> <span style=\"color: #000000;\">3000</span>;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> TONE<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">440</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span>, oMenu:<span style=\"color: #000000;\">aItems</span><span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bAction</span>:<span style=\"color: #000000;\">aItems</span><span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">SetPrompt</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Changed\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">TIMER</span> oTimer<br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br /><br /> <span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">TIMER</span> oTimer<br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:2qpbcmhk]\n\nEMG",
"time": "00:02",
"topic": "Bug in TMenu",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu
|
[
{
"date": "2010-01-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Already fixed in the upcoming FWH release.\n\nEMG",
"time": "12:16",
"topic": "Bug in TMenu",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu
|
[
{
"date": "2010-01-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nThanks for the fix <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nWe appreciate if you post the fix here, so users can already apply it, thanks",
"time": "14:48",
"topic": "Bug in TMenu",
"username": "Antonio Linares"
}
] |
Bug in TMenu
|
[
{
"date": "2010-01-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Here it is:\n\n[code=fw:3dhbu3pe]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#define</span> MF_BYCOMMAND <span style=\"color: #000000;\">0</span><br /><span style=\"color: #00D7D7;\">#define</span> MF_ENABLED <span style=\"color: #000000;\">0</span><br /><span style=\"color: #00D7D7;\">#define</span> MF_UNCHECKED <span style=\"color: #000000;\">0</span><br /><span style=\"color: #00D7D7;\">#define</span> MF_GRAYED <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00D7D7;\">#define</span> MF_DISABLED <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00D7D7;\">#define</span> MF_CHECKED <span style=\"color: #000000;\">8</span><br /><span style=\"color: #00D7D7;\">#define</span> MF_POPUP <span style=\"color: #000000;\">16</span> <span style=\"color: #B900B9;\">// 0x0010</span><br /><span style=\"color: #00D7D7;\">#define</span> MF_BREAK <span style=\"color: #000000;\">64</span><br /><span style=\"color: #00D7D7;\">#define</span> MF_OWNERDRAW <span style=\"color: #000000;\">256</span> <span style=\"color: #B900B9;\">// 0x0100</span><br /><span style=\"color: #00D7D7;\">#define</span> MF_HELP <span style=\"color: #000000;\">16384</span> <span style=\"color: #B900B9;\">// 0x4000</span></div>[/code:3dhbu3pe]\n\n[code=fw:3dhbu3pe]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">METHOD</span> SetPrompt<span style=\"color: #000000;\">(</span> cPrompt <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TMenuItem<br /><br /> <span style=\"color: #00C800;\">local</span> nNewId, nFlags<br /><br /> ::<span style=\"color: #000000;\">cPrompt</span> = cPrompt<br /><br /> <span style=\"color: #00C800;\">if</span> ValType<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">bAction</span> <span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"O\"</span> .and. ;<br /> Upper<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">bAction</span>:<span style=\"color: #000000;\">ClassName</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"TMENU\"</span><br /> nNewId := ::<span style=\"color: #000000;\">bAction</span>:<span style=\"color: #000000;\">hMenu</span><br /> nFlags := MF_POPUP<br /> <span style=\"color: #00C800;\">else</span><br /> nNewId := ::<span style=\"color: #000000;\">nId</span><br /> nFlags := nOR<span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">lActive</span>, MF_ENABLED,;<br /> nOR<span style=\"color: #000000;\">(</span> MF_DISABLED, MF_GRAYED <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>,;<br /> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">lChecked</span>, MF_CHECKED, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span>,;<br /> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">lHelp</span>, MF_HELP, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span>,;<br /> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">lBreak</span>, MF_BREAK, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span>,;<br /> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oMenu</span>:<span style=\"color: #000000;\">l2007</span>, MF_OWNERDRAW, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /><br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">oMenu</span> != <span style=\"color: #00C800;\">nil</span><br /> ModifyMenu<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oMenu</span>:<span style=\"color: #000000;\">hMenu</span>, ::<span style=\"color: #000000;\">nId</span>, nFlags, nNewId, cPrompt <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">oMenu</span>:<span style=\"color: #000000;\">oWnd</span> != <span style=\"color: #00C800;\">nil</span><br /> DrawMenuBar<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oMenu</span>:<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">endif</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:3dhbu3pe]\n\nEMG",
"time": "15:00",
"topic": "Bug in TMenu",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu
|
[
{
"date": "2010-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nMany thanks <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "00:18",
"topic": "Bug in TMenu",
"username": "Antonio Linares"
}
] |
Bug in TMenu
|
[
{
"date": "2016-07-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "In the following sample, the automatic generated menuitem has not the right color:\n\n[code=fw:zibn9lyu]<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;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oWnd, oMenu<br /><br /> <span style=\"color: #0000ff;\">MENU</span> oMenu <span style=\"color: #000000;\">2007</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Window\"</span><br /><br /> <span style=\"color: #0000ff;\">MENU</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test\"</span><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">MDI</span>;<br /> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"MDI Test\"</span>;<br /> <span style=\"color: #0000ff;\">MENU</span> oMenu;<br /> MENUINFO <span style=\"color: #000000;\">1</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> CREATECHILD<span style=\"color: #000000;\">(</span> oWnd <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> CREATECHILD<span style=\"color: #000000;\">(</span> oMdi <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oWnd, oMenu<br /><br /> <span style=\"color: #0000ff;\">MENU</span> oMenu <span style=\"color: #000000;\">2007</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Window\"</span><br /><br /> <span style=\"color: #0000ff;\">MENU</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test\"</span><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">MDICHILD</span> <span style=\"color: #0000ff;\">OF</span> oMdi;<br /> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"MDI Child Test\"</span>;<br /> <span style=\"color: #0000ff;\">MENU</span> oMenu<br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd;<br /> <span style=\"color: #0000ff;\">VALID</span> !GETKEYSTATE<span style=\"color: #000000;\">(</span> VK_ESCAPE <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:zibn9lyu]\n\nEMG",
"time": "15:29",
"topic": "Bug in TMenu",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu
|
[
{
"date": "2016-07-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico\nI will check and comment\n\nThanks",
"time": "15:37",
"topic": "Bug in TMenu",
"username": "cnavarro"
}
] |
Bug in TMenu
|
[
{
"date": "2016-07-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thank you Cristobal!\n\nEMG",
"time": "15:47",
"topic": "Bug in TMenu",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu
|
[
{
"date": "2016-07-26",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico, problem is in module Menudraw.c\n\nChange this function and test\n\n[code=fw:2an16278]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">(</span> MITEMSFW <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #B900B9;\">// hMenu, nIni, aHBmps, lSys</span><br /><span style=\"color: #000000;\">{</span><br /> .../...<br /><br /> MENUITEMINFO mi;<br /><br /> <span style=\"color: #00C800;\">for</span><span style=\"color: #000000;\">(</span> w = nIni; w < GetMenuItemCount<span style=\"color: #000000;\">(</span> hMenu <span style=\"color: #000000;\">)</span>; w++ <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> memset<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">(</span> char * <span style=\"color: #000000;\">)</span> &mi, <span style=\"color: #000000;\">0</span>, sizeof<span style=\"color: #000000;\">(</span> MENUITEMINFO <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>;<br /> mi.cbSize = sizeof<span style=\"color: #000000;\">(</span> MENUITEMINFO <span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">(</span> bSys <span style=\"color: #000000;\">)</span><br /> mi.fMask = MIIM_TYPE;<br /> <span style=\"color: #00C800;\">else</span><br /> mi.fMask = MIIM_FTYPE;<br /> GetMenuItemInfo<span style=\"color: #000000;\">(</span> hMenu, w, <span style=\"color: #00C800;\">TRUE</span>, &mi <span style=\"color: #000000;\">)</span>;<br /><br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">(</span> mi.fType & MFT_OWNERDRAW <span style=\"color: #000000;\">)</span> != MFT_OWNERDRAW <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> mi.cbSize = sizeof<span style=\"color: #000000;\">(</span> MENUITEMINFO <span style=\"color: #000000;\">)</span>;<br /> mi.fMask |= MIIM_DATA | MIIM_BITMAP ;<br /> mi.fType |= MFT_OWNERDRAW ;<br /> mi.dwItemData = <span style=\"color: #000000;\">(</span> ULONG_PTR <span style=\"color: #000000;\">)</span> hMenu;<br /> SetMenuItemInfo<span style=\"color: #000000;\">(</span> hMenu, w, <span style=\"color: #00C800;\">TRUE</span>, &mi <span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #000000;\">}</span><br /><span style=\"color: #000000;\">}</span><br /><br /> </div>[/code:2an16278]\n\nPlease comment result",
"time": "23:59",
"topic": "Bug in TMenu",
"username": "cnavarro"
}
] |
Bug in TMenu
|
[
{
"date": "2016-07-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Already tried your update lib. Still need to try that C function?\n\nEMG",
"time": "09:13",
"topic": "Bug in TMenu",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu
|
[
{
"date": "2016-07-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico\nI published the problem\nThis function is included in the library that I sent you",
"time": "09:27",
"topic": "Bug in TMenu",
"username": "cnavarro"
}
] |
Bug in TMenu
|
[
{
"date": "2016-07-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Ok. Thank you!\n\nEMG",
"time": "09:36",
"topic": "Bug in TMenu",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu
|
[
{
"date": "2016-07-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I also tried the above changed C function and it worked fine!\n\nEMG",
"time": "16:26",
"topic": "Bug in TMenu",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu
|
[
{
"date": "2016-07-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Enrico Maria Giordano\":xbilz2ap]I also tried the above changed C function and it worked fine!\n\nEMG[/quote:xbilz2ap]\n\nEnrico, thanks for your test",
"time": "16:34",
"topic": "Bug in TMenu",
"username": "cnavarro"
}
] |
Bug in TMenu
|
[
{
"date": "2016-07-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "News features in next versions: LOGOMENU, IMGMENU, etc.\n\n[img:2nvo2all]https://s32.postimg.org/i1mtlcf7p/Five_Menu.png[/img:2nvo2all]",
"time": "02:33",
"topic": "Bug in TMenu",
"username": "cnavarro"
}
] |
Bug in TMenu
|
[
{
"date": "2016-07-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "very nice!",
"time": "07:21",
"topic": "Bug in TMenu",
"username": "Antonio Linares"
}
] |
Bug in TMenu
|
[
{
"date": "2016-11-22",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "I just also noticed that, in the normal conditions, the menu items are vertically closer than in the previous release. <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nThis is not the first time that menu changes its look. Can we finally have a stable one, please?\n\nEMG",
"time": "11:17",
"topic": "Bug in TMenu [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2016-11-22",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Please compare current menu items height with the one of other programs.\n\nEMG",
"time": "11:35",
"topic": "Bug in TMenu [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2016-11-22",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Enrico,\n\nIt is fixed and it will be included in next FWH version",
"time": "12:49",
"topic": "Bug in TMenu [Fixed]",
"username": "Antonio Linares"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2016-11-22",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Great! Can you send me the update libs, please?\n\nEMG",
"time": "13:20",
"topic": "Bug in TMenu [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2016-11-22",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "already sent",
"time": "13:27",
"topic": "Bug in TMenu [Fixed]",
"username": "Antonio Linares"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2016-11-22",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Thank you! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG",
"time": "13:38",
"topic": "Bug in TMenu [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2016-11-18",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Occasionally, I get popup menus much higher than normal ones:\n\n[url:3oc2nacx]http://www.emagsoftware.it/public/menubug.png[/url:3oc2nacx]\n\nEMG",
"time": "13:01",
"topic": "Bug in TMenu [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2016-11-20",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Enrico,\n\nWe are checking it, thanks",
"time": "09:26",
"topic": "Bug in TMenu [Fixed]",
"username": "Antonio Linares"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2016-11-28",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Another TMenu bug. In the following sample, please open Test menu and you will see that the mdichild window title is missing from the last menu item.\n\n[code=fw:11jri8rz]<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;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oWnd, oMenu<br /><br /> <span style=\"color: #0000ff;\">MENU</span> oMenu <span style=\"color: #000000;\">2007</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test\"</span><br /><br /> <span style=\"color: #0000ff;\">MENU</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test\"</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test\"</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test\"</span><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">MDI</span>;<br /> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"MDI Test\"</span>;<br /> <span style=\"color: #0000ff;\">MENU</span> oMenu<br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> CREATECHILD<span style=\"color: #000000;\">(</span> oWnd <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> CREATECHILD<span style=\"color: #000000;\">(</span> oMdi <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oWnd, oMenu<br /><br /> <span style=\"color: #0000ff;\">MENU</span> oMenu <span style=\"color: #000000;\">2007</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test\"</span><br /><br /> <span style=\"color: #0000ff;\">MENU</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test\"</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test\"</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test\"</span><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">MDICHILD</span> <span style=\"color: #0000ff;\">OF</span> oMdi;<br /> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"MDI Child Test\"</span>;<br /> <span style=\"color: #0000ff;\">MENU</span> oMenu<br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd;<br /> <span style=\"color: #0000ff;\">VALID</span> !GETKEYSTATE<span style=\"color: #000000;\">(</span> VK_ESCAPE <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:11jri8rz]\n\nEMG",
"time": "19:07",
"topic": "Bug in TMenu [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2016-11-29",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Any workaround?\n\nEMG",
"time": "12:28",
"topic": "Bug in TMenu [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2016-11-29",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Enrico,\n\nWe are working to fix it. In the meantime try this:\n[code=fw:171f684k]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> CREATECHILD<span style=\"color: #000000;\">(</span> oMdi <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oWnd, oMenu<br /><br /> <span style=\"color: #0000ff;\">MENU</span> oMenu <span style=\"color: #000000;\">2007</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test\"</span><br /><br /> <span style=\"color: #0000ff;\">MENU</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test \"</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test\"</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test\"</span><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /> <span style=\"color: #0000ff;\">ENDMENU</span></div>[/code:171f684k]\n\nJust increase the width of the first menuitem text",
"time": "17:26",
"topic": "Bug in TMenu [Fixed]",
"username": "Antonio Linares"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2016-11-29",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Doesn't work for me... <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG",
"time": "18:44",
"topic": "Bug in TMenu [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2016-11-29",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Use a dot at the end:\n\nMENUITEM \"Test .\"\n\nor another character",
"time": "19:50",
"topic": "Bug in TMenu [Fixed]",
"username": "Antonio Linares"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2016-11-29",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Sorry, no change.\n\nEMG",
"time": "19:53",
"topic": "Bug in TMenu [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2017-05-20",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "A user reported this problem. Please open the tray menu and click on Show or on Hide. The logo will disappear.\n\n[code=fw:39hbuayl]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"wcolors.ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.CH\"</span><br /><br /><span style=\"color: #00C800;\">static</span> oWnd, oTray, oIcon<br /><br /><span style=\"color: #00C800;\">function</span> TESTIT<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oIcon1<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">ICON</span> oIcon FILE <span style=\"color: #ff0000;\">\"c:<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\i</span>cons<span style=\"color: #000000;\">\\f</span>ivewin.ICO\"</span><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">ICON</span> oIcon1 FILE <span style=\"color: #ff0000;\">\"c:<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\i</span>cons<span style=\"color: #000000;\">\\f</span>older.ico\"</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Icon Tray Class for FiveWin! from Jim Gale\"</span> <span style=\"color: #0000ff;\">ICON</span> oIcon<br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd ;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> oTray := TTrayIcon<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> oWnd, oIcon, <span style=\"color: #ff0000;\">\"Testing tray ...\"</span>,;<br /> <span style=\"color: #000000;\">{</span> || <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Left CLick\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> | nRow, nCol | MenuTray<span style=\"color: #000000;\">(</span> nRow, nCol, oTray <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">VALID</span> oTray:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">RIGHT</span> <span style=\"color: #0000ff;\">CLICK</span> oTray:<span style=\"color: #000000;\">SetIcon</span><span style=\"color: #000000;\">(</span> oIcon1, <span style=\"color: #ff0000;\">\"Another\"</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">NIL</span><br /><br />***********************************************************<br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MenuTray<span style=\"color: #000000;\">(</span> nRow, nCol <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oMenu<br /> <span style=\"color: #00C800;\">LOCAL</span> cFontMenu := <span style=\"color: #ff0000;\">\"Verdana\"</span><br /> <span style=\"color: #00C800;\">LOCAL</span> nHFontMenu := <span style=\"color: #000000;\">14</span><br /> <span style=\"color: #00C800;\">LOCAL</span> oFontMenu<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFontMenu <span style=\"color: #0000ff;\">NAME</span> cFontMenu <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, -nHFontMenu<br /><br /> <span style=\"color: #0000ff;\">MENU</span> oMenu <span style=\"color: #0000ff;\">POPUP</span> <span style=\"color: #0000ff;\">FONT</span> oFontMenu <span style=\"color: #000000;\">2013</span> LOGOMENU <span style=\"color: #ff0000;\">\"c:<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\p</span>ngs<span style=\"color: #000000;\">\\i</span>mage1.png\"</span><br /><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Show\"</span> <span style=\"color: #0000ff;\">ACTION</span> oWnd:<span style=\"color: #000000;\">Show</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, oWnd:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Hide\"</span> <span style=\"color: #0000ff;\">ACTION</span> oWnd:<span style=\"color: #000000;\">Hide</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">SEPARATOR</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Close Application\"</span> <span style=\"color: #0000ff;\">ACTION</span> oWnd:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">POPUP</span> oMenu <span style=\"color: #00C800;\">AT</span> nRow, nCol <span style=\"color: #0000ff;\">OF</span> oTray:<span style=\"color: #000000;\">oWnd</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:39hbuayl]\n\nEMG",
"time": "13:13",
"topic": "Bug in TMenu [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2017-05-20",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Fixed, thanks",
"time": "17:23",
"topic": "Bug in TMenu [Fixed]",
"username": "cnavarro"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2017-05-20",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Thank you! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG",
"time": "17:29",
"topic": "Bug in TMenu [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2017-05-20",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Any workaround for that user?\n\nEMG",
"time": "17:30",
"topic": "Bug in TMenu [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2017-10-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "The menuitems of the main menubar are too wide.\n\nEMG",
"time": "13:40",
"topic": "Bug in TMenu [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2017-10-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "This is a sample:\n\n[code=fw:pwndupze]<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;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oWnd, oMenu<br /><br /> <span style=\"color: #0000ff;\">MENU</span> oMenu <span style=\"color: #000000;\">2015</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test1\"</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test2\"</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test3\"</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test4\"</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Test5\"</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> oMenu<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:pwndupze]\n\nEMG",
"time": "13:43",
"topic": "Bug in TMenu [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2017-10-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Any quick and dirty workaround, please?\n\nEMG",
"time": "13:45",
"topic": "Bug in TMenu [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2017-10-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "This is what I get:\n\n[img:2kmtr1bz]https://www.emagsoftware.it/public/menu.png[/img:2kmtr1bz]\n\nEMG",
"time": "14:09",
"topic": "Bug in TMenu [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2017-10-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "This not a bug\nIn menus with styles and not fonts or clause COLORS ( OWNERDRAW items ), you know solution for adjust width of items\n\n[code=fw:3ihqfnok]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /> GetnWidthItem<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0.5</span> <span style=\"color: #000000;\">)</span><br /><br /> </div>[/code:3ihqfnok]\n\nThere are users who like the widest items to make the menus more readable",
"time": "16:38",
"topic": "Bug in TMenu [Fixed]",
"username": "cnavarro"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2017-10-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "With\n\n[code=fw:1g53sf3u]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">GetnWidthItem<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0.5</span> <span style=\"color: #000000;\">)</span></div>[/code:1g53sf3u]\n\nthe dropdowns widths are changed too. How can I change the widths of the menuitems on the menubar withouth affecting the menuitems on the dropdowns?\n\nEMG",
"time": "18:20",
"topic": "Bug in TMenu [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2017-10-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Enrico, your are right\nI answered too fast",
"time": "19:41",
"topic": "Bug in TMenu [Fixed]",
"username": "cnavarro"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2017-10-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "No problem. Any workaround?\n\nEMG",
"time": "21:48",
"topic": "Bug in TMenu [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2017-10-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Please, wait",
"time": "21:58",
"topic": "Bug in TMenu [Fixed]",
"username": "cnavarro"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2019-01-01",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "The 2015 clause of the MENU command breaks MENUINFO behaviour (the width of the menu is not enough for the MDICHILD window title).\n\nThis is a sample of the problem:\n\n[code=fw:2dfr6ci0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">// Working with MDI enviroments</span><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00C800;\">static</span> oWnd<br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oWndEdit, oBar, oIcon<br /> <span style=\"color: #00C800;\">local</span> cName := <span style=\"color: #ff0000;\">\"FiveWin power\"</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">ICON</span> oIcon <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"test\"</span> <br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">20</span>, <span style=\"color: #000000;\">70</span> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"I am the MDI Frame\"</span> ;<br /> <span style=\"color: #0000ff;\">MDI</span> ;<br /> <span style=\"color: #0000ff;\">MENU</span> BuildMenu<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> ; <span style=\"color: #B900B9;\">// COLOR \"GR+*/RB\" </span><br /> <span style=\"color: #0000ff;\">ICON</span> oIcon<br /><br /> SET <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #ff0000;\">\"Main Window\"</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWndEdit <span style=\"color: #0000ff;\">MDICHILD</span> <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">20</span>, <span style=\"color: #000000;\">50</span> ;<br /> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"I am a MDI Child\"</span> <span style=\"color: #0000ff;\">COLOR</span> <span style=\"color: #ff0000;\">\"W+/R\"</span><br /><br /> @ <span style=\"color: #000000;\">4</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">GET</span> cName <span style=\"color: #0000ff;\">OF</span> oWndEdit <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">170</span>, <span style=\"color: #000000;\">25</span> <span style=\"color: #0000ff;\">COLOR</span> <span style=\"color: #ff0000;\">\"BG+/B\"</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTONBAR</span> oBar _3D <span style=\"color: #0000ff;\">OF</span> oWndEdit<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">OF</span> oBar<br /><br /> SET <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #0000ff;\">OF</span> oWndEdit <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #ff0000;\">\"Child Window\"</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWndEdit<br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">MAXIMIZED</span> ;<br /> <span style=\"color: #0000ff;\">VALID</span> MsgYesNo<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Want to End ?\"</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">function</span> BuildMenu<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oMenu<br /><br /> <span style=\"color: #0000ff;\">MENU</span> oMenu <span style=\"color: #000000;\">2015</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"&Information\"</span><br /> <span style=\"color: #0000ff;\">MENU</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"&About...\"</span> <span style=\"color: #0000ff;\">ACTION</span> MsgAbout<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"FiveWin\"</span>, <span style=\"color: #ff0000;\">\"FiveTech\"</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">SEPARATOR</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"&End...\"</span> <span style=\"color: #0000ff;\">ACTION</span> oWnd:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"&Child Windows\"</span><br /> <span style=\"color: #0000ff;\">MENU</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"&Tiled\"</span> <span style=\"color: #0000ff;\">ACTION</span> oWnd:<span style=\"color: #000000;\">Tile</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"&Cascade\"</span> <span style=\"color: #0000ff;\">ACTION</span> oWnd:<span style=\"color: #000000;\">Cascade</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /><br /><span style=\"color: #00C800;\">return</span> oMenu<br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span></div>[/code:2dfr6ci0]\n\nEMG",
"time": "20:05",
"topic": "Bug in TMenu [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2019-01-03",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Enrico,\n\nMany thanks for the bug report and for the example.\n\nWe are going to review it asap",
"time": "10:47",
"topic": "Bug in TMenu [Fixed]",
"username": "Antonio Linares"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2019-01-03",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Thank you, Antonio! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG",
"time": "11:06",
"topic": "Bug in TMenu [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2019-01-03",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "I add that in some cases even the height of the menuitem is not enough for the menuitem text.\n\nEMG",
"time": "11:08",
"topic": "Bug in TMenu [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2019-01-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "All features fixed, solved\n\n----------------------- SPANISH --------------------------\n\nLa creación de los items en los menús cuando una ventana hija es creada, no la realiza Fivewin, es realizada por el sistema automáticamente dependiendo del valor de nMenuInfo que pasamos a esa function.\nCuando el nuevo item es creado por el sistema ( ya saben que la característica MDI es manejada por el propio sistema y ya en desuso ), no disponemos del objeto TMenuItem para poder manejar sus propiedades, entre ellas el prompt del item, que en el mensaje WM_MEASUREITEM no es posible obtener, por lo que no es posible determinar su longitud y poder realizar el correspondiente ajuste del ancho del menú en el que se ubica. Sólo es posible determinar el prompt de un item, aunque el nuevo item sea generado por el sistema, en el mensaje WM_DRAWITEM, pero el mensaje WM_MEASUREITEM es ejecutado antes que el mensaje WM_DRAWITEM, por lo que sus dimensiones no han podido ser calculadas y es dibujado con el ancho que ya tuviera el menú en el que se va a ubicar.\nAhora he utilizado el caption de la nueva ventana hija creada para que pueda calcular las dimensiones del item.\nComo pueden entender, no es una forma de solucionarlo relacionada con las estructuras y metodologías de los menús, pero ha sido la única forma que he encontrado de poder solucionarlo.\nSi alguien encuentra la forma de poder encontrar el prompt de un item a partir del valor de la estructura \ntypedef struct tagMEASUREITEMSTRUCT {\n UINT CtlType;\n UINT CtlID;\n UINT itemID;\n UINT itemWidth;\n UINT itemHeight;\n ULONG_PTR itemData;\n} MEASUREITEMSTRUCT, *PMEASUREITEMSTRUCT, *LPMEASUREITEMSTRUCT;\n\nque es pasada como parámetro lParam en el mensaje WM_MEASUREITEM, por favor, comparta su solución, para poder implementarlo de una forma más \"limpia\"\n\n------------------------------------- ENGLISH -------------------------------\n\n\nThe creation of the items in the menus when a child window is created, not done by Fivewin, is performed by the system automatically depending on the value of nMenuInfo that we pass to that function.\nWhen the new item is created by the system (you already know that the MDI feature is managed by the system itself and already in disuse), we do not have the TMenuItem object to be able to manage its properties, including the item's prompt, which in the message WM_MEASUREITEM is not possible to obtain, so it is not possible to determine its length and be able to make the corresponding adjustment of the width of the menu in which it is located. It is only possible to determine the prompt of an item, even if the new item is generated by the system, in the WM_DRAWITEM message, but the WM_MEASUREITEM message is executed before the WM_DRAWITEM message, so its dimensions could not be calculated and it is drawn with the width that already had the menu in which it is going to be located.\nNow I have used the caption of the new child window created so that I can calculate the dimensions of the item.\nAs you can understand, it is not a way to solve it related to the structures and methodologies of the menus, but it has been the only way I have found to be able to solve it.\nIf someone finds a way to find the prompt of an item based on the value of the structure\ntypedef struct tagMEASUREITEMSTRUCT {\n UINT CtlType;\n UINT CtlID;\n UINT itemID;\n UINT itemWidth;\n UINT itemHeight;\n ULONG_PTR itemData;\n} MEASUREITEMSTRUCT, * PMEASUREITEMSTRUCT, * LPMEASUREITEMSTRUCT;\n\nwhich is passed as parameter lParam in the message WM_MEASUREITEM, please, share your solution, to be able to implement it in a more \"clean\" way",
"time": "17:31",
"topic": "Bug in TMenu [Fixed]",
"username": "cnavarro"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2019-01-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Please note that there is no problem when 2015 clause is not used.\n\nEMG",
"time": "18:25",
"topic": "Bug in TMenu [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2019-01-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "[quote=\"Enrico Maria Giordano\":3gxwlmzs]Please note that there is no problem when 2015 clause is not used.\n\nEMG[/quote:3gxwlmzs]\n\nIt is logical\nWhen the menus are not OWNERDRAW (without styles, fonts, etc.), the menus are painted by the system (Windows) and not by Fivewin.",
"time": "21:15",
"topic": "Bug in TMenu [Fixed]",
"username": "cnavarro"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2019-01-05",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Ah, ok. So, without any clauses (2015 or similar) the menu gets a system look?\n\nEMG",
"time": "23:01",
"topic": "Bug in TMenu [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2019-01-06",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "[quote=\"Enrico Maria Giordano\":1mubvsxq]Ah, ok. So, without any clauses (2015 or similar) the menu gets a system look?\n\nEMG[/quote:1mubvsxq]\n\nYes, from September 2017 version ( read whatsnew )\n\n[quote:1mubvsxq]\n\n* MENUS: By default, when no style is selected, the menus have the appearance of those defined by the OS\n because OWNERDRAW is not applied internally to paint the items. Same high and wide as the system menus.\n If you want to add any clause to a menu without defining any style, it is necessary to add the COLOR clause\n in the definition of our menu\n\n Example:\n MENU oMenu\n MENUITEM \"First\"\n MENU\n MENUITEM \"My Test\" BOLD\n MENUITEM \"My Menu\" ITALIC\n ENDMENU\n ENDMENU\n\n In this case, the BOLD and ITALIC clauses are ignored\n But, if the menu is defined as:\n\n MENU oMenu COLORS\n\n All clauses are active, if defined, even if no style has been defined\n\n[/quote:1mubvsxq]\n\nIn any previous version, all the menus were painted by Fivewin.",
"time": "01:19",
"topic": "Bug in TMenu [Fixed]",
"username": "cnavarro"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2019-01-06",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Great, thank you.\n\nEMG",
"time": "08:53",
"topic": "Bug in TMenu [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2023-03-28",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "[code=fw:35ixfde7]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> GetnWidthItem<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0.8</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// Funciona</span><br /><br /> <span style=\"color: #0000ff;\">MENU</span> oMenu<br /> </div>[/code:35ixfde7]\n\nRegards, saludos.",
"time": "01:57",
"topic": "Bug in TMenu [Fixed]",
"username": "karinha"
}
] |
Bug in TMenu [Fixed]
|
[
{
"date": "2009-02-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "In the following sample the string CHECKLIST is not centered inside its msgitem:\n\n[code:u50crq65]#include \"Fivewin.ch\"\n\n\nFUNCTION MAIN()\n\n LOCAL oWnd, oFnt\n\n DEFINE FONT oFnt NAME GETSYSFONT() SIZE 0, -8 BOLD\n\n DEFINE WINDOW oWnd\n\n SET MESSAGE OF oWnd;\n TO \"This is a status bar\";\n TIME DATE NOINSET 2007\n\n DEFINE MSGITEM OF oWnd:oMsgBar;\n SIZE 80;\n PROMPT \"CHECKLIST\";\n FONT oFnt\n\n DEFINE MSGITEM OF oWnd:oMsgBar\n\n ACTIVATE WINDOW oWnd\n\n RELEASE FONT oFnt\n\n RETURN NIL[/code:u50crq65]\n\nEMG",
"time": "19:51",
"topic": "Bug in TMsgItem",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMsgItem
|
[
{
"date": "2009-02-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "A possible fix seems to replace, in TMsgItem Paint() method:\n\n[code:dwvz6ny4]nLeft - 1 + ( ::nWidth / 2 ) - ( GetTextWidth( hDC, AllTrim( ::cMsg ), ::oMsgBar:oFont:hFont ) / 2 ),;[/code:dwvz6ny4]\n\nwith:\n\n[code:dwvz6ny4]nLeft - 1 + ( ::nWidth / 2 ) - ( GetTextWidth( hDC, AllTrim( ::cMsg ), ::oFont:hFont ) / 2 ),;[/code:dwvz6ny4]\n\nEMG",
"time": "20:27",
"topic": "Bug in TMsgItem",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMsgItem
|
[
{
"date": "2009-02-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nThis fix is required in Class TMsgItem:\n[code:3ovh191b]\nMETHOD Paint() CLASS TMsgItem\n ...\n if ::oMsgBar:l2007\n ::oMsgBar:Say( ::oMsgBar:nHeight / 4 - 2,;\n nLeft - 1 + ( ::nWidth / 2 ) - ( GetTextWidth( hDC, AllTrim( ::cMsg ), If( ::oFont != nil, ::oFont:hFont, ::oMsgBar:oFont:hFont ) ) / 2 ),; // new !!!\n ...\n[/code:3ovh191b]\n[url=http://imageshack.us:3ovh191b][img:3ovh191b]http://img12.imageshack.us/img12/8291/capturehs0.png[/img:3ovh191b][/url:3ovh191b]",
"time": "22:50",
"topic": "Bug in TMsgItem",
"username": "Antonio Linares"
}
] |
Bug in TMsgItem
|
[
{
"date": "2009-02-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Ok, but it seems not needed as there is\n\n[code:3k1lxmvc]::oFont = If( oFont != nil, oFont, ::oMsgBar:oFont )[/code:3k1lxmvc]\n\nin method New(), if I'm not wrong.\n\nEMG",
"time": "22:53",
"topic": "Bug in TMsgItem",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMsgItem
|
[
{
"date": "2009-02-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nThen we can simplify the fix <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n[code:2tgn2omt]\nGetTextWidth( hDC, AllTrim( ::cMsg ), ::oFont:hFont )\n[/code:2tgn2omt]",
"time": "22:57",
"topic": "Bug in TMsgItem",
"username": "Antonio Linares"
}
] |
Bug in TMsgItem
|
[
{
"date": "2006-01-12",
"forum": "FiveWin for Pocket PC",
"text": "The following sample shows that TMultiGet:Append() method doesn't seem to work:\n\n[code:1cyibnpi]#include \"Fwce.ch\"\n\n\nFUNCTION MAIN()\n\n LOCAL oWnd\n\n LOCAL oGet, cVar := \"\"\n\n DEFINE WINDOW oWnd\n\n @ 1, 1 GET oGet VAR cVar MEMO;\n SIZE 200, 100\n\n @ 10, 1 BUTTON \"Append\";\n SIZE 100, 20;\n ACTION oGet:Append( \"This is a test\" + CRLF )\n\n ACTIVATE WINDOW oWnd\n\n RETURN NIL[/code:1cyibnpi]\n\nEMG",
"time": "14:44",
"topic": "Bug in TMultiGet:Append() method",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMultiGet:Append() method
|
[
{
"date": "2007-05-20",
"forum": "FiveWin for Pocket PC",
"text": "Any news? <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG",
"time": "12:41",
"topic": "Bug in TMultiGet:Append() method",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMultiGet:Append() method
|
[
{
"date": "2007-05-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "This is the sample:\n\n[code:apri51yj]#include \"Fivewin.ch\"\n\n\nFUNCTION MAIN()\n\n TEST()\n\n TEST()\n\n RETURN NIL\n\n\nSTATIC FUNCTION TEST()\n\n LOCAL oDlg, oBrw\n\n USE TEST\n\n DEFINE DIALOG oDlg\n\n @ 0, 0 LISTBOX oBrw FIELDS\n\n @ 4, 0 BUTTON \"&Close\" ACTION oDlg:End()\n\n ACTIVATE DIALOG oDlg;\n CENTER\n\n CLOSE\n\n RETURN NIL[/code:apri51yj]\n\nIf you press Enter you will not hear the beep. But you will hear it if you press Esc.\n\nEMG",
"time": "19:11",
"topic": "Bug in TMultiGet:bChange",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMultiGet:bChange
|
[
{
"date": "2007-05-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "This seems to solve the Enter problem. From KeyChar() method:\n\n[code:1slmo86g] if nKey == VK_RETURN .and. ;\n lAnd( GetWindowLong( ::hWnd, GWL_STYLE ), ES_WANTRETURN )\n ::oWnd:nLastKey = 0\n if ::bChange != nil\n Eval( ::bChange, nKey, nFlags, Self )\n endif\n return nil\n endif[/code:1slmo86g]\n\nEMG",
"time": "19:12",
"topic": "Bug in TMultiGet:bChange",
"username": "Enrico Maria Giordano"
}
] |
Bug in TMultiGet:bChange
|
[
{
"date": "2017-05-16",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Please try the following sample without and with manifest file. Without manifest file it works fine (the bar is filled) while with manifest file the bar is empty. Any workaround?\n\n[code=fw:1nz3apy1]<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;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oDlg, oPrg<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">800</span>, <span style=\"color: #000000;\">600</span><br /><br /> @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">PROGRESS</span> oPrg<br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">(</span> oPrg:<span style=\"color: #000000;\">SetRange</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">)</span>,;<br /> oPrg:<span style=\"color: #000000;\">SetPos</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #0000ff;\">CENTER</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:1nz3apy1]\n\nEMG",
"time": "11:30",
"topic": "Bug in TProgress [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TProgress [Fixed]
|
[
{
"date": "2017-05-18",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Up! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG",
"time": "12:30",
"topic": "Bug in TProgress [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TProgress [Fixed]
|
[
{
"date": "2017-05-18",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Enrico,\n\nIt is a known bug when using a manifest file with progress bars\n\nPlease review samples\\progres1.prg to see how to workaround it",
"time": "15:13",
"topic": "Bug in TProgress [Fixed]",
"username": "Antonio Linares"
}
] |
Bug in TProgress [Fixed]
|
[
{
"date": "2017-05-18",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Ok. <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nI don't see any valid workaround in progres1.prg... <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG",
"time": "15:49",
"topic": "Bug in TProgress [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TProgress [Fixed]
|
[
{
"date": "2017-05-19",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "This is a possible workaround:\n\n[code=fw:e63c8ir1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oDlg, oProg1, oProg2<br /> <br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Progress Bars\"</span><br /> <br /> @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">PROGRESS</span> oProg1 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">12</span><br /><br /> @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">PROGRESS</span> oProg2 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">12</span>, <span style=\"color: #000000;\">50</span> <span style=\"color: #0000ff;\">VERTICAL</span><br /> <br /> @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">9</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Ok\"</span> <span style=\"color: #0000ff;\">ACTION</span> oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <br /> oDlg:<span style=\"color: #000000;\">bStart</span> = <span style=\"color: #000000;\">{</span> || Increase<span style=\"color: #000000;\">(</span> oProg1, oProg2 <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</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;\">(</span> oProg1:<span style=\"color: #000000;\">SetRange</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">100</span> <span style=\"color: #000000;\">)</span>,;<br /> oProg2:<span style=\"color: #000000;\">SetRange</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">100</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> <br /><br /><span style=\"color: #00C800;\">function</span> Increase<span style=\"color: #000000;\">(</span> oProg1, oProg2 <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> n<br /><br /> <span style=\"color: #00C800;\">for</span> n = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">100</span><br /> <span style=\"color: #00C800;\">if</span> n < oProg1:<span style=\"color: #000000;\">nMax</span><br /> oProg1:<span style=\"color: #000000;\">SetPos</span><span style=\"color: #000000;\">(</span> n + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> oProg1:<span style=\"color: #000000;\">SetPos</span><span style=\"color: #000000;\">(</span> n <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">else</span><br /> oProg1:<span style=\"color: #000000;\">SetRange</span><span style=\"color: #000000;\">(</span> oProg1:<span style=\"color: #000000;\">nMin</span>, oProg1:<span style=\"color: #000000;\">nMax</span> + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> oProg1:<span style=\"color: #000000;\">SetPos</span><span style=\"color: #000000;\">(</span> oProg1:<span style=\"color: #000000;\">nMax</span> <span style=\"color: #000000;\">)</span><br /> oProg1:<span style=\"color: #000000;\">SetRange</span><span style=\"color: #000000;\">(</span> oProg1:<span style=\"color: #000000;\">nMin</span>, oProg1:<span style=\"color: #000000;\">nMax</span> - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> oProg1:<span style=\"color: #000000;\">SetPos</span><span style=\"color: #000000;\">(</span> oProg1:<span style=\"color: #000000;\">nMax</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /><br /> <span style=\"color: #00C800;\">if</span> n < oProg2:<span style=\"color: #000000;\">nMax</span><br /> oProg2:<span style=\"color: #000000;\">SetPos</span><span style=\"color: #000000;\">(</span> n + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> oProg2:<span style=\"color: #000000;\">SetPos</span><span style=\"color: #000000;\">(</span> n <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">else</span><br /> oProg2:<span style=\"color: #000000;\">SetRange</span><span style=\"color: #000000;\">(</span> oProg2:<span style=\"color: #000000;\">nMin</span>, oProg2:<span style=\"color: #000000;\">nMax</span> + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> oProg2:<span style=\"color: #000000;\">SetPos</span><span style=\"color: #000000;\">(</span> oProg2:<span style=\"color: #000000;\">nMax</span> <span style=\"color: #000000;\">)</span><br /> oProg2:<span style=\"color: #000000;\">SetRange</span><span style=\"color: #000000;\">(</span> oProg2:<span style=\"color: #000000;\">nMin</span>, oProg2:<span style=\"color: #000000;\">nMax</span> - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> oProg2:<span style=\"color: #000000;\">SetPos</span><span style=\"color: #000000;\">(</span> oProg2:<span style=\"color: #000000;\">nMax</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /><br /> SysWait<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0.02</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">next</span><br /> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:e63c8ir1]\n\nEMG",
"time": "11:29",
"topic": "Bug in TProgress [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TProgress [Fixed]
|
[
{
"date": "2017-05-19",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "When I run progres1.prg, the progress bars get complete full",
"time": "11:40",
"topic": "Bug in TProgress [Fixed]",
"username": "Antonio Linares"
}
] |
Bug in TProgress [Fixed]
|
[
{
"date": "2017-05-19",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "Yes, but only if you use a range 0 -116, that is not what we want.\n\nEMG",
"time": "12:05",
"topic": "Bug in TProgress [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TProgress [Fixed]
|
[
{
"date": "2017-05-19",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "My workaroud works with any range (I hope). The previous was with 0-100, this is with 0-10:\n\n[code=fw:3c4t45cp]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oDlg, oProg1, oProg2<br /> <br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Progress Bars\"</span><br /> <br /> @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">PROGRESS</span> oProg1 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">12</span><br /><br /> @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">PROGRESS</span> oProg2 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">12</span>, <span style=\"color: #000000;\">50</span> <span style=\"color: #0000ff;\">VERTICAL</span><br /> <br /> @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">9</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Ok\"</span> <span style=\"color: #0000ff;\">ACTION</span> oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <br /> oDlg:<span style=\"color: #000000;\">bStart</span> = <span style=\"color: #000000;\">{</span> || Increase<span style=\"color: #000000;\">(</span> oProg1, oProg2 <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</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;\">(</span> oProg1:<span style=\"color: #000000;\">SetRange</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">)</span>,;<br /> oProg2:<span style=\"color: #000000;\">SetRange</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> <br /><br /><span style=\"color: #00C800;\">function</span> Increase<span style=\"color: #000000;\">(</span> oProg1, oProg2 <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> n<br /><br /> <span style=\"color: #00C800;\">for</span> n = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">10</span><br /> <span style=\"color: #00C800;\">if</span> n < oProg1:<span style=\"color: #000000;\">nMax</span><br /> oProg1:<span style=\"color: #000000;\">SetPos</span><span style=\"color: #000000;\">(</span> n + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> oProg1:<span style=\"color: #000000;\">SetPos</span><span style=\"color: #000000;\">(</span> n <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">else</span><br /> oProg1:<span style=\"color: #000000;\">SetRange</span><span style=\"color: #000000;\">(</span> oProg1:<span style=\"color: #000000;\">nMin</span>, oProg1:<span style=\"color: #000000;\">nMax</span> + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> oProg1:<span style=\"color: #000000;\">SetPos</span><span style=\"color: #000000;\">(</span> oProg1:<span style=\"color: #000000;\">nMax</span> <span style=\"color: #000000;\">)</span><br /> oProg1:<span style=\"color: #000000;\">SetRange</span><span style=\"color: #000000;\">(</span> oProg1:<span style=\"color: #000000;\">nMin</span>, oProg1:<span style=\"color: #000000;\">nMax</span> - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> oProg1:<span style=\"color: #000000;\">SetPos</span><span style=\"color: #000000;\">(</span> oProg1:<span style=\"color: #000000;\">nMax</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /><br /> <span style=\"color: #00C800;\">if</span> n < oProg2:<span style=\"color: #000000;\">nMax</span><br /> oProg2:<span style=\"color: #000000;\">SetPos</span><span style=\"color: #000000;\">(</span> n + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> oProg2:<span style=\"color: #000000;\">SetPos</span><span style=\"color: #000000;\">(</span> n <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">else</span><br /> oProg2:<span style=\"color: #000000;\">SetRange</span><span style=\"color: #000000;\">(</span> oProg2:<span style=\"color: #000000;\">nMin</span>, oProg2:<span style=\"color: #000000;\">nMax</span> + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> oProg2:<span style=\"color: #000000;\">SetPos</span><span style=\"color: #000000;\">(</span> oProg2:<span style=\"color: #000000;\">nMax</span> <span style=\"color: #000000;\">)</span><br /> oProg2:<span style=\"color: #000000;\">SetRange</span><span style=\"color: #000000;\">(</span> oProg2:<span style=\"color: #000000;\">nMin</span>, oProg2:<span style=\"color: #000000;\">nMax</span> - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> oProg2:<span style=\"color: #000000;\">SetPos</span><span style=\"color: #000000;\">(</span> oProg2:<span style=\"color: #000000;\">nMax</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /><br /> SysWait<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1.02</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">next</span><br /> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:3c4t45cp]\n\nEMG",
"time": "12:08",
"topic": "Bug in TProgress [Fixed]",
"username": "Enrico Maria Giordano"
}
] |
Bug in TProgress [Fixed]
|
[
{
"date": "2017-05-19",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "very good <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "20:02",
"topic": "Bug in TProgress [Fixed]",
"username": "Antonio Linares"
}
] |
Bug in TProgress [Fixed]
|
[
{
"date": "2009-10-13",
"forum": "FiveWin for Harbour/xHarbour",
"text": "The following sample\n\n[code=fw:3r57m9x2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Report.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> REP01<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"1\"</span> <span style=\"color: #000000;\">)</span><br /> REP01<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"2\"</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> REP01<span style=\"color: #000000;\">(</span> cNum <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oRpt<br /><br /> USE TEST<br /><br /> REPORT oRpt <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"TEST\"</span> + cNum PREVIEW<br /><br /> COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"St\"</span> <span style=\"color: #00C800;\">DATA</span> Test->State<br /> COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"First Name\"</span> <span style=\"color: #00C800;\">DATA</span> Test->First<br /> COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\" Salary\"</span> <span style=\"color: #00C800;\">DATA</span> Test->Salary<br /><br /> END REPORT<br /><br /> oRpt:<span style=\"color: #000000;\">CellView</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> REPORT oRpt<br /><br /> CLOSE TEST<br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:3r57m9x2]\n\nshows only the first preview and then terminate leaving an error.log containing\n\n[quote:3r57m9x2] Error description: Error BASE/1132 Bound error: array access\n\nStack Calls\n===========\n Called from: .\\source\\classes\\RPREVIEW.PRG => TPREVIEW:BUILDWINDOW(448)\n Called from: .\\source\\classes\\RPREVIEW.PRG => TPREVIEW:NEW(125)\n Called from: .\\source\\classes\\RPREVIEW.PRG => RPREVIEW(1462)\n Called from: .\\source\\classes\\REPORT.PRG => (b)TREPORT:NEW(180)\n Called from: .\\source\\classes\\REPORT.PRG => TREPORT:ACTIVATE(873)\n Called from: REP2.prg => REP01(29)\n Called from: REP2.prg => MAIN(8)[/quote:3r57m9x2]\n\nEMG",
"time": "11:01",
"topic": "Bug in TReport",
"username": "Enrico Maria Giordano"
}
] |
Bug in TReport
|
[
{
"date": "2009-10-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Any news? <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG",
"time": "15:37",
"topic": "Bug in TReport",
"username": "Enrico Maria Giordano"
}
] |
Bug in TReport
|
[
{
"date": "2009-10-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nIt is not exactly a bug. It is the result of a wrong use of FiveWin, I explain why:\n\nFiveWin uses the first created window as the main window of the application, so when the main window ends, then it means that the application ends too. This concept could be discussed, but it is intended mainly to avoid never ending applications.\n\nIf you modify your code this way, then it will work fine:\n[code=fw:25398ozo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Report.ch\"</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oWnd<br /> <br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br /> <br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> Reports<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> <br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Reports<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> REP01<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"1\"</span> <span style=\"color: #000000;\">)</span><br /> REP01<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"2\"</span> <span style=\"color: #000000;\">)</span><br /> <br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br />...<br /> </div>[/code:25398ozo]",
"time": "20:35",
"topic": "Bug in TReport",
"username": "Antonio Linares"
}
] |
Bug in TReport
|
[
{
"date": "2009-10-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Great, it works, thank you! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG",
"time": "21:36",
"topic": "Bug in TReport",
"username": "Enrico Maria Giordano"
}
] |
Bug in TReport
|
[
{
"date": "2017-08-27",
"forum": "Bugs report & fixes / Informe de errores y arreglos",
"text": "After closing the preview the program crashes with an error and it shows only the first report (the two reports should be in the same preview window):\n\n[code=fw:1mjsvtys]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Report.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oWnd<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">(</span> REPORTS<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, oWnd:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> REPORTS<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oPrn<br /><br /> <span style=\"color: #00C800;\">PRINT</span> oPrn PREVIEW<br /> REP01<span style=\"color: #000000;\">(</span> oPrn, <span style=\"color: #ff0000;\">\"1\"</span> <span style=\"color: #000000;\">)</span><br /> REP01<span style=\"color: #000000;\">(</span> oPrn, <span style=\"color: #ff0000;\">\"2\"</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">ENDPRINT</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> REP01<span style=\"color: #000000;\">(</span> oPrn, cNum <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oRpt<br /><br /> USE TEST<br /><br /> REPORT oRpt <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"TEST\"</span> + cNum <span style=\"color: #0000ff;\">TO</span> DEVICE oPrn<br /><br /> COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"St\"</span> <span style=\"color: #00C800;\">DATA</span> Test->State<br /> COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"First Name\"</span> <span style=\"color: #00C800;\">DATA</span> Test->First<br /> COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\" Salary\"</span> <span style=\"color: #00C800;\">DATA</span> Test->Salary<br /><br /> END REPORT<br /><br /> oRpt:<span style=\"color: #000000;\">CellView</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> REPORT oRpt<br /><br /> CLOSE TEST<br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:1mjsvtys]\n\nEMG",
"time": "09:19",
"topic": "Bug in TReport",
"username": "Enrico Maria Giordano"
}
] |
Bug in TReport
|
[
{
"date": "2006-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "This is the sample. Try to hit any alphabetic key. It will be rejected:\n\n[code:3ewa7inv]#include \"Fivewin.ch\"\n#include \"Richedit.ch\"\n\n\nFUNCTION MAIN()\n\n LOCAL hDll := LOADLIBRARY( \"RICHED20.DLL\" )\n\n LOCAL oDlg\n\n LOCAL oRich, cVar := \"\"\n\n DEFINE DIALOG oDlg\n\n @ 0, 0 RICHEDIT oRich VAR cVar\n\n ACTIVATE DIALOG oDlg;\n ON INIT oDlg:SetControl( oRich );\n CENTER\n\n FREELIBRARY( hDll )\n\n RETURN NIL[/code:3ewa7inv]\n\nEMG",
"time": "12:21",
"topic": "Bug in TRichEdit",
"username": "Enrico Maria Giordano"
}
] |
Bug in TRichEdit
|
[
{
"date": "2006-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nQuite curious. On a window it works ok. And on a dialog only accepts numbers... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->",
"time": "15:43",
"topic": "Bug in TRichEdit",
"username": "Antonio Linares"
}
] |
Bug in TRichEdit
|
[
{
"date": "2006-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Exactly.\n\nEMG",
"time": "16:49",
"topic": "Bug in TRichEdit",
"username": "Enrico Maria Giordano"
}
] |
Bug in TRichEdit
|
[
{
"date": "2006-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "The sample found in FWH (2.5) TestRich.prg works on a dialog (resource).\nIt accepts characters too\nbut if I try to open an existing file it returns the error:\n\"unrecoverable error 9010: hb_xfree() invalid pointer 004ec06e select the file\" \n\nregards\nRoberto Chiaiese",
"time": "17:02",
"topic": "Bug in TRichEdit",
"username": "chiaiese"
}
] |
Bug in TRichEdit
|
[
{
"date": "2006-03-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Roberto,\n\nYes, and TestRich.prg keeps working ok in FWH 2.7. It looks as it works ok from resources, but not from source code on a dialog.\n\nWith the current Harbour and xharbour versions the error you describe (hb_xfree()) no longer happens.\n\nWe keep searching,",
"time": "08:50",
"topic": "Bug in TRichEdit",
"username": "Antonio Linares"
}
] |
Bug in TRichEdit
|
[
{
"date": "2006-03-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "The Richedit control does not show bitmaps also.\nI'm able to open an rtf file from disk only if I pass its name as a parameter (not trough the button on the sample dialog)\nHowever the control only shows text, not embedded or linked bitmaps\n\nRoberto",
"time": "00:16",
"topic": "Bug in TRichEdit",
"username": "chiaiese"
}
] |
Bug in TRichEdit
|
[
{
"date": "2006-03-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I found two dll in my windows directory riched20.dll and riched32.dll\nanyone knows the difference ?\nI tried both but without any difference, same bugs\n\nRoberto",
"time": "00:37",
"topic": "Bug in TRichEdit",
"username": "chiaiese"
}
] |
Bug in TRichEdit
|
[
{
"date": "2006-03-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"chiaiese\":356gkp9l]I found two dll in my windows directory riched20.dll and riched32.dll\nanyone knows the difference ?\nI tried both but without any difference, same bugs\n\nRoberto[/quote:356gkp9l]\n\nThe second is only a wrapper to the first (note the small size).\n\nEMG",
"time": "08:51",
"topic": "Bug in TRichEdit",
"username": "Enrico Maria Giordano"
}
] |
Bug in TRichEdit
|
[
{
"date": "2006-03-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nFixed the problem in dialogs! <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->\n\nWe are going to re-publish the March build in a few minutes with the new changes and enhancements on Class TRichEdit.",
"time": "01:09",
"topic": "Bug in TRichEdit",
"username": "Antonio Linares"
}
] |
Bug in TRichEdit
|
[
{
"date": "2006-03-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Great! But get ready for more bug reports in this class. <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG",
"time": "09:35",
"topic": "Bug in TRichEdit",
"username": "Enrico Maria Giordano"
}
] |
Bug in TRichEdit
|
[
{
"date": "2006-03-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nNo problem, your feedback is always welcome <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->",
"time": "10:07",
"topic": "Bug in TRichEdit",
"username": "Antonio Linares"
}
] |
Bug in TRichEdit
|
[
{
"date": "2006-03-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\nObjects like bitmaps are also shown now ?\n\nRoberto",
"time": "16:20",
"topic": "Bug in TRichEdit",
"username": "chiaiese"
}
] |
Bug in TRichEdit
|
[
{
"date": "2005-12-18",
"forum": "FiveWin for Pocket PC",
"text": "Clicking on the button of this sample:\n\n[code:3fikxy9h]#include \"Fwce.ch\"\n\n\nFUNCTION MAIN()\n\n LOCAL oWnd, oSay\n\n LOCAL cVar := \"Test\"\n\n DEFINE WINDOW oWnd\n\n @ 1, 1 SAY oSay VAR cVar\n\n @ 3, 1 BUTTON \"Change\";\n ACTION MSGINFO( oSay:VarGet() )\n\n ACTIVATE WINDOW oWnd\n\n RETURN NIL[/code:3fikxy9h]\n\nyou will get\n\nMessage not found TSAY:VARGET\n\nEMG",
"time": "22:56",
"topic": "Bug in TSay",
"username": "Enrico Maria Giordano"
}
] |
Bug in TSay
|
[
{
"date": "2005-12-18",
"forum": "FiveWin for Pocket PC",
"text": "Enrico,\n\nSame as Class TControl Method VarPut(). It was not implemented yet. Its already included for next build:\n\n[code:kf0gco1a]\n METHOD VarGet() INLINE If( ValType( ::bSetGet ) == \"B\", Eval( ::bSetGet ),)\n[/code:kf0gco1a]\n\nThanks for the feedback <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->",
"time": "23:28",
"topic": "Bug in TSay",
"username": "Antonio Linares"
}
] |
Bug in TSay
|
[
{
"date": "2005-12-19",
"forum": "FiveWin for Pocket PC",
"text": "Thank you!\n\nEMG",
"time": "08:41",
"topic": "Bug in TSay",
"username": "Enrico Maria Giordano"
}
] |
Bug in TSay
|
[
{
"date": "2006-12-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "The following sample shows the problem:\n\n[code:2m3u7l87]#include \"Fivewin.ch\"\n\n\nFUNCTION MAIN()\n\n LOCAL oDlg, oSay\n\n LOCAL n := 0\n\n DEFINE DIALOG oDlg\n\n @ 1, 1 SAY oSay PROMPT \"Counter: \" + LTRIM( STR( n ) );\n SIZE 200, 15\n\n @ 2, 1 BUTTON \"Start\";\n ACTION COUNTER( oSay, @n )\n\n ACTIVATE DIALOG oDlg;\n CENTER\n\n RETURN NIL\n\n\nSTATIC FUNCTION COUNTER( oSay, n )\n\n LOCAL i\n\n FOR i = 1 TO 100\n n++\n oSay:Refresh()\n SYSWAIT( 0.01 )\n NEXT\n\n TONE( 400, 1 )\n\n RETURN NIL[/code:2m3u7l87]\n\nIt should count from 1 to 100 when the button is pressed. Instead the label shows 1 and is not refreshed anymore.\n\nThe cause seems to be the statement\n\n[code:2m3u7l87]::VarPut( ::cCaption )[/code:2m3u7l87]\n\nadded in the latest TSay class.\n\nEMG",
"time": "23:58",
"topic": "Bug in TSay",
"username": "Enrico Maria Giordano"
}
] |
Bug in TSay
|
[
{
"date": "2006-12-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Even during reports generation the counter is not updated anymore.\n\nEMG",
"time": "00:04",
"topic": "Bug in TSay",
"username": "Enrico Maria Giordano"
}
] |
Bug in TSay
|
[
{
"date": "2006-12-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nWe may remove ::VarPut( ::cCaption ) from Class TSay Method SetText(), but then preview page number is wrongly shown.\n\nWe need to find a way to fix the preview page number.",
"time": "01:57",
"topic": "Bug in TSay",
"username": "Antonio Linares"
}
] |
Bug in TSay
|
[
{
"date": "2006-12-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Ok, the solution seems to replace in source\\classes\\rpreview.prg all oPage:SetText(...) into oPage:VarPut(...)",
"time": "02:01",
"topic": "Bug in TSay",
"username": "Antonio Linares"
}
] |
Bug in TSay
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.