messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2007-01-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Many thanks EMG, your solution is clean, I was dreading having to create all those LOCAL variables.\n\nSuper!", "time": "22:28", "topic": "CHECKBOX MODIFY", "username": "Ollie" } ]
CHECKBOX MODIFY
[ { "date": "2016-12-01", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nwe made a little tool for in house use.\nYou can copy & paste from a text editor to xBrowse.\nChoose between append, insert, overwrite rows in xBrowse.\n\nYou can sort tasks, check/uncheck, show all, show only checked or not checked rows and intend rows.\nThanks to xBrowse.\nBest regards,\nOtto\n\n\n[img:3ec6ieov]http://www.atzwanger-software.com/fw/chcklist_Clip4.jpg[/img:3ec6ieov]\n\n[img:3ec6ieov]http://www.atzwanger-software.com/fw/chcklist_Clip5.jpg[/img:3ec6ieov]\n\n[img:3ec6ieov]http://www.atzwanger-software.com/fw/chcklist_Clip6.jpg[/img:3ec6ieov]\n\n\n[img:3ec6ieov]http://www.atzwanger-software.com/fw/chcklist_Clip3.jpg[/img:3ec6ieov]\n\n\n\n[img:3ec6ieov]http://www.atzwanger-software.com/fw/chcklist_Clip2.jpg[/img:3ec6ieov]\n\n[img:3ec6ieov]http://www.atzwanger-software.com/fw/chcklist_Clip1.jpg[/img:3ec6ieov]", "time": "09:30", "topic": "CHECKLIST with xBrowse", "username": "Otto" } ]
CHECKLIST with xBrowse
[ { "date": "2011-09-29", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"ukservice\":d3aikxmo]Hello,\n\nHow can I use chinese characters in get fields?.\n\nThank you.[/quote:d3aikxmo]\n\nYou need to modify TGet Class code for Two bytes characters.", "time": "12:02", "topic": "CHINESE IN GET", "username": "richard-service" } ]
CHINESE IN GET
[ { "date": "2011-09-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nHow can I use chinese characters in get fields?.\n\nThank you.", "time": "11:59", "topic": "CHINESE IN GET", "username": "ukservice" } ]
CHINESE IN GET
[ { "date": "2011-09-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello.\n\nAnd how can be done?.\n\nWhy does not FWH support this?.\n\nThank you.", "time": "12:26", "topic": "CHINESE IN GET", "username": "ukservice" } ]
CHINESE IN GET
[ { "date": "2011-09-29", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"ukservice\":3pdi9xqj]Hello.\n\nAnd how can be done?.\n\nWhy does not FWH support this?.\n\nThank you.[/quote:3pdi9xqj]\nControl position and key problem. \nEx: Press Left/Right/Del key, only delete or move one byte character.But Asia use Two bytes of character.", "time": "12:29", "topic": "CHINESE IN GET", "username": "richard-service" } ]
CHINESE IN GET
[ { "date": "2011-09-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nI am afraid I have no idea of what I must change in tget.prg.\n\nHow much is your class?.\n\nDoes Fivetech plan to implement it?.\n\nThanks.", "time": "12:55", "topic": "CHINESE IN GET", "username": "ukservice" } ]
CHINESE IN GET
[ { "date": "2011-09-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello, \n\nHere is the RC file I used and got it to work. Please make sure the SimSum font is loaded on the workstation.\n\nTEST DIALOG 20, 41, 356, 86\nSTYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU\nFONT 12, \"SimSun\"\n{\n EDITTEXT 201, 68, 29, 230, 12\n EDITTEXT 202, 68, 44, 230, 12\n CONTROL \"\\x89É\\xA6s\", 301, \"BUTTON\", BS_USERBUTTON | WS_TABSTOP, 302, 8, 46, 18\n CONTROL \"\\xA8ú\\xAEø\", 302, \"BUTTON\", BS_USERBUTTON | WS_TABSTOP, 302, 29, 46, 18\n CONTROL \"\\xA5\\xB4\\xA6L\", 303, \"BUTTON\", BS_USERBUTTON | WS_TABSTOP, 302, 50, 46, 18\n LTEXT \"ENGLISH NAME\", 101, 5, 29, 60, 12\n LTEXT \"\\xA4\\xA4\\xA4å\\xA9m\\xA6W\", 102, 5, 44, 60, 12\n}", "time": "13:30", "topic": "CHINESE IN GET", "username": "cdmmaui" } ]
CHINESE IN GET
[ { "date": "2011-09-29", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"ukservice\":lxtwqdza]Hello,\n\nI am afraid I have no idea of what I must change in tget.prg.\n\nHow much is your class?.\n\nDoes Fivetech plan to implement it?.\n\nThanks.[/quote:lxtwqdza]\n\n>>How much is your class?.\nPlease call me. richard dot service at seed dot net dot tw\n\n>>Does Fivetech plan to implement it?.\nI think NO. Because I modify my TGet class support that input Chinese character.\nAnother problem: We can't add themes interface into my EXE. Because we modify TGet class not work within themes, remove themes work fine.\nI do'nt know Why Minigui work fine. Maybe Antonio need to fix this problem.", "time": "13:48", "topic": "CHINESE IN GET", "username": "richard-service" } ]
CHINESE IN GET
[ { "date": "2011-09-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Richard,\n\nIs your class compilant with latest FWH and Harbour 3.0 builds?.\n\nMaybe Fivetech can offer you a free update if you help Antonio to implement chinese chars in TGet <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->", "time": "15:22", "topic": "CHINESE IN GET", "username": "ukservice" } ]
CHINESE IN GET
[ { "date": "2011-09-29", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"ukservice\":bgbzlsnz]Richard,\n\nIs your class compilant with latest FWH and Harbour 3.0 builds?.\n\nMaybe Fivetech can offer you a free update if you help Antonio to implement chinese chars in TGet <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->[/quote:bgbzlsnz]\nI have copy TGet class to him. But he have no idea for Chinese themes solution.", "time": "17:57", "topic": "CHINESE IN GET", "username": "richard-service" } ]
CHINESE IN GET
[ { "date": "2011-09-29", "forum": "FiveWin for Harbour/xHarbour", "text": "John, Richard,\n\nWe are willing to include Richard's changes in FWH Class TGet. \n\nThe problem we have is that we can´t manage a Chinese (or any other unicode language) Windows version.", "time": "18:16", "topic": "CHINESE IN GET", "username": "Antonio Linares" } ]
CHINESE IN GET
[ { "date": "2011-09-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio and Richard,\n\nThank you for help.\n\nMy customer uses an english Windows 7 but in product´s name he needs also to include chinese words (a.e RED TEA ??/??). \n\nIf I type ??/?? in notepad, I see propely. But not in TGet, i get ?????.", "time": "19:22", "topic": "CHINESE IN GET", "username": "ukservice" } ]
CHINESE IN GET
[ { "date": "2011-09-29", "forum": "FiveWin for Harbour/xHarbour", "text": "John,\n\n[quote:3nhxj0a6]If I type ??/?? in notepad, I see propely. But not in TGet, i get ?????[/quote:3nhxj0a6]\n\nI don't know how to write that, sorry \n\nIf you provide us detailed instructions to do it, then we may be able to support it, thanks", "time": "19:27", "topic": "CHINESE IN GET", "username": "Antonio Linares" } ]
CHINESE IN GET
[ { "date": "2011-09-29", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":38a1jcwc]John, Richard,\n\nWe are willing to include Richard's changes in FWH Class TGet. \n\nThe problem we have is that we can´t manage a Chinese (or any other unicode language) Windows version.[/quote:38a1jcwc]\nI had test Minigui TEditBox EXE( themes ), I press right/left/del ... key, cursor position work fine. \nOnly problem is input Unicode Chinese character and appear '?'\n\nI test fwh within my TGet EXE( themes ), I press right/left/del ..key, cursor position work.\nbut if you delete character, I look Garbled. I think count position not work.\ninput Unicode Chinese character and appear '?'\n\nI test fwh within my TGet EXE( not themes ), I press right/left/del ..key, cursor position work.\nbut if you delete/copy/paste character, anythink work fine.\ninput Unicode Chinese character and appear '?'", "time": "19:33", "topic": "CHINESE IN GET", "username": "richard-service" } ]
CHINESE IN GET
[ { "date": "2011-09-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Richard,\n\nif you post here your changes for the Class TGet, we will check them to fix the themes issue, thanks", "time": "19:48", "topic": "CHINESE IN GET", "username": "Antonio Linares" } ]
CHINESE IN GET
[ { "date": "2011-09-29", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":3tr010l2]Richard,\n\nif you post here your changes for the Class TGet, we will check them to fix the themes issue, thanks[/quote:3tr010l2]\n\nI sent to your EMail. Please check it.", "time": "20:05", "topic": "CHINESE IN GET", "username": "richard-service" } ]
CHINESE IN GET
[ { "date": "2011-09-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nin testget.prg I need to paste\n\n[code=fw:1nx8dc30]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">RED TEA ??/?? <br /> </div>[/code:1nx8dc30]\n\nIt shows RED TEA?????\n\nBut If I paste it into Notepad, it works fine.", "time": "20:06", "topic": "CHINESE IN GET", "username": "ukservice" } ]
CHINESE IN GET
[ { "date": "2011-09-29", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"ukservice\":3utgnd5i]Antonio,\n\nin testget.prg I need to paste\n\n[code=fw:3utgnd5i]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">RED TEA ??/?? <br /> </div>[/code:3utgnd5i]\n\nIt shows RED TEA?????\n\nBut If I paste it into Notepad, it works fine.[/quote:3utgnd5i]\n\nI make sample EXE.\ntestget.exe => add themes\ntestget2.exe-> Non themes\n\nPlease input any Chinese characters and try to press right/left to move position.\ntry to press delete a Chinese character or insert or paste any Chinese characters.\n\n[url:3utgnd5i]http&#58;//www&#46;fivetech&#46;com&#46;tw/fwh/chinese-test&#46;rar[/url:3utgnd5i]", "time": "20:34", "topic": "CHINESE IN GET", "username": "richard-service" } ]
CHINESE IN GET
[ { "date": "2011-09-29", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"ukservice\":36pd2njd]Antonio,\n\nin testget.prg I need to paste\n\n[code=fw:36pd2njd]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">RED TEA ??/?? <br /> </div>[/code:36pd2njd]\n\nIt shows RED TEA?????\n\nBut If I paste it into Notepad, it works fine.[/quote:36pd2njd]\n\nVery good! I didn't thought of such an easy way to test it <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "21:28", "topic": "CHINESE IN GET", "username": "Antonio Linares" } ]
CHINESE IN GET
[ { "date": "2011-09-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello.\n\nI paste RED TEA ??/?? in both examples and I get in both RED TEA ??/?? \n\nIf I paste in notepad, i get RED TEA ??/??.", "time": "22:49", "topic": "CHINESE IN GET", "username": "ukservice" } ]
CHINESE IN GET
[ { "date": "2011-09-29", "forum": "FiveWin for Harbour/xHarbour", "text": "My first try has been to modify FWH Clipboard object to properly retrieve the unicode text, and it is working fine:\n\n[img:3b4pomvc]http&#58;//img197&#46;imageshack&#46;us/img197/2623/captureyf&#46;png[/img:3b4pomvc]\n\nBut what I have found is that if we convert the unicode text to ansi code, and then back to unicode, the unicode text does not recover its original format:\n\nMsgInfo( AnsiToWide( WideToAnsi( cUnicodeText ) ) ) <> cUnicodeText\n\nI have also tried with Harbour hb_mbtowc() and hb_wctomb() with no success.\n\nRichard, could you please test the AnsiToWide( WideToAnsi( ... ) ) test and see if you get the original unicode string ? thanks", "time": "23:55", "topic": "CHINESE IN GET", "username": "Antonio Linares" } ]
CHINESE IN GET
[ { "date": "2011-09-30", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":1u2nx3yn]My first try has been to modify FWH Clipboard object to properly retrieve the unicode text, and it is working fine:\n\n[img:1u2nx3yn]http&#58;//img197&#46;imageshack&#46;us/img197/2623/captureyf&#46;png[/img:1u2nx3yn]\n\nBut what I have found is that if we convert the unicode text to ansi code, and then back to unicode, the unicode text does not recover its original format:\n\nMsgInfo( AnsiToWide( WideToAnsi( cUnicodeText ) ) ) <> cUnicodeText\n\nI have also tried with Harbour hb_mbtowc() and hb_wctomb() with no success.\n\nRichard, could you please test the AnsiToWide( WideToAnsi( ... ) ) test and see if you get the original unicode string ? thanks[/quote:1u2nx3yn]\n[code=fw:1u2nx3yn]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">Function</span> TestUnicode<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">Local</span> cUnicodeText := <span style=\"color: #ff0000;\">\"?\"</span><br /><br /><span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> AnsiToWide<span style=\"color: #000000;\">&#40;</span> WideToAnsi<span style=\"color: #000000;\">&#40;</span> cUnicodeText <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /> </div>[/code:1u2nx3yn]\nDisplay \"?\" Work fine, but I input \"?\" appear \"?\"\nWindows 7 Ultimate 32bit Chinese", "time": "03:13", "topic": "CHINESE IN GET", "username": "richard-service" } ]
CHINESE IN GET
[ { "date": "2011-09-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Richard, John,\n\nCould you please run this test and post here what you get ? thanks\n\n[code=fw:1cwn0959]<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> TestUnicode<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> cUnicodeText := <span style=\"color: #ff0000;\">\"RED TEA ??/??\"</span><br /><br />&nbsp; &nbsp;MsgInfoU<span style=\"color: #000000;\">&#40;</span> cUnicodeText <span style=\"color: #000000;\">&#41;</span> <br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #00D7D7;\">#pragma</span> BEGINDUMP<br /><br /><span style=\"color: #00D7D7;\">#include</span> <windows.h><br /><span style=\"color: #00D7D7;\">#include</span> <hbapi.h><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> MSGINFOU <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />&nbsp; &nbsp;MessageBoxW<span style=\"color: #000000;\">&#40;</span> GetActiveWindow<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">&#40;</span> WCHAR * <span style=\"color: #000000;\">&#41;</span> hb_parc<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span>, L<span style=\"color: #ff0000;\">\"Information\"</span>, 0x40 <span style=\"color: #000000;\">&#41;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00D7D7;\">#pragma</span> ENDDUMP</div>[/code:1cwn0959]\n\nHere I get:\n[img:1cwn0959]http&#58;//img97&#46;imageshack&#46;us/img97/7318/captureaor&#46;png[/img:1cwn0959]", "time": "08:02", "topic": "CHINESE IN GET", "username": "Antonio Linares" } ]
CHINESE IN GET
[ { "date": "2011-09-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio and Richard,\n\nFirst of all, thank you for the help.\n\nAntonio, I get:\n\n[url=http&#58;//imageshack&#46;us/photo/my-images/692/onezr&#46;png/:184tbo5s][IMG=http://img692.imageshack.us/img692/1126/onezr.png][/IMG][/url:184tbo5s]\n\nUploaded with [url=http&#58;//imageshack&#46;us:184tbo5s]ImageShack.us[/url:184tbo5s]\n\n\nBut when I copy forum code to Med editor and save, I get:\n\n[url=http&#58;//imageshack&#46;us/photo/my-images/200/56816653&#46;png/:184tbo5s][IMG=http://img200.imageshack.us/img200/7961/56816653.png][/IMG][/url:184tbo5s]\n\nUploaded with [url=http&#58;//imageshack&#46;us:184tbo5s]ImageShack.us[/url:184tbo5s]", "time": "09:13", "topic": "CHINESE IN GET", "username": "ukservice" } ]
CHINESE IN GET
[ { "date": "2011-09-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nI got it below:\n[img:1vzg0pe3]http&#58;//www&#46;fivetech&#46;com&#46;tw/fwh/TestUnicode1&#46;jpg[/img:1vzg0pe3]\n\nI remember HongKong's Patrick Fan said, If use Unicode, your source code( PRG ) need to save Unicode format not ANSI format.", "time": "12:37", "topic": "CHINESE IN GET", "username": "richard-service" } ]
CHINESE IN GET
[ { "date": "2011-09-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Richard,\n\nYes, I am using UTF8 format from UEStudio but no success. We need first to know what it is missing there so we can continue,\n\nI have posted the same example in the Harbour list, lets see if we get some help\n\n[url:2levf8uo]https&#58;//groups&#46;google&#46;com/group/harbour-devel/browse_thread/thread/8b5c242824ac011c?hl=es[/url:2levf8uo]", "time": "13:21", "topic": "CHINESE IN GET", "username": "Antonio Linares" } ]
CHINESE IN GET
[ { "date": "2011-09-30", "forum": "FiveWin for Harbour/xHarbour", "text": "This example works fine using a C language to declare the string and saved the file as \"unicode ansii escaped\" from UEStudio. I wonder how to get the same result without the need for the C function:\n\n[code=fw:28vbkk89]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <br /><br />   <span style=\"color: #00C800;\">local</span> cUnicodeText := GetStr<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <br /><br />   MsgInfoU<span style=\"color: #000000;\">&#40;</span> cUnicodeText <span style=\"color: #000000;\">&#41;</span> <br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> <br /><br /><span style=\"color: #00D7D7;\">#pragma</span> BEGINDUMP <br /><br /><span style=\"color: #00D7D7;\">#include</span> <windows.h> <br /><span style=\"color: #00D7D7;\">#include</span> <hbapi.h> <br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> MSGINFOU <span style=\"color: #000000;\">&#41;</span> <br /><span style=\"color: #000000;\">&#123;</span> <br />   MessageBoxW<span style=\"color: #000000;\">&#40;</span> GetActiveWindow<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">&#40;</span> WCHAR * <span style=\"color: #000000;\">&#41;</span> hb_parc<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span>, L<span style=\"color: #ff0000;\">\"Information\"</span>, 0x40 <span style=\"color: #000000;\">&#41;</span>; <br /><span style=\"color: #000000;\">&#125;</span> <br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> GETSTR <span style=\"color: #000000;\">&#41;</span> <br /><span style=\"color: #000000;\">&#123;</span> <br />   hb_retclen<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> char * <span style=\"color: #000000;\">&#41;</span> L<span style=\"color: #ff0000;\">\"RED TEA ??/??\"</span>, <span style=\"color: #000000;\">26</span> <span style=\"color: #000000;\">&#41;</span>; <br /><span style=\"color: #000000;\">&#125;</span> <br /><br /><span style=\"color: #00D7D7;\">#pragma</span> ENDDUMP</div>[/code:28vbkk89]", "time": "19:07", "topic": "CHINESE IN GET", "username": "Antonio Linares" } ]
CHINESE IN GET
[ { "date": "2011-10-03", "forum": "FiveWin for Harbour/xHarbour", "text": "This example is working fine (got it from Harbour dev list):\n\n[code=fw:d3l1idrr]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">request HB_CODEPAGE_UTF8 <br />request HB_CODEPAGE_UTF16LE <br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> cUnicodeText := <span style=\"color: #ff0000;\">\"RED TEA ??/??\"</span> <br /><br />&nbsp; &nbsp;MsgInfoU<span style=\"color: #000000;\">&#40;</span> hb_translate<span style=\"color: #000000;\">&#40;</span> cUnicodeText, <span style=\"color: #ff0000;\">'UTF8'</span>, <span style=\"color: #ff0000;\">'UTF16LE'</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00D7D7;\">#pragma</span> BEGINDUMP<br /><br /><span style=\"color: #00D7D7;\">#include</span> <windows.h><br /><span style=\"color: #00D7D7;\">#include</span> <hbapi.h><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> MSGINFOU <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />&nbsp; &nbsp;MessageBoxW<span style=\"color: #000000;\">&#40;</span> GetActiveWindow<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">&#40;</span> WCHAR * <span style=\"color: #000000;\">&#41;</span> hb_parc<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span>, L<span style=\"color: #ff0000;\">\"Information\"</span>, 0x40 <span style=\"color: #000000;\">&#41;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00D7D7;\">#pragma</span> ENDDUMP &nbsp;</div>[/code:d3l1idrr]", "time": "07:31", "topic": "CHINESE IN GET", "username": "Antonio Linares" } ]
CHINESE IN GET
[ { "date": "2011-10-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nYes, two samples work fine. \nSo you have any idea for Unicode and Themes within Chinese character??", "time": "08:09", "topic": "CHINESE IN GET", "username": "richard-service" } ]
CHINESE IN GET
[ { "date": "2011-10-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Richard,\n\nWe are working on it. We already implemented support for unicode in the clipboard <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "08:44", "topic": "CHINESE IN GET", "username": "Antonio Linares" } ]
CHINESE IN GET
[ { "date": "2011-10-03", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":39964ec1]Richard,\n\nWe are working on it. We already implemented support for unicode in the clipboard <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->[/quote:39964ec1]\nSounds great.", "time": "08:52", "topic": "CHINESE IN GET", "username": "richard-service" } ]
CHINESE IN GET
[ { "date": "2011-10-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nAny update?.\n\nThank you.,", "time": "03:11", "topic": "CHINESE IN GET", "username": "ukservice" } ]
CHINESE IN GET
[ { "date": "2011-10-21", "forum": "FiveWin for Harbour/xHarbour", "text": "John,\n\nWe are working on it, not ready yet", "time": "07:06", "topic": "CHINESE IN GET", "username": "Antonio Linares" } ]
CHINESE IN GET
[ { "date": "2011-10-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\nTry to set Non Chinese OS that run Chinese App(FWH). You will be know our problem.\n[quote:4tc0ydu0]\nOther version XP to install Chinese word module\n\nby ShumingWang » Thu Oct 20, 2011 11:04 am \n\nIf your operating system is XP, you first need to install the following way 'East Asian language support package'.\n\n1, go to Control Panel - Date, Time, Language and Regional Options - Regional and Language Options - Languages ??tab, check the Install files for East Asian Languages ??- Advanced tab, select the first drop-down box Chinese (PRC), and then check the following list of items related to all Chinese - OK. Will be asked to insert the Windows XP installation CD to install East Asian language pack. Then, to make the program the system to display Chinese or Chinese website, should also be in the IE browser's top menu on the Tools - Internet Options - General tab, click Add in the bottom of Languages ??and select Chinese [zh] - OK.\n\n2, the installation is complete, call the Chinese input method: Please go to Control Panel - Date, Time, Language and Regional Options - Regional and Language Options - Languages ??tab - Details - Settings tab - Add - In the Input Language drop-down box select Chinese (PRC) - in the Keyboard layout / IME drop-down box to select the input method to use - OK - but also again in the lower part of the key Settings window to set shortcut keys to facilitate the rapid call for future input method - OK.\n\n3, If the above list is not on your favorite input method, such as five-stroke input method, etc., please download the plug-in software from other websites or IME built-in input, external input directly from the Start - All Programs called, built-in IME press into the 2-point method to add IME list is selected.\n[/quote:4tc0ydu0]", "time": "09:32", "topic": "CHINESE IN GET", "username": "richard-service" } ]
CHINESE IN GET
[ { "date": "2011-12-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nIs there any update?.\n\nThanks.", "time": "22:07", "topic": "CHINESE IN GET", "username": "ukservice" } ]
CHINESE IN GET
[ { "date": "2011-12-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\n[quote=\"ukservice\":1z9s1gup]\nIs there any update?.\n[/quote:1z9s1gup]\n\nWe also need this feature urgent and would be very happy if it will be available soon. Many thanks.", "time": "22:14", "topic": "CHINESE IN GET", "username": "IBTC" } ]
CHINESE IN GET
[ { "date": "2011-12-16", "forum": "FiveWin for Harbour/xHarbour", "text": "up.", "time": "13:08", "topic": "CHINESE IN GET", "username": "ukservice" } ]
CHINESE IN GET
[ { "date": "2012-01-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nAny update?\n\nThanks.", "time": "00:12", "topic": "CHINESE IN GET", "username": "ukservice" } ]
CHINESE IN GET
[ { "date": "2012-01-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello again,\n\nAny update?. I have a customer interested in our software but he needs to use chinese in get.\n\nThank you.", "time": "14:04", "topic": "CHINESE IN GET", "username": "ukservice" } ]
CHINESE IN GET
[ { "date": "2012-01-18", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"ukservice\":16ofrlqz]Hello again,\n\nAny update?. I have a customer interested in our software but he needs to use chinese in get.\n\nThank you.[/quote:16ofrlqz]\nNow, my solution only support TGet for Chinese input. If your customer no need or later Unicode, we have modify TGet code.", "time": "04:21", "topic": "CHINESE IN GET", "username": "richard-service" } ]
CHINESE IN GET
[ { "date": "2012-01-18", "forum": "FiveWin for Harbour/xHarbour", "text": "John,\n\nActually the only solution is to use FWH Class TEdit instead of Class TGet", "time": "12:17", "topic": "CHINESE IN GET", "username": "Antonio Linares" } ]
CHINESE IN GET
[ { "date": "2012-01-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nThere is not info at Manual or Wiki about class TEdit().\n\nAlso, why don´t you replace TGET by standard Windows TEdit?.\n\nAnyway, It does not work.\n\nSee sample:\n\n[code=fw:q2qiqfaj]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">// Testing two characters support GETs (China, etc.)</span><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oDlg, oEdit, cGet := <span style=\"color: #ff0000;\">\"a normal GET &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span><br /><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Testing two characters support for GETs\"</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">COLOR</span> <span style=\"color: #000000;\">0</span>, GetSysColor<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">15</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">600</span>,<span style=\"color: #000000;\">600</span><br /><br /><br />&nbsp; &nbsp;oEdit = TEdit<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">3</span>,, oDlg, <span style=\"color: #000000;\">200</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">// METHOD New( nRow, nCol, bSetGet, oWnd, nWidth, nHeight ) CLASS TEdit</span><br /><br />&nbsp; &nbsp;oEdit:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Hello\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">5</span>,<span style=\"color: #000000;\">3</span> <span style=\"color: #0000ff;\">GET</span> cGet <span style=\"color: #0000ff;\">OF</span> oDlg<br /><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">6</span>, <span style=\"color: #000000;\">4</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Class\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> oEdit:<span style=\"color: #000000;\">GetText</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #ff0000;\">\"Get Text\"</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">23</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:q2qiqfaj]\n\n\n[url=http&#58;//imageshack&#46;us/photo/my-images/141/errortget&#46;png/:q2qiqfaj][IMG=http://img141.imageshack.us/img141/6915/errortget.png][/IMG][/url:q2qiqfaj]\n\nUploaded with [url=http&#58;//imageshack&#46;us:q2qiqfaj]ImageShack.us[/url:q2qiqfaj]", "time": "12:36", "topic": "CHINESE IN GET", "username": "ukservice" } ]
CHINESE IN GET
[ { "date": "2012-01-18", "forum": "FiveWin for Harbour/xHarbour", "text": "John,\n\n1. No, it is not documented yet, anyhow is a simple wrapper for a standard Windows Edit control.\n\n2. If we do that we will break lots of FWH users applications. No way.\n\n3. The written text is unicode and you can use non-unicode functions to display it. In example: Instead of using Windows API MessageBoxA(), MessageBoxW() has to be used. Also, instead of using GetWindowTextA(), GetWindowTextW() has to be used. Windows translates many of its functions to <name>A or <name>W depending if unicode is used or not.", "time": "14:03", "topic": "CHINESE IN GET", "username": "Antonio Linares" } ]
CHINESE IN GET
[ { "date": "2012-01-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nThanks for reply.\n\nAnyway, I need to use GET as the user should use chinese chars in every get.\n\nMaybe Richard could help you to modify TGET class for all the comunity.\n\nThanks.", "time": "14:27", "topic": "CHINESE IN GET", "username": "ukservice" } ]
CHINESE IN GET
[ { "date": "2012-01-18", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":35xdldkb]\n2. If we do that we will break lots of FWH users applications. No way.\n[/quote:35xdldkb]\n\nBut maybe it would be possible making the necessary changes optional? If somebody wants to use Unicode in there applications, they can call e.g. the FWH function SetUnicode(.T.). So nothing will break in other FWH users applications. IMO in future more and more FWH users needs Unicode support.\n\nOr maybe this will be a solution: Making the dialog with the GETs with Harbour QT as an Windows DLL file and call this DLL out of the existing FWH application.", "time": "15:12", "topic": "CHINESE IN GET", "username": "IBTC" } ]
CHINESE IN GET
[ { "date": "2012-01-18", "forum": "FiveWin for Harbour/xHarbour", "text": "I don't know what may have changed in our computers but now copying and pasting the \"RED TEA...\" that we had with unicode in this thread, now it is not longer properly pasted in notepad, neither resources editor, etc\n\nPlease try this change, those that can properly copy and paste:\n\n[code=fw:1lhwe7a2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />   @ <span style=\"color: #000000;\">6</span>, <span style=\"color: #000000;\">4</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Class\"</span> <span style=\"color: #0000ff;\">ACTION</span> ShowText<span style=\"color: #000000;\">&#40;</span> oEdit:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span> ;<br />      <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">23</span><br /><br />...<br /><br /><span style=\"color: #00D7D7;\">#pragma</span> BEGINDUMP<br /><br /><span style=\"color: #00D7D7;\">#include</span> <windows.h><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> SHOWTEXT <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />   LPWSTR pText<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">200</span> <span style=\"color: #000000;\">&#93;</span>;<br />   <br />   GetWindowTextW<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> HWND <span style=\"color: #000000;\">&#41;</span> hb_parnl<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span>, pText, <span style=\"color: #000000;\">200</span> <span style=\"color: #000000;\">&#41;</span>;<br />   MessageBoxW<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, pText, L<span style=\"color: #ff0000;\">\"Info\"</span>, MB_ICONINFORMATION <span style=\"color: #000000;\">&#41;</span>;<br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00D7D7;\">#pragma</span> ENDDUMP   <br /> </div>[/code:1lhwe7a2]", "time": "15:30", "topic": "CHINESE IN GET", "username": "Antonio Linares" } ]
CHINESE IN GET
[ { "date": "2007-01-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr. Enrico \n\nWhat's application for create CHM file ?\nand How to use with FWH ?\n\nRegards\nAreang", "time": "03:44", "topic": "CHM help file to use with FWH", "username": "areang" } ]
CHM help file to use with FWH
[ { "date": "2007-01-04", "forum": "FiveWin for Harbour/xHarbour", "text": "You have to use an authoring software like Help & Manual:\n\n[url:4k370edp]http&#58;//www&#46;ec-software&#46;com[/url:4k370edp]\n\nAnd then use HtmlHelp(), HTMLHelpCtx() and HTMLHelpPopup() to show the CHM from FWH.\n\nEMG", "time": "11:52", "topic": "CHM help file to use with FWH", "username": "Enrico Maria Giordano" } ]
CHM help file to use with FWH
[ { "date": "2016-08-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Eso\n\nNecesito saber como agregar a una linea de texto un TAB\n\ngracias.", "time": "15:17", "topic": "CHR(13) es para el enter... y para el TAB?", "username": "goosfancito" } ]
CHR(13) es para el enter... y para el TAB?
[ { "date": "2016-08-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Chr( 9 )", "time": "15:20", "topic": "CHR(13) es para el enter... y para el TAB?", "username": "cnavarro" } ]
CHR(13) es para el enter... y para el TAB?
[ { "date": "2016-08-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Completo:\n\n[url:36xo9y2g]http&#58;//www&#46;theasciicode&#46;com&#46;ar/extended-ascii-code/graphic-character-low-density-dotted-ascii-code-176&#46;html[/url:36xo9y2g]\n\nSaludos.", "time": "15:37", "topic": "CHR(13) es para el enter... y para el TAB?", "username": "karinha" } ]
CHR(13) es para el enter... y para el TAB?
[ { "date": "2016-08-23", "forum": "FiveWin para Harbour/xHarbour", "text": "gracias", "time": "16:10", "topic": "CHR(13) es para el enter... y para el TAB?", "username": "goosfancito" } ]
CHR(13) es para el enter... y para el TAB?
[ { "date": "2017-11-13", "forum": "FiveWin for Harbour/xHarbour", "text": "HI All,\n\nI try CHRGRP CHR_WIDE but got an error, can someone please show an example for the usage of\nthe Redefine GET ....... CHRGRP CHR_WIDE\n\nThanks and regards", "time": "11:01", "topic": "CHRGRP CHR_WIDE", "username": "alfredlam" } ]
CHRGRP CHR_WIDE
[ { "date": "2017-11-13", "forum": "FiveWin for Harbour/xHarbour", "text": "[url:13w80082]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=3&t=33932&p=201009&hilit=CHRGRP#p201009[/url:13w80082]", "time": "12:47", "topic": "CHRGRP CHR_WIDE", "username": "karinha" } ]
CHRGRP CHR_WIDE
[ { "date": "2017-11-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks Karinha, i found the CHRGRP should be CHRGROUP .", "time": "02:17", "topic": "CHRGRP CHR_WIDE", "username": "alfredlam" } ]
CHRGRP CHR_WIDE
[ { "date": "2006-02-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Apreciados usuarios:\nMediante una funcion de mantenimiento me permito abrir hasta tres cajas de dialogo (con distinto nombre) y al ir cerrando una a una, me sucede que en ocasiones se me cierra otra ventana sobre la que no he pulsado su boton de cierre. Como si una ventana me controlara el cierre de otras.\nA alguien le ha pasado algo parecido ?. Pido su ayuda compañeros !!", "time": "20:01", "topic": "CIERRE INCOMPRENSIBLE DE CAJAS DE DIALOGO", "username": "armandini" } ]
CIERRE INCOMPRENSIBLE DE CAJAS DE DIALOGO
[ { "date": "2006-02-22", "forum": "FiveWin para Harbour/xHarbour", "text": "Cuando creas las cajas de diálogo les pones la claúsula OF oDlg ?\n\nDEFINE DIALOG oDlg ... OF oDlgAnterior ?\n\nEn caso de que lo hagas así, prueba a quitarles esa claúsula:\n\nDEFINE DIALOG oDlg ...", "time": "10:23", "topic": "CIERRE INCOMPRENSIBLE DE CAJAS DE DIALOGO", "username": "Antonio Linares" } ]
CIERRE INCOMPRENSIBLE DE CAJAS DE DIALOGO
[ { "date": "2006-02-22", "forum": "FiveWin para Harbour/xHarbour", "text": "Señor Linares:\nRecorte la cláusula, incluso mediante un parámetro que recibo y una estructura condicional creo una caja distinta en cada caso. Sin embargo el comportamiento persiste. Continuaré probando y si encuentro la solución se la comunicaré.", "time": "22:10", "topic": "CIERRE INCOMPRENSIBLE DE CAJAS DE DIALOGO", "username": "armandini" } ]
CIERRE INCOMPRENSIBLE DE CAJAS DE DIALOGO
[ { "date": "2006-07-13", "forum": "FiveWin para Harbour/xHarbour", "text": "SALUDOS POR FAVOR SI ALGUIEN TIENE LA CLASE OLE, TOLEAUTO ACTUALIZADA Y ME LA PODRIA MANDAR SE LO AGRADECERIA MUCHO, GRACIAS, TENGO ES UNA VERSION DEL 2001 QUE ME DA ERROR AL TRATAR DE PASAR DE EXCEL A DBF\n\nGRACIAS COMPAÑEROS", "time": "16:07", "topic": "CLASE OLE PARA 16 Y 32 BITS", "username": "QAZWSX2K" } ]
CLASE OLE PARA 16 Y 32 BITS
[ { "date": "2006-07-13", "forum": "FiveWin para Harbour/xHarbour", "text": "One question / una cuestión: \n\n¿ Clipper / Habour .or. xHarbour ?", "time": "16:18", "topic": "CLASE OLE PARA 16 Y 32 BITS", "username": "Manuel Valdenebro" } ]
CLASE OLE PARA 16 Y 32 BITS
[ { "date": "2006-07-13", "forum": "FiveWin para Harbour/xHarbour", "text": "saludos preferiblemente de harbour pero me conformo con alguna que sirva ya que no leen desde excel, da error de property no se que cosa en GETproperty workbooks o algo asi, me tiene verde, tengo mas de 2 meses en este detalle, gracias", "time": "18:30", "topic": "CLASE OLE PARA 16 Y 32 BITS", "username": "QAZWSX2K" } ]
CLASE OLE PARA 16 Y 32 BITS
[ { "date": "2006-07-14", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"QAZWSX2K\":2mho67qy]saludos preferiblemente de harbour pero me conformo con alguna que sirva ya que no leen desde excel, da error de property no se que cosa en GETproperty workbooks o algo asi, me tiene verde, tengo mas de 2 meses en este detalle, gracias[/quote:2mho67qy]\n\nEn Harbour y sin librerías adicionales, yo lo hago así (ahora me doy cuenta de que no estoy eliminando al final oExcel ni oHoja):\n\n==========================\noExcel := CreateOLEObject(\"Excel.Application\")\nOLESetProperty(oExcel,\"Visible\", .T.)\nOLEInvoke( OLEGetProperty(oExcel,\"Workbooks\"), \"Open\", cPathxls )\noHoja := OLEGetProperty(oExcel,\"ActiveSheet\")\n\nccognoms := \"zzz\"\nnRow := 1\n\nWhile AllTrim( ccognoms ) <> \"\"\n\n nRow ++\n\n Msgnowait( AMPAarra, \"Atención!\" , \"Leyendo e importando datos.\" + ;\n \" Espere unos momentos por favor....\" )\n\n cCCC := OleGetProperty( OleGetProperty( oHoja, \"Cells\", nRow, 2 ), \"Value\" )\n If Valtype( cCCC) = \"U\"\n cCCC := \"00000000000000000000\"\n EndIf\n cccc := Upper( cccc )\n Traza(1, \"cccc=\", cccc )\n\n cmail := OleGetProperty( OleGetProperty( oHoja, \"Cells\", nRow, 3 ), \"Value\" )\n If Valtype( cmail) = \"U\"\n cmail := Space(1)\n EndIf\n cmail := Upper( cmail )\n Traza(1, \"cmail=\", cmail )\n\n cdatanaix := OleGetProperty( OleGetProperty( oHoja, \"Cells\", nRow, 4 ), \"Value\" )\n If Valtype( cdatanaix) = \"U\"\n cdatanaix := CToD(\"01/01/1900\")\n elseIf Valtype( cdatanaix) = \"C\"\n cdatanaix := CToD(cdatanaix)\n EndIf\n Traza(1, \"cdatanaix=\", cdatanaix)\n\n cCognoms := OleGetProperty( OleGetProperty( oHoja, \"Cells\", nRow, 7 ), \"Value\" )\n If Valtype( ccognoms) = \"U\"\n ccognoms := space(1)\n EndIf\n cCognoms := Upper( ccognoms )\n Traza(1, \"ccognoms=\", ccognoms )\n\n cNom := OleGetProperty( OleGetProperty( oHoja, \"Cells\", nRow, 8 ), \"Value\" )\n If Valtype( cnom) = \"U\"\n cnom := space(1)\n EndIf\n cNOM := Upper( cNOM )\n Traza(1, \"cnom=\", cNOM )\n\n cLOPD := OleGetProperty( OleGetProperty( oHoja, \"Cells\", nRow, 10 ), \"Value\" )\n If Valtype( clopd) = \"U\"\n clopd := .F.\n Else\n clopd := .T.\n EndIf\n Traza(1, \"clopd=\", cLOPD )\n\nOLEInvoke( oExcel, \"Quit\" )\n==========================\n\nEs lento pero funciona.\n\nSaludos\nCarlos G.", "time": "11:52", "topic": "CLASE OLE PARA 16 Y 32 BITS", "username": "FiveWiDi" } ]
CLASE OLE PARA 16 Y 32 BITS
[ { "date": "2006-07-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Les recomiendo que se den una vuelta por :\n\n<!-- m --><a class=\"postlink\" href=\"http://vikthor.com.mx/fivewin\">http://vikthor.com.mx/fivewin</a><!-- m -->\n\nen la seccion enlaces y busquen la liga a la página de José Giménez", "time": "02:44", "topic": "CLASE OLE PARA 16 Y 32 BITS", "username": "Vikthor" } ]
CLASE OLE PARA 16 Y 32 BITS
[ { "date": "2006-07-17", "forum": "FiveWin para Harbour/xHarbour", "text": "gracias aunque interesante si me dijeras que hace la funcion traza()\n\n\n[quote=\"FiveWiDi\":3mw1f8i3][quote=\"QAZWSX2K\":3mw1f8i3]saludos preferiblemente de harbour pero me conformo con alguna que sirva ya que no leen desde excel, da error de property no se que cosa en GETproperty workbooks o algo asi, me tiene verde, tengo mas de 2 meses en este detalle, gracias[/quote:3mw1f8i3]\n\nEn Harbour y sin librerías adicionales, yo lo hago así (ahora me doy cuenta de que no estoy eliminando al final oExcel ni oHoja):\n\n==========================\noExcel := CreateOLEObject(\"Excel.Application\")\nOLESetProperty(oExcel,\"Visible\", .T.)\nOLEInvoke( OLEGetProperty(oExcel,\"Workbooks\"), \"Open\", cPathxls )\noHoja := OLEGetProperty(oExcel,\"ActiveSheet\")\n\nccognoms := \"zzz\"\nnRow := 1\n\nWhile AllTrim( ccognoms ) <> \"\"\n\n nRow ++\n\n Msgnowait( AMPAarra, \"Atención!\" , \"Leyendo e importando datos.\" + ;\n \" Espere unos momentos por favor....\" )\n\n cCCC := OleGetProperty( OleGetProperty( oHoja, \"Cells\", nRow, 2 ), \"Value\" )\n If Valtype( cCCC) = \"U\"\n cCCC := \"00000000000000000000\"\n EndIf\n cccc := Upper( cccc )\n Traza(1, \"cccc=\", cccc )\n\n cmail := OleGetProperty( OleGetProperty( oHoja, \"Cells\", nRow, 3 ), \"Value\" )\n If Valtype( cmail) = \"U\"\n cmail := Space(1)\n EndIf\n cmail := Upper( cmail )\n Traza(1, \"cmail=\", cmail )\n\n cdatanaix := OleGetProperty( OleGetProperty( oHoja, \"Cells\", nRow, 4 ), \"Value\" )\n If Valtype( cdatanaix) = \"U\"\n cdatanaix := CToD(\"01/01/1900\")\n elseIf Valtype( cdatanaix) = \"C\"\n cdatanaix := CToD(cdatanaix)\n EndIf\n Traza(1, \"cdatanaix=\", cdatanaix)\n\n cCognoms := OleGetProperty( OleGetProperty( oHoja, \"Cells\", nRow, 7 ), \"Value\" )\n If Valtype( ccognoms) = \"U\"\n ccognoms := space(1)\n EndIf\n cCognoms := Upper( ccognoms )\n Traza(1, \"ccognoms=\", ccognoms )\n\n cNom := OleGetProperty( OleGetProperty( oHoja, \"Cells\", nRow, 8 ), \"Value\" )\n If Valtype( cnom) = \"U\"\n cnom := space(1)\n EndIf\n cNOM := Upper( cNOM )\n Traza(1, \"cnom=\", cNOM )\n\n cLOPD := OleGetProperty( OleGetProperty( oHoja, \"Cells\", nRow, 10 ), \"Value\" )\n If Valtype( clopd) = \"U\"\n clopd := .F.\n Else\n clopd := .T.\n EndIf\n Traza(1, \"clopd=\", cLOPD )\n\nOLEInvoke( oExcel, \"Quit\" )\n==========================\n\nEs lento pero funciona.\n\nSaludos\nCarlos G.[/quote:3mw1f8i3]", "time": "14:17", "topic": "CLASE OLE PARA 16 Y 32 BITS", "username": "QAZWSX2K" } ]
CLASE OLE PARA 16 Y 32 BITS
[ { "date": "2016-11-08", "forum": "FiveWin para Harbour/xHarbour", "text": "La idea es poner un pdf que es un diseño en una parte pequeña de la hoja para que se vea como hay que montar ese producto.\n\nCon la clase Printer, existe alguna manera de imprmir un pdf como si fuera un bmp :\n\n[code=fw:ka6qc288]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">  aCoordss:= oPrn:<span style=\"color: #000000;\">Cmtr2Pix</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span><br />          aCoords := oPrn:<span style=\"color: #000000;\">Cmtr2Pix</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">5</span>,<span style=\"color: #000000;\">2.7</span><span style=\"color: #000000;\">&#41;</span><br />          OPRN:<span style=\"color: #000000;\">SAYBITMAP</span><span style=\"color: #000000;\">&#40;</span>aCoordss<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>,aCoordss<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>,<span style=\"color: #ff0000;\">\"fichero.BMP\"</span>,aCoords<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>,aCoords<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span></div>[/code:ka6qc288]\n\n\n\nGracias por vuestra ayuda.", "time": "12:08", "topic": "CLASE PRINTER Y PDF.", "username": "Garbi" } ]
CLASE PRINTER Y PDF.
[ { "date": "2016-11-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola, para el que pueda interesarle la solución que hemos tomado es : Convertir el pfd a BMP mediante linea de comandos para poder trabajarlo despues.\nOs dejo la utilidad que hemos utilizado.\n\nSaludos a Todos.\n\n<!-- m --><a class=\"postlink\" href=\"http://www.softinterface.com/Convert-PDF-To-Image/Foreign/Spanish/Convertir-PDF-a-TIFF.HTM\">http://www.softinterface.com/Convert-PD ... a-TIFF.HTM</a><!-- m -->", "time": "12:41", "topic": "CLASE PRINTER Y PDF.", "username": "Garbi" } ]
CLASE PRINTER Y PDF.
[ { "date": "2011-04-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola, utilizo la clase repexcel para poder exportar desde treport a planillas excel.\nFunciona perfecto simpre que los listados sean desde un archivo, si está basado en un array me genera el listado pero sin los registros (o sea el excel sólo tiene la cabecera del reporte y los títulos de las columnas)\nOtro problema que detecté es que si defino un PICTURE en el reporte me tira error acceso al array en la línea TSALXLS:NEW(99). De todos modos este error esta también en el listado basado en arrays por lo que no se si su origen es por este motivo o siempre que utilizo PICTURES.\n\nSaludos\nIván", "time": "15:28", "topic": "CLASE REPEXCEL", "username": "IVAN TRACHTA" } ]
CLASE REPEXCEL
[ { "date": "2011-05-05", "forum": "FiveWin para Harbour/xHarbour", "text": "A nadie le ha ocurrido este problema?\nHay alguna otra clase para exportar a Excell desde el Preview?\nSerá que habrá que pasar el array a un archivo temporal y desde allí armar el listado?\nGracias y saludos\nIván", "time": "14:32", "topic": "CLASE REPEXCEL", "username": "IVAN TRACHTA" } ]
CLASE REPEXCEL
[ { "date": "2011-05-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Tienes que utilizar este bloque de codigo, antes del Activate del report.\n[code=fw:2yoiqcvh]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oRep:<span style=\"color: #000000;\">bPreInit</span> := <span style=\"color: #000000;\">&#123;</span> || n:= <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#125;</span> <br /><span style=\"color: #B900B9;\">//donde n es tu contador que recorre la matriz/array.</span></div>[/code:2yoiqcvh]", "time": "16:06", "topic": "CLASE REPEXCEL", "username": "RenOmaS" } ]
CLASE REPEXCEL
[ { "date": "2011-05-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Renomas.\n¿Podrías indicarme cómo activar correctamente el oReport:CellView() en Repexcel?\nSiempre he utilizado sin problemas tu librería REPEXCEL. Es excelente. Hasta hoy no había utilizado oReport:Cellview() en mis sistemas, pero un cliente me lo ha solicitado y no obedece. He revisado los prgs de la librería, pero francamente no encuentro donde meterle mano. ¿Hay alguien que lo haya hecho y pueda suministrarme un ejemplo?\n\nHe logrado que funcione parcialmente así:\n IF oReport:lCreated\n // oReport:lSeparator := .t. \n //oReport:CellView()\n oReport:lBoxOnTotal:=.t.\n ENDIF\n\n ACTIVATE REPORT oReport ;\n ON CHANGE oReport:Separator()\n\nPero... me agrega una linea más, antes de cada total de Grupo, y es totalmente anti-estético.\nMucho agradeceré sus orientaciones.\n\nSaludos.", "time": "17:55", "topic": "CLASE REPEXCEL", "username": "FranciscoA" } ]
CLASE REPEXCEL
[ { "date": "2011-05-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Experimenta modificar el method saydata de tsalxls\n[code=fw:2ctjj93d]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">METHOD</span> SayData<span style=\"color: #000000;\">&#40;</span> nCol, nLine <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> TSalXLS<br /><br />     <span style=\"color: #00C800;\">LOCAL</span> nFont, ;<br />           nFor, ;<br />           oCol := ::<span style=\"color: #000000;\">oRpt</span>:<span style=\"color: #000000;\">aColumns</span><span style=\"color: #000000;\">&#91;</span> nCol <span style=\"color: #000000;\">&#93;</span>, ;<br />           nAlignament:= ALING_NULL, ;<br />           uVal, ;<br />           nFormat := <span style=\"color: #000000;\">0</span>, ;<br />           nBorder := BORDER_NONE  <span style=\"color: #B900B9;\">//ADICIONADO !!</span><br /><br /><br />     <span style=\"color: #00C800;\">IF</span> nLine > len<span style=\"color: #000000;\">&#40;</span> oCol:<span style=\"color: #000000;\">aData</span><span style=\"color: #000000;\">&#41;</span><br />        <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br />     <span style=\"color: #00C800;\">ENDIF</span><br /><br />     nFont := ::<span style=\"color: #000000;\">cFont</span><span style=\"color: #000000;\">&#40;</span> eval<span style=\"color: #000000;\">&#40;</span> oCol:<span style=\"color: #000000;\">bDataFont</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />     <span style=\"color: #00C800;\">If</span> oCol:<span style=\"color: #000000;\">lGrid</span>                      <span style=\"color: #B900B9;\">//ADICIONADO !!</span><br />         nBorder := BORDER_ALL <span style=\"color: #B900B9;\">//ADICIONADO !!</span><br />     <span style=\"color: #00C800;\">EndIf</span>                                 <span style=\"color: #B900B9;\">//ADICIONADO !!</span><br /><br />     <span style=\"color: #00C800;\">DO</span> <span style=\"color: #00C800;\">CASE</span><br />        <span style=\"color: #00C800;\">CASE</span> oCol:<span style=\"color: #000000;\">aPad</span><span style=\"color: #000000;\">&#91;</span> nLine <span style=\"color: #000000;\">&#93;</span> == RPT_LEFT<br />             nAlignament := ALING_LEFT<br /><br />        <span style=\"color: #00C800;\">CASE</span> oCol:<span style=\"color: #000000;\">aPad</span><span style=\"color: #000000;\">&#91;</span> nLine <span style=\"color: #000000;\">&#93;</span> == RPT_RIGHT<br />             nAlignament := ALING_RIGHT<br /><br />        <span style=\"color: #00C800;\">CASE</span> oCol:<span style=\"color: #000000;\">aPad</span><span style=\"color: #000000;\">&#91;</span> nLine <span style=\"color: #000000;\">&#93;</span> == RPT_CENTER<br />             nAlignament := ALING_CENTER<br />     <span style=\"color: #00C800;\">ENDCASE</span><br /><br />     uVal := Eval<span style=\"color: #000000;\">&#40;</span> oCol:<span style=\"color: #000000;\">aData</span><span style=\"color: #000000;\">&#91;</span> nLine <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> <br /><br />     <span style=\"color: #00C800;\">IF</span> !empty<span style=\"color: #000000;\">&#40;</span> oCol:<span style=\"color: #000000;\">aPicture</span><span style=\"color: #000000;\">&#91;</span> nLine <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> .or. valtype<span style=\"color: #000000;\">&#40;</span> uVal <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">'D'</span>  <span style=\"color: #B900B9;\">//Cuando es Fecha tambien env.</span><br />        nFormat := ::<span style=\"color: #000000;\">cFormat</span><span style=\"color: #000000;\">&#40;</span> oCol:<span style=\"color: #000000;\">aPicture</span><span style=\"color: #000000;\">&#91;</span> nLine <span style=\"color: #000000;\">&#93;</span>, valtype<span style=\"color: #000000;\">&#40;</span> uVal <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />     <span style=\"color: #00C800;\">ENDIF</span><br /><br />     @ ::<span style=\"color: #000000;\">nRow</span>, nCol XLS <span style=\"color: #0000ff;\">SAY</span> uVal <span style=\"color: #0000ff;\">OF</span> ::<span style=\"color: #000000;\">oXLS</span> ;<br />                              FORMAT nFormat ;<br />                              <span style=\"color: #0000ff;\">FONT</span> nFont     ;<br />                              ALIGNAMENT nAlignament ;<br />                              BORDER nBorder   <span style=\"color: #B900B9;\">//ADICIONADO !!</span><br />     <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /> </div>[/code:2ctjj93d]", "time": "18:59", "topic": "CLASE REPEXCEL", "username": "RenOmaS" } ]
CLASE REPEXCEL
[ { "date": "2011-05-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias por contestar, Renomas. Intentaré modificar el method que indicas, y te aviso.\nSaludos.", "time": "19:39", "topic": "CLASE REPEXCEL", "username": "FranciscoA" } ]
CLASE REPEXCEL
[ { "date": "2011-05-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Renomas:\nLo he hecho así (no he logrado encontrar la solución modificando TSalxls):\n\n\n IF oReport:lCreated\n // oReport:lSeparator := .t.\n //oReport:CellView()\n // oReport:lBoxOnTotal:=.t.\n ENDIF\n\n ACTIVATE REPORT oReport ;\n ON STARTGROUP ( oReport:NewLine(), EVAL(bSECCION) ) ; // ;\n ON CHANGE oReport:Separator() ; //necesario cuando se usa RepExcel, para CellView\n ON ENDGROUP oReport:BackLine(1) //necesario cuando se usa RepExcel, para CellView\n\nNo es lo mejor, pero se asemeja un poco más al Method CellView, cuando no se utiliza Repexcel.\nSaludos.", "time": "21:48", "topic": "CLASE REPEXCEL", "username": "FranciscoA" } ]
CLASE REPEXCEL
[ { "date": "2011-05-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Lo he mejorado así:\n ACTIVATE REPORT oReport ;\n ON STARTGROUP ( oReport:NewLine(),;\n oReport:NewLine(),; //Por repexcel\n EVAL(bSECCION),;\n if(!oReport:lFirstRow,oReport:Separator,) ) ; //por repexcel\n ON CHANGE oReport:Separator() ; //necesario cuando se usa RepExcel, para CellView\n ON ENDGROUP oReport:BackLine(1) //necesario cuando se usa RepExcel, para CellView\n\nSaludos.", "time": "18:03", "topic": "CLASE REPEXCEL", "username": "FranciscoA" } ]
CLASE REPEXCEL
[ { "date": "2011-05-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Podes enviarme un ejemplo de como lo haces... e que version de fw utilizas?", "time": "16:44", "topic": "CLASE REPEXCEL", "username": "RenOmaS" } ]
CLASE REPEXCEL
[ { "date": "2011-05-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Renomas, te he enviado el ejemplo solicitado a: <!-- e --><a href=\"mailto:ducanlive@hotmail.com\">ducanlive@hotmail.com</a><!-- e -->\nUtilice la version 712.\n\nSaludos", "time": "22:10", "topic": "CLASE REPEXCEL", "username": "FranciscoA" } ]
CLASE REPEXCEL
[ { "date": "2015-02-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Nuevamente hola a todos:\n\nSu ayuda por favor utilizo la clase Tdosprn de fwh 14.12 con Harbour 3.2, pero no me manda la impresión. Que podría ser?\n\n\nLOCAL oPrn\nIF !IsPrint(\"LPT1:\")\n RETURN nil\nENDIF\noPrn := TDosPrn():New(\"LPT1\")\noPrn:StartPage()\noPrn:say(10,10,\"Prueba de Impresión\")\noPrn:EndPage()\n\nAsi es como lo uso pero no manda nada hacia la impresora nada.", "time": "19:19", "topic": "CLASE TDOSPRN NO IMPRIME EN LPT1", "username": "Yessica" } ]
CLASE TDOSPRN NO IMPRIME EN LPT1
[ { "date": "2015-02-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Toma en cuanta con que Windows de 32 bits, no controla al LPTx,\nPrueba asi:\n[code=fw:12brxsx0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">LOCAL</span> oPrn<br /><span style=\"color: #00C800;\">IF</span> !IsPrint<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"LPT1\"</span><span style=\"color: #000000;\">&#41;</span>        <span style=\"color: #B900B9;\">// sin los dos puntos</span><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">nil</span><br /><span style=\"color: #00C800;\">ENDIF</span><br />oPrn := TDosPrn<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"LPT1\"</span><span style=\"color: #000000;\">&#41;</span><br />oPrn:<span style=\"color: #000000;\">StartPage</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />oPrn:<span style=\"color: #0000ff;\">say</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">10</span>,<span style=\"color: #ff0000;\">\"Prueba de Impresión\"</span><span style=\"color: #000000;\">&#41;</span><br />oPrn:<span style=\"color: #0000ff;\">EndPage</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /> </div>[/code:12brxsx0]", "time": "23:58", "topic": "CLASE TDOSPRN NO IMPRIME EN LPT1", "username": "Willi Quintana" } ]
CLASE TDOSPRN NO IMPRIME EN LPT1
[ { "date": "2015-02-17", "forum": "FiveWin para Harbour/xHarbour", "text": "hola , yo lo hago de esta forma:\n\n[code=fw:12vsit9i]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #0000ff;\">PRINTER</span> oPrn <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Guia Despacho\"</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #ff0000;\">\"nombre impresora conectada a LPT1\"</span> &nbsp;<span style=\"color: #B900B9;\">// renombro la impresora EJ: IBMXL en windows</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> Fon1 <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Arial Narrow\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-12</span> <span style=\"color: #0000ff;\">OF</span> oPrn<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">PAGE</span><br />&nbsp; &nbsp; &nbsp;Largo := oPrn:<span style=\"color: #000000;\">nVertSize</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp;Hancho:= oPrn:<span style=\"color: #000000;\">nHorzSize</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;nRow += <span style=\"color: #000000;\">0.38</span><br />&nbsp; &nbsp; &nbsp;oPrn:<span style=\"color: #000000;\">CmSay</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> nRow += <span style=\"color: #000000;\">0.38</span> <span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">3.5</span>,<span style=\"color: #ff0000;\">\"GUIA DESPACHO NRO.\"</span>+cNum, Fon1 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp;nRow += <span style=\"color: #000000;\">0.38</span><br />&nbsp; &nbsp; &nbsp;nRow += <span style=\"color: #000000;\">0.38</span><br />&nbsp; &nbsp; &nbsp;oPrn:<span style=\"color: #000000;\">CmSay</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> nRow += <span style=\"color: #000000;\">0.38</span> <span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">12.9</span>,STR<span style=\"color: #000000;\">&#40;</span>DAY<span style=\"color: #000000;\">&#40;</span>cFec<span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span> &nbsp;, Fon1 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;....... <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;.......<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oPrn:<span style=\"color: #000000;\">CmSay</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">21.70</span>,<span style=\"color: #000000;\">18</span>,TRANSFORM<span style=\"color: #000000;\">&#40;</span>tTotal,<span style=\"color: #ff0000;\">\"@E ####,###,###\"</span><span style=\"color: #000000;\">&#41;</span>, Fon1 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDPAGE</span><br />&nbsp; &nbsp; Fon1:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #0000ff;\">ENDPRINT</span><br /><br />&nbsp;</div>[/code:12vsit9i]\n\nesto me ha funcionado desde win98 a win 8.1 sin problemas\n\nespero que te sirva\n\nsaludos desde chile.\n\nArmando", "time": "12:25", "topic": "CLASE TDOSPRN NO IMPRIME EN LPT1", "username": "armando.lagunas" } ]
CLASE TDOSPRN NO IMPRIME EN LPT1
[ { "date": "2015-02-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Agradezco a cada uno sus respuestas, lo que hice fué: Desinstalar la impresora de matriz y volver a instalarla como Genérica, al parecer ya quedó resuelto, seguiré probando.\n\nMuchas gracias a Todos.", "time": "16:45", "topic": "CLASE TDOSPRN NO IMPRIME EN LPT1", "username": "Yessica" } ]
CLASE TDOSPRN NO IMPRIME EN LPT1
[ { "date": "2020-01-29", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola:\n\n¿Existe alguna versión más actualizada y que funcione con los últimos sistemas operativos?\n\nGracias.", "time": "11:12", "topic": "CLASE TSystemInfo", "username": "MOISES" } ]
CLASE TSystemInfo
[ { "date": "2020-01-29", "forum": "FiveWin para Harbour/xHarbour", "text": "Quizá la actualización del método WinVer() sea suficiente\n\n\n[code=fw:2mvcr34q]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">METHOD</span> WinVer<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">Class</span> TSystemInfo<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> cVersion := <span style=\"color: #ff0000;\">\"\"</span><br />&nbsp;<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Do</span> <span style=\"color: #00C800;\">Case</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Case</span> ::<span style=\"color: #000000;\">IsWin95</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; ; cVersion := <span style=\"color: #ff0000;\">\"Windows 95\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Case</span> ::<span style=\"color: #000000;\">IsWin95SP1</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp;; cVersion := <span style=\"color: #ff0000;\">\"Windows 95 Service Pack 1\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Case</span> ::<span style=\"color: #000000;\">IsWin95OSR2</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; ; cVersion := <span style=\"color: #ff0000;\">\"Windows 95 OSR2\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Case</span> ::<span style=\"color: #000000;\">IsWin98</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; ; cVersion := <span style=\"color: #ff0000;\">\"Windows 98\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Case</span> ::<span style=\"color: #000000;\">IsWin98SP1</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp;; cVersion := <span style=\"color: #ff0000;\">\"Windows 98 Service Pack 1\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Case</span> ::<span style=\"color: #000000;\">IsWin98SE</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; ; cVersion := <span style=\"color: #ff0000;\">\"Windows 98 Second Edition\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Case</span> ::<span style=\"color: #000000;\">IsWinME</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; ; cVersion := <span style=\"color: #ff0000;\">\"Windows ME\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Case</span> ::<span style=\"color: #000000;\">IsWinNT31</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; ; cVersion := <span style=\"color: #ff0000;\">\"Windows NT 3.1\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Case</span> ::<span style=\"color: #000000;\">IsWinNT35</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; ; cVersion := <span style=\"color: #ff0000;\">\"Windows NT 3.5\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Case</span> ::<span style=\"color: #000000;\">IsWinNT351</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp;; cVersion := <span style=\"color: #ff0000;\">\"Windows NT 3.51\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Case</span> ::<span style=\"color: #000000;\">IsWinNT4</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp;; cVersion := <span style=\"color: #ff0000;\">\"Windows NT 4\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Case</span> ::<span style=\"color: #000000;\">IsWin2000</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; ; cVersion := <span style=\"color: #ff0000;\">\"Windows 2000\"</span> + <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">IsWin2000Prof</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #ff0000;\">\" Professional\"</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">IsWin2000Server</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #ff0000;\">\" Server\"</span>, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> &nbsp;<span style=\"color: #B900B9;\">//+ \" \" + ::cSP + \" build \" + LTrim( Str( ::nBuild ) )</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Case</span> ::<span style=\"color: #000000;\">IsWinXP</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; ; cVersion := <span style=\"color: #ff0000;\">\"Windows XP \"</span> + <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> lAnd<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">wSteMask</span>, <span style=\"color: #000000;\">512</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #ff0000;\">\"Home Edition\"</span>, <span style=\"color: #ff0000;\">\"Professional\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Case</span> ::<span style=\"color: #000000;\">IsWin2003Server</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> ; cVersion := <span style=\"color: #ff0000;\">\"Windows Server 2003\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Case</span> IsWinVista<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> ; cVersion := <span style=\"color: #ff0000;\">\"Windows Vista\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Case</span> IsWin7<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> ; cVersion := <span style=\"color: #ff0000;\">\"Windows 7\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Case</span> IsWin8<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> ; cVersion := <span style=\"color: #ff0000;\">\"Windows 8\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Case</span> IsWindows10<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> ; cVersion := <span style=\"color: #ff0000;\">\"Windows 10\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Otherwise</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; cVersion := <span style=\"color: #ff0000;\">\"Unknown Windows version\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">EndCase</span><br /><br />&nbsp; &nbsp;cVersion += <span style=\"color: #00C800;\">IF</span><span style=\"color: #000000;\">&#40;</span> IsWin64<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #ff0000;\">\" 64 \"</span>, <span style=\"color: #ff0000;\">\" 32 \"</span> <span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\"Bits\"</span><br /><br /><span style=\"color: #00C800;\">Return</span> cVersion</div>[/code:2mvcr34q]\n \nFuente: <!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?p=185645#p185646\">viewtopic.php?p=185645#p185646</a><!-- l -->", "time": "11:19", "topic": "CLASE TSystemInfo", "username": "hmpaquito" } ]
CLASE TSystemInfo
[ { "date": "2006-04-30", "forum": "Utilities / Utilidades", "text": "Alguien por favor puede enviarme la clase TXLS Version 2.1 para xHarbour. Es urgente por favor. Muchas Gracias.", "time": "18:24", "topic": "CLASE TXLS 2.1", "username": "AntonioCrisostomo" } ]
CLASE TXLS 2.1
[ { "date": "2006-05-06", "forum": "Utilities / Utilidades", "text": "Si observas, la encontrarás en este mismo foro.\n\nSería bueno además que si solicitas algo no lo hagas en el foro de utilidades sino de consultas porque aquí están las utilidades para bajar. <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nPero lo mas importante, si observas en este foro hallarás lo que buscas.", "time": "01:28", "topic": "CLASE TXLS 2.1", "username": "jose_murugosa" } ]
CLASE TXLS 2.1
[ { "date": "2007-03-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Este es el error que arroja al ejecutar en win98 \n\nApplication \n=========== \n Path and name: C:\\UTIL\\DESA32BITS\\PRUEBA MENU XP\\PRUEBA13\\VM.EXE (32 bits) \n Size: 1,311,232 bytes \n Time from start: 0 hours 0 mins 0 secs \n Error occurred at: 03/21/07, 15:04:51 \n Error description: Error FiveWin/6 Cannot create window or control: \nClass: TVMENU \nCaption: \nSystem Error: La operación se ha completado correctamente. \n\n\nStack Calls \n=========== \n Called from: WINDOW.PRG => WNDCREATEERROR(0) \n Called from: WINDOW.PRG => TVMENU:CREATE(0) \n Called from: VMENU.PRG => TVMENU:NEW(361) \n Called from: prueba.prg => MAIN(32) \n\nSystem \n====== \n CPU type: 1600 Mhz \n Hardware memory: 160 megs \n\n Free System resources: 90 % \n GDI resources: 90 % \n User resources: 90 % \n\n Compiler version: xHarbour build 0.99.71 Intl. (SimpLex) \n Windows version: 4.10, Build 67766446 A \n\n Windows total applications running: 0 \n\nVariables in use \n================ \n Procedure Type Value \n ========================== \n WNDCREATEERROR \n Param 1: O Class: TVMENU \n Local 1: C \" \nClass: TVMENU \nCaption: \nSystem Error: La operación se ha completado correctamente. \n\" \n TVMENU:CREATE \n Local 1: C \"TVMENU\" \n Local 2: O Class: TVMENU \n TVMENU:NEW \n Param 1: N 78 \n Param 2: N 0 \n Param 3: N 148 \n Param 4: N 1000 \n Param 5: O Class: TWINDOW \n Param 6: B {|| ... } \n Param 7: N 16777215 \n Param 8: N 12810350 \n Param 9: O Class: TFONT \n Param 10: L .F. \n Param 11: N 16777215 \n Param 12: N 23 \n Param 13: U \n Param 14: C \"UNDERLINE\" \n Param 15: N 5 \n Param 16: N 12810350 \n Param 17: N 1 \n Param 18: C \"FILLED\" \n Param 19: U \n Param 20: N 16777215 \n Param 21: U \n Param 22: N 16777215 \n Param 23: N 12810350 \n Param 24: U \n Param 25: N 16777215 \n Param 26: L .F. \n Param 27: L .F. \n Param 28: U \n Param 29: U \n Local 1: O Class: TVMENU \n MAIN \n Local 1: U \n Local 2: U \n Local 3: O Class: TBITMAP \n Local 4: O Class: TBITMAP \n Local 5: O Class: TBRUSH \n Local 6: O Class: TFONT \n\nLinked RDDs \n=========== \n DBF \n DBFFPT \n DBFNTX \n DBFBLOB \n\nDataBases in use \n================ \n\nClasses in use: \n=============== \n 1 HASHENTRY \n 2 HBCLASS \n 3 HBOBJECT \n 4 TFONT \n 5 TBRUSH \n 6 TWINDOW \n 7 TCONTROL \n 8 TBITMAP \n 9 TVMENU \n 10 TC5IMGLIST \n 11 ERROR \n 12 TREG32 \n\nMemory Analysis \n=============== \n 118 Static variables \n\n Dynamic memory consume: \n Actual Value: 0 bytes \n Highest Value: 0 bytes", "time": "20:11", "topic": "CLASE VTASKBAR ERROR EN WIN98", "username": "A&C" } ]
CLASE VTASKBAR ERROR EN WIN98
[ { "date": "2007-03-22", "forum": "FiveWin para Harbour/xHarbour", "text": "..", "time": "13:24", "topic": "CLASE VTASKBAR ERROR EN WIN98", "username": "A&C" } ]
CLASE VTASKBAR ERROR EN WIN98
[ { "date": "2007-03-22", "forum": "FiveWin para Harbour/xHarbour", "text": "¿ Haz intentado contactar con Paco Garcia, para ver ese error ?", "time": "20:57", "topic": "CLASE VTASKBAR ERROR EN WIN98", "username": "R.F." } ]
CLASE VTASKBAR ERROR EN WIN98
[ { "date": "2007-03-23", "forum": "FiveWin para Harbour/xHarbour", "text": "wich version you have ?", "time": "12:09", "topic": "CLASE VTASKBAR ERROR EN WIN98", "username": "Silvio" } ]
CLASE VTASKBAR ERROR EN WIN98
[ { "date": "2009-09-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nI try to learn how to write class. I examined the TDatabase class. I just want to find out the which method is done this.\n\nFWH Example : dbf01.prg\nLine 73:\n[code=fw:x2a0kjq3]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">GET</span> oDbf:<span style=\"color: #000000;\">First</span> <span style=\"color: #0000ff;\">ID</span> ID_NAME <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">UPDATE</span> ;<br />      <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Please type here the first name of the customer\"</span><br /><br />                                              <span style=\"color: #B900B9;\">// We directly use the Fields</span><br />                                              <span style=\"color: #B900B9;\">// name, but we are working on</span><br />                                              <span style=\"color: #B900B9;\">// a buffer ! This is perfect</span><br />                                              <span style=\"color: #B900B9;\">// for Network management</span></div>[/code:x2a0kjq3]\n\nWe use the fields directly oDbf:<Fieldname>. How? Which method is used to do this?\n\nThanks,", "time": "11:24", "topic": "CLASS Information needed?", "username": "Horizon" } ]
CLASS Information needed?
[ { "date": "2009-09-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Hakan,\n\nWe use the Classes ON ERROR feature:\n[code=fw:3q28gkl8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; &nbsp;#ifdef __HARBOUR__<br />&nbsp; &nbsp; &nbsp; ERROR HANDLER OnError<span style=\"color: #000000;\">&#40;</span> uParam1 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;#else<br />&nbsp; &nbsp; &nbsp; ERROR HANDLER OnError<span style=\"color: #000000;\">&#40;</span> cMsg, nError <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;#endif<br />&nbsp;</div>[/code:3q28gkl8]\n...\n[code=fw:3q28gkl8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />#ifdef __HARBOUR__<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">METHOD</span> OnError<span style=\"color: #000000;\">&#40;</span> uParam1 <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> TDataBase<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">local</span> cMsg &nbsp; := __GetMessage<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">local</span> nError := <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">SubStr</span><span style=\"color: #000000;\">&#40;</span> cMsg, <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"_\"</span>, <span style=\"color: #000000;\">1005</span>, <span style=\"color: #000000;\">1004</span> <span style=\"color: #000000;\">&#41;</span><br />#else<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">METHOD</span> OnError<span style=\"color: #000000;\">&#40;</span> cMsg, nError <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> TDataBase<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">local</span> uParam1 := GetParam<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span><br />#endif<br />&nbsp;</div>[/code:3q28gkl8]", "time": "11:41", "topic": "CLASS Information needed?", "username": "Antonio Linares" } ]
CLASS Information needed?
[ { "date": "2009-09-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks Antonio,\n\nI have looked at the TDatabase class several times. I could not imagine it in ERROR HANDLER. <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "12:19", "topic": "CLASS Information needed?", "username": "Horizon" } ]
CLASS Information needed?
[ { "date": "2009-09-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Hakan,\n\nHave you read the articles I wrote on writing classes that are on my website?\n\n[url:19sqbmt8]http&#58;//www&#46;gointellitech&#46;com[/url:19sqbmt8]\n\nJames", "time": "12:51", "topic": "CLASS Information needed?", "username": "James Bott" } ]
CLASS Information needed?
[ { "date": "2009-09-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes, James. \n\nYour webpage about classes is my first learning stage. \n\nThank you again.", "time": "13:23", "topic": "CLASS Information needed?", "username": "Horizon" } ]
CLASS Information needed?
[ { "date": "2012-02-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\nI'm generating reports using Report class.\nI am able to print columns total for the whole report, also I can get\nthe increasing sum on each page.\nI'd like to know if it is possible to additionally get the summary for\neach page of the report (not increasing, just each page sum up).\nHave you any idea how to do that? Maybe I should use another class?\n\nThanks,\nLeszek", "time": "17:17", "topic": "CLASS REPORT", "username": "leszekj" } ]
CLASS REPORT
[ { "date": "2012-02-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Leszek,\n\nIf you are using the REPORT command try the SUMMARY clause:\n\nREPORT oRpt ... SUMMARY\n\nif you are managing the report object directly, you can do: \n\noReport:lSummary := .T.", "time": "20:51", "topic": "CLASS REPORT", "username": "Antonio Linares" } ]
CLASS REPORT
[ { "date": "2012-02-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Hola,\n\nthis is a sample but working with array, you can change easily to work with DataBase\n\n[code=fw:3l3v8db0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <br /><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">// was missing this important declaration in the first publication</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> aTotal := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#125;</span>.....<br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont1 <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"ARIAL NARROW\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-8</span><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont2 <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"ARIAL NARROW\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-8</span> BOLD<br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont3 <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"ARIAL NARROW\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-12</span> BOLD<br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont4 <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"ARIAL NARROW\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-8</span> BOLD<br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont5 <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"ARIAL NARROW\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-6</span><br /> <br />   <span style=\"color: #0000ff;\">DEFINE</span> PEN pen1 WIDTH <span style=\"color: #000000;\">0.3</span><br /> <br />       REPORT oReport;<br />        <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"PERIODO: \"</span> + <span style=\"color: #0000ff;\">SUBSTR</span><span style=\"color: #000000;\">&#40;</span> aData<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#93;</span>, <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#41;</span> ;<br />         <span style=\"color: #0000ff;\">FONT</span> oFont1, oFont2, oFont3, oFont4, oFont5                     ;<br />          PEN pen1                                           ;<br />       HEADER <span style=\"color: #ff0000;\">\"Nombre o Razón Social: \"</span> + cNombre,;<br />              <span style=\"color: #ff0000;\">\"Número NIT: \"</span> + cNit ,;<br />              <span style=\"color: #ff0000;\">\"Número Sucursal: \"</span> + cSucursal ,;<br />              <span style=\"color: #ff0000;\">\"Dirección: \"</span> + cDireccion;<br />              <span style=\"color: #0000ff;\">LEFT</span>        ;<br />       FOOTER <span style=\"color: #ff0000;\">\"Página : \"</span> + STR <span style=\"color: #000000;\">&#40;</span>oReport:<span style=\"color: #000000;\">nPage</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#41;</span>;<br />      PREVIEW  ;<br />      CAPTION <span style=\"color: #ff0000;\">\"LIBRO VENTAS - IVA\"</span><br /> <br />              COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Fecha\"</span>                 <span style=\"color: #00C800;\">DATA</span> aData<span style=\"color: #000000;\">&#91;</span> nAt, <span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#93;</span>       <span style=\"color: #0000ff;\">SIZE</span>  <span style=\"color: #000000;\">9</span> <span style=\"color: #0000ff;\">FONT</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">CENTER</span><br />              COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Número\"</span>                <span style=\"color: #00C800;\">DATA</span> aData<span style=\"color: #000000;\">&#91;</span> nAt, <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>       <span style=\"color: #0000ff;\">SIZE</span>  <span style=\"color: #000000;\">9</span> <span style=\"color: #0000ff;\">FONT</span> <span style=\"color: #000000;\">1</span><br />              COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Nombre o Razón Social\"</span> <span style=\"color: #00C800;\">DATA</span> aData<span style=\"color: #000000;\">&#91;</span> nAt, <span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>       <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">30</span> <span style=\"color: #0000ff;\">FONT</span> <span style=\"color: #000000;\">1</span><br />              COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Número\"</span>,<span style=\"color: #ff0000;\">\"Factura\"</span>      <span style=\"color: #00C800;\">DATA</span> aData<span style=\"color: #000000;\">&#91;</span> nAt, <span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>       <span style=\"color: #0000ff;\">SIZE</span>  <span style=\"color: #000000;\">7</span> <span style=\"color: #0000ff;\">FONT</span> <span style=\"color: #000000;\">1</span><br />              COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Número\"</span>,<span style=\"color: #ff0000;\">\"Autorización\"</span> <span style=\"color: #00C800;\">DATA</span> aData<span style=\"color: #000000;\">&#91;</span> nAt, <span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span>       <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">15</span> <span style=\"color: #0000ff;\">FONT</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">CENTER</span><br />              COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Código de\"</span>,<span style=\"color: #ff0000;\">\"Control\"</span>   <span style=\"color: #00C800;\">DATA</span> aData<span style=\"color: #000000;\">&#91;</span> nAt, <span style=\"color: #000000;\">12</span><span style=\"color: #000000;\">&#93;</span>      <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">12</span> <span style=\"color: #0000ff;\">FONT</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">CENTER</span><br />              COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Importe\"</span>,<span style=\"color: #ff0000;\">\"Facturado\"</span>   <span style=\"color: #00C800;\">DATA</span> VAL<span style=\"color: #000000;\">&#40;</span>aData<span style=\"color: #000000;\">&#91;</span> nAt, <span style=\"color: #000000;\">6</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>  <span style=\"color: #0000ff;\">SIZE</span>  <span style=\"color: #000000;\">9</span> <span style=\"color: #0000ff;\">FONT</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">RIGHT</span> <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"999,999.99\"</span> TOTAL<br />              COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"ICE\"</span>                   <span style=\"color: #00C800;\">DATA</span> aData<span style=\"color: #000000;\">&#91;</span> nAt, <span style=\"color: #000000;\">7</span><span style=\"color: #000000;\">&#93;</span>       <span style=\"color: #0000ff;\">SIZE</span>  <span style=\"color: #000000;\">6</span> <span style=\"color: #0000ff;\">FONT</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">RIGHT</span> <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"@Z 999,999.99\"</span><br />              COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Exento\"</span>                <span style=\"color: #00C800;\">DATA</span> aData<span style=\"color: #000000;\">&#91;</span> nAt, <span style=\"color: #000000;\">8</span><span style=\"color: #000000;\">&#93;</span>       <span style=\"color: #0000ff;\">SIZE</span>  <span style=\"color: #000000;\">6</span> <span style=\"color: #0000ff;\">FONT</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">RIGHT</span> <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"@Z 999,999.99\"</span><br />              COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Valor\"</span>,<span style=\"color: #ff0000;\">\"Neto\"</span>          <span style=\"color: #00C800;\">DATA</span> VAL<span style=\"color: #000000;\">&#40;</span>aData<span style=\"color: #000000;\">&#91;</span> nAt, <span style=\"color: #000000;\">9</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span>  <span style=\"color: #0000ff;\">SIZE</span>  <span style=\"color: #000000;\">9</span> <span style=\"color: #0000ff;\">FONT</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">RIGHT</span> <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"999,999.99\"</span> TOTAL<br />              COLUMN <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"IVA\"</span>                   <span style=\"color: #00C800;\">DATA</span> VAL<span style=\"color: #000000;\">&#40;</span>aData<span style=\"color: #000000;\">&#91;</span> nAt, <span style=\"color: #000000;\">10</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">SIZE</span>  <span style=\"color: #000000;\">7</span> <span style=\"color: #0000ff;\">FONT</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">RIGHT</span> <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"999,999.99\"</span> TOTAL<br /> <br />   END REPORT<br /> <br />   oReport:<span style=\"color: #000000;\">bPreInit</span>     := <span style=\"color: #000000;\">&#123;</span>|| nAt := <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#125;</span><br />   oReport:<span style=\"color: #000000;\">bSkip</span>        := <span style=\"color: #000000;\">&#123;</span>|| nAt++ <span style=\"color: #000000;\">&#125;</span><br />   oReport:<span style=\"color: #000000;\">lPageTotal</span>   := .T.<br />   oReport:<span style=\"color: #000000;\">lTotal</span>       := .T.<br />   oReport:<span style=\"color: #000000;\">cGrandTotal</span>  := <span style=\"color: #ff0000;\">'Total Página'</span><br />   oReport:<span style=\"color: #000000;\">cPageTotal</span>   := <span style=\"color: #ff0000;\">'Total Página'</span> <br /> <br />   AEVAL <span style=\"color: #000000;\">&#40;</span> oReport:<span style=\"color: #000000;\">oHeader</span>:<span style=\"color: #000000;\">aFont</span>, <span style=\"color: #000000;\">&#123;</span> |e,i| oReport:<span style=\"color: #000000;\">oHeader</span>:<span style=\"color: #000000;\">aFont</span><span style=\"color: #000000;\">&#91;</span>i<span style=\"color: #000000;\">&#93;</span> := <span style=\"color: #000000;\">&#123;</span>||<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br />   AEVAL <span style=\"color: #000000;\">&#40;</span> oReport:<span style=\"color: #000000;\">oTitle</span>:<span style=\"color: #000000;\">aFont</span>,  <span style=\"color: #000000;\">&#123;</span> |e,i| oReport:<span style=\"color: #000000;\">oTitle</span>:<span style=\"color: #000000;\">aFont</span><span style=\"color: #000000;\">&#91;</span>i<span style=\"color: #000000;\">&#93;</span>  := <span style=\"color: #000000;\">&#123;</span>||<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br />   AEVAL <span style=\"color: #000000;\">&#40;</span> oReport:<span style=\"color: #000000;\">aColumns</span>,      <span style=\"color: #000000;\">&#123;</span> |e| e:<span style=\"color: #000000;\">bTitleFont</span>               := <span style=\"color: #000000;\">&#123;</span>||<span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#125;</span>     ,;<br />                                        e:<span style=\"color: #000000;\">bTotalFont</span>               := <span style=\"color: #000000;\">&#123;</span>||<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br /> <br />   oReport:<span style=\"color: #000000;\">oDevice</span>:<span style=\"color: #000000;\">lPrvModal</span> := .T.<br /> <br />   <span style=\"color: #0000ff;\">ACTIVATE</span> REPORT oReport ;<br />             <span style=\"color: #00C800;\">WHILE</span> nAt <= LEN<span style=\"color: #000000;\">&#40;</span> aData <span style=\"color: #000000;\">&#41;</span> ;<br />            <span style=\"color: #0000ff;\">ON</span> POSTPAGE AEVAL<span style=\"color: #000000;\">&#40;</span> oReport:<span style=\"color: #000000;\">aColumns</span>, <span style=\"color: #000000;\">&#123;</span>|c,i| aTotal<span style=\"color: #000000;\">&#91;</span>i<span style=\"color: #000000;\">&#93;</span> += c:<span style=\"color: #000000;\">nTotal</span>, c:<span style=\"color: #000000;\">nTotal</span> := <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />            <span style=\"color: #0000ff;\">ON</span> POSTEND <span style=\"color: #000000;\">&#40;</span> oReport:<span style=\"color: #000000;\">cGrandTotal</span>  := <span style=\"color: #ff0000;\">'Total General'</span>,;<br />                         AEVAL<span style=\"color: #000000;\">&#40;</span> oReport:<span style=\"color: #000000;\">aColumns</span>, <span style=\"color: #000000;\">&#123;</span>|c,i| c:<span style=\"color: #000000;\">nTotal</span> := aTotal<span style=\"color: #000000;\">&#91;</span>i<span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span>,;<br />                         oReport:<span style=\"color: #000000;\">PageTotal</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /> <br />   oFont1:<span style=\"color: #000000;\">END</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   oFont2:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   oFont3:<span style=\"color: #000000;\">END</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   oFont4:<span style=\"color: #000000;\">END</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   oFont5:<span style=\"color: #000000;\">END</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /> <br />   pen1:<span style=\"color: #000000;\">END</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /> <br /> </div>[/code:3l3v8db0]", "time": "23:44", "topic": "CLASS REPORT", "username": "Marcelo Via Giglio" } ]
CLASS REPORT
[ { "date": "2012-02-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Great thanks for your answers.\n\nMarcelo, thanks for your sample. I've changed it to print from file.\nI've got the page summary, but I lost the increasing sums for every page. I'd like to have both of them on every page.\n\nPlease, see the following sample.\nHow can I create something like that?\n\nThanks,\nLeszek\n\n\n[code=fw:3a0gd0g5]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">Page</span> <span style=\"color: #000000;\">1</span><br />- - - - - - - -  - - - - - -  - - -  - - - -  - -<br />| NR    | ..... |    col <span style=\"color: #000000;\">1</span>          |  col <span style=\"color: #000000;\">2</span>   | <br />- - - - - - - -  - - - - - -  - - -  - - - -  - -<br />  <span style=\"color: #000000;\">1</span>                  <span style=\"color: #000000;\">100</span>               <span style=\"color: #000000;\">200</span><br />  <span style=\"color: #000000;\">2</span>                  <span style=\"color: #000000;\">100</span>               <span style=\"color: #000000;\">200</span><br /> ...<br />- - - - - - - -  - - - - - -  - - -  - - - -  - -<br /><span style=\"color: #0000ff;\">Page</span> <span style=\"color: #0000ff;\">sum</span>:       |    <span style=\"color: #000000;\">200</span>               <span style=\"color: #000000;\">400</span><br />- - - - - - - -  - - - - - -  - - -  - - - -  - -<br />Increasing <span style=\"color: #0000ff;\">sum</span>  |    <span style=\"color: #000000;\">200</span>               <span style=\"color: #000000;\">400</span><br />- - - - - - - -  - - - - - -  - - -  - - - -  - -<br /><br /><span style=\"color: #0000ff;\">Page</span> <span style=\"color: #000000;\">2</span><br />- - - - - - - -  - - - - - -  - - -  - - - -  - -<br />| NR    | ..... |    col <span style=\"color: #000000;\">1</span>          |  col <span style=\"color: #000000;\">2</span>   | <br />- - - - - - - -  - - - - - -  - - -  - - - -  - -<br />  <span style=\"color: #000000;\">1</span>                  <span style=\"color: #000000;\">300</span>               <span style=\"color: #000000;\">700</span><br />  <span style=\"color: #000000;\">2</span>                  <span style=\"color: #000000;\">500</span>               <span style=\"color: #000000;\">150</span><br /> ...<br />- - - - - - - -  - - - - - -  - - -  - - - -  - -<br /><span style=\"color: #0000ff;\">Page</span> <span style=\"color: #0000ff;\">sum</span>:       |    <span style=\"color: #000000;\">800</span>               <span style=\"color: #000000;\">850</span><br />- - - - - - - -  - - - - - -  - - -  - - - -  - -<br />Increasing <span style=\"color: #0000ff;\">sum</span>  |   <span style=\"color: #000000;\">1000</span>              <span style=\"color: #000000;\">1250</span><br />- - - - - - - -  - - - - - -  - - -  - - - -  - -<br /><br />End</div>[/code:3a0gd0g5]", "time": "18:19", "topic": "CLASS REPORT", "username": "leszekj" } ]
CLASS REPORT
[ { "date": "2012-02-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nfirst add some blank line at the begin in the footer like FOOTER \" \", \" \",\" \" to reserve space for the new extra pagetotal\n\nthen you change the ACTIVE REPORT LIKE\n\n[code=fw:10c5afks]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> &nbsp; <span style=\"color: #0000ff;\">ACTIVATE</span> REPORT oReport ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">WHILE</span> nAt <= LEN<span style=\"color: #000000;\">&#40;</span> aData <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">ENDPAGE</span> <span style=\"color: #000000;\">&#40;</span> AEVAL<span style=\"color: #000000;\">&#40;</span> oReport:<span style=\"color: #000000;\">aColumns</span>, <span style=\"color: #000000;\">&#123;</span>|c,i| aTotal<span style=\"color: #000000;\">&#91;</span>i<span style=\"color: #000000;\">&#93;</span> += c:<span style=\"color: #000000;\">nTotal</span> &nbsp;<span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> , oReport:<span style=\"color: #000000;\">PageTotal</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, AEVAL<span style=\"color: #000000;\">&#40;</span> oReport:<span style=\"color: #000000;\">aColumns</span>, <span style=\"color: #000000;\">&#123;</span>|c,i| c:<span style=\"color: #000000;\">nTotal</span> := aTotal<span style=\"color: #000000;\">&#91;</span>i<span style=\"color: #000000;\">&#93;</span> &nbsp;<span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ON</span> POSTPAGE AEVAL<span style=\"color: #000000;\">&#40;</span> oReport:<span style=\"color: #000000;\">aColumns</span>, <span style=\"color: #000000;\">&#123;</span>|c,i| &nbsp;c:<span style=\"color: #000000;\">nTotal</span> := <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ON</span> POSTEND <span style=\"color: #000000;\">&#40;</span> oReport:<span style=\"color: #000000;\">cGrandTotal</span> &nbsp;:= <span style=\"color: #ff0000;\">'Total General'</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AEVAL<span style=\"color: #000000;\">&#40;</span> oReport:<span style=\"color: #000000;\">aColumns</span>, <span style=\"color: #000000;\">&#123;</span>|c,i| c:<span style=\"color: #000000;\">nTotal</span> := aTotal<span style=\"color: #000000;\">&#91;</span>i<span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oReport:<span style=\"color: #000000;\">PageTotal</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:10c5afks]\n\nI think you can add easily the page total legend \n\nregards\n\nMarcelo", "time": "19:49", "topic": "CLASS REPORT", "username": "Marcelo Via Giglio" } ]
CLASS REPORT
[ { "date": "2012-02-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi, Marcelo!\nThanks again for your help. I used your instructions and got it working well.\nI owe you a beer! <!-- s;) --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\";)\" title=\"Wink\" /><!-- s;) -->\n\nBest regards,\nLeszek", "time": "09:50", "topic": "CLASS REPORT", "username": "leszekj" } ]
CLASS REPORT