messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2023-05-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Nice Calendar....", "time": "14:54", "topic": "CLASS modification", "username": "Marc Venken" } ]
CLASS modification
[ { "date": "2023-05-23", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Marc Venken\":2ggmd239]Nice Calendar....[/quote:2ggmd239]\n\nDownload Complete:\n\n[url:2ggmd239]https://mega.nz/file/cIcwEBaZ#E3PhxjP_GekUMwgN2rOYWN0c00bogblM4WLymsU4fJ8[/url:2ggmd239]\n\nRegards, saludos.", "time": "18:24", "topic": "CLASS modification", "username": "karinha" } ]
CLASS modification
[ { "date": "2023-05-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Otto,\n\n> Do I make a copy of tcalenda.prg and include it in my App\n\nUsually this is the best way", "time": "18:38", "topic": "CLASS modification", "username": "Antonio Linares" } ]
CLASS modification
[ { "date": "2023-05-23", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"karinha\":2xk3snxb][quote=\"Marc Venken\":2xk3snxb]Nice Calendar....[/quote:2xk3snxb]\n\nDownload Complete:\n\n[url:2xk3snxb]https://mega.nz/file/cIcwEBaZ#E3PhxjP_GekUMwgN2rOYWN0c00bogblM4WLymsU4fJ8[/url:2xk3snxb]\n\nRegards, saludos.[/quote:2xk3snxb]\n\nThank you !!", "time": "19:43", "topic": "CLASS modification", "username": "Marc Venken" } ]
CLASS modification
[ { "date": "2023-05-24", "forum": "FiveWin for Harbour/xHarbour", "text": "I Wish calendar as datepick where the finale user can select year, mourh etc .\nWhy i mudt change my oldest applications onlyvehen i must recompilre It for modifications?\nIt Is not right", "time": "05:16", "topic": "CLASS modification", "username": "Silvio.Falconi" } ]
CLASS modification
[ { "date": "2023-05-24", "forum": "FiveWin for Harbour/xHarbour", "text": "hi Silvio,\n[quote=\"Silvio.Falconi\":f628q0hi]I Wish calendar as datepick where the finale user can select year, mourh etc .\nWhy i mudt change my oldest applications onlyvehen i must recompilre It for modifications?\nIt Is not right[/quote:f628q0hi]\nCalendar is \"SysMonthCal32\"\n<!-- m --><a class=\"postlink\" href=\"https://learn.microsoft.com/en-us/windows/win32/controls/create-a-month-calendar-control\">https://learn.microsoft.com/en-us/windo ... ar-control</a><!-- m -->\n<!-- m --><a class=\"postlink\" href=\"https://learn.microsoft.com/en-us/windows/win32/controls/month-calendar-control-reference\">https://learn.microsoft.com/en-us/windo ... -reference</a><!-- m -->\n\nDatepicker is \"SysDateTimePick32\"\n<!-- m --><a class=\"postlink\" href=\"https://learn.microsoft.com/en-us/windows/win32/controls/create-a-date-and-time-picker-control\">https://learn.microsoft.com/en-us/windo ... er-control</a><!-- m -->\n<!-- m --><a class=\"postlink\" href=\"https://learn.microsoft.com/en-us/windows/win32/controls/date-and-time-picker-control-reference\">https://learn.microsoft.com/en-us/windo ... -reference</a><!-- m -->\n\nDifference : Datepicker can show only 1 Month\nbut you can change Month / Year in \"Header\"\n\nyou can use Calendar as \"Date Picker\" when set dDate1 = dDate2\nbut while it have \"Start-Date\" and \"End-Date\" you need LbDown / LbUp and not DblClick which will \"destroy marker\"\n[img:f628q0hi]https&#58;//i&#46;postimg&#46;cc/Hn5D2fHv/Calendar-Xmas&#46;jpg[/img:f628q0hi]\nwhen include last Modification, which you have found out, both work now\n\nDblClick -> Array(dDate1,dDate2) where dDate1 = dDate2\nCtrl+ (End) click -> mark \"Start\" to \"End\" where dDate1 <>,dDate2", "time": "07:09", "topic": "CLASS modification", "username": "Jimmy" } ]
CLASS modification
[ { "date": "2023-05-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Jimmy,\n\n> when include last Modification, which you have found out, both work now\n\nWhat modification is it ? thanks!", "time": "08:55", "topic": "CLASS modification", "username": "Antonio Linares" } ]
CLASS modification
[ { "date": "2023-05-24", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Jimmy\":25h5j9vh]hi Silvio,\n[quote=\"Silvio.Falconi\":25h5j9vh]I Wish calendar as datepick where the finale user can select year, mourh etc .\nWhy i mudt change my oldest applications onlyvehen i must recompilre It for modifications?\nIt Is not right[/quote:25h5j9vh]\nCalendar is \"SysMonthCal32\"\n<!-- m --><a class=\"postlink\" href=\"https://learn.microsoft.com/en-us/windows/win32/controls/create-a-month-calendar-control\">https://learn.microsoft.com/en-us/windo ... ar-control</a><!-- m -->\n<!-- m --><a class=\"postlink\" href=\"https://learn.microsoft.com/en-us/windows/win32/controls/month-calendar-control-reference\">https://learn.microsoft.com/en-us/windo ... -reference</a><!-- m -->\n\nDatepicker is \"SysDateTimePick32\"\n<!-- m --><a class=\"postlink\" href=\"https://learn.microsoft.com/en-us/windows/win32/controls/create-a-date-and-time-picker-control\">https://learn.microsoft.com/en-us/windo ... er-control</a><!-- m -->\n<!-- m --><a class=\"postlink\" href=\"https://learn.microsoft.com/en-us/windows/win32/controls/date-and-time-picker-control-reference\">https://learn.microsoft.com/en-us/windo ... -reference</a><!-- m -->\n\nDifference : Datepicker can show only 1 Month\nbut you can change Month / Year in \"Header\"\n\nyou can use Calendar as \"Date Picker\" when set dDate1 = dDate2\nbut while it have \"Start-Date\" and \"End-Date\" you need LbDown / LbUp and not DblClick which will \"destroy marker\"\n[img:25h5j9vh]https&#58;//i&#46;postimg&#46;cc/Hn5D2fHv/Calendar-Xmas&#46;jpg[/img:25h5j9vh]\nwhen include last Modification, which you have found out, both work now\n\nDblClick -> Array(dDate1,dDate2) where dDate1 = dDate2\nCtrl+ (End) click -> mark \"Start\" to \"End\" where dDate1 <>,dDate2[/quote:25h5j9vh]\n\n\n\n[b:25h5j9vh]Sorry, I still don't understand, I'll be slow on the uptake.[/b:25h5j9vh]\n\n[b:25h5j9vh]Read carefully what I write to you[/b:25h5j9vh]\n\nI have an old application that I've been using for many years at school where I have a get (action) control that opens a calendar (Tcalendar class) in a dialog (popup) and the user selects the date.\n\nNow it happened that I had to modify some procedures of that program and I went to recompile and that get while loading the calendar (Tcalendar) doesn't make doubleclick work so it's unusable.\n\nI have to read bullshit or meaningless sentences on the forum, I don't want to use other procedures, I want a calendar like Tcalendar .\nI know well the differences between SysDateTimePick32 and SysMonthCal32. with Tcalendar you could select the months and years in a perpetual way and the same thing does datepick unless you have admitted a range of dates\n\n\n[b:25h5j9vh]I want this[/b:25h5j9vh] ( opened on a dialog popup and the user can select the date) \n\n[img:25h5j9vh]https&#58;//i&#46;postimg&#46;cc/fW20RhV6/2&#46;png[/img:25h5j9vh]\n\n[img:25h5j9vh]https&#58;//i&#46;postimg&#46;cc/50G1Dptk/3&#46;png[/img:25h5j9vh]\n\n[img:25h5j9vh]https&#58;//i&#46;postimg&#46;cc/vmZ4sqQQ/4&#46;png[/img:25h5j9vh]\n\n[b:25h5j9vh]I don't ask for the moon!!![/b:25h5j9vh]\n\nI just ask you to restore my old software, I don't understand why I have to change everything, because the selection of the date is in almost all the program procedures.\n\n\n[b:25h5j9vh]Tcaledar Modifications [/b:25h5j9vh]\nthe latest modifications on the Tcaledar class suggested by Cristobal work, ie the user can select a date through the doubleclick system.\n\nBut the Tcalendar doesn't work ie the end user can't view the months and years\n\nlogically the IsOverDay() function is wrong as I can't find this function determines that the mouse is on the prompt of the days or in other areas.\n\nif you hover the mouse over the name of the month or over the year it is not highlighted !!!\n\nwhile if you click on the black arrows you can change the month before and after\n\nso it's the Isoverday function that determines where the mouse is positioned\n\nso you have to change this function to isoverday\n\n\n[code=fw:25h5j9vh]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">&#40;</span> ISOVERDAY <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />   #ifndef _WIN64<br />      HWND hwndMC = <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>;<br />   #else<br />      HWND hwndMC = <span style=\"color: #000000;\">&#40;</span> HWND <span style=\"color: #000000;\">&#41;</span> hb_parnll<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span>;<br />   #endif<br />   PMCHITTESTINFO pMCHitTest = <span style=\"color: #000000;\">&#40;</span> PMCHITTESTINFO <span style=\"color: #000000;\">&#41;</span> hb_xgrab<span style=\"color: #000000;\">&#40;</span> sizeof <span style=\"color: #000000;\">&#40;</span> MCHITTESTINFO <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />   BOOL lOver;<br />   <br />   memset<span style=\"color: #000000;\">&#40;</span> pMCHitTest, <span style=\"color: #000000;\">0</span>, sizeof<span style=\"color: #000000;\">&#40;</span> MCHITTESTINFO <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>;<br />   <br />   pMCHitTest->cbSize = sizeof<span style=\"color: #000000;\">&#40;</span> MCHITTESTINFO <span style=\"color: #000000;\">&#41;</span>;<br />   pMCHitTest->pt.y = hb_parnl<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span>;<br />   pMCHitTest->pt.x = hb_parnl<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span>;<br />   <br />   lOver = <span style=\"color: #000000;\">&#40;</span> MonthCal_HitTest<span style=\"color: #000000;\">&#40;</span> hwndMC, pMCHitTest <span style=\"color: #000000;\">&#41;</span> == MCHT_CALENDARDATE <span style=\"color: #000000;\">&#41;</span>;<br />   <br />   hb_xfree<span style=\"color: #000000;\">&#40;</span> pMCHitTest <span style=\"color: #000000;\">&#41;</span>;<br />   <br />   hb_retl<span style=\"color: #000000;\">&#40;</span> lOver <span style=\"color: #000000;\">&#41;</span>;<br /><span style=\"color: #000000;\">&#125;</span></div>[/code:25h5j9vh]\n\n\nThis function determines whether a given point (x, y) on a month calendar control is over a specific day or not.", "time": "09:06", "topic": "CLASS modification", "username": "Silvio.Falconi" } ]
CLASS modification
[ { "date": "2023-05-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Silvio, As you are one of the young people here in our group, technology and especially your users will soon force you into the web.\n\nBest regards,\nOtto", "time": "10:05", "topic": "CLASS modification", "username": "Otto" } ]
CLASS modification
[ { "date": "2023-05-24", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Otto\":1nj3bk27]Silvio, As you are one of the young people here in our group, technology and especially your users will soon force you into the web.\n\nBest regards,\nOtto[/quote:1nj3bk27]\n\nOtto,\nI'm not the youngest of your group, I use fivewin from version 14.4 (1992) [b:1nj3bk27]maybe you are the youngest[/b:1nj3bk27] in fact I don't remember you in the famous outlook newsgroups!!!!\nMy users will never go on the web with my applications and I have already explained to you several times why\nI see no need to create web applications when windows applications and especially basic procedures are not correct\nYou who make Web applications, can you do everything in Windows system?\nI don't think so... there are many things that still don't work properly or you don't care\n\nand I'm not young I'm 57 years of age and in 5 years I'm retiring as a teacher and I don't think I'll make applications in windows but I'll take care of gardening, grandchildren until the last day of my old age", "time": "10:42", "topic": "CLASS modification", "username": "Silvio.Falconi" } ]
CLASS modification
[ { "date": "2023-05-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Silvio,\n\n[i:24vj4enw]\"I'm not the youngest of your group. I've been using fivewin since version 14.4 (1992). Maybe you are the youngest; in fact, I don't remember seeing you in the famous Outlook newsgroups!\"[/i:24vj4enw]\nThis was not Outlook but Compuserve!\n\n[i:24vj4enw]\"My users will never access the web with my applications, and I have already explained to you several times why.\"[/i:24vj4enw]\nHow do they access windows from their smartphones?\n\n[i:24vj4enw]\"I see no need to create web applications when Windows applications, especially basic procedures, are not correct.\"[/i:24vj4enw]\nI mean, you can use webview2 from Fivewin. It's great!\n\n[i:24vj4enw]\"You, who make web applications, can you do everything in the Windows system? I don't think so... There are still many things that don't work properly or that you don't care about.\"[/i:24vj4enw]\nI can do it all and more. Ask me something you think can't be done.\n[i:24vj4enw]\n\"And I'm not young; I'm 57 years old. In 5 years, I'll be retiring as a teacher, and I don't think I'll be making applications in Windows anymore. Instead, I'll take care of gardening and my grandchildren until the last day of my old age.\"[/i:24vj4enw]\nI don't believe that. You are such a passionate, creative, and innovative programmer that I am convinced you'll never stop.\n\nBest regards,\nOtto", "time": "11:30", "topic": "CLASS modification", "username": "Otto" } ]
CLASS modification
[ { "date": "2023-05-24", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Otto\":2ngv4fvk]Hello Silvio,\n\n[i:2ngv4fvk]\"I'm not the youngest of your group. I've been using fivewin since version 14.4 (1992). Maybe you are the youngest; in fact, I don't remember seeing you in the famous Outlook newsgroups!\"[/i:2ngv4fvk]\nThis was not Outlook but Compuserve!\n\n[i:2ngv4fvk]\"My users will never access the web with my applications, and I have already explained to you several times why.\"[/i:2ngv4fvk]\nHow do they access windows from their smartphones?\n\n[i:2ngv4fvk]\"I see no need to create web applications when Windows applications, especially basic procedures, are not correct.\"[/i:2ngv4fvk]\nI mean, you can use webview2 from Fivewin. It's great!\n\n[i:2ngv4fvk]\"You, who make web applications, can you do everything in the Windows system? I don't think so... There are still many things that don't work properly or that you don't care about.\"[/i:2ngv4fvk]\nI can do it all and more. Ask me something you think can't be done.\n[i:2ngv4fvk]\n\"And I'm not young; I'm 57 years old. In 5 years, I'll be retiring as a teacher, and I don't think I'll be making applications in Windows anymore. Instead, I'll take care of gardening and my grandchildren until the last day of my old age.\"[/i:2ngv4fvk]\nI don't believe that. You are such a passionate, creative, and innovative programmer that I am convinced you'll never stop.\n\nBest regards,\nOtto[/quote:2ngv4fvk]\n\n\n[b:2ngv4fvk]>This was not Outlook but Compuserve![/b:2ngv4fvk]\nSorry I used Outlook express to show fivetech newsgroup and not Had Compuserve!!!!\n\n[b:2ngv4fvk]>How do they access windows from their smartphones?[/b:2ngv4fvk]\nwhy should they make no sense what you say\n\n[b:2ngv4fvk]>I mean, you can use webview2 from Fivewin. It's great![/b:2ngv4fvk]\nI don't doubt it, but think about it, can you do everything on windows? Are you sure there is something you wanted and you couldn't do because no one helped you and you were left with the remorse that if you had had those particular procedures now you would have had many more clients than you do today?\n\n[b:2ngv4fvk]>I can do it all and more. Ask me something you think can't be done.[/b:2ngv4fvk]\n\n1) tcalendar Problem\n2) dasboard system ( see the forum my messages)\n3) xbrowse <-> tree same xbrowse ( width search system all data ) \n4) insert in the search of the xbrowse that created Nageswarao (@ 10, 550 COMBOBOX oBrw:oSortCbx VAR oBrw:cSortOrder) \n the possibility of inserting the options \"entries that begin with\" and \"entries that contain\" \n and therefore have both possibilities, i.e. for example the search for a city and at the same time the entries starting with ...\n5) insert in the same xbrowse the possibility of grouping the records, for example in a product archive grouping by category in the xbrowse or for date of add\n\n\n[b:2ngv4fvk]these are just the last few things i cant do and i am trying to do in windows[/b:2ngv4fvk]\n\n[b:2ngv4fvk]>I don't believe that. You are such a passionate, creative, and innovative programmer that I am convinced you'll never stop.[/b:2ngv4fvk]\n\nmaybe once, lately I'm tired, after my mother's death I lost faith in myself and in others, but how is it possible that I have to waste time with an old software from my school in which I had modified some things, I went to recompile and now the tcalendar doesn't work as before I haven't touched anything in the tcalendar . and it's not the first time that when I recompile I have problems because there's always something wrong", "time": "23:50", "topic": "CLASS modification", "username": "Silvio.Falconi" } ]
CLASS modification
[ { "date": "2023-05-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Silvio, Compuserv was there long before Outlook.\nRegards,\nOtto\n\n[quote:3pudg1ay]\nCompuserve existed before Outlook. Compuserve, founded in 1969, was one of the earliest commercial online services that provided email, forums, and other communication features. It was a popular platform for accessing online communities and exchanging messages. Microsoft Outlook, on the other hand, is an email client that was introduced in 1997 as part of the Microsoft Office suite. [/quote:3pudg1ay]", "time": "07:52", "topic": "CLASS modification", "username": "Otto" } ]
CLASS modification
[ { "date": "2023-05-25", "forum": "FiveWin for Harbour/xHarbour", "text": "for tcalendar now I resolved with datepick styles but not refresh the button\n\n[img:xtibfncu]https&#58;//i&#46;postimg&#46;cc/3xG0q9Yd/gg&#46;png[/img:xtibfncu]", "time": "08:27", "topic": "CLASS modification", "username": "Silvio.Falconi" } ]
CLASS modification
[ { "date": "2023-05-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Silvio,\n\nI will turn 77 soon. I love being outdoors, working in my garden, spending time with my 15 grandchildren, attending theater productions, going to Disneyland regularly, and so much more. I also travel.\n\nWith age comes wisdom, and that is why I still program and support clients. I have a great balance of time, but everyone I know who does not rigorously exercise their mind as they age, declines in health, and loses happiness. It is very important to continue to challenge your brain, and the logical thought involved in programming is an outstanding way to accomplish this task.\n\nRetirement sounds great until boredom sets in. Too many of my peers are rapidly declining, or passing away, because they didn't stay active physically and mentally.\n\nThat is why so many people who retired have gone back to work, even if part time. Idle time is just not healthy.\n\nTim", "time": "00:30", "topic": "CLASS modification", "username": "TimStone" } ]
CLASS modification
[ { "date": "2023-05-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Otto,\n\nOver a year ago you \"strongly encouraged\" me to re-build my program for the internet. A year later, and you have 3 people working on this, you have made some nice advances. That is great for YOU ... but for some of us, it's not the focus for our business or clients. Here are a few observations:\n\n[list=]\nMy clients hire me, and the service I provide. They are not interested in the internet\nMost of my clients do not have internet connections strong enough to handle their workload.\nMy clients who do use internet services complain they never work right, constantly break down, and they can't ever reach support people\nI have yet to see an internet program that provides anywhere near the complexity of what my package currently offers\nWith all the hacking issues, and data theft, my clients don't want to expose their business to net servers\nFor the small business, like myself, having to provide support to an internet server takes way too much time.\nSo many companies providing hosted servers last for a short time, and when they shut down, we would have to relocate everything to another server. Not worth it.\n[/list]\n\nThis is just some of the reasons I have for not converting to a web based platform. I have not lost a single client because of this. Perhaps that is because my clients value the personalized service, and very fast timing, I provide. Also, my clients all run their businesses, and none of them will do it from their phone, ever. Convenient services like text messaging, text to pay, etc. can all be provided from their local computers and clients can respond from their devices. But no one is going to write up a complex, multi-page work order, with perhaps 20 or 30 parts, from their phone. If they want to work on a computer remotely, via the internet, no problem. They do that regularly with what we have setup.\n\nYou have every right to be proud of what you are doing, but to be very honest, for many, the web based platforms are not the great option. \n\nI will give one classic example: EMAIL\nMany providers now want us to use a web based mail program. For me, that is totally inefficient . I use outlook to monitor 6 different email accounts, all in one place. Emails come in, I see a quick notification, and I can respond right away, or when it is convenient. I keep everything in folders on my computer, and since they are all exchange accounts, they are live on all of my devices. The alternative ? I would have to open 6 different browser tabs, one for each webmail page, and keep them open, along with any other web based programs, throughout the day. I would then have to look at each one separately to view the traffic. HOW INEFFICIENT !!! Outlook puts all of those inboxes into one on my email client, which is fast, informative, and effective.\n\nI've gone on long enough. Not everything belongs on the web. One of my clients summed it up perfectly. He had the opportunity to compare a web based management program to my system. In his words, it was far more expensive, yet couldn't begin to do the things that my software provides. And it was supposed to be the best alternative out there for our industry. He, and others who are solicited all the time, have no interest in making any changes ...", "time": "00:51", "topic": "CLASS modification", "username": "TimStone" } ]
CLASS modification
[ { "date": "2023-05-26", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Silvio.Falconi\":2el4k0c7]for tcalendar now I resolved with datepick styles but not refresh the button\n\n[img:2el4k0c7]https&#58;//i&#46;postimg&#46;cc/3xG0q9Yd/gg&#46;png[/img:2el4k0c7][/quote:2el4k0c7]\nwhen you \"close\" Datepicker than Notify Event DTN_CLOSEUP is send\n[code=fw:2el4k0c7]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">METHOD</span> Notify<span style=\"color: #000000;\">&#40;</span>...<span style=\"color: #000000;\">&#41;</span><br />     ...<br />      <span style=\"color: #00C800;\">case</span> nCode == DTN_CLOSEUP<br />           ::<span style=\"color: #000000;\">lClosed</span> = .T.</div>[/code:2el4k0c7]\n\nDatepicker have VALID where can can place a ACTION into ::bValid Codeblock\n[code=fw:2el4k0c7]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">   <span style=\"color: #00C800;\">if</span> bValid != <span style=\"color: #00C800;\">nil</span><br />      ::<span style=\"color: #000000;\">bValid</span>    = <span style=\"color: #000000;\">&#123;</span> || <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lClosed</span>, Eval<span style=\"color: #000000;\">&#40;</span> bValid, <span style=\"color: #00C800;\">Self</span> <span style=\"color: #000000;\">&#41;</span>, .F. <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />   <span style=\"color: #00C800;\">endif</span></div>[/code:2el4k0c7]", "time": "04:56", "topic": "CLASS modification", "username": "Jimmy" } ]
CLASS modification
[ { "date": "2023-05-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Tim,\nWhile web-based solutions have become popular and offer certain advantages, there are valid reasons why some businesses may choose to stick with traditional software or systems.\n\nYou mentioned several points:\n\nClient Focus, Internet Connection, Complexity of Software, Security and Data Protection, Support and Reliability\n\nWhile these reasons are understandable, it's worth mentioning that web-based platforms continue to evolve and address many of these concerns. For example, advancements in internet infrastructure, enhanced security measures, and reliable customer support are some areas where improvements have been made.\n\nIt's worth keeping an open mind - please see your post to Silvio, which I support 100%.\n\n\nThank you for sharing your experiences and insights. If you and your clients are satisfied with the current setup, and it continues to serve you well, it's perfectly valid to maintain the status quo.\n\nHowever, keep in mind that the transition of one's own software to a web application is not a task that can be completed in a few days - like flipping a switch.\n\nJust as fossil fuel-powered vehicles are gradually being replaced by electric cars, traditional desktop applications are also being phased out in favor of web-based solutions. The advancements in technology and the need for more sustainable and efficient options are driving this transition in both industries.\n\nBest regards,\nOtto", "time": "06:39", "topic": "CLASS modification", "username": "Otto" } ]
CLASS modification
[ { "date": "2023-05-26", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Jimmy\":q5jpakrb][quote=\"Silvio.Falconi\":q5jpakrb]for tcalendar now I resolved with datepick styles but not refresh the button\n\n[img:q5jpakrb]https&#58;//i&#46;postimg&#46;cc/3xG0q9Yd/gg&#46;png[/img:q5jpakrb][/quote:q5jpakrb]\nwhen you \"close\" Datepicker than Notify Event DTN_CLOSEUP is send\n[code=fw:q5jpakrb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">METHOD</span> Notify<span style=\"color: #000000;\">&#40;</span>...<span style=\"color: #000000;\">&#41;</span><br />     ...<br />      <span style=\"color: #00C800;\">case</span> nCode == DTN_CLOSEUP<br />           ::<span style=\"color: #000000;\">lClosed</span> = .T.</div>[/code:q5jpakrb]\n\nDatepicker have VALID where can can place a ACTION into ::bValid Codeblock\n[code=fw:q5jpakrb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">   <span style=\"color: #00C800;\">if</span> bValid != <span style=\"color: #00C800;\">nil</span><br />      ::<span style=\"color: #000000;\">bValid</span>    = <span style=\"color: #000000;\">&#123;</span> || <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lClosed</span>, Eval<span style=\"color: #000000;\">&#40;</span> bValid, <span style=\"color: #00C800;\">Self</span> <span style=\"color: #000000;\">&#41;</span>, .F. <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />   <span style=\"color: #00C800;\">endif</span></div>[/code:q5jpakrb][/quote:q5jpakrb]\n\nHow ?\n\n[code=fw:q5jpakrb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />@ nRow, <span style=\"color: #000000;\">70</span> DTPICKER &nbsp;aGet<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> ddatacambio <span style=\"color: #0000ff;\">OF</span> oDlgSub <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">198</span>, <span style=\"color: #000000;\">25</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">UPDATE</span> <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"ddd dd mmm yyyy\"</span> &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> &nbsp;oBtnGetExchange:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">STYLE</span> DTS_SHOWNONE<br /><br />&nbsp;@ nRow, <span style=\"color: #000000;\">70</span> <span style=\"color: #0000ff;\">GET</span> aGet<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> nCambio <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">200</span>,<span style=\"color: #000000;\">24</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlgSub <span style=\"color: #0000ff;\">RIGHT</span><br /><br />&nbsp; &nbsp;@ nRow<span style=\"color: #000000;\">-0.2</span>, &nbsp;<span style=\"color: #000000;\">320</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtnGetExchange ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Aggiorna on line\"</span> &nbsp;<span style=\"color: #0000ff;\">OF</span> oDlgSub;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">24</span> <span style=\"color: #0000ff;\">PIXEL</span> FLAT GDIPLUS ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BITMAP <span style=\"color: #ff0000;\">\"BTN_INTERNET\"</span> &nbsp; &nbsp;<span style=\"color: #0000ff;\">LEFT</span> NOROUND ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTION</span> ...<br /><br />&nbsp;</div>[/code:q5jpakrb]", "time": "07:53", "topic": "CLASS modification", "username": "Silvio.Falconi" } ]
CLASS modification
[ { "date": "2023-05-26", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Silvio.Falconi\":1uf74wft]\nHow ?\n\n[code=fw:1uf74wft]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />@ nRow, <span style=\"color: #000000;\">70</span> DTPICKER  aGet<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> ddatacambio <span style=\"color: #0000ff;\">OF</span> oDlgSub <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">198</span>, <span style=\"color: #000000;\">25</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br />      <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">UPDATE</span> <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"ddd dd mmm yyyy\"</span>  ;<br />      <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span>  oBtnGetExchange:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">STYLE</span> DTS_SHOWNONE<br /><br /> @ nRow, <span style=\"color: #000000;\">70</span> <span style=\"color: #0000ff;\">GET</span> aGet<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> nCambio <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">200</span>,<span style=\"color: #000000;\">24</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlgSub <span style=\"color: #0000ff;\">RIGHT</span><br /><br />   @ nRow<span style=\"color: #000000;\">-0.2</span>,  <span style=\"color: #000000;\">320</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtnGetExchange ;<br />              <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Aggiorna on line\"</span>  <span style=\"color: #0000ff;\">OF</span> oDlgSub;<br />              <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">24</span> <span style=\"color: #0000ff;\">PIXEL</span> FLAT GDIPLUS ;<br />              BITMAP <span style=\"color: #ff0000;\">\"BTN_INTERNET\"</span>    <span style=\"color: #0000ff;\">LEFT</span> NOROUND ;<br />              <span style=\"color: #0000ff;\">ACTION</span> ...<br /><br /> </div>[/code:1uf74wft][/quote:1uf74wft]\nuse VALID instead of ON CHANGE", "time": "15:15", "topic": "CLASS modification", "username": "Jimmy" } ]
CLASS modification
[ { "date": "2023-05-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Args:\n [ 1] = U \n\nStack Calls\n===========\n Called from: .\\source\\classes\\CONTROL.PRG => TDATEPICK:LVALID( 983 )\n Called from: .\\source\\classes\\CONTROL.PRG => TDATEPICK:FWLOSTFOCUS( 1233 )\n Called from: .\\source\\classes\\CONTROL.PRG => TDATEPICK:HANDLEEVENT( 1830 )\n Called from: .\\source\\classes\\WINDOW.PRG => _FWH( 3560 )\n\n @ nRow, 70 DTPICKER aGet[1] VAR ddatacambio OF oDlgSub SIZE 198, 25 PIXEL ;\n FONT oFont UPDATE PICTURE \"ddd dd mmm yyyy\" ;\n VALID oBtnGetExchange:refresh() STYLE DTS_SHOWNONE", "time": "14:59", "topic": "CLASS modification", "username": "Silvio.Falconi" } ]
CLASS modification
[ { "date": "2023-05-29", "forum": "FiveWin for Harbour/xHarbour", "text": "hi Silvio,\n\n[code=fw:2gvj6unh]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">VALID</span> oBtnGetExchange:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">STYLE</span> DTS_SHOWNONE</div>[/code:2gvj6unh]\nyou must RETURN a Logic Value for VALID\n\ntry this\n[code=fw:2gvj6unh]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">VALID</span> <span style=\"color: #000000;\">&#40;</span>oBtnGetExchange:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, .T.<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">STYLE</span> DTS_SHOWNONE</div>[/code:2gvj6unh]\nor this Way\n[code=fw:2gvj6unh]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">VALID</span> <span style=\"color: #000000;\">&#40;</span> DoSwitch<span style=\"color: #000000;\">&#40;</span> oBtnGetExchange  <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">STYLE</span> DTS_SHOWNONE<br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> DoSwitch<span style=\"color: #000000;\">&#40;</span> oBtnGetExchange  <span style=\"color: #000000;\">&#41;</span><br />   oBtnGetExchange:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">RETURN</span> .T.</div>[/code:2gvj6unh]", "time": "04:33", "topic": "CLASS modification", "username": "Jimmy" } ]
CLASS modification
[ { "date": "2023-05-29", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Jimmy\":1dg7kxfd]hi Silvio,\n\n[code=fw:1dg7kxfd]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">VALID</span> oBtnGetExchange:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">STYLE</span> DTS_SHOWNONE</div>[/code:1dg7kxfd]\nyou must RETURN a Logic Value for VALID\n\ntry this\n[code=fw:1dg7kxfd]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">VALID</span> <span style=\"color: #000000;\">&#40;</span>oBtnGetExchange:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, .T.<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">STYLE</span> DTS_SHOWNONE</div>[/code:1dg7kxfd]\nor this Way\n[code=fw:1dg7kxfd]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">VALID</span> <span style=\"color: #000000;\">&#40;</span> DoSwitch<span style=\"color: #000000;\">&#40;</span> oBtnGetExchange  <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">STYLE</span> DTS_SHOWNONE<br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> DoSwitch<span style=\"color: #000000;\">&#40;</span> oBtnGetExchange  <span style=\"color: #000000;\">&#41;</span><br />   oBtnGetExchange:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">RETURN</span> .T.</div>[/code:1dg7kxfd][/quote:1dg7kxfd]\n\nnothing happens, it doesn't make an error, and it doesn't refresh the btnbmp control anyway.\nif I press the checkbox of the datepick control or select a different date nothing happens it does not refresh the bnbmp control\nthe btnbmp control is only refreshed if the user hovers over the get", "time": "08:46", "topic": "CLASS modification", "username": "Silvio.Falconi" } ]
CLASS modification
[ { "date": "2023-05-29", "forum": "FiveWin for Harbour/xHarbour", "text": "hi Silvio,\n\ni know that CODE work, but what do you want to do when \"refresh\" BTNBMP <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \n\ni also saw\n[code=fw:7dwgjt5l]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">@ nRow, <span style=\"color: #000000;\">70</span> DTPICKER<br />@ nRow, <span style=\"color: #000000;\">70</span> <span style=\"color: #0000ff;\">GET</span></div>[/code:7dwgjt5l]\nso both are on same Place ... what do you want to do <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->", "time": "18:37", "topic": "CLASS modification", "username": "Jimmy" } ]
CLASS modification
[ { "date": "2023-05-30", "forum": "FiveWin for Harbour/xHarbour", "text": "[img:24mvdajj]https&#58;//i&#46;postimg&#46;cc/3xG0q9Yd/gg&#46;png[/img:24mvdajj]\n\nI press on datepick must refresh the btnbmp\n\nIf the user clicks on the datepick control it does not refresh the btnbmp control, however now the user has to move the mouse over the get control to refresh the btnbmp control.\nIt is the management of the EUR/USD currency exchange the btnbmp control accesses an online service and extracts the monetary quotation, to do this it needs to have a date and a type of currency that's why I needed the empty date.", "time": "08:30", "topic": "CLASS modification", "username": "Silvio.Falconi" } ]
CLASS modification
[ { "date": "2023-05-30", "forum": "FiveWin for Harbour/xHarbour", "text": "hi Silvio,\n[quote=\"Silvio.Falconi\":3ty7w1hh]I press on datepick must refresh the btnbmp[/quote:3ty7w1hh]\ni do \"see\" that BTMBMP \"seems disable\" <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \nwhen \"refresh\" it does only \"re-paint\" but not \"enable\" it or EVAL() ACTION of BTNBMP\n\n---\n\ni have ask why DTPICKER and GET have \"same\" Position @ nRow, 70 \n\nas you need a String, not Date, you can use DTOC()\nto \"validate\" if a String \"is\" a Date use CTOD()", "time": "18:06", "topic": "CLASS modification", "username": "Jimmy" } ]
CLASS modification
[ { "date": "2023-05-31", "forum": "FiveWin for Harbour/xHarbour", "text": "[b:336yh87a]>i have ask why DTPICKER and GET have \"same\" Position @ nRow, 70[/b:336yh87a]\n\n[b:336yh87a]because DATEPICK and GET ARE NOT N THE SAME POSITION[/b:336yh87a]\n\nMust I publish all my source code here ?\n [code=fw:336yh87a]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <span style=\"color: #00C800;\">local</span> nRow:= <span style=\"color: #000000;\">0</span>,nCol:= <span style=\"color: #000000;\">10</span><br />   <span style=\"color: #00C800;\">local</span> nInterlinea := <span style=\"color: #000000;\">30</span><br /><br /> ddatacambio := oBrw:<span style=\"color: #000000;\">aArraydata</span><span style=\"color: #000000;\">&#91;</span>nRecord<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span><br />    cGiorno     := oBrw:<span style=\"color: #000000;\">aArraydata</span><span style=\"color: #000000;\">&#91;</span>nRecord<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span><br />    ncambio     := oBrw:<span style=\"color: #000000;\">aArraydata</span><span style=\"color: #000000;\">&#91;</span>nRecord<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span><br /><br /><br />  nRow+=<span style=\"color: #000000;\">8</span><br />   @ nRow, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">SAY</span> oSay<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">PROMPT</span>  <span style=\"color: #ff0000;\">\"Data \"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>,<span style=\"color: #000000;\">25</span>  <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlgSub  TRANSPARENT  <span style=\"color: #0000ff;\">FONT</span> oFont<br />   nRow-=<span style=\"color: #000000;\">2</span><br /> @ nRow, <span style=\"color: #000000;\">70</span> DTPICKER  aGet<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> ddatacambio <span style=\"color: #0000ff;\">OF</span> oDlgSub <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">198</span>, <span style=\"color: #000000;\">25</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br />      <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">UPDATE</span> <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"ddd dd mmm yyyy\"</span>  ;<br />     <span style=\"color: #0000ff;\">VALID</span> <span style=\"color: #000000;\">&#40;</span> DoSwitch<span style=\"color: #000000;\">&#40;</span> oBtnGetExchange  <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">STYLE</span> DTS_SHOWNONE<br />   nRow+=nInterlinea<br />   @ nRow,<span style=\"color: #000000;\">10</span>  <span style=\"color: #0000ff;\">SAY</span> oSay<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">PROMPT</span>  <span style=\"color: #ff0000;\">\"Cambio\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>,<span style=\"color: #000000;\">25</span>  <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlgSub  TRANSPARENT  <span style=\"color: #0000ff;\">FONT</span> oFont<br />   nRow-=<span style=\"color: #000000;\">2</span><br />   @ nRow, <span style=\"color: #000000;\">70</span> <span style=\"color: #0000ff;\">GET</span> aGet<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> nCambio <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">200</span>,<span style=\"color: #000000;\">24</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlgSub <span style=\"color: #0000ff;\">RIGHT</span><br />   @ nRow<span style=\"color: #000000;\">-0.2</span>,  <span style=\"color: #000000;\">320</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtnGetExchange ;<br />              <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Aggiorna on line\"</span>  <span style=\"color: #0000ff;\">OF</span> oDlgSub;<br />              <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">24</span> <span style=\"color: #0000ff;\">PIXEL</span> FLAT GDIPLUS ;<br />              BITMAP <span style=\"color: #ff0000;\">\"BTN_INTERNET\"</span>    <span style=\"color: #0000ff;\">LEFT</span> NOROUND ;<br />              <span style=\"color: #0000ff;\">ACTION</span>   .....<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> <br /><br /><br /> <span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> DoSwitch<span style=\"color: #000000;\">&#40;</span> oBtnGetExchange  <span style=\"color: #000000;\">&#41;</span><br />   oBtnGetExchange:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">RETURN</span> .T.</div>[/code:336yh87a]\n\n>i do \"see\" that BTMBMP \"seems disable\" <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->\n>when \"refresh\" it does only \"re-paint\" but not \"enable\" it or EVAL() ACTION of BTNBMP\n\nyes the btnbmp must be disabled, only when there is a valid data the btnbmp must be enable, on init the ddatacambio is ctod('')", "time": "08:09", "topic": "CLASS modification", "username": "Silvio.Falconi" } ]
CLASS modification
[ { "date": "2023-05-31", "forum": "FiveWin for Harbour/xHarbour", "text": "hi Silvio,\n[quote=\"Silvio.Falconi\":nt3fej6s]yes the btnbmp must be disabled, only when there is a valid data the btnbmp must be enable, on init the ddatacambio is ctod('')[/quote:nt3fej6s]\ni do not \"see\" CODE which \"enable\" or \"disable\" BTNBMP\n\nas i say \"Refresh\" does only \"paint\" Control but did not \"modify\" it\n[code=fw:nt3fej6s]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">   <span style=\"color: #0000ff;\">VALID</span> <span style=\"color: #000000;\">&#40;</span> DoSwitch<span style=\"color: #000000;\">&#40;</span> ddatacambio, oBtnGetExchange<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> DoSwitch<span style=\"color: #000000;\">&#40;</span> ddatacambio, oBtnGetExchange  <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">LOCAL</span> dDate := ddatacambio:<span style=\"color: #000000;\">GetDate</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <br /><span style=\"color: #00C800;\">LOCAL</span> cDate := DTOC<span style=\"color: #000000;\">&#40;</span>dDate<span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">IF</span> EMPTY<span style=\"color: #000000;\">&#40;</span>cDate<span style=\"color: #000000;\">&#41;</span><br />      oBtnGetExchange:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">ELSE</span><br />      oBtnGetExchange:<span style=\"color: #000000;\">enable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">ENDIF</span><br />   oBtnGetExchange:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">RETURN</span> .T.</div>[/code:nt3fej6s]", "time": "18:19", "topic": "CLASS modification", "username": "Jimmy" } ]
CLASS modification
[ { "date": "2023-06-05", "forum": "FiveWin for Harbour/xHarbour", "text": "[b:1qa7op63]Error[/b:1qa7op63]\n[img:1qa7op63]https&#58;//i&#46;postimg&#46;cc/FzRZgz7S/f&#46;gif[/img:1qa7op63]\n\n[code=fw:1qa7op63]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Application<br />===========<br />&nbsp; &nbsp;Path and <span style=\"color: #0000ff;\">name</span>: <span style=\"color: #000000;\">C</span>:\\Work\\Prg\\valute\\Pvalute.Exe <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">32</span> bits<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">Size</span>: <span style=\"color: #000000;\">4</span>,<span style=\"color: #000000;\">631</span>,<span style=\"color: #000000;\">040</span> bytes<br />&nbsp; &nbsp;Compiler version: <span style=\"color: #000000;\">Harbour</span> <span style=\"color: #000000;\">3.2</span>.0dev <span style=\"color: #000000;\">&#40;</span>r2104281802<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;FiveWin &nbsp;version: <span style=\"color: #000000;\">FWH</span> <span style=\"color: #000000;\">22.03</span><br />&nbsp; &nbsp;C compiler version: <span style=\"color: #000000;\">Borland</span> C++ <span style=\"color: #000000;\">5.8</span><span style=\"color: #000000;\">.2</span> <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">32</span>-bit<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Windows version: <span style=\"color: #000000;\">6.2</span>, Build <span style=\"color: #000000;\">9200</span> <br /><br />&nbsp; &nbsp;Time <span style=\"color: #0000ff;\">from</span> start: <span style=\"color: #000000;\">0</span> hours <span style=\"color: #000000;\">0</span> mins <span style=\"color: #000000;\">15</span> secs <br />&nbsp; &nbsp;Error occurred <span style=\"color: #00C800;\">at</span>: <span style=\"color: #000000;\">05</span><span style=\"color: #000000;\">-06</span><span style=\"color: #000000;\">-2023</span>, <span style=\"color: #000000;\">09</span>:<span style=\"color: #000000;\">06</span>:<span style=\"color: #000000;\">37</span><br />&nbsp; &nbsp;Error description: <span style=\"color: #000000;\">Error</span> BASE/<span style=\"color: #000000;\">1004</span> &nbsp;Metodo non disponibile: <span style=\"color: #000000;\">GETDATE</span><br />&nbsp; &nbsp;Args:<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> &nbsp; <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> = D &nbsp; <span style=\"color: #000000;\">05</span><span style=\"color: #000000;\">-06</span><span style=\"color: #000000;\">-2023</span><br /><br />Stack Calls<br />===========<br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: &nbsp;=> GETDATE<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">source</span>\\Pvalute.prg => DOSWITCH<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1134</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">source</span>\\Pvalute.prg => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>EDIT_STORICO<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1085</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\TDTPICKE.PRG => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>TDATEPICK_NEW<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">168</span> <span style=\"color: #000000;\">&#41;</span></div>[/code:1qa7op63]", "time": "08:08", "topic": "CLASS modification", "username": "Silvio.Falconi" } ]
CLASS modification
[ { "date": "2006-02-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Buenas...\n\nHola Foro. Necesito di una DSAY.PRG y DSAY.CH modificada para el uso del comando TRANSPARENT. \n\nÉs posible??\n\n<!-- e --><a href=\"mailto:kmt_karinha@pop.com.br\">kmt_karinha@pop.com.br</a><!-- e -->\n\nGracias, Saludos a todos.", "time": "14:32", "topic": "CLASSE DSAY.PRG CON COMANDO TRANSPARENT", "username": "karinha" } ]
CLASSE DSAY.PRG CON COMANDO TRANSPARENT
[ { "date": "2006-02-20", "forum": "FiveWin para Harbour/xHarbour", "text": "João,\n[code:20jxgzwe]\nMETHOD Paint&#40;&#41; CLASS TDSay\n\n local n \n local nColorShadow, nColorLight\n\n &#58;&#58;GetDC&#40;&#41;\n\n if &#58;&#58;lActive\n\n if &#58;&#58;lView\n if &#58;&#58;lTransparent &#46;and&#46; ! Empty&#40; &#58;&#58;oBrush&#58;hBitmap &#41;\n SetBrushOrgEx&#40; &#58;&#58;hDC, nBmpWidth&#40; &#58;&#58;oBrush&#58;hBitmap &#41; - &#58;&#58;nLeft, nBmpHeight&#40; &#58;&#58;oBrush&#58;hBitmap &#41; - &#58;&#58;nTop &#41;\n FillRect&#40; &#58;&#58;hDC, GetClientRect&#40; &#58;&#58;hWnd &#41;, &#58;&#58;oBrush&#58;hBrush &#41;\n endif \n \n for n &#58;= 1 to len&#40; &#58;&#58;aCaption &#41;\n &#46;&#46;&#46;\n[/code:20jxgzwe]\n\nAlso this fix is required in control.prg:\n[code:20jxgzwe]\nMETHOD Initiate&#40; hDlg &#41; CLASS TControl\n\n &#46;&#46;&#46;\n\n if &#58;&#58;lTransparent\n &#58;&#58;SetBrush&#40; &#58;&#58;oWnd&#58;oBrush &#41; \n else\n &#58;&#58;SetBrush&#40; TBrush&#40;&#41;&#58;New&#40; \"NULL\" &#41; &#41;\n endif \n\nreturn nil\n[/code:20jxgzwe]", "time": "10:58", "topic": "CLASSE DSAY.PRG CON COMANDO TRANSPARENT", "username": "Antonio Linares" } ]
CLASSE DSAY.PRG CON COMANDO TRANSPARENT
[ { "date": "2006-02-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio,\n\nthanks a lot !!! <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: --> \n\nSaludos,\n\nFélix", "time": "12:38", "topic": "CLASSE DSAY.PRG CON COMANDO TRANSPARENT", "username": "Baxajaun" } ]
CLASSE DSAY.PRG CON COMANDO TRANSPARENT
[ { "date": "2006-02-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio, No Funciono... Ke hice errado??\n\nAplicacao: \n===========\n Caminho(Path): C:\\PDVXB\\BALCAOW.EXE (32 bits)\n Tamanho: 3,496,960 bytes\n Hora Inicial: 0 hours 0 mins 1 secs \n Ocorrencia de Erro: 21/02/06, 11:43:58\n Descricao do Erro: Error BASE/1004 Message not found: TDSAY:LTRANSPARENT\n\nChamada da Pilha: \n================= \n Chamada De: TDSAY:ERROR(179)\n Chamada De: (b)HBOBJECT:HBOBJECT(105)\n Chamada De: TDSAY:MSGNOTFOUND(0)\n Chamada De: TDSAY:LTRANSPARENT(167)\n Chamada De: TCONTROL:INITIATE(378)\n Chamada De: (b)TDSAY:TDSAY(68)\n Chamada De: TDSAY:INITIATE(0)\n Chamada De: __OBJSENDMSG(0)\n Chamada De: OSEND(224)\n Chamada De: ASEND(175)\n Chamada De: TDIALOG:INITIATE(638)\n Chamada De: TDIALOG:HANDLEEVENT(855)\n Chamada De: DIALOGBOXINDIRECT(0)\n Chamada De: TDIALOG:ACTIVATE(264)\n Chamada De: SENHA2(335)\n Chamada De: SENHA(137)\n Chamada De: MAIN(295)", "time": "15:47", "topic": "CLASSE DSAY.PRG CON COMANDO TRANSPARENT", "username": "karinha" } ]
CLASSE DSAY.PRG CON COMANDO TRANSPARENT
[ { "date": "2006-02-21", "forum": "FiveWin para Harbour/xHarbour", "text": "//-> CLASSE DSAY.PRG\n\nMETHOD Paint() CLASS TDSay\n\n local n \n local nColorShadow, nColorLight\n\n ::GetDC()\n\n if ::lActive\n\n if ::lView\n\n //-> Modificado Por Antonio Linares, em 20/02/2006 Para TRANSPARENT\n if ::lTransparent .and. ! Empty( ::oBrush:hBitmap ) \n SetBrushOrgEx( ::hDC, nBmpWidth( ::oBrush:hBitmap ) - ::nLeft, nBmpHeight( ::oBrush:hBitmap ) - ::nTop ) \n FillRect( ::hDC, GetClientRect( ::hWnd ), ::oBrush:hBrush ) \n endif\n \n for n := 1 to len( ::aCaption )\n WSay( ::hWnd, ::hDC, ::nDTop + ( n - 1 ) * ::nTxtHeight, ::nDLeft, ::aCaption[ n ], ::nClrText,,;\n If( ::oFont != nil, ::oFont:hFont, 0 ), .T., .T., ::nAlign )\n next\n \n if ::lScroll .and. ::lWrap\n if ::lHorizontal\n for n := 1 to len( ::aCaption )\n WSay( ::hWnd, ::hDC, ::nDTop + ( n - 1 ) * ::nTxtHeight, ::nDLeft + ::nLong, ::aCaption[ n ], ::nClrText,,;\n If( ::oFont != nil, ::oFont:hFont, 0 ), .T., .T., ::nAlign )\n next\n else\n for n := 1 to len( ::aCaption )\n WSay( ::hWnd, ::hDC, ::nDTop + ( n - 1 ) * ::nTxtHeight + ::nLong, ::nDLeft, ::aCaption[ n ], ::nClrText,,;\n If( ::oFont != nil, ::oFont:hFont, 0 ), .T., .T., ::nAlign )\n next\n endif\n endif\n \n else\n \n InvalidateRect( ::hWnd, ::aRect, .t. )\n \n endif\n\n else\n \n nColorShadow := GetSysColor( COLOR_BTNSHADOW )\n nColorLight := GetSysColor( COLOR_BTNHIGHLIGHT ) \n\n for n := 1 to len( ::aCaption )\n WSay( ::hWnd, ::hDC, ::nDTop + ( n - 1 ) * ::nTxtHeight + 1, ::nDLeft + 1, ::aCaption[ n ], nColorLight,,;\n If( ::oFont != nil, ::oFont:hFont, 0 ), .T., .T., ::nAlign )\n WSay( ::hWnd, ::hDC, ::nDTop + ( n - 1 ) * ::nTxtHeight, ::nDLeft, ::aCaption[ n ], nColorShadow,,;\n If( ::oFont != nil, ::oFont:hFont, 0 ), .T., .T., ::nAlign )\n next\n\n endif\n\n // 3D\n\n if ::lShaded\n WndInset( ::hWnd, ::hDC ) // SHADED, SHADOW\n endif\n\n if ::lRaised\n WndRaised( ::hWnd, ::hDC ) // RAISED\n endif\n\n if ::lBox\n WndBoxIn( ::hDC, 0, 0, ::nBottom-::nTop, ::nRight-::nLeft )\n WndBoxRaised( ::hDC, 1, 1, ::nBottom-::nTop-1, ::nRight-::nLeft-1 )\n endif\n\n ::ReleaseDC()\n\nreturn nil", "time": "15:50", "topic": "CLASSE DSAY.PRG CON COMANDO TRANSPARENT", "username": "karinha" } ]
CLASSE DSAY.PRG CON COMANDO TRANSPARENT
[ { "date": "2006-02-21", "forum": "FiveWin para Harbour/xHarbour", "text": "CLASSE CONTROL.PRG\n\nMETHOD Initiate( hDlg ) CLASS TControl\n\n DEFAULT ::lActive := .t., ::lDrag := .f., ::lCaptured := .f.,;\n ::lFocused := .f., ::lCancel := .f.\n\n if( ( ::hWnd := GetDlgItem( hDlg, ::nId ) ) != 0 )\n\n If( ::lActive, ::Enable(), ::Disable() )\n ::Link()\n\n if ::oFont != nil\n ::SetFont( ::oFont )\n else\n ::GetFont()\n endif\n\n else\n #define NOVALID_CONTROLID 1\n Eval( ErrorBlock(), _FWGenError( NOVALID_CONTROLID, \"No: \" + ;\n Str( ::nId, 6 ) ) )\n endif\n\n //->Modificado Por Antonio Linares, em 20/02/2006 Para TRANSPARENT em DSAY.PRG\n if ::lTransparent \n ::SetBrush( ::oWnd:oBrush ) \n else \n ::SetBrush( TBrush():New( \"NULL\" ) ) \n endif\n\nreturn nil", "time": "15:54", "topic": "CLASSE DSAY.PRG CON COMANDO TRANSPARENT", "username": "karinha" } ]
CLASSE DSAY.PRG CON COMANDO TRANSPARENT
[ { "date": "2008-09-22", "forum": "FiveWin for Pocket PC", "text": "É possível colocar na Horizontal os BT de Rádio isto é:\r\n\r\n@ 1, 0 RADIO btradio ;\r\n ITEMS \"&One\", \"&Two\", \"T&hree\" SIZE 80, 15;\r\n ON CHANGE MsgBeep() OF oWnd\r\n\r\nResulta isto:\r\n- One\r\n- Two\r\n- Three\r\n\r\nMas eu queria assim:\r\n - One - Two - Three\r\n\r\nSerá que é possível?\r\n\r\nObrigado", "time": "13:41", "topic": "CLASSE RADIO", "username": "rasptty" } ]
CLASSE RADIO
[ { "date": "2008-09-22", "forum": "FiveWin for Pocket PC", "text": "Sergio,\r\n\r\ntest.prg\r\n[code:2l01i45l]\n#include \"FWCE&#46;ch\"\n\nfunction Main&#40;&#41;\n\n local oDlg, oRad, nValue &#58;= 1\n\n DEFINE DIALOG oDlg SIZE 230, 100\n\n @ 0&#46;2, 2 RADIO oRad VAR nValue ITEMS \"One\" OF oDlg SIZE 25, 20\n\n @ 0&#46;2, 6 RADIOITEM \"Two\" RADIOMENU oRad OF oDlg SIZE 25, 20\n\n @ 0&#46;2, 10 RADIOITEM \"Three\" RADIOMENU oRad OF oDlg SIZE 25, 20\n\n @ 1&#46;7, 7 BUTTON \"Value\" OF oDlg ACTION MsgInfo&#40; nValue &#41;\n\n ACTIVATE DIALOG oDlg CENTERED\n\nreturn nil\n[/code:2l01i45l]\r\n[url=http&#58;//imageshack&#46;us:2l01i45l][img:2l01i45l]http&#58;//img295&#46;imageshack&#46;us/img295/2760/radiosbp6&#46;jpg[/img:2l01i45l][/url:2l01i45l]", "time": "15:55", "topic": "CLASSE RADIO", "username": "Antonio Linares" } ]
CLASSE RADIO
[ { "date": "2008-09-22", "forum": "FiveWin for Pocket PC", "text": "Obrigado Linares\r\n\r\nE Como faço para mudificar o tipo e tamanho de Letra?", "time": "22:58", "topic": "CLASSE RADIO", "username": "rasptty" } ]
CLASSE RADIO
[ { "date": "2009-05-12", "forum": "FiveWin for Pocket PC", "text": "@ 0, 0 FOLDER oFld PROMPTS \"General\", \"Nivel\", \"Note\",\"Other\" ;\n SIZE 240,290 PIXEL BOTTOM\n\n\nNOT RUN ?", "time": "14:59", "topic": "CLAUSE @ FOLDER ...BOTTOM", "username": "Silvio" } ]
CLAUSE @ FOLDER ...BOTTOM
[ { "date": "2009-05-12", "forum": "FiveWin for Pocket PC", "text": "Hello Silvio,\ntry it this way:\noFld := TFolder():New( 0, 0, {\"Generale\", \"Dettagli\", \"Note\"}, {},,,,, .F., .F., 240, 95,, .F.,, .T. )\n\nBest regards,\nOtto", "time": "19:04", "topic": "CLAUSE @ FOLDER ...BOTTOM", "username": "Otto" } ]
CLAUSE @ FOLDER ...BOTTOM
[ { "date": "2011-10-10", "forum": "FiveWin for Harbour/xHarbour", "text": "hello everyone, I have the following situation in tfolder and tfolderex:\n\nuse the when clause to enable or disable gets the folder / folderex.\noperate normally without the folder when I change the variable value to false lBrowse.\ngets where they should be enabled and not enabled, refresh setoption already did before and do not refresh enables gets.\n\nwith normal folder when Fando FiveWin change the variable value to enable gets if I click on the second tab and then return to the first shows there apeans more so. tfolderex now not working right.\n\nDaniel or if someone there can help me thank you, 'cause do not want to get get: enable, so I created the variable lBrowse to be more practical and organized the code.\n\nsorry my bad inglish, i used google translator, rsrsrsrs.\n#DEFINE AbaCadastro oFldEmpresa:aDialogs[01]\n\nlocal lBrowse:=.T.\n\n\n REDEFINE COMBOBOX oEstado VAR oDbfEmpresa:UF ITEMS aEstados ID 117 OF AbaCadastro;\n WHEN !lBrowse UPDATE;", "time": "03:04", "topic": "CLAUSE IN ERROR WHEN GET FOLDER NE / FOLDEEX", "username": "gss200610" } ]
CLAUSE IN ERROR WHEN GET FOLDER NE / FOLDEEX
[ { "date": "2011-10-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Don't know if I understood your problem but try using\n\n[code=fw:2h34qpqe]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oFldEmpresa:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">01</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">AEvalWhen</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span></div>[/code:2h34qpqe]\n\nEMG", "time": "09:18", "topic": "CLAUSE IN ERROR WHEN GET FOLDER NE / FOLDEEX", "username": "Enrico Maria Giordano" } ]
CLAUSE IN ERROR WHEN GET FOLDER NE / FOLDEEX
[ { "date": "2006-02-21", "forum": "FiveWin para CA-Clipper", "text": "Antonio, como se puede trabajar con clipper+fivewin como Cliente/Servidor.\nSaludos", "time": "13:47", "topic": "CLIENTE/SERVIDOR", "username": "jbrita" } ]
CLIENTE/SERVIDOR
[ { "date": "2006-02-21", "forum": "FiveWin para CA-Clipper", "text": "[quote=\"jbrita\":3vn8xiud]Antonio, como se puede trabajar con clipper+fivewin como Cliente/Servidor.\nSaludos[/quote:3vn8xiud]\n\nClaro que si, para DBFs con Advantage Database Server:\n\nMirate este ejemplo:\n\n<!-- m --><a class=\"postlink\" href=\"http://www.google.d2g.com/ads/demos/aiswin32.zip\">http://www.google.d2g.com/ads/demos/aiswin32.zip</a><!-- m -->\n\nY con SQL via ADO\n\nMas info:\n\n<!-- m --><a class=\"postlink\" href=\"http://www.google.com/ads.htm\">http://www.google.com/ads.htm</a><!-- m -->", "time": "17:57", "topic": "CLIENTE/SERVIDOR", "username": "R.F." } ]
CLIENTE/SERVIDOR
[ { "date": "2006-02-22", "forum": "FiveWin para CA-Clipper", "text": "Gracias por responder Rene pero se ve Lento no habra una manera mas rapido.\nSaludos", "time": "13:10", "topic": "CLIENTE/SERVIDOR", "username": "jbrita" } ]
CLIENTE/SERVIDOR
[ { "date": "2006-02-23", "forum": "FiveWin para CA-Clipper", "text": "Depende de la parte del mundo donde estes.\n\nLos datos estan en nuestro servidor en Cd. de Mexico. Conectado por ADS de 2 mbps.\n\nNuestros clientes que usan esta tecnologica usualmente estan conectados por ADSL de 512 kbps y dentro del mismo pais tenemos una estupenda velocidad de respuesta, como si estuvieras en la red local.", "time": "17:52", "topic": "CLIENTE/SERVIDOR", "username": "R.F." } ]
CLIENTE/SERVIDOR
[ { "date": "2006-02-28", "forum": "FiveWin para CA-Clipper", "text": "eagle 1 de manuel exposito es buenasa\nno he probado condor pero deber se tambien buena\n\nSaludos", "time": "18:14", "topic": "CLIENTE/SERVIDOR", "username": "Vladimir Zorrilla" } ]
CLIENTE/SERVIDOR
[ { "date": "2007-06-25", "forum": "FiveWin para Harbour/xHarbour", "text": "¿Es obligatorio utilizar CLIP2HARB para crear funciones C para xHarbour?\n\nResulta que tengo alguna utilidad en C a 16 bit que quiero pasar a 32 bits pero tras pasar el CLIP2HARB y compilar con BCC32 me dice que HB_FUNC está repetida y no compila. ¿que tengo que hacer, una funcion por fichero? o hay otra solucion. Con una sola funcion por fichero compila, pero me advierte de que el parámetro que paso a la funcion HB_FUNC ( nombre de la antigua funcion 16 bits) no se está utilizando.\n\nPor ultimo. Tras hacer el OBJ. Como lo utilizo con VERCE, ¿Metiendolo donde los demas OBJ (no me funciona)?¿Creando una LIB primero?¿o hay otra solucion?\n\nGracias de antemano\n\nUn saludo", "time": "19:57", "topic": "CLIP2HARB", "username": "antolin" } ]
CLIP2HARB
[ { "date": "2007-06-25", "forum": "FiveWin para Harbour/xHarbour", "text": "> ¿Es obligatorio utilizar CLIP2HARB para crear funciones C para xHarbour? \n\nNo es obligatorio. FWH lo usa para asi poder usar los mismos ficheros C desde 16 (con Clipper) ó 32 bits (con Harbour).", "time": "21:00", "topic": "CLIP2HARB", "username": "Antonio Linares" } ]
CLIP2HARB
[ { "date": "2007-06-26", "forum": "FiveWin para Harbour/xHarbour", "text": "¿Entonces compilando los de 16 bit con BCC32 sin modificarlos me servirían para Harbour?", "time": "10:44", "topic": "CLIP2HARB", "username": "antolin" } ]
CLIP2HARB
[ { "date": "2007-06-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Por cierto, que hago con el OBJ desde Verce. ¿O monto una LIB? ¿Que es mejor?\n\nMuchas Gracias", "time": "10:45", "topic": "CLIP2HARB", "username": "antolin" } ]
CLIP2HARB
[ { "date": "2007-06-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Si usas los ficheros de cabecera correctos, puedes usarlos perfectamente con Harbour.\n\nNosotros no usamos Verce. Usamos y recomendamos UEStudio", "time": "10:59", "topic": "CLIP2HARB", "username": "Antonio Linares" } ]
CLIP2HARB
[ { "date": "2007-06-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Vale. Gracias.\nBuscare el UEStudio y lo probaré", "time": "19:14", "topic": "CLIP2HARB", "username": "antolin" } ]
CLIP2HARB
[ { "date": "2006-02-19", "forum": "FiveWin para CA-Clipper", "text": "Estoy desarrollando una aplicacion en Clipper/Fivewin que usa un lector de huella digital, necesito comunicarme con el decodificador por un puerto comm RS232, enviar y recibir comandos (nibbles), me podrian decir si existen las instrucciones necesarias para esto o que me recomienden un software de comunicacion.\n\nSe los voy agradecer mucho. <!-- s:roll: --><img src=\"{SMILIES_PATH}/icon_rolleyes.gif\" alt=\":roll:\" title=\"Rolling Eyes\" /><!-- s:roll: -->", "time": "22:07", "topic": "CLIPPER/FIVEWIN COMUNICACION SERIAL COMM", "username": "HUGO CANTON" } ]
CLIPPER/FIVEWIN COMUNICACION SERIAL COMM
[ { "date": "2006-02-20", "forum": "FiveWin para CA-Clipper", "text": "Hugo,\n\nPuedes revisar ejemplos en samples\\phone.prg ó uno más complejo en samples\\comm\\*", "time": "08:48", "topic": "CLIPPER/FIVEWIN COMUNICACION SERIAL COMM", "username": "Antonio Linares" } ]
CLIPPER/FIVEWIN COMUNICACION SERIAL COMM
[ { "date": "2011-12-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Saludos al Forum\n\nCLase Timprime/Utilprn Da error, [b:3cdyv5kh]Error (6) Enhanced metafile Error description[/b:3cdyv5kh] \nCuando el reporte es de una pagina funciiona bien , el problema es cuando es ma de una pagina.", "time": "15:48", "topic": "CLase Timprime/Utilprn Da error", "username": "ruben Dario" } ]
CLase Timprime/Utilprn Da error
[ { "date": "2011-12-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Si no eres más especifico , poco o nada podemos hacer.\nLa uso sin problemas, con cientos de paginas.\nQuizás sea problema de permisos o similar. Fijate que te da un error DOS 6, 06 Invalid handle. Quizás no pudo abrir el fichero.\n\nSeguramente, falla en la rutina de la impresion de pagina 1 de XXX.\nIndica a TImprime que no te ponga la numeración.", "time": "11:49", "topic": "CLase Timprime/Utilprn Da error", "username": "thefull" } ]
CLase Timprime/Utilprn Da error
[ { "date": "2011-12-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias compañero por su respuesta que version usas de fwh, \n\nhasta la version fwh 11.09 funciona perfecto, cuando emigro a la fwh 11.11 genera este problema, no se si alguien pueda hacer la prueba con esta clase.\n\nCompile los ejemplos que bienen con la clase, y pasa lo mismo.", "time": "15:11", "topic": "CLase Timprime/Utilprn Da error", "username": "ruben Dario" } ]
CLase Timprime/Utilprn Da error
[ { "date": "2011-12-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Pues entonces el culpable es de FWh 11.11 <!-- s;-) --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\";-)\" title=\"Wink\" /><!-- s;-) -->\nNo tengo esa versión, tendrías que ver las diferencias en fivewin.", "time": "18:51", "topic": "CLase Timprime/Utilprn Da error", "username": "thefull" } ]
CLase Timprime/Utilprn Da error
[ { "date": "2011-12-14", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"thefull\":30p99rl2]Pues entonces el culpable es de FWh 11.11 <!-- s;-) --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\";-)\" title=\"Wink\" /><!-- s;-) -->\nNo tengo esa versión, tendrías que ver las diferencias en fivewin.[/quote:30p99rl2]\n\n\nCual es tu email", "time": "00:46", "topic": "CLase Timprime/Utilprn Da error", "username": "ruben Dario" } ]
CLase Timprime/Utilprn Da error
[ { "date": "2011-12-14", "forum": "FiveWin para Harbour/xHarbour", "text": "Tienes que mirar diferencias en la clase TPRINTER, seguramente se tocó alguna cosa.\nYo suo la FWH/FWHX 10.8 07/Sep/2010\nLo acabo de poner en la firma.", "time": "12:36", "topic": "CLase Timprime/Utilprn Da error", "username": "thefull" } ]
CLase Timprime/Utilprn Da error
[ { "date": "2011-12-14", "forum": "FiveWin para Harbour/xHarbour", "text": "ESO PASA CUANDO FALTA UN ENDPAGE", "time": "12:44", "topic": "CLase Timprime/Utilprn Da error", "username": "QAZWSX2K" } ]
CLase Timprime/Utilprn Da error
[ { "date": "2013-12-03", "forum": "FiveWin para Harbour/xHarbour", "text": "Path and name: D:\\LJ2000\\LJ-Frente.exe (32 bits)\n Size: 4,390,912 bytes\n Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20130422)\n FiveWin Version: FWHX 13.08\n Windows version: 6.1, Build 7601 Service Pack 1\n\n Time from start: 0 hours 0 mins 46 secs \n Error occurred at: 03/12/2013, 16:30:13\n Error description: Error BASE/1004 Class: 'NIL' has no exported method: BOXMSG\n Args:\n [ 1] = U \n [ 2] = U \n [ 3] = U \n [ 4] = U \n [ 5] = U \n [ 6] = U \n [ 7] = O TPEN\n [ 8] = L .T.\n [ 9] = N 18\n [ 10] = N 18\n [ 11] = A { ... }\n [ 12] = N 0.60\n [ 13] = N 0\n [ 14] = U \n [ 15] = U \n [ 16] = U \n [ 17] = N 0.25\n [ 18] = N 2\n [ 19] = L .T.\n [ 20] = N 0.1\n [ 21] = U \n [ 22] = O TPEN\n [ 23] = L .T.\n [ 24] = U \n [ 25] = L .F.\n\nStack Calls\n===========\n Called from: => BOXMSG( 0 )\n Called from: ImpCupom.prg => TIMPCUPOMWIN:CABECALHO( 1087 )\n Called from: ImpCupom.prg => TIMPCUPOMWIN:NEW( 1054 )\n Called from: ImpCupom.prg => (b)EMITEPEDIDOVENDA( 156 )\n Called from: btnbmp.prg => TBTNBMP:CLICK( 492 )\n Called from: btnbmp.prg => TBTNBMP:LBUTTONUP( 689 )\n Called from: .\\source\\classes\\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1723 )\n Called from: btnbmp.prg => TBTNBMP:HANDLEEVENT( 1447 )\n Called from: .\\source\\classes\\WINDOW.PRG => _FWH( 3236 )\n Called from: => DIALOGBOX( 0 )\n Called from: .\\source\\classes\\DIALOG.PRG => TDIALOG:ACTIVATE( 274 )\n Called from: ImpCupom.prg => EMITEPEDIDOVENDA( 188 )\n Called from: Checkout.Prg => GRAVAORCAMENTO( 8349 )\n Called from: Checkout.Prg => BTNFECHA( 8050 )\n Called from: Checkout.Prg => TECLAPRESS( 1943 )\n Called from: Checkout.Prg => (b)CHECKOUT( 1254 )\n Called from: .\\source\\classes\\WINDOW.PRG => TWINDOW:KEYDOWN( 2652 )\n Called from: .\\source\\classes\\CONTROL.PRG => TCONTROL:KEYDOWN( 1047 )\n Called from: .\\source\\classes\\XBROWSE.PRG => TXBROWSE:KEYDOWN( 2362 )\n Called from: => TWINDOW:HANDLEEVENT( 0 )\n Called from: .\\source\\classes\\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1733 )\n Called from: .\\source\\classes\\XBROWSE.PRG => TXBROWSE:HANDLEEVENT( 12140 )\n Called from: .\\source\\classes\\WINDOW.PRG => _FWH( 3236 )\n Called from: => WINRUN( 0 )\n Called from: .\\source\\classes\\WINDOW.PRG => TWINDOW:ACTIVATE( 1003 )\n Called from: Checkout.Prg => LOJAFRENTE( 781 )", "time": "19:41", "topic": "CLase Timprime/Utilprn Da error com Fwh1309", "username": "Joao Cezar" } ]
CLase Timprime/Utilprn Da error com Fwh1309
[ { "date": "2013-12-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Estoy usando la clase timprime de Rafa con fwh1309 y xharbour123 está dando error, parece que no puede inicializar los objetos que se encuentran dentro de la clase, hasta el lanzamiento de fwh1201 xharbour121 y funcionaban normalmente.", "time": "19:25", "topic": "CLase Timprime/Utilprn Da error com Fwh1309", "username": "Joao Cezar" } ]
CLase Timprime/Utilprn Da error com Fwh1309
[ { "date": "2010-06-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola a tod@s,\n\nAlguien tine la clase Odometer de Ramón Avendaño para 32b.\n\nGracias de antemano", "time": "17:45", "topic": "CLase Todometer de Ramón Avendaño", "username": "Salvador" } ]
CLase Todometer de Ramón Avendaño
[ { "date": "2010-06-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola yo se de la paginita del señor Avendaño <!-- m --><a class=\"postlink\" href=\"http://personales.mundivia.es/rar/\">http://personales.mundivia.es/rar/</a><!-- m --> \n\npero no sepo si funcione lo que ahí esta \n\nSaluditos <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->", "time": "04:11", "topic": "CLase Todometer de Ramón Avendaño", "username": "AIDA" } ]
CLase Todometer de Ramón Avendaño
[ { "date": "2010-06-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias AIDA,\n\nYa conozco la página, todo lo que ahí esta funciona a la perfección en FW para Clipper, pero en concreto la clase Odometer no funciona en FWH ya que hace uso de unas rutinas en C que habría que portar de 16 a 32 bits.\n\nEspero que algún compañero del foro la tenga portada o alguien con conocimientos en C lo pueda hacer.\n\nGracias por tu interés.\n\nSaluditos <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->", "time": "14:14", "topic": "CLase Todometer de Ramón Avendaño", "username": "Salvador" } ]
CLase Todometer de Ramón Avendaño
[ { "date": "2010-06-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Aqui esta el codiguito en \"C\" a ver si alguien del foro que sepa mucho del \"C\" nos ayuda\n\nGracias <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: --> \n[code=fw:226jc9s3]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <WinTen.h><br /><span style=\"color: #00D7D7;\">#include</span> <Windows.h><br /><span style=\"color: #00D7D7;\">#include</span> <ShellApi.h><br /><span style=\"color: #00D7D7;\">#include</span> <ClipApi.h><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br />CLIPPER DRAWDIGIT<span style=\"color: #000000;\">&#40;</span> PARAMS <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//   hDC, nTop, nLeft, nBottom, nRight, cDigit, nPos, </span><br />                            <span style=\"color: #B900B9;\">//   hFont, nClrPane, nClrText </span><br /><span style=\"color: #000000;\">&#123;</span><br />                         <br />   HDC   hDC          = <span style=\"color: #000000;\">&#40;</span> HDC <span style=\"color: #000000;\">&#41;</span> _parnl<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span>;<br />   long  wRow;        <br />   long  wCol;<br /><br />   RECT  rct;<br />   <br />   LPSTR szChar       = _parc<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">&#41;</span>;<br />   LPSTR szChar_      = <span style=\"color: #ff0000;\">\"0\"</span>;<br />   <br />   int   nPos         = _parnl<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">7</span> <span style=\"color: #000000;\">&#41;</span>;<br />   <br />   COLORREF nClrBack  = _parnl<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">&#41;</span>;<br />   COLORREF nClrFore  = _parnl<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">&#41;</span>;<br /><br />   HFONT hFont        = <span style=\"color: #000000;\">&#40;</span> HFONT <span style=\"color: #000000;\">&#41;</span> _parnl<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">8</span> <span style=\"color: #000000;\">&#41;</span>;<br />   HFONT hOldFont;<br /><br />   TEXTMETRIC tm;<br /><br />   DWORD dwCWidth;<br /><br />   int   nHeight;<br /><br />   <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> hFont <span style=\"color: #000000;\">&#41;</span><br />       hOldFont = SelectObject<span style=\"color: #000000;\">&#40;</span> hDC, hFont <span style=\"color: #000000;\">&#41;</span>;<br /><br />   GetTextMetrics<span style=\"color: #000000;\">&#40;</span> hDC, &tm <span style=\"color: #000000;\">&#41;</span>;<br /><br />   szChar_<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#93;</span> = szChar<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#93;</span> + <span style=\"color: #000000;\">1</span>;<br />   <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">&#40;</span> szChar_<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#93;</span> == <span style=\"color: #ff0000;\">':'</span> <span style=\"color: #000000;\">&#41;</span> szChar_<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#93;</span> = <span style=\"color: #ff0000;\">'0'</span>;<br /><br />   rct.top    = _parni<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span>;<br />   rct.<span style=\"color: #0000ff;\">left</span>   = _parni<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span>;<br />   rct.bottom = _parni<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#41;</span>;<br />   rct.<span style=\"color: #0000ff;\">right</span>  = _parni<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#41;</span>;<br /><br />   dwCWidth = <span style=\"color: #0000ff;\">MAX</span><span style=\"color: #000000;\">&#40;</span> GetTextExtent<span style=\"color: #000000;\">&#40;</span> hDC, szChar, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span>, tm.tmAveCharWidth <span style=\"color: #000000;\">&#41;</span>;<br /><br />   wCol = <span style=\"color: #000000;\">&#40;</span> rct.<span style=\"color: #0000ff;\">right</span> + rct.<span style=\"color: #0000ff;\">left</span> - dwCWidth + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">2</span>;<br />   wRow =  rct.top - <span style=\"color: #000000;\">1</span>;<br /><br />   <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">&#40;</span> nPos > <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span> nHeight = rct.top - rct.bottom;<br />   <span style=\"color: #00C800;\">else</span> nHeight = rct.bottom - rct.top;<br /><br />   SetTextColor<span style=\"color: #000000;\">&#40;</span> hDC, nClrFore <span style=\"color: #000000;\">&#41;</span>;<br />   SetBkColor<span style=\"color: #000000;\">&#40;</span> hDC, nClrBack <span style=\"color: #000000;\">&#41;</span>;<br /><br />   ExtTextOut<span style=\"color: #000000;\">&#40;</span> hDC, <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span>, ETO_OPAQUE, &rct, <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>;<br />   ExtTextOut<span style=\"color: #000000;\">&#40;</span> hDC, wCol, wRow + nPos, ETO_CLIPPED, &rct, szChar, <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>;<br />   ExtTextOut<span style=\"color: #000000;\">&#40;</span> hDC, wCol, wRow + nPos + nHeight, ETO_CLIPPED, &rct, szChar_, <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>;<br />   <span style=\"color: #B900B9;\">//  DrawText( hDC, szChar, 1, &rct, (DT_CENTER || DT_VCENTER) );</span><br /><br />   <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> hFont <span style=\"color: #000000;\">&#41;</span><br />       SelectObject<span style=\"color: #000000;\">&#40;</span> hDC, hOldFont <span style=\"color: #000000;\">&#41;</span>;<br /><br />    _ret<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>;<br /><br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br />CLIPPER DIGITSBOX<span style=\"color: #000000;\">&#40;</span> PARAMS <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// hWnd, nDigits, nHeight, nWidth, l3D</span><br /><span style=\"color: #000000;\">&#123;</span><br /><br />   int   i;<br /><br />   HWND hWnd       = <span style=\"color: #000000;\">&#40;</span> HWND <span style=\"color: #000000;\">&#41;</span> _parnl<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span>;<br /><br />   WORD wDigits    = _parni<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span>;<br /><br />   WORD wHeight    = _parni<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span>;<br />   WORD wWidth     = _parni<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#41;</span>;<br /><br />   WORD wCol       = <span style=\"color: #000000;\">1</span>;<br />   WORD wLong      = wDigits * wWidth + <span style=\"color: #000000;\">1</span>;<br /><br />   HPEN hPBlack    = CreatePen<span style=\"color: #000000;\">&#40;</span> PS_SOLID, <span style=\"color: #000000;\">1</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>;<br /><br />   BOOL b3DLook    = _parl<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#41;</span>;<br /><br />   HPEN hPUpLeft;<br />   HPEN hPBotRit;<br /><br />   HDC  hDC        = GetDC<span style=\"color: #000000;\">&#40;</span> hWnd <span style=\"color: #000000;\">&#41;</span>;<br /><br />   HPEN hOldPen    = SelectObject<span style=\"color: #000000;\">&#40;</span> hDC, hPBlack <span style=\"color: #000000;\">&#41;</span>;<br /><br />   MoveTo<span style=\"color: #000000;\">&#40;</span> hDC, <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span>;<br />   LineTo<span style=\"color: #000000;\">&#40;</span> hDC, wLong, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span>;<br />   LineTo<span style=\"color: #000000;\">&#40;</span> hDC, wLong, wHeight <span style=\"color: #000000;\">&#41;</span>;<br />   LineTo<span style=\"color: #000000;\">&#40;</span> hDC, <span style=\"color: #000000;\">1</span>, wHeight <span style=\"color: #000000;\">&#41;</span>;<br />   LineTo<span style=\"color: #000000;\">&#40;</span> hDC, <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span>;<br /><br />   <span style=\"color: #00C800;\">for</span> <span style=\"color: #000000;\">&#40;</span> i = <span style=\"color: #000000;\">1</span>; i < wDigits ; i++ <span style=\"color: #000000;\">&#41;</span><br />     <span style=\"color: #000000;\">&#123;</span><br />        wCol += wWidth;<br /><br />        MoveTo<span style=\"color: #000000;\">&#40;</span> hDC, wCol, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span>;<br />        LineTo<span style=\"color: #000000;\">&#40;</span> hDC, wCol, wHeight <span style=\"color: #000000;\">&#41;</span>;<br /><br />     <span style=\"color: #000000;\">&#125;</span><br /><br />   <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">&#40;</span> b3DLook <span style=\"color: #000000;\">&#41;</span><br />      <span style=\"color: #000000;\">&#123;</span><br />         hPUpLeft  = CreatePen<span style=\"color: #000000;\">&#40;</span> PS_SOLID, <span style=\"color: #000000;\">1</span>, GetSysColor<span style=\"color: #000000;\">&#40;</span> COLOR_BTNSHADOW <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>;<br />         hPBotRit = CreatePen<span style=\"color: #000000;\">&#40;</span> PS_SOLID, <span style=\"color: #000000;\">1</span>, GetSysColor<span style=\"color: #000000;\">&#40;</span> COLOR_BTNHIGHLIGHT <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>;<br /><br />         SelectObject<span style=\"color: #000000;\">&#40;</span> hDC, hPUpLeft <span style=\"color: #000000;\">&#41;</span>;<br />         MoveTo<span style=\"color: #000000;\">&#40;</span> hDC, <span style=\"color: #000000;\">0</span>, wHeight + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span>;<br />         LineTo<span style=\"color: #000000;\">&#40;</span> hDC, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>;<br />         LineTo<span style=\"color: #000000;\">&#40;</span> hDC, wLong + <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>;<br /><br />         SelectObject<span style=\"color: #000000;\">&#40;</span> hDC, hPBotRit <span style=\"color: #000000;\">&#41;</span>;<br />         LineTo<span style=\"color: #000000;\">&#40;</span> hDC, wLong + <span style=\"color: #000000;\">1</span>, wHeight + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span>;<br />         LineTo<span style=\"color: #000000;\">&#40;</span> hDC, <span style=\"color: #000000;\">0</span>,  wHeight + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span>;<br /><br />         DeleteObject<span style=\"color: #000000;\">&#40;</span> hPUpLeft <span style=\"color: #000000;\">&#41;</span>;<br />         DeleteObject<span style=\"color: #000000;\">&#40;</span> hPBotRit <span style=\"color: #000000;\">&#41;</span>;<br />      <span style=\"color: #000000;\">&#125;</span><br /><br />   SelectObject<span style=\"color: #000000;\">&#40;</span> hDC, hOldPen <span style=\"color: #000000;\">&#41;</span>;<br /><br />   DeleteObject<span style=\"color: #000000;\">&#40;</span> hPBlack <span style=\"color: #000000;\">&#41;</span>;<br /><br />   ReleaseDC<span style=\"color: #000000;\">&#40;</span> hWnd, hDC <span style=\"color: #000000;\">&#41;</span>;<br /><br />   _ret<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>;<br /><br /><span style=\"color: #000000;\">&#125;</span><br /> </div>[/code:226jc9s3]", "time": "17:10", "topic": "CLase Todometer de Ramón Avendaño", "username": "AIDA" } ]
CLase Todometer de Ramón Avendaño
[ { "date": "2010-06-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Saludos\n\n\nles dejo la adaptacion a la version actual que esta usando fivewin, le añadi la tecnica de doble buffer, las adaptaciones en el codigo C y el cambio de un par de funciones\nincluye librerias y obj, para harbour/xharbor, make/bat para generarlas, ejecutable ejemplo\n\n[url:2lrjj6gf]http&#58;//www&#46;sitasoft&#46;net/fivewin/samples/odom&#46;rar[/url:2lrjj6gf]", "time": "20:14", "topic": "CLase Todometer de Ramón Avendaño", "username": "Daniel Garcia-Gil" } ]
CLase Todometer de Ramón Avendaño
[ { "date": "2010-06-06", "forum": "FiveWin para Harbour/xHarbour", "text": "!!Muchas gracias Daniel !! <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "23:23", "topic": "CLase Todometer de Ramón Avendaño", "username": "Salvador" } ]
CLase Todometer de Ramón Avendaño
[ { "date": "2010-06-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Que lindo <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nMuchas gracias Daniel <!-- s:mrgreen: --><img src=\"{SMILIES_PATH}/icon_mrgreen.gif\" alt=\":mrgreen:\" title=\"Mr. Green\" /><!-- s:mrgreen: --> \n\nSaluditos <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->", "time": "00:22", "topic": "CLase Todometer de Ramón Avendaño", "username": "AIDA" } ]
CLase Todometer de Ramón Avendaño
[ { "date": "2021-01-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Use\n\ncResult := Hb_base64Encode(Hb_MemoRead('C:\\Users\\Marc\\Documents\\Factuur 20210005.pdf'))", "time": "16:45", "topic": "CMIMEENC (pdf-file to mime)", "username": "Giovany Vecchi" } ]
CMIMEENC (pdf-file to mime)
[ { "date": "2021-01-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nA want to add a PDF-file into a xml-file with mime (base64) encoded.\nHow can I add this?\nIf I use\n[code=fw:3lmxmxor]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">CMIMEENC<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">'C:<span style=\"color: #000000;\">\\U</span>sers<span style=\"color: #000000;\">\\M</span>arc<span style=\"color: #000000;\">\\D</span>ocuments<span style=\"color: #000000;\">\\F</span>actuur 20210005.pdf'</span><span style=\"color: #000000;\">&#41;</span></div>[/code:3lmxmxor]\nthen the text 'C:\\Users\\Marc\\Documents\\Factuur 20210005.pdf' is converted.\nCan I use memoread()? Does this also read the special characters of PDF-file?", "time": "16:21", "topic": "CMIMEENC (pdf-file to mime)", "username": "Marc Vanzegbroeck" } ]
CMIMEENC (pdf-file to mime)
[ { "date": "2008-12-08", "forum": "FiveWin para CA-Clipper", "text": "A que libreria pertenecen las funciones \"cmimeenc\" y \"cmimedec\"?. \r\nEstoy trabajando (bajo 16 bits) en una aplicación para el envio de mensajes empleando TSMTP y me hacen falta estas dos funciones.\r\n\r\nGracias,\r\n\r\n\r\nJulio Vivas\r\nCaracas - Venezuela", "time": "03:16", "topic": "CMIMEENC, CMIMEDEC. Donde encontrar estas dos funciones?", "username": "jgvivasc" } ]
CMIMEENC, CMIMEDEC. Donde encontrar estas dos funciones?
[ { "date": "2008-12-08", "forum": "FiveWin para CA-Clipper", "text": "Julio,\r\n\r\nSon funciones que proporciona FiveWin. Aqui tienes el código fuente:\r\n[code:1i702j9b]\n//&& HEADER FILE --------------------------------------------------------------\n// File Name&#58; mime64&#46;c\n// Description&#58; Mime Based Encoding/Decoding&#46;\n// Author&#58; Jim Gale\n// Date created&#58; 8/28/97 Date updated&#58; þ5/1/98\n// Copyright&#58; 1998 by Gale-Force&#46; All Rights Reserved&#46;\n// Email&#58; jg5@gale-force&#46;com\n//-----------------------------------------------------------------------------\n\n#include <WinTen&#46;h>\n#include <Windows&#46;h>\n#include <ClipApi&#46;h>\n\nstatic char cMime&#91;&#93; = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";\n\nunsigned int at&#40;char c1, char *c2&#41;;\n\nCLIPPER CMIMEDEC&#40; PARAMS &#41;\n&#123;\n int x, nIn, nLen, nOut;\n unsigned short int n2, n3, n1, n4;\n char far *cIn, *cOut;\n\n cIn = _parc&#40;1&#41;;\n nIn = _parclen&#40;1&#41;;\n\n nLen = &#40;&#40;nIn+3&#41;*3/4&#41;+1;\n\n cOut = &#40; char * &#41; _xgrab&#40;nLen&#41;;\n nOut = -1;\n\n for&#40;x=0;x<nIn;x+=4&#41;\n &#123;\n n1 = at&#40;&#40;char&#41; cIn&#91;x&#93; ,cMime&#41;;\n n2 = at&#40;&#40;char&#41; cIn&#91;x+1&#93;,cMime&#41;;\n\n if &#40; &#40;n3 = at&#40;&#40;char&#41; cIn&#91;x+2&#93;,cMime&#41;&#41;==64 &#41; &#123;\n cOut&#91;++nOut&#93; = &#40;&#40; &#40; n1 << 2&#41; & 252 &#41; | &#40;&#40;n2 >> 4&#41; & 3&#41; &#41;;\n break;\n &#125;\n\n if &#40; &#40;n4 = at&#40;&#40;char&#41; cIn&#91;x+3&#93;,cMime&#41;&#41;==64 &#41; &#123;\n cOut&#91;++nOut&#93; = &#40;&#40; &#40; n1 << 2&#41; & 252 &#41; | &#40;&#40;n2 >> 4&#41; & 3&#41; &#41;;\n cOut&#91;++nOut&#93; = &#40;&#40; &#40; n2 << 4&#41; & 240 &#41; | &#40; &#40;n3 >> 2&#41; & 15&#41; &#41;;\n break;\n &#125;\n\n cOut&#91;++nOut&#93; = &#40;&#40; &#40; n1 << 2&#41; & 252 &#41; | &#40;&#40;n2 >> 4&#41; & 3&#41; &#41;;\n cOut&#91;++nOut&#93; = &#40;&#40; &#40; n2 << 4&#41; & 240 &#41; | &#40; &#40;n3 >> 2&#41; & 15&#41; &#41;;\n cOut&#91;++nOut&#93; = &#40;&#40; &#40; n3 << 6&#41; & 192 &#41; | &#40; n4 & 63&#41; &#41;;\n\n &#125;\n _retclen&#40; cOut, nOut+1 &#41;;\n _xfree&#40; cOut &#41;;\n\n&#125;\n\nunsigned int at&#40;char c1, char *c2&#41;\n&#123;\n int x=-1,nLen;\n nLen = 65; //sizeof&#40;c2&#41;;\n while&#40;++x<nLen&#41;\n &#123;\n if&#40; &#40;char&#41; c1 == &#40;char&#41; c2&#91;x&#93; &#41;\n return x;\n &#125;\n return 0;\n&#125;\n\nCLIPPER CMIMEENC&#40; PARAMS &#41;\n&#123;\n int x, nIn, nLen, nOut;\n unsigned short int n2, n3, n1, n4, nA1, nA2, nA3;\n char far *cIn, *cOut;\n\n cIn = _parc&#40;1&#41;;\n nIn = _parclen&#40;1&#41;;\n\n nLen = &#40;&#40;nIn+2&#41;*4/3&#41;+1;\n\n cOut = &#40; char * &#41; _xgrab&#40;nLen&#41;;\n nOut = -1;\n\n for&#40;x=0;x<nIn;x+=3&#41;\n &#123;\n switch &#40; nIn-x &#41;\n &#123;\n case 1 &#58;\n nA1 = &#40;&#40;char&#41; &#40;cIn&#91;x &#93;&#41;&#41;;\n n1 = &#40; &#40; nA1 >> 2&#41; & 63 &#41;;\n n2 = &#40; &#40; nA1 << 4&#41; & 48 &#41;;\n cOut&#91;++nOut&#93; = &#40;char&#41; cMime&#91;n1&#93;;\n cOut&#91;++nOut&#93; = &#40;char&#41; cMime&#91;n2&#93;;\n cOut&#91;++nOut&#93; = '=';\n cOut&#91;++nOut&#93; = '=';\n break;\n\n case 2 &#58;\n nA1 = &#40;&#40;char&#41; &#40;cIn&#91;x &#93;&#41;&#41;;\n nA2 = &#40;&#40;char&#41; &#40;cIn&#91;x+1&#93;&#41;&#41;;\n n1 = &#40; &#40; nA1 >> 2&#41; & 63 &#41;;\n n2 = &#40; &#40; &#40; nA1 << 4&#41; & 48 &#41; | &#40; &#40; nA2 & 240 &#41; >> 4 &#41; &#41;;\n n3 = &#40; &#40; &#40; nA2 << 4&#41; & 240 &#41; >> 2 &#41;;\n cOut&#91;++nOut&#93; = &#40;char&#41; cMime&#91;n1&#93;;\n cOut&#91;++nOut&#93; = &#40;char&#41; cMime&#91;n2&#93;;\n cOut&#91;++nOut&#93; = &#40;char&#41; cMime&#91;n3&#93;;\n cOut&#91;++nOut&#93; = '=';\n break;\n\n default&#58;\n nA1 = &#40;&#40;char&#41; &#40;cIn&#91;x &#93;&#41;&#41;;\n nA2 = &#40;&#40;char&#41; &#40;cIn&#91;x+1&#93;&#41;&#41;;\n nA3 = &#40;&#40;char&#41; &#40;cIn&#91;x+2&#93;&#41;&#41;;\n\n n1 = &#40; &#40; nA1 >> 2&#41; & 63 &#41;;\n n2 = &#40; &#40; &#40; nA1 << 4&#41; & 48 &#41; | &#40; &#40; nA2 & 240 &#41; >> 4 &#41; &#41;;\n n3 = &#40; &#40; &#40; &#40; nA2 << 4&#41; & 240 &#41; >> 2 &#41; | &#40; &#40; nA3 >> 6 &#41; & 3 &#41; &#41;;\n n4 = &#40; nA3 & 63 &#41;;\n\n cOut&#91;++nOut&#93; = &#40;char&#41; cMime&#91;n1&#93;;\n cOut&#91;++nOut&#93; = &#40;char&#41; cMime&#91;n2&#93;;\n cOut&#91;++nOut&#93; = &#40;char&#41; cMime&#91;n3&#93;;\n cOut&#91;++nOut&#93; = &#40;char&#41; cMime&#91;n4&#93;;\n\n &#125;\n\n &#125;\n cOut&#91;nOut+1&#93; = 0;\n\n _retclen&#40; cOut, nOut+1 &#41;;\n _xfree&#40; cOut &#41;;\n\n&#125;\n[/code:1i702j9b]", "time": "09:54", "topic": "CMIMEENC, CMIMEDEC. Donde encontrar estas dos funciones?", "username": "Antonio Linares" } ]
CMIMEENC, CMIMEDEC. Donde encontrar estas dos funciones?
[ { "date": "2008-12-09", "forum": "FiveWin para CA-Clipper", "text": "Diciembre 08, 2008\r\n\r\nMuchas gracias Antonio, supuse que serian funciones del mismo FIVEWIN, pero la version que tengo no las contiene, no se si es porque el fivewin que utilizo es muy antiguo o porque en algun momento perdí las fuentes de \"mime64.c\".\r\n\r\nNuevamente gracias y perdona las molestias.\r\n\r\n\r\n\r\n\r\nJulio Vivas\r\nCaracas - Venezuela", "time": "04:51", "topic": "CMIMEENC, CMIMEDEC. Donde encontrar estas dos funciones?", "username": "jgvivasc" } ]
CMIMEENC, CMIMEDEC. Donde encontrar estas dos funciones?
[ { "date": "2006-01-08", "forum": "Off Topic / Otros temas", "text": "<!-- m --><a class=\"postlink\" href=\"http://archive.midrange.com/midrange-l/199705/msg00513.html\">http://archive.midrange.com/midrange-l/ ... 00513.html</a><!-- m -->\n---\nThere was once a COBOL programmer in the mid to late 1990s. For the\n sake of this story, we'll call him Jack. After years of being taken\n for granted and treated as a technological dinosaur by all the UNIX\n programmers and Client/Server programmers and website developers, Jack\n was finally getting some respect. He'd become a private consultant\n specializing in Year 2000 conversions. He was working short-term\n assignments for prestige companies, traveling all over the world on\n different assignments. He was working 70 and 80 and even 90 hour\n weeks, but it was worth it.\n\n Several years of this relentless, mind-numbing work had taken its toll\n on Jack. He had problems sleeping and began having anxiety dreams\n about the Year 2000. It had reached a point where even the thought of\n the year 2000 made him nearly violent. He must have suffered some sort\n of breakdown, because all he could think about was how he could avoid\n the year 2000 and all that came with it.\n\n Jack decided to contact a company that specialized in cryogenics. He\n made a deal to have himself frozen until March 15th, 2000. This was a\n very expensive process and totally automated. He was thrilled. The\n next thing he would know is he'd wake up in the year 2000; after the\n New Year celebrations and computer debacles; after the leap day.\n Nothing else to worry about except getting on with his life.\n\n He was put into his cryogenic receptacle, the technicians set the\n revive date, he was given injections to slow his heartbeat to a bare\n minimum, and that was that.\n\n The next thing that Jack saw was an enormous and very modern room\n filled with excited people. They were all shouting \"I can't believe\n it!\" and \"It's a miracle\" and \"He's alive!\". There were cameras\n (unlike any he'd ever seen) and equipment that looked like it came out\n of a science fiction movie.\n\n Someone who was obviously a spokesperson for the group stepped\n forward. Jack couldn't contain his enthusiasm. \"It is over?\" he asked.\n \"Is 2000 already here? Are all the millennial parties and promotions\n and crises all over and done with?\"\n\n The spokesman explained that there had been a problem with the\n programming of the timer on Jack's cryogenic receptacle, it hadn't\n been year 2000 compliant. It was actually eight thousand years later,\n not the year 2000. But the spokesman told Jack that he shouldn't get\n excited; someone important wanted to speak to him.\n\n Suddenly a wall-sized projection screen displayed the image of a man\n that looked very much like Bill Gates. This man was Prime Minister of\n Earth. He told Jack not to be upset. That this was a wonderful time to\n be alive. That there was world peace and no more starvation. That the\n space program had been reinstated and there were colonies on the moon\n and on Mars. That technology had advanced to such a degree that\n everyone had virtual reality interfaces which allowed them to contact\n anyone else on the planet, or to watch any entertainment, or to hear\n any music recorded anywhere.\n\n \"That sounds terrific,\" said Jack. \"But I'm curious. Why is everybody\n so interested in me?\"\n\n \"Well,\" said the Prime Minister. \"The year 10000 is just around the\n corner, and it says in your files that you know COBOL.\"\n---\nCheers, ROman", "time": "21:50", "topic": "COBOL humour", "username": "modicr" } ]
COBOL humour
[ { "date": "2016-02-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Amigos con este código de barra, hecho en FWH,\n\nimprimimos código de barra con BARLIB.\n\n[code=fw:b9qkv41n]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">METHOD</span> BuildCode<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> ScCodebar<br />&nbsp; <span style=\"color: #00C800;\">local</span> oPrn<br />&nbsp; <span style=\"color: #00C800;\">local</span> nAncho := <span style=\"color: #000000;\">6</span> <span style=\"color: #B900B9;\">//medidas en cm</span><br />&nbsp; <span style=\"color: #00C800;\">local</span> nLargo := <span style=\"color: #000000;\">3</span> &nbsp;<span style=\"color: #B900B9;\">//medidas en cm</span><br />&nbsp; <br />&nbsp; &nbsp;PrnSetSize<span style=\"color: #000000;\">&#40;</span>nAncho*<span style=\"color: #000000;\">100</span>, nLargo*<span style=\"color: #000000;\">100</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//tamaño de la etiqueta</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">PRINT</span> oPrn <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"SysCtrl CodeBar\"</span> PREVIEW<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">font</span> oFont <span style=\"color: #0000ff;\">name</span> <span style=\"color: #ff0000;\">\"New Roman\"</span> <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-08</span> <span style=\"color: #0000ff;\">of</span> oPrn<br /><br />&nbsp; &nbsp;oPrn:<span style=\"color: #000000;\">lPrvModal</span> := .t.<br /><br />&nbsp; &nbsp;oPrn:<span style=\"color: #000000;\">SetPortrait</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;::<span style=\"color: #000000;\">nRowStep</span> := oPrn:<span style=\"color: #000000;\">nVertRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / nLargo<br />&nbsp; &nbsp;::<span style=\"color: #000000;\">nColStep</span> := oPrn:<span style=\"color: #000000;\">nHorzRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / nAncho<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> ! oPrn:<span style=\"color: #000000;\">setup</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br /><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">for</span> i := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> nCuantos<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PAGE</span><br />&nbsp; &nbsp; &nbsp; &nbsp;nRow := <span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp; &nbsp; &nbsp;nCol := .<span style=\"color: #000000;\">5</span><br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; oPrn:<span style=\"color: #0000ff;\">Say</span><span style=\"color: #000000;\">&#40;</span>nRow, ::<span style=\"color: #000000;\">nColStep</span> * nCol,cstr2<span style=\"color: #000000;\">&#40;</span>cCode_bar<span style=\"color: #000000;\">&#41;</span>, oFont <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; nRow += ::<span style=\"color: #000000;\">nRowStep*</span>.<span style=\"color: #000000;\">5</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; @ nRow , ::<span style=\"color: #000000;\">nColStep*nCol</span> code128 cstr2<span style=\"color: #000000;\">&#40;</span>cCode_bar<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">of</span> oPrn <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">1</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; nRow += ::<span style=\"color: #000000;\">nRowStep</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; oPrn:<span style=\"color: #0000ff;\">Say</span><span style=\"color: #000000;\">&#40;</span> nRow, ::<span style=\"color: #000000;\">nColStep</span> * nCol, cstr2<span style=\"color: #000000;\">&#40;</span>cNombre<span style=\"color: #000000;\">&#41;</span>, oFont <span style=\"color: #000000;\">&#41;</span><br /><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDPAGE</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">next</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ENDPRINT</span><br />&nbsp; &nbsp;<br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> &nbsp; <br />&nbsp;</div>[/code:b9qkv41n]\n\n[img:b9qkv41n]http&#58;//i64&#46;tinypic&#46;com/14e6h03&#46;jpg[/img:b9qkv41n]\n\nPor si a alguien le interesa ahi esta,\nestas etiquetas se imprimen en una impresora ZEBRA,\n\nsaludos..", "time": "20:11", "topic": "CODE BAR ( por si alguien le sirve )", "username": "sysctrl2" } ]
CODE BAR ( por si alguien le sirve )
[ { "date": "2016-02-26", "forum": "FiveWin para Harbour/xHarbour", "text": "César, és posible hacer un DEMO simples en formato *.zip con las librerias que usastes y poner en un link? Gracias, saludos.", "time": "14:14", "topic": "CODE BAR ( por si alguien le sirve )", "username": "karinha" } ]
CODE BAR ( por si alguien le sirve )
[ { "date": "2016-02-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola con mucho gusto, en un momento hago un test y lo subo aquí.\n\nsaludos..", "time": "17:44", "topic": "CODE BAR ( por si alguien le sirve )", "username": "sysctrl2" } ]
CODE BAR ( por si alguien le sirve )
[ { "date": "2016-02-26", "forum": "FiveWin para Harbour/xHarbour", "text": "karinha, amigo\nservido aquí tienes,\nsaludos.\n\n<!-- m --><a class=\"postlink\" href=\"https://app.box.com/s/y6cfnku4stb9r0y2rgwf7rnc14djccxj\">https://app.box.com/s/y6cfnku4stb9r0y2rgwf7rnc14djccxj</a><!-- m -->", "time": "19:30", "topic": "CODE BAR ( por si alguien le sirve )", "username": "sysctrl2" } ]
CODE BAR ( por si alguien le sirve )
[ { "date": "2016-03-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Muchas gracias Friend!! Excelente!", "time": "15:45", "topic": "CODE BAR ( por si alguien le sirve )", "username": "karinha" } ]
CODE BAR ( por si alguien le sirve )
[ { "date": "2016-03-11", "forum": "FiveWin para Harbour/xHarbour", "text": "César, mejoras:\n\n[code=fw:1k5ke6uw]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">'barcode.ch'</span> &nbsp;<span style=\"color: #B900B9;\">// C:\\FWH\\INCLUDE</span><br /><br /><span style=\"color: #00D7D7;\">#DEFINE</span> C_SIMPLE CHR<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">39</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00D7D7;\">#DEFINE</span> c_simple CHR<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">39</span> <span style=\"color: #000000;\">&#41;</span><br /><br />* +++++++++++++++++++++++++++++++++++++++++++++++++++++++ *<br />* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />* SysCtrl CodeBar + BARLIB DE Cayetano Gomez &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*<br />* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />* Sistema para imprimir codigos de barra &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*<br />* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />* fecha <span style=\"color: #000000;\">26</span> de febrero <span style=\"color: #000000;\">2016</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*<br />* Autor: <span style=\"color: #000000;\">Cesar</span> Cortes Cruz &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*<br />* CopyRight <span style=\"color: #000000;\">&#40;</span>c<span style=\"color: #000000;\">&#41;</span> SysCtrl Software <span style=\"color: #000000;\">2003</span><span style=\"color: #000000;\">-2016</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*<br />* +++++++++++++++++++++++++++++++++++++++++++++++++++++++ *<br /><br /><span style=\"color: #B900B9;\">/* Nota: <br />&nbsp; esta aplicacion fue desarrollada para imprimir etiquetas de codigos de barra en impresora ZEBRA<br />&nbsp; importante que la impresora este calibrada por el programa ( ZebraDesigner )<br />&nbsp; toda duda o mejoras es bienvenido.<br />*/</span><br /><br /><span style=\"color: #00C800;\">static</span> oCode, oWnd<br /><span style=\"color: #00C800;\">static</span> cCode_bar<br /><span style=\"color: #00C800;\">static</span> cNombre<br /><span style=\"color: #00C800;\">static</span> nCuantos<br /><br />REQUEST HB_LANG_PT<br />REQUEST HB_CODEPAGE_PT850<br /><br /><span style=\"color: #00C800;\">function</span> Principal<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">PRIVATE</span> <span style=\"color: #00C800;\">SELF</span><br /><br />&nbsp; &nbsp;SET DATE BRITISH<br />&nbsp; &nbsp;SET EPOCH <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">1950</span><br />&nbsp; &nbsp;SET CENTURY <span style=\"color: #0000ff;\">ON</span><br />&nbsp; &nbsp;SET SOFTSEEK OFF<br />&nbsp; &nbsp;SET WRAP <span style=\"color: #0000ff;\">ON</span><br />&nbsp; &nbsp;SETCANCEL<span style=\"color: #000000;\">&#40;</span> .F. <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;SET CONFIRM OFF<br />&nbsp; &nbsp;SET DELETED <span style=\"color: #0000ff;\">ON</span><br />&nbsp; &nbsp;SET ESCAPE OFF<br />&nbsp; &nbsp;SET EXACT <span style=\"color: #0000ff;\">ON</span><br />&nbsp; &nbsp;SET EXCLUSIVE OFF<br />&nbsp; &nbsp;SET MULTIPLE OFF<br /><br />&nbsp; &nbsp;HB_LANGSELECT<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">'PT'</span> <span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">// Default language is now Portuguese</span><br />&nbsp; &nbsp;HB_SETCODEPAGE<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"PT850\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">IF</span> IsExeRunning<span style=\"color: #000000;\">&#40;</span> cFileName<span style=\"color: #000000;\">&#40;</span> HB_ARGV<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; QUIT<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">ENDIF</span><br /><br />&nbsp; &nbsp;WITH OBJECT ScCodebar<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; :<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;END OBJECT<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00C800;\">CLASS</span> ScCodebar<br /><br />&nbsp; <span style=\"color: #00C800;\">data</span> oCon AS OBJECT<br /><br />&nbsp; * ---------------------------------- *<br />&nbsp; * variables usadas en tprinter &nbsp; &nbsp; &nbsp; *<br />&nbsp; * ---------------------------------- *<br />&nbsp; <span style=\"color: #00C800;\">data</span> nRowStep, nColStep<br /><br />&nbsp; <span style=\"color: #00C800;\">Method</span> <span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span> oCon <span style=\"color: #000000;\">&#41;</span><br />&nbsp; <span style=\"color: #00C800;\">METHOD</span> MakeWin<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; <span style=\"color: #00C800;\">METHOD</span> MakeDlg<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; <span style=\"color: #00C800;\">METHOD</span> BuildCode<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">ENDCLASS</span><br /><br /><span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> ScCodebar<br /><br />&nbsp; ::<span style=\"color: #000000;\">MakeWin</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00C800;\">METHOD</span> MakeWin<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> ScCodebar<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oMenu<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oSelf := <span style=\"color: #00C800;\">Self</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">menu</span> oMenu <span style=\"color: #000000;\">2007</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">menuitem</span> <span style=\"color: #ff0000;\">\"MENU: SysCtrl CodeBar + ( BARLIB ) \"</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">menu</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">menuitem</span> <span style=\"color: #ff0000;\">\"Codigo STD Ean13\"</span> &nbsp; <span style=\"color: #0000ff;\">action</span><span style=\"color: #000000;\">&#40;</span> oSelf:<span style=\"color: #000000;\">MakeDlg</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SEPARATOR</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">menuitem</span> <span style=\"color: #ff0000;\">\"Salida del Sistema\"</span> <span style=\"color: #0000ff;\">action</span><span style=\"color: #000000;\">&#40;</span> Encerra<span style=\"color: #000000;\">&#40;</span> oWnd <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">endmenu</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">endmenu</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">window</span> oWnd <span style=\"color: #0000ff;\">menu</span> oMenu <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"SysCtrl CodeBar + Barlib of Cayetano Gomez\"</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">activate</span> <span style=\"color: #0000ff;\">window</span> oWnd<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00C800;\">METHOD</span> MakeDlg<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> ScCodebar<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oGet := array<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oBtn := array<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oBrush<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oBox<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> nRow := <span style=\"color: #000000;\">10</span><br /><br />&nbsp; &nbsp;cCode_bar := <span style=\"color: #ff0000;\">\"A1A1A1A1A1A1\"</span><br />&nbsp; &nbsp;cNombre &nbsp; := <span style=\"color: #ff0000;\">\"NOMBRE DEL PRODUCTO\"</span><br />&nbsp; &nbsp;nCuantos &nbsp;:= <span style=\"color: #000000;\">10</span> &nbsp;<span style=\"color: #B900B9;\">//cuantas etiquetas</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush &nbsp; &nbsp;<span style=\"color: #0000ff;\">color</span> nrgb<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oBox &nbsp;<span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">600</span>, <span style=\"color: #000000;\">250</span> <span style=\"color: #0000ff;\">FONT</span> WndMain<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #000000;\">oFont</span> TRANSPARENT <span style=\"color: #0000ff;\">BRUSH</span> oBrush<br /><br />&nbsp; &nbsp;oBox:<span style=\"color: #000000;\">lhelpicon</span> := .F.<br /><br />&nbsp; &nbsp;oBox:<span style=\"color: #000000;\">lTransparent</span> := .t.<br />&nbsp; &nbsp;oBox:<span style=\"color: #000000;\">cTitle</span> := <span style=\"color: #ff0000;\">\"Impresion de etiquedas para productos ...\"</span><br /><br />&nbsp; &nbsp;@ nRow, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #ff0000;\">\"Clave de producto: \"</span> <span style=\"color: #0000ff;\">OF</span> oBox <span style=\"color: #0000ff;\">pixel</span><br />&nbsp; &nbsp;@ nRow, <span style=\"color: #000000;\">70</span> <span style=\"color: #0000ff;\">GET</span> oGet<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> cCode_bar <span style=\"color: #0000ff;\">of</span> oBox <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">10</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"@!k\"</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">UPDATE</span><br /><br />&nbsp; &nbsp;nRow += <span style=\"color: #000000;\">15</span><br /><br />&nbsp; &nbsp;@ nRow, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #ff0000;\">\"Nombre: \"</span> <span style=\"color: #0000ff;\">OF</span> oBox <span style=\"color: #0000ff;\">pixel</span><br />&nbsp; &nbsp;@ nRow, <span style=\"color: #000000;\">70</span> <span style=\"color: #0000ff;\">GET</span> oGet<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> cNombre <span style=\"color: #0000ff;\">of</span> oBox <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">230</span>, <span style=\"color: #000000;\">10</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"@!k\"</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">UPDATE</span><br />&nbsp; &nbsp;<br />&nbsp; &nbsp;nRow += <span style=\"color: #000000;\">15</span><br /><br />&nbsp; &nbsp;@ nRow, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #ff0000;\">\"Cuantas etiquetas : ? \"</span> <span style=\"color: #0000ff;\">OF</span> oBox <span style=\"color: #0000ff;\">pixel</span><br />&nbsp; &nbsp;@ nRow, <span style=\"color: #000000;\">70</span> <span style=\"color: #0000ff;\">GET</span> oGet<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> nCuantos <span style=\"color: #0000ff;\">of</span> oBox <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">10</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"999999\"</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">UPDATE</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">5.3</span>, <span style=\"color: #000000;\">6</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&Aceptar\"</span> &nbsp;<span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">48</span>, <span style=\"color: #000000;\">24</span> <span style=\"color: #0000ff;\">OF</span> oBox ;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> &nbsp;::<span style=\"color: #000000;\">BuildCode</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oGet<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">5.3</span>, <span style=\"color: #000000;\">18</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&Regresar\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">48</span>, <span style=\"color: #000000;\">24</span> <span style=\"color: #0000ff;\">OF</span> oBox &nbsp;<span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oBox:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> CANCEL<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oBox <span style=\"color: #0000ff;\">CENTERED</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #00C800;\">METHOD</span> BuildCode<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> ScCodebar<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oPrn<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> nAncho := <span style=\"color: #000000;\">6</span> <span style=\"color: #B900B9;\">//medidas en cm</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> nLargo := <span style=\"color: #000000;\">3</span> &nbsp;<span style=\"color: #B900B9;\">//medidas en cm</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oFont<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> nRow, nCol<br /><br />&nbsp; &nbsp;PrnSetSize<span style=\"color: #000000;\">&#40;</span>nAncho*<span style=\"color: #000000;\">100</span>, nLargo*<span style=\"color: #000000;\">100</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//tamaño de la etiqueta</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">PRINT</span> oPrn <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"SysCtrl CodeBar\"</span> PREVIEW<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">font</span> oFont <span style=\"color: #0000ff;\">name</span> <span style=\"color: #ff0000;\">\"New Roman\"</span> <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-08</span> <span style=\"color: #0000ff;\">of</span> oPrn<br /><br />&nbsp; &nbsp;oPrn:<span style=\"color: #000000;\">lPrvModal</span> := .t.<br /><br />&nbsp; &nbsp;oPrn:<span style=\"color: #000000;\">SetPortrait</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;::<span style=\"color: #000000;\">nRowStep</span> := oPrn:<span style=\"color: #000000;\">nVertRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / nLargo<br />&nbsp; &nbsp;::<span style=\"color: #000000;\">nColStep</span> := oPrn:<span style=\"color: #000000;\">nHorzRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> / nAncho<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> ! oPrn:<span style=\"color: #000000;\">setup</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br /><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">for</span> i := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> nCuantos<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PAGE</span><br />&nbsp; &nbsp; &nbsp; &nbsp;nRow := <span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp; &nbsp; &nbsp;nCol := .<span style=\"color: #000000;\">5</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; oPrn:<span style=\"color: #0000ff;\">Say</span><span style=\"color: #000000;\">&#40;</span>nRow, ::<span style=\"color: #000000;\">nColStep</span> * nCol,cstr2<span style=\"color: #000000;\">&#40;</span>cCode_bar<span style=\"color: #000000;\">&#41;</span>, oFont <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; nRow += ::<span style=\"color: #000000;\">nRowStep*</span>.<span style=\"color: #000000;\">5</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; @ nRow , ::<span style=\"color: #000000;\">nColStep*nCol</span> code128 cstr2<span style=\"color: #000000;\">&#40;</span>cCode_bar<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">of</span> oPrn <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">1</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; nRow += ::<span style=\"color: #000000;\">nRowStep</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; oPrn:<span style=\"color: #0000ff;\">Say</span><span style=\"color: #000000;\">&#40;</span> nRow, ::<span style=\"color: #000000;\">nColStep</span> * nCol, cstr2<span style=\"color: #000000;\">&#40;</span>cNombre<span style=\"color: #000000;\">&#41;</span>, oFont <span style=\"color: #000000;\">&#41;</span><br /><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDPAGE</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">next</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ENDPRINT</span><br />&nbsp; &nbsp;<br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> &nbsp; <br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> cStr2<span style=\"color: #000000;\">&#40;</span> nNum <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">RETURN</span> AllTrim<span style=\"color: #000000;\">&#40;</span> CStr<span style=\"color: #000000;\">&#40;</span> nNum <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> ENCERRA<span style=\"color: #000000;\">&#40;</span> oWnd &nbsp;<span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;oWnd:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;FreeResources<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;SysRefresh<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">RELEASE</span> All<br /><br />&nbsp; &nbsp;Hb_GCAll<span style=\"color: #000000;\">&#40;</span> .T. <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;CLEAR MEMORY<br /><br />&nbsp; &nbsp;PostQuitMessage<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;__QUIT<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #B900B9;\">// FIN</span><br />&nbsp;</div>[/code:1k5ke6uw]\n\nMuchas gracias, saludos.", "time": "17:27", "topic": "CODE BAR ( por si alguien le sirve )", "username": "karinha" } ]
CODE BAR ( por si alguien le sirve )
[ { "date": "2016-03-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Bien amigo, gracias,\n\nsaludos..", "time": "20:20", "topic": "CODE BAR ( por si alguien le sirve )", "username": "sysctrl2" } ]
CODE BAR ( por si alguien le sirve )
[ { "date": "2016-03-24", "forum": "FiveWin para Harbour/xHarbour", "text": "Muchas gracias, Cesar. Voy a probarlo.\nSaludos.", "time": "21:47", "topic": "CODE BAR ( por si alguien le sirve )", "username": "FranciscoA" } ]
CODE BAR ( por si alguien le sirve )
[ { "date": "2016-03-31", "forum": "FiveWin para Harbour/xHarbour", "text": "ok. Francisco,\nsaludos.\nCesar.", "time": "02:26", "topic": "CODE BAR ( por si alguien le sirve )", "username": "sysctrl2" } ]
CODE BAR ( por si alguien le sirve )
[ { "date": "2016-04-07", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"sysctrl2\":2pbvsj4e]ok. Francisco,\nsaludos.\nCesar.[/quote:2pbvsj4e]\n\n\nGracias Cesar Cortez.\n\nSaludos", "time": "18:35", "topic": "CODE BAR ( por si alguien le sirve )", "username": "ACC69" } ]
CODE BAR ( por si alguien le sirve )
[ { "date": "2007-03-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Code complete:\n[code:1g8ttpip]\n// FiveWin OLE support demo\n// Using Microsoft MAPI Control\n// By Rochinha - Brazil\n\n#include \"FiveWin&#46;ch\"\n\n#define SESSION_SIGNON 1\n#define MESSAGE_COMPOSE 6\n#define ATTACHTYPE_DATA 0\n#define RECIPTYPE_TO 1\n#define RECIPTYPE_CC 2\n#define MESSAGE_RESOLVENAME 13\n#define MESSAGE_SEND 3\n#define SESSION_SIGNOFF 2\n\nfunction Main&#40;&#41;\n local oWnd\n\n DEFINE WINDOW oWnd TITLE \"FiveWin OLE Support\"\n\n MapiSession1 &#58;= TOleAuto&#40;&#41;&#58;New&#40; \"MSMAPI&#46;MAPISession&#46;1\" &#41;\n MapiMessages1 &#58;= TOleAuto&#40;&#41;&#58;New&#40; \"MSMAPI&#46;MAPImessages&#46;1\" &#41;\n\n //MapiSession1&#58;aboutbox&#40;&#41;\n //Open up a MAPI session\n MapiSession1&#58;Action &#58;= SESSION_SIGNON\n //Point the MAPI messages control to the open MAPI session&#58;\n MapiMessages1&#58;SessionID &#58;= 1\n\n MapiMessages1&#58;Action &#58;= MESSAGE_COMPOSE //Start a new message\n\n // Set the subject of the message&#58;\n MapiMessages1&#58;MsgSubject &#58;= \"This is the subject&#46;\"\n // Set the message content\n MapiMessages1&#58;MsgNoteText&#58;= \"This is the mail message&#46;\"\n\n // The following four lines of code add an attachment to the message,\n // and set the character position within the MsgNoteText where the\n // attachment icon will appear&#46; A value of 0 means the attachment will\n // replace the first character in the MsgNoteText&#46; You must have at\n // least one character in the MsgNoteText to be able to attach a file&#46;\n MapiMessages1&#58;AttachmentPosition &#58;= 0\n // Set the type of attachment\n MapiMessages1&#58;AttachmentType &#58;= ATTACHTYPE_DATA\n // Set the icon title of attachment&#58;\n MapiMessages1&#58;AttachmentName &#58;= \"System Configuration File\"\n // Set the path and file name of the attachment&#58;\n MapiMessages1&#58;AttachmentPathName &#58;= \"C&#58;\\CONFIG&#46;SYS\"\n\n // Set the recipients\n MapiMessages1&#58;RecipIndex &#58;= 0 // First recipient\n MapiMessages1&#58;RecipType &#58;= RECIPTYPE_TO // Recipient in TO line\n MapiMessages1&#58;RecipDisplayName &#58;= \"EddieSpaghetti\" // e-mail name\n MapiMessages1&#58;RecipIndex &#58;= 1 // add a second recipient\n MapiMessages1&#58;RecipType &#58;= RECIPTYPE_TO // Recipient in TO line\n MapiMessages1&#58;RecipDisplayName &#58;= \"TanyaLasagna\" // e-mail name\n MapiMessages1&#58;RecipIndex &#58;= 2 // Add a third recipient\n MapiMessages1&#58;RecipType &#58;= RECIPTYPE_CC // Recipient in CC line\n MapiMessages1&#58;RecipDisplayName &#58;= \"BlairAngelHair\" // e-mail name\n MapiMessages1&#58;RecipIndex &#58;= 3 // Add a fourth recipient\n MapiMessages1&#58;RecipType &#58;= RECIPTYPE_CC // Recipient on CC Line\n MapiMessages1&#58;RecipDisplayName &#58;= \"JoanieCannelloni\" // e-mail name\"\n\n // MESSAGE_RESOLVENAME checks to ensure the recipient is valid and puts\n // the recipient address in MapiMessages1&#58;RecipAddress\n // If the E-Mail name is not valid, a trappable error will occur&#46;\n MapiMessages1&#58;Action &#58;= MESSAGE_RESOLVENAME\n // Send the message&#58;\n MapiMessages1&#58;Action &#58;= MESSAGE_SEND\n\n // Close MAPI mail session&#58;\n MapiSession1&#58;Action &#58;= SESSION_SIGNOFF\n\n ACTIVATE WINDOW oWnd\n\nreturn nil\n[/code:1g8ttpip]\n\nDownload de .OCX\n<!-- m --><a class=\"postlink\" href=\"http://home.wxs.nl/~hafoh000/MSMAPI32.zip\">http://home.wxs.nl/~hafoh000/MSMAPI32.zip</a><!-- m -->", "time": "03:55", "topic": "CODE SAMPLE: Here is Microsoft MAPI support with OCX", "username": "Rochinha" } ]
CODE SAMPLE: Here is Microsoft MAPI support with OCX
[ { "date": "2007-03-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Hello Rochinha,\n\nThanks for your help and file.\nI will get new skill for it.\n\nBut I got this error message\n\nError description: Error TOleAuto/-1 Unknown error: TOLEAUTO:NEW \n\nRegards,\n\nRichard", "time": "08:24", "topic": "CODE SAMPLE: Here is Microsoft MAPI support with OCX", "username": "Taiwan" } ]
CODE SAMPLE: Here is Microsoft MAPI support with OCX
[ { "date": "2007-03-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola\n\nGracias por el código, lo que pasa es que, aunque me compila perfectamente, cuando ejecuto la aplicación me da el siguiente error:\n Error description: Error TOleAuto/-1 Unknown error: TOLEAUTO:NEW\n\nQue puede ser?\n\nSaludos\n\nJose Luis", "time": "09:02", "topic": "CODE SAMPLE: Here is Microsoft MAPI support with OCX", "username": "JoseLuis" } ]
CODE SAMPLE: Here is Microsoft MAPI support with OCX
[ { "date": "2007-03-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Excuse me friends,\n\nDownload the .OCX on link below and register in your system first:\n\n<!-- m --><a class=\"postlink\" href=\"http://home.wxs.nl/~hafoh000/MSMAPI32.zip\">http://home.wxs.nl/~hafoh000/MSMAPI32.zip</a><!-- m -->\n\nCOPY MSMAPI32.OCX C:\\WINDOWS\\SYSTEM32\nCD WINDOWS\\SYSTEM32\nREGSVR32.EXE MSMAPI32.OCX\n\nI'm use a tradicional Harbour, not xHarbour.\n\nChange the TAutoOLE() to CreateOLEObject()\n\nMapiSession1 := CreateOLEObject( \"MSMAPI.MAPISession.1\" )\nMapiMessages1 := CreateOLEObject( \"MSMAPI.MAPImessages.1\" )\n\nAnd set properties and methods to:\n\nProperties:\n\nOLESetProperty(MapiSession1,\"property\",value)\nOLEGetProperty(MapiSession1,\"property\")\n\nMethods:\n\nOLEInvoke(MapiSession1,\"method\")", "time": "14:52", "topic": "CODE SAMPLE: Here is Microsoft MAPI support with OCX", "username": "Rochinha" } ]
CODE SAMPLE: Here is Microsoft MAPI support with OCX
[ { "date": "2007-03-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Here is the Send/Receiving code:\n\n[code:2k9xmdes]\n// FiveWin OLE support demo - Using Microsoft MAPI Control\n\n#include \"FiveWin&#46;ch\"\n\n#define SESSION_SIGNON 1\n#define MESSAGE_COMPOSE 6\n#define ATTACHTYPE_DATA 0\n#define RECIPTYPE_TO 1\n#define RECIPTYPE_CC 2\n#define MESSAGE_RESOLVENAME 13\n#define MESSAGE_SEND 3\n#define SESSION_SIGNOFF 2\n\nfunction Main&#40;&#41;\n local oWnd, aMessages &#58;= &#123;&#125;\n\n SET DATE BRIT\n // \n // FiveWin OLE Support - Sending\n // \n MapiSession1 &#58;= TOleAuto&#40;&#41;&#58;New&#40; \"MSMAPI&#46;MAPISession&#46;1\" &#41;\n MapiMessages1 &#58;= TOleAuto&#40;&#41;&#58;New&#40; \"MSMAPI&#46;MAPImessages&#46;1\" &#41;\n\n //MapiSession1&#58;aboutbox&#40;&#41;\n //Open up a MAPI session\n MapiSession1&#58;Action &#58;= SESSION_SIGNON\n //Point the MAPI messages control to the open MAPI session&#58;\n MapiMessages1&#58;SessionID &#58;= MAPISession1&#58;SessionID\n\n MapiMessages1&#58;Action &#58;= MESSAGE_COMPOSE //Start a new message\n\n // Set the subject of the message&#58;\n MapiMessages1&#58;MsgSubject &#58;= \"This is the subject&#46;\"\n // Set the message content\n MapiMessages1&#58;MsgNoteText&#58;= \"This is the mail message&#46;\"\n\n // The following four lines of code add an attachment to the message,\n // and set the character position within the MsgNoteText where the\n // attachment icon will appear&#46; A value of 0 means the attachment will\n // replace the first character in the MsgNoteText&#46; You must have at\n // least one character in the MsgNoteText to be able to attach a file&#46;\n MapiMessages1&#58;AttachmentPosition &#58;= 0\n // Set the type of attachment\n MapiMessages1&#58;AttachmentType &#58;= ATTACHTYPE_DATA\n // Set the icon title of attachment\n MapiMessages1&#58;AttachmentName &#58;= \"System Configuration File\"\n // Set the path and file name of the attachment\n MapiMessages1&#58;AttachmentPathName &#58;= \"C&#58;\\CONFIG&#46;SYS\"\n\n // Set the TO recipients\n aTORecipients &#58;= &#123; \"softclever@itelefonica&#46;com&#46;br\", ;\n \"irochinha@itelefonica&#46;com&#46;br\", ;\n \"fivolution@hotmail&#46;com\", ;\n \"softclever@ig&#46;com&#46;br\" &#125;\n aCCRecipients &#58;= &#123; RECIPTYPE_TO, RECIPTYPE_CC, RECIPTYPE_CC, RECIPTYPE_CC &#125;\n for i = 1 to len&#40;aTORecipients&#41;\n MapiMessages1&#58;RecipIndex &#58;= i // Recipient count\n MapiMessages1&#58;RecipType &#58;= aCCRecipients&#91;i&#93; // Recipient in TO line\n MapiMessages1&#58;RecipDisplayName &#58;= aTORecipients&#91;i&#93; // e-mail name\n MapiMessages1&#58;MsgReceiptRequested &#58;= &#46;t&#46;\n next\n\n // MESSAGE_RESOLVENAME checks to ensure the recipient is valid and puts\n // the recipient address in MapiMessages1&#58;RecipAddress\n // If the E-Mail name is not valid, a trappable error will occur&#46;\n MapiMessages1&#58;Action &#58;= MESSAGE_RESOLVENAME\n // Send the message\n MapiMessages1&#58;Action &#58;= MESSAGE_SEND\n\n // Close MAPI mail session\n MapiSession1&#58;Action &#58;= SESSION_SIGNOFF\n\n MapiSession1&#58;End&#40;&#41;\n MapiMessages1&#58;End&#40;&#41;\n\n //\n // FiveWin OLE Support - Receiving\n //\n MapiSession1 &#58;= TOleAuto&#40;&#41;&#58;New&#40; \"MSMAPI&#46;MAPISession&#46;1\" &#41;\n MapiMessages1 &#58;= TOleAuto&#40;&#41;&#58;New&#40; \"MSMAPI&#46;MAPImessages&#46;1\" &#41;\n \n MAPISession1&#58;DownLoadMail &#58;= &#46;t&#46;\n MAPISession1&#58;SignOn&#40;&#41;\n \n MAPIMessages1&#58;SessionID &#58;= MAPISession1&#58;SessionID\n MAPIMessages1&#58;Fetch&#40;&#41;\n\n nMsgHoje &#58;= 0\n nMsgLida &#58;= 0\n\n If MAPIMessages1&#58;MsgCount > 0\n For i = 0 To MAPIMessages1&#58;MsgCount - 1\n MAPIMessages1&#58;MsgIndex &#58;= i\n if MDtoD&#40; MAPIMessages1&#58;MsgDateReceived &#41; = date&#40;&#41;\n nMsgHoje &#58;= nMsgHoje + 1\n endif\n if MAPIMessages1&#58;MsgRead\n nMsgLida &#58;= nMsgLida + 1\n endif\n AADD&#40; aMessages, &#123; \"From&#58; \" + MAPIMessages1&#58;MsgOrigDisplayName, ;\n \"Subject&#58; \" + MAPIMessages1&#58;MsgSubject &#125; &#41;\n Next\n End If\n MAPISession1&#58;SignOff&#40;&#41;\n\n MapiSession1&#58;End&#40;&#41;\n MapiMessages1&#58;End&#40;&#41;\n\n ? \"Menssages&#58; \"+str&#40;len&#40; aMessages &#41;&#41;, \"Today&#58; \"+str&#40;nMsgHoje&#41;, \"Reads&#58; \"+str&#40;nMsgLida&#41;\n\nreturn nil\n\nFunction MDtoD&#40; cData &#41;\n cData &#58;= substr&#40; cData, 1, 10 &#41;\n return ctod&#40; substr&#40;cData,9,2&#41;+\"/\"+substr&#40;cData,6,2&#41;+\"/\"+substr&#40;cData,1,4&#41; &#41;\n[/code:2k9xmdes]", "time": "15:50", "topic": "CODE SAMPLE: Here is Microsoft MAPI support with OCX", "username": "Rochinha" } ]
CODE SAMPLE: Here is Microsoft MAPI support with OCX
[ { "date": "2007-03-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Rochinha\nYo utilizo xharbour+verce, y siempre que quiero utilizar Toleauto:New, me da error, y es que no se si tengo que enlazar con alguna libreria o qué.\nComo has indicado, he sustituido\n[code:3lgb2miu] MapiSession1 &#58;= TOleAuto&#40;&#41;&#58;New&#40; \"MSMAPI&#46;MAPISession&#46;1\" &#41; \n MapiMessages1 &#58;= TOleAuto&#40;&#41;&#58;New&#40; \"MSMAPI&#46;MAPImessages&#46;1\" &#41; \n[/code:3lgb2miu]\npor\n[code:3lgb2miu]MapiSession1 &#58;= CreateOLEObject&#40; \"MSMAPI&#46;MAPISession&#46;1\" &#41; \nMapiMessages1 &#58;= CreateOLEObject&#40; \"MSMAPI&#46;MAPImessages&#46;1\" &#41; \n[/code:3lgb2miu]\n\ny ahora me sale en tiempo de ejecución el siguiente error:\n\n \" Error description: Error BASE/1005 Class: 'NUMERIC' has no property: ACTION\"\n\nEste error hace referencia a ésta línea:\n\n\" MapiSession1:Action := SESSION_SIGNON \"\n\nMe das algún consejo?\n\nSaludos\n\nJose Luis", "time": "12:04", "topic": "CODE SAMPLE: Here is Microsoft MAPI support with OCX", "username": "JoseLuis" } ]
CODE SAMPLE: Here is Microsoft MAPI support with OCX
[ { "date": "2007-03-20", "forum": "FiveWin para Harbour/xHarbour", "text": "eu recebi o mesmo erro que o Jose Luiz\n\nAri", "time": "23:58", "topic": "CODE SAMPLE: Here is Microsoft MAPI support with OCX", "username": "Ari" } ]
CODE SAMPLE: Here is Microsoft MAPI support with OCX
[ { "date": "2009-11-18", "forum": "FiveWin para Harbour/xHarbour", "text": "¿Hay alguien aquí trató de leer un servidor POP3 para descubrir nuevos correos no leídos en un servidor POP3.\n\nTambién estoy recibiendo el mismo error.\n\nSi puedo comprobar el ValType de \n[code=fw:gs77l42v]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">MapiSession1: = CreateOleObject <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"MSMAPI.MAPISession.1\"</span><span style=\"color: #000000;\">&#41;</span></div>[/code:gs77l42v]\nSe trata de \"N\" (numérico)\n\nMe estoy haciendo el mismo error que José Luis y Ari\n¿Hay algo malo?. ¿Alguien trató este \n\nSaludos\nAnser", "time": "13:06", "topic": "CODE SAMPLE: Here is Microsoft MAPI support with OCX", "username": "anserkk" } ]
CODE SAMPLE: Here is Microsoft MAPI support with OCX
[ { "date": "2008-09-13", "forum": "FiveWin for Harbour/xHarbour", "text": "I have to print CODE128 barcode with fivewin .\r\nI also have to be able to use it in word , excel .\r\nThe string i have to print look like : =B01420806123400\r\n(It is for a medical use)\r\nHow to ?\r\nThanks", "time": "12:03", "topic": "CODE128 BARCODE", "username": "Jack" } ]
CODE128 BARCODE
[ { "date": "2008-09-13", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Jack\":2nykh9bg]I have to print CODE128 barcode with fivewin .\nI also have to be able to use it in word , excel .\nThe string i have to print look like : =B01420806123400\n(It is for a medical use)\nHow to ?\nThanks[/quote:2nykh9bg]\r\n\r\nThere are ttf fonts code128, with them you can simply print with tprint of fwh and with all windows applications with codebars.\r\n\r\nThe only problem is that you will have to install this font in all pc´s that will print codebars.", "time": "12:17", "topic": "CODE128 BARCODE", "username": "jose_murugosa" } ]
CODE128 BARCODE
[ { "date": "2008-09-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks for this answer .\r\n\r\nWhere can i find this font .\r\n\r\nDo you have also a sample of code .\r\n\r\nThanks", "time": "14:08", "topic": "CODE128 BARCODE", "username": "Jack" } ]
CODE128 BARCODE
[ { "date": "2008-09-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Jack,\r\n\r\nthere are mostly commercial-versions of this font.\r\n\r\nHere is a free one from my website :\r\n\r\n<!-- m --><a class=\"postlink\" href=\"http://www.pflegeplus.com/fw_downloads/code128.ttf\">http://www.pflegeplus.com/fw_downloads/code128.ttf</a><!-- m -->\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "16:49", "topic": "CODE128 BARCODE", "username": "ukoenig" } ]
CODE128 BARCODE
[ { "date": "2008-09-13", "forum": "FiveWin for Harbour/xHarbour", "text": "What about the code :\r\nPRINT oprint NAME \"Test Font128\"\r\nDEFINE FONT oFont NAME \"CODE128\" SIZE 0,-20 of Oprint\r\noPrint:CmSay(ol,0.5,ww,oFont)", "time": "17:24", "topic": "CODE128 BARCODE", "username": "Jack" } ]
CODE128 BARCODE