messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2008-10-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Marco,\r\n\r\nIt depends on how Word is calculating this number. In your example you are using a string of \"B\" characters to estimate the width of a string consisting of an string of the same number of characters, but not the same characters. You need to know how Word does the calculation to get the same value. You could just try substituting other characters for the \"B\" in your calculation until you get something close to what Word gives.\r\n\r\nActually, are you saying that you can get this value from Word, or that you are just measuring the width of the string that is being printed from Word?\r\n\r\nRegards,\r\nJames", "time": "19:31", "topic": "About font. Differences beetween FWH font and Windows font", "username": "James Bott" } ]
About font. Differences beetween FWH font and Windows font
[ { "date": "2008-10-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi James,\r\nthanks for your reply.\r\n\r\nThis difference is not Word-related but windows-related,\r\n if I use WordPad the problem is the same.\r\n\r\nSee this sample image where I put 107 chars in a A4 row.\r\n<!-- w --><a class=\"postlink\" href=\"http://www.softwarexp.co.uk/beta/wordpad.png\">www.softwarexp.co.uk/beta/wordpad.png</a><!-- w -->\r\n\r\nIf I require the font size I need to put 107 chars in an A4 row with the self-contained routine I did than I receive 58 as font size instead of 10.", "time": "20:18", "topic": "About font. Differences beetween FWH font and Windows font", "username": "Marco Turco" } ]
About font. Differences beetween FWH font and Windows font
[ { "date": "2008-10-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Marco,\r\n\r\n>This difference is not Word-related but windows-related, \r\n>if I use WordPad the problem is the same. \r\n\r\n>See this sample image where I put 107 chars in a A4 row. \r\n>www.softwarexp.co.uk/beta/wordpad.png \r\n\r\nOK, I see you are measuring the length of the 107 characters and they are not all \"B\"s as you are using in your calculation.\r\n\r\n>If I require the font size I need to put 107 chars in an A4 row with the self-contained routine I did than I receive 58 as font size instead of 10.\r\n\r\nFirst you need to use the same 107 characters that you are using in the picture instead of 107 \"B\"s. Also your function is returning the font width NOT the font size in points (which is what you are comparing the width value to).\r\n\r\nRegards,\r\nJames", "time": "21:21", "topic": "About font. Differences beetween FWH font and Windows font", "username": "James Bott" } ]
About font. Differences beetween FWH font and Windows font
[ { "date": "2008-02-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\nI am trying to browse an array but I have syntax problems using the oBrw:AddColumn method because I always receive an array access error.\n\nThis is a sample code that show the problem.\nAny ideas about the correct syntax ?\n\naBrwArray:=array(0,2) \naadd(aBrwArray,{\"01\",\"First\"}) \naadd(aBrwArray,{\"02\",\"Second\"}) \n\n@ 1.5,5 COLUMN BROWSE aObjects[6] OF oWnd SIZE 150, 135 \naObjects[6]:SetArray(aBrwArray) \n\naObjects[6]:AddColumn(TCColumn:New(\"Num\",aObjects[6]:aArray[aObjects[6]:nAt,1],,,,,100)) \n\naObjects[6]:AddColumn(TCColumn:New(\"Title\",aObjects[6]:aArray[aObjects[6]:nAt,2],,,,,100))", "time": "14:50", "topic": "About oBrw:AddColumn", "username": "Marco Turco" } ]
About oBrw:AddColumn
[ { "date": "2008-02-28", "forum": "FiveWin for Harbour/xHarbour", "text": "First line should be: aBrwArray:={}", "time": "15:11", "topic": "About oBrw:AddColumn", "username": "byte-one" } ]
About oBrw:AddColumn
[ { "date": "2008-02-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Oops, I made this error writing on the forum.\n\nThe problem still remain with aBrwArray:={}", "time": "15:32", "topic": "About oBrw:AddColumn", "username": "Marco Turco" } ]
About oBrw:AddColumn
[ { "date": "2008-02-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Change nAt with nArrayAt!?", "time": "16:04", "topic": "About oBrw:AddColumn", "username": "byte-one" } ]
About oBrw:AddColumn
[ { "date": "2008-02-29", "forum": "FiveWin for Harbour/xHarbour", "text": "nArrayAt is only available on xbrowse and not on the standard FWH browse.\n\nI made this self contained sample that show the problem\n<!-- w --><a class=\"postlink\" href=\"http://www.softwarexp.co.uk/beta/test.zip\">www.softwarexp.co.uk/beta/test.zip</a><!-- w --> \n\nI think the error message due to the addcolumn syntax I used\n(I translated it from the tccolumn include file)\n\nAny ideas appreciated.", "time": "09:32", "topic": "About oBrw:AddColumn", "username": "Marco Turco" } ]
About oBrw:AddColumn
[ { "date": "2008-02-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Marco,\nWhy don't you just create the columns using commands? I think it'd be easier to read and code. If you still want to do it this way, then why don't you use browse commands but compile with [b:1d238j6d]/p[/b:1d238j6d] switch. By comparing your code and the generated .ppo file you should be able to spot what went wrong. e.g.:\n\n[b:1d238j6d][u:1d238j6d]Prg[/u:1d238j6d][/b:1d238j6d]\n[code:1d238j6d] ADD COLUMN TO &#58;&#58;oBrwOrder ARRAY ELM 1 ;\n HEADER \" No&#46;\" LEFT ;\n SIZE oBFont1&#58;nWidth * 7 ;\n PICT \"@!K\" ;\n[/code:1d238j6d]\n\n\n[b:1d238j6d][u:1d238j6d]Ppo[/u:1d238j6d][/b:1d238j6d]\n[code:1d238j6d] &#58;&#58;oBrwOrder&#58;AddColumn&#40; TCColumn&#40;&#41;&#58;New&#40; If&#40;&#46;F&#46;, OemToAnsi&#40;\" No&#46;\"&#41;, \" No&#46;\"&#41;, &#123;|x| If&#40;Pcount&#40;&#41;>0, &#58;&#58;oBrwOrder&#58;aArray&#91;&#58;&#58;oBrwOrder&#58;nAt, 1&#93; &#58;=x, &#58;&#58;oBrwOrder&#58;aArray&#91;&#58;&#58;oBrwOrder&#58;nAt, 1&#93;&#41;&#125;, \"@!K\",,, Upper&#40;\"LEFT\"&#41;, oBFont1&#58;nWidth * 7, &#46;F&#46;, &#46;F&#46;,,,, &#46;F&#46; &#41; &#41;\n[/code:1d238j6d]", "time": "10:20", "topic": "About oBrw:AddColumn", "username": "hua" } ]
About oBrw:AddColumn
[ { "date": "2008-02-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Marco:\n\nYou have several errors in your posted sample, here you are the corrected code[code:nvyvie0b]//----------------------------------------------------------------------------//\n\nfunction Child&#40;&#41;\n\n\n local oWndChild, oBrw, oFont\n local nI, aTestData\n local aObjects&#91;10&#93;\n\n DEFINE WINDOW oWndChild MDICHILD OF oWnd ;\n FROM 10, 50 TO 250, 400 PIXEL COLOR \"N/W\"\n\n aBrwArray&#58;=&#123;&#125;\n aadd&#40;aBrwArray,&#123;\"01\",\"First\"&#125;&#41;\n aadd&#40;aBrwArray,&#123;\"02\",\"Second\"&#125;&#41;\n\n @ 1&#46;5,5 COLUMN BROWSE aObjects&#91;6&#93; OF oWndChild SIZE 150, 135\n aObjects&#91;6&#93;&#58;SetArray&#40;aBrwArray&#41;\n\n aObjects&#91;6&#93;&#58;AddColumn&#40;TCColumn&#40;&#41;&#58;New&#40;\"Num\",&#123;|x| ;\n If&#40;Pcount&#40;&#41;>0, aObjects&#91;6&#93;&#58;aArray&#91;aObjects&#91;6&#93;&#58;nAt, 1&#93; &#58;=x, aObjects&#91;6&#93;&#58;aArray&#91;aObjects&#91;6&#93;&#58;nAt, 1&#93;&#41;&#125;,,,,,100&#41;&#41;\n aObjects&#91;6&#93;&#58;AddColumn&#40;TCColumn&#40;&#41;&#58;New&#40;\"Title\",&#123;|x| ;\n If&#40;Pcount&#40;&#41;>0, aObjects&#91;6&#93;&#58;aArray&#91;aObjects&#91;6&#93;&#58;nAt, 2&#93; &#58;=x, aObjects&#91;6&#93;&#58;aArray&#91;aObjects&#91;6&#93;&#58;nAt, 2&#93;&#41;&#125;,,,,,100&#41;&#41;\n\n oWndChild&#58;SetControl&#40; aObjects&#91;6&#93; &#41;\n\n ACTIVATE WINDOW oWndChild\n\n\nreturn nil\n[/code:nvyvie0b]\nRegards\n\nManuel Mercado", "time": "14:30", "topic": "About oBrw:AddColumn", "username": "mmercado" } ]
About oBrw:AddColumn
[ { "date": "2008-02-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi, Manuel,\nit runs fine. Thanks.\n\nThe only problem is that I try to assign the columns through a for cicle I receive an array access error message. \n\nMy code: \n\nfor i:=1 to 2\n\naObjects[6]:AddColumn(TCColumn():New(\"Num\",{|x| ; \n If(Pcount()>0, aObjects[6]:aArray[aObjects[6]:nAt, i] :=x, aObjects[6]:aArray[aObjects[6]:nAt, i])},,,,,100)) \n\nnext\n\nDo you know any solution ?", "time": "18:07", "topic": "About oBrw:AddColumn", "username": "Marco Turco" } ]
About oBrw:AddColumn
[ { "date": "2008-02-29", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Marco Turco\":v0aqbqps]The only problem is that I try to assign the columns through a for cicle I receive an array access error message. \n[/quote:v0aqbqps]\nThen, what you need is something like this:[code:v0aqbqps]function Child&#40;&#41;\n\n\n local oWndChild, nI, bData, aObjects&#91; 10&#93;, ;\n aTitles &#58;= &#123; \"Num\", \"Title\" &#125;\n\n DEFINE WINDOW oWndChild MDICHILD OF oWnd ;\n FROM 10, 50 TO 250, 400 PIXEL COLOR \"N/W\"\n\n aBrwArray&#58;=&#123;&#125;\n aadd&#40;aBrwArray,&#123;\"01\",\"First\"&#125;&#41;\n aadd&#40;aBrwArray,&#123;\"02\",\"Second\"&#125;&#41;\n\n @ 1&#46;5,5 COLUMN BROWSE aObjects&#91;6&#93; OF oWndChild SIZE 150, 135\n aObjects&#91;6&#93;&#58;SetArray&#40;aBrwArray&#41;\n\n For nI &#58;= 1 To Len&#40; aTitles &#41;\n bData &#58;= BuildBlock&#40; AObjects&#91; 6 &#93;, nI &#41;\n aObjects&#91;6&#93;&#58;AddColumn&#40;TCColumn&#40;&#41;&#58;New&#40; aTitles&#91; nI &#93;, bData,,,,, 100 &#41; &#41;\n next\n\n oWndChild&#58;SetControl&#40; aObjects&#91;6&#93; &#41;\n\n ACTIVATE WINDOW oWndChild\n\n\nreturn nil\n\n//----------------------------------------------------------------------------//\nStatic Function BuildBlock&#40; oBrw, n &#41;\n\nReturn &#123; |x| If&#40; Pcount&#40;&#41; > 0, oBrw&#58;aArray&#91; oBrw&#58;nAt, n &#93; &#58;= x, oBrw&#58;aArray&#91; oBrw&#58;nAt, n &#93; &#41; &#125;[/code:v0aqbqps]\nRegards\n\nManuel Mercado", "time": "20:03", "topic": "About oBrw:AddColumn", "username": "mmercado" } ]
About oBrw:AddColumn
[ { "date": "2008-02-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Great !!! Thanks a lot !! \n <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: --> I never loved the codeblocks..\n\nCould you suggest me what is the correct codeblock code to make also\na column with the progressive number ?\n\nLike the command:\n\nADD TO oBrw DATA oBrw:nAt()\n\nto explain me better.", "time": "21:06", "topic": "About oBrw:AddColumn", "username": "Marco Turco" } ]
About oBrw:AddColumn
[ { "date": "2008-02-29", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Marco Turco\":3kqhyoco]Could you suggest me what is the correct codeblock code to make also\na column with the progressive number ?\nLike the command:\nADD TO oBrw DATA oBrw:nAt()[/quote:3kqhyoco]\nFollowing your same example:\n\naObjects[6]:AddColumn(TCColumn():New( \"\", {||aObjects[6]:nAt},,,,, 25 ) )\n\nRegards\n\nManuel Mercado", "time": "21:53", "topic": "About oBrw:AddColumn", "username": "mmercado" } ]
About oBrw:AddColumn
[ { "date": "2008-02-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Tried but a Bound Error:Array access appairs.\n\nAny ideas ?\n\nfunction Child() \n\n\n local oWndChild, nI, bData, aObjects[ 10], ; \n aTitles := { \"Num\", \"Title\" } \n\n DEFINE WINDOW oWndChild MDICHILD OF oWnd ; \n FROM 10, 50 TO 250, 400 PIXEL COLOR \"N/W\" \n\n aBrwArray:={} \n aadd(aBrwArray,{\"01\",\"First\"}) \n aadd(aBrwArray,{\"02\",\"Second\"}) \n\n @ 1.5,5 COLUMN BROWSE aObjects[6] OF oWndChild SIZE 150, 135 \n aObjects[6]:SetArray(aBrwArray) \n\n** column with progressive number **\n Objects[6]:AddColumn(TCColumn():New( \"\", {||aObjects[6]:nAt},,,,, 25 ) )\n\n For nI := 1 To Len( aTitles ) \n bData := BuildBlock( AObjects[ 6 ], nI ) \n aObjects[6]:AddColumn(TCColumn():New( aTitles[ nI ], bData,,,,, 100 ) ) \n next \n\n oWndChild:SetControl( aObjects[6] ) \n\n ACTIVATE WINDOW oWndChild \n\n\nreturn nil", "time": "22:46", "topic": "About oBrw:AddColumn", "username": "Marco Turco" } ]
About oBrw:AddColumn
[ { "date": "2008-03-01", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Marco Turco\":ferwd3a8]** column with progressive number **\n Objects[6]:AddColumn(TCColumn():New( \"\", {||aObjects[6]:nAt},,,,, 25 ) )[/quote:ferwd3a8]\nShould be:\n [color=red:ferwd3a8]aObjects[/color:ferwd3a8][6]:AddColumn(TCColumn():New( \"\", {||aObjects[6]:nAt},,,,, 25 ) )\n\nRegards\n\nManuel Mercado", "time": "00:08", "topic": "About oBrw:AddColumn", "username": "mmercado" } ]
About oBrw:AddColumn
[ { "date": "2008-03-01", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes. You are right. \n\nI need a glasses !!\n\nMany thanks for your support.", "time": "09:24", "topic": "About oBrw:AddColumn", "username": "Marco Turco" } ]
About oBrw:AddColumn
[ { "date": "2008-03-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\nI have a small problem with bitmaps in the TcBrowse.\n\nDo you know how can I translate: \n\nADD TO oBrw BITMAP DATA aArray[oBrw:nAt(),1]\n\nin code ?", "time": "21:50", "topic": "About oBrw:AddColumn", "username": "Marco Turco" } ]
About oBrw:AddColumn
[ { "date": "2008-03-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Marco,\n\n>ADD TO oBrw BITMAP DATA aArray[oBrw:nAt(),1] \n\nTry looking at the PPO file.\n\nJames", "time": "01:04", "topic": "About oBrw:AddColumn", "username": "James Bott" } ]
About oBrw:AddColumn
[ { "date": "2008-03-28", "forum": "FiveWin for Harbour/xHarbour", "text": "While we need to write this kind of code for twbrowse or tcbrowse, xbrowse made browing arrays very simple.\n\nThe command :\n[code:xvzt2scl]\n@ 0,0 XBROWSE oBrw OF oWnd ARRAY aData AUTOCOLS\n[/code:xvzt2scl]\nis all that is needed to browse the entire array.\n\nIf we like to browse only selected columns, say 3rd, 2nd and 5th columns only of the array\n[code:xvzt2scl]\n@ 0,0 XBROWSE oBrw ;\n COLUMNS 3, 2, 5 ;\n HEADERS \"First\", \"Second\", \"Third\" ;\n OF oWnd ;\n ARRAY aData\n[/code:xvzt2scl]\nis enough. Even the array elements can be of any datatype, xbrowse handles the necessary conversions.\n\nIf we still want to use the traditional tcbrowse command syntax, that is also possible to add columns ( even to insert the new column ).\n\nIf we prefer to continue the old TXBrowse way of using methods and data,\n\n[code:xvzt2scl]\noCol &#58;= oBrw&#58;AddCol&#40;&#41;\noCol&#58;nArryCol &#58;= 5 // this is enough\n// Instead of the earlier \n// oCol&#58;bStrData &#58;= &#123;|| cValToChar&#40; oBrw&#58;aArrayData&#91; oBrw&#58;nArrayAt &#93; &#41; &#125;\n// Writing this for eacj column\n// or looping through the array to build the blocks taking advantage of detached locals\n[/code:xvzt2scl]\n\nNo need to code with oBrw:aArrayData oBrw:nArrayAt or oBrw:nAt(), etc. though thiose options are still available if we enjoy writing long pages of code.\n\nIn addition we have facilities like autosort, report, export to excel, etc.\n\nXbrowse command syntax is almost similar to ListBox and TCBrowse syntaxes, so that we write the code the familiar way but in just a fewer lines than what is necessary with earlier xbrowse or its elder brothers wbrowse or tcbrowse.\n\nWhen I am converting my earlier xbrowse code using the new facilities, multiple pages of code is now fitting into a page or less. Better readability and easy to maintain.\n\n8.03 allows browsing blank recordsets. Wish we can browse blank arrays too in some way.", "time": "13:21", "topic": "About oBrw:AddColumn", "username": "nageswaragunupudi" } ]
About oBrw:AddColumn
[ { "date": "2008-03-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr. NageswaraRao,\nThank very much you for your work continues work for xBrowser.\n \nIn our language exists a proverb:\n“A picture says more than a thousand words”.\nTherefore I would like to ask you if you would be so kind to post \nsome samples with the new syntax.\nThanks in advance\nOtto", "time": "13:48", "topic": "About oBrw:AddColumn", "username": "Otto" } ]
About oBrw:AddColumn
[ { "date": "2008-03-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Solved. Thank you.\n\nI already use the standard tcbrowse at this moment but I am waiting the next FWH stable release to migrate to xBrowse.\n\nThank to your excellent work NageswaraRao.", "time": "16:30", "topic": "About oBrw:AddColumn", "username": "Marco Turco" } ]
About oBrw:AddColumn
[ { "date": "2008-03-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Marco,\n\nThe current FWH 8.03 build is totally stable <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "10:03", "topic": "About oBrw:AddColumn", "username": "Antonio Linares" } ]
About oBrw:AddColumn
[ { "date": "2008-03-29", "forum": "FiveWin for Harbour/xHarbour", "text": "<!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> Well, I will order you the update on the next days", "time": "13:44", "topic": "About oBrw:AddColumn", "username": "Marco Turco" } ]
About oBrw:AddColumn
[ { "date": "2013-06-01", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nI work with native tdatabase fivewin, i want to put all value fields from on record in another like this:\n\noArqCli:GoTop()\nDo While ! oArqCli:Eof()\n oArqCli:Load()\n oCliCli:Blank()\n oCliCli:(All fields) := oArqCli:(All fields) <------------------- how?\n oCliCli:Append()\n oCliCli:Save()\n oCliCli:Commit()\n oArqCli:Skip(+1)\n loop\nEnddo\n\nThanks.", "time": "13:29", "topic": "About tdatabase", "username": "Wanderson" } ]
About tdatabase
[ { "date": "2013-06-01", "forum": "FiveWin for Harbour/xHarbour", "text": "Wanderson,\n\nNote that all the field data is stored in a buffer array in database objects. Also, of course, both files must have exactly the same structure. Below is an example of how to copy all the field data.\n\nIt depends on the situation, but you may want to only do one commit after the ENDDO instead of one after each record save. This would be much faster, but maybe not as safe in a multi-user environment. However, if you are only copying a few records this would only take a few seconds so there isn't much risk.\n\nJames\n\n[code=fw:qxohynb9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oArqCli:<span style=\"color: #000000;\">GoTop</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">Do</span> <span style=\"color: #00C800;\">While</span> ! oArqCli:<span style=\"color: #000000;\">Eof</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   oArqCli:<span style=\"color: #000000;\">Load</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   oCliCli:<span style=\"color: #000000;\">Blank</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #B900B9;\">//oCliCli:(All fields) := oArqCli:(All fields) <------------------- how?</span><br /><br />   copyAll<span style=\"color: #000000;\">&#40;</span>oArqCli, oCliCli<span style=\"color: #000000;\">&#41;</span><br /><br />   oCliCli:<span style=\"color: #000000;\">Append</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   oCliCli:<span style=\"color: #000000;\">Save</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   oCliCli:<span style=\"color: #000000;\">Commit</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   oArqCli:<span style=\"color: #000000;\">Skip</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">+1</span><span style=\"color: #000000;\">&#41;</span><br />   loop<br /><span style=\"color: #00C800;\">Enddo</span><br /><br /><br /><span style=\"color: #00C800;\">function</span> copyAll<span style=\"color: #000000;\">&#40;</span> oDB1, oDB2 <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">Local</span> i:=<span style=\"color: #000000;\">1</span><br />   <span style=\"color: #00C800;\">for</span> i <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> len<span style=\"color: #000000;\">&#40;</span>oDB1:<span style=\"color: #000000;\">aBuffer</span><span style=\"color: #000000;\">&#41;</span><br />      oDB2:<span style=\"color: #000000;\">aBuffer</span><span style=\"color: #000000;\">&#91;</span>i<span style=\"color: #000000;\">&#93;</span>:= oDB1:<span style=\"color: #000000;\">aBuffer</span><span style=\"color: #000000;\">&#91;</span>i<span style=\"color: #000000;\">&#93;</span><br />   <span style=\"color: #00C800;\">next</span><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:qxohynb9]", "time": "19:43", "topic": "About tdatabase", "username": "James Bott" } ]
About tdatabase
[ { "date": "2013-06-02", "forum": "FiveWin for Harbour/xHarbour", "text": "You can also use this code:\n[code=fw:uyd8eb77]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> &nbsp; <br />&nbsp; &nbsp;oArqCli:<span style=\"color: #000000;\">lBuffer</span> := .t. &nbsp;<span style=\"color: #B900B9;\">// This is default</span><br />&nbsp; &nbsp;oArqCli:<span style=\"color: #000000;\">GoTop</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">do</span> <span style=\"color: #00C800;\">while</span> ! oArqCli:<span style=\"color: #000000;\">Eof</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; oCliCli:<span style=\"color: #000000;\">Append</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; ACOPY<span style=\"color: #000000;\">&#40;</span> oArqCli:<span style=\"color: #000000;\">aBuffer</span>, oCliCli:<span style=\"color: #000000;\">aBuffer</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; oCliCli:<span style=\"color: #000000;\">Save</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; oArqCli:<span style=\"color: #000000;\">Skip</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">enddo</span><br />&nbsp; &nbsp;oCliCli:<span style=\"color: #000000;\">Close</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp;</div>[/code:uyd8eb77]", "time": "10:01", "topic": "About tdatabase", "username": "nageswaragunupudi" } ]
About tdatabase
[ { "date": "2013-06-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes, acopy() would be faster. If you set oArqCli:lBuffer I also suggest saving and restoring its state so as to prevent any possible problems elsewhere.\n\nJames\n\n[code=fw:2bvdrp1m]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">   <span style=\"color: #00C800;\">Local</span> lBuffer<br />   ...<br />   lBuffer:= oArqCli:<span style=\"color: #000000;\">lBuffer</span><br />   oArqCli:<span style=\"color: #000000;\">lBuffer</span> := .t.  <span style=\"color: #B900B9;\">// this is default</span><br />   oArqCli:<span style=\"color: #000000;\">GoTop</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">do</span> <span style=\"color: #00C800;\">while</span> ! oArqCli:<span style=\"color: #000000;\">Eof</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />      oCliCli:<span style=\"color: #000000;\">Append</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />      ACOPY<span style=\"color: #000000;\">&#40;</span> oArqCli:<span style=\"color: #000000;\">aBuffer</span>, oCliCli:<span style=\"color: #000000;\">aBuffer</span> <span style=\"color: #000000;\">&#41;</span><br />      oCliCli:<span style=\"color: #000000;\">Save</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />      oArqCli:<span style=\"color: #000000;\">Skip</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">enddo</span><br />   oCliCli:<span style=\"color: #000000;\">Close</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   oArqCli:<span style=\"color: #000000;\">lBuffer</span>:= lBuffer </div>[/code:2bvdrp1m]", "time": "14:11", "topic": "About tdatabase", "username": "James Bott" } ]
About tdatabase
[ { "date": "2013-06-03", "forum": "FiveWin for Harbour/xHarbour", "text": "For TDatabase, lBuffer is .t. by default.", "time": "14:37", "topic": "About tdatabase", "username": "nageswaragunupudi" } ]
About tdatabase
[ { "date": "2013-06-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Rao,\n\n[quote:29twrz70]For TDatabase, lBuffer is .t. by default.[/quote:29twrz70]\n\nYes, I understand that. But if you change something like that it is wise to save and restore it's state. It is wise to do as you suggested, set it to true at the start of the routine because you can't depend on it being true already.\n\nAs I expect you already know, encapsulation is one of the key principles of OOP. So whenever, you change the state of something you should also restore it. I have found this to be a very useful principle to follow. I can't imagine how many problems I have prevented by using this simple technique.\n\nRegards,\nJames", "time": "14:57", "topic": "About tdatabase", "username": "James Bott" } ]
About tdatabase
[ { "date": "2006-02-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Is it possible to have the controll tdatapick always displayed on the dialog ? (that is the calendar always visible )\n\nRegards Maurizio", "time": "14:27", "topic": "About tdatapick Class", "username": "Maurizio" } ]
About tdatapick Class
[ { "date": "2006-02-16", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Maurizio\":hcwgmega]Is it possible to have the controll tdatapick always displayed on the dialog ? (that is the calendar always visible )\nRegards Maurizio[/quote:hcwgmega]\n\nmmmmmmm i dont know, but you can use TCalendar instead.\nContact me by email if you dont have it.\n\nRegards", "time": "16:18", "topic": "About tdatapick Class", "username": "VeRCE" } ]
About tdatapick Class
[ { "date": "2006-02-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Maurizio, can you give me another email adress???\n\ni'm getting this message:\n\n **********************************************\n ** THIS IS A WARNING MESSAGE ONLY **\n ** YOU DO NOT NEED TO RESEND YOUR MESSAGE **\n **********************************************\n\nThe original message was received at Thu, 16 Feb 2006 19:00:11 -0600\nfrom dsl-200-67-175-250.prod-empresarial.com.mx [200.67.175.250]\n\n ----- Transcript of session follows -----\n451 4.4.1 reply: read error from mail.nipeservice.com.\n<maurizio@nipeservice.com>... Deferred\nWarning: message still undelivered after 4 hours\nWill keep trying until message is 5 days old\n\n\n\nReporting-MTA: dns; esmhost.com\nArrival-Date: Thu, 16 Feb 2006 19:00:11 -0600\n\nFinal-Recipient: RFC822; <!-- e --><a href=\"mailto:maurizio@nipeservice.com\">maurizio@nipeservice.com</a><!-- e -->\nAction: delayed\nStatus: 4.4.2\nRemote-MTA: DNS; mail.nipeservice.com\nDiagnostic-Code: SMTP; 451 4.4.1 reply: read error from mail.nipeservice.com.\nLast-Attempt-Date: Thu, 16 Feb 2006 23:08:05 -0600\nWill-Retry-Until: Tue, 21 Feb 2006 19:00:11 -060", "time": "14:45", "topic": "About tdatapick Class", "username": "VeRCE" } ]
About tdatapick Class
[ { "date": "2008-11-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\r\n\r\nHow I can use tscanner with multi file scanner like hp\r\nscanjet 8460 ?\r\n\r\nI´m using EZTWAIN 2.70 from dosadi but I can get only one page at a\r\ntime, but HP8460 can digitalize 10 pages at a time.\r\n\r\nThanks for any information and best regards,\r\n\r\nToninho.", "time": "17:47", "topic": "About tscanner and multipage scanner", "username": "toninhofwi" } ]
About tscanner and multipage scanner
[ { "date": "2008-11-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\r\nMaybe TwainControlX from <!-- m --><a class=\"postlink\" href=\"http://www.ciansoft.com/\">http://www.ciansoft.com/</a><!-- m --> can do the job.\r\nThey have a fully functional trial version.\r\n\r\nRegards,\r\n\r\nGeorge", "time": "04:23", "topic": "About tscanner and multipage scanner", "username": "George" } ]
About tscanner and multipage scanner
[ { "date": "2008-11-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\r\nDosadi supports the multipage acquiring without problem. \r\n\r\nYou only need to update the Dosadi dll and use the TW_AcquireMultiPageFile method of Rafa Carmona's class.\r\n\r\nObviusly you have to use a multipage format like PDF or TIFF.", "time": "12:30", "topic": "About tscanner and multipage scanner", "username": "Marco Turco" } ]
About tscanner and multipage scanner
[ { "date": "2008-11-14", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Marco Turco\":1mepfvpx]Hi,\nDosadi supports the multipage acquiring without problem. \n\nYou only need to update the Dosadi dll and use the TW_AcquireMultiPageFile method of Rafa Carmona's class.\n\nObviusly you have to use a multipage format like PDF or TIFF.[/quote:1mepfvpx]\r\n\r\nHi Marco, thanks.\r\n\r\nMy dosadi dll was too old. Now I update it.\r\n\r\nRegards,\r\n\r\nToninho.", "time": "11:32", "topic": "About tscanner and multipage scanner", "username": "toninhofwi" } ]
About tscanner and multipage scanner
[ { "date": "2008-11-16", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"George\":1mqpoj4x]Hi,\nMaybe TwainControlX from <!-- m --><a class=\"postlink\" href=\"http://www.ciansoft.com/\">http://www.ciansoft.com/</a><!-- m --> can do the job.\nThey have a fully functional trial version.\n\nRegards,\n\nGeorge[/quote:1mqpoj4x]\r\n\r\nHi George,\r\n\r\nThis weekend I have time and I tested TwainControlX. It is really nice, I'm thinking move from dosadi to it,\r\n\r\nThanks a lot and best regards,\r\n\r\nToninho.", "time": "00:44", "topic": "About tscanner and multipage scanner", "username": "toninhofwi" } ]
About tscanner and multipage scanner
[ { "date": "2008-11-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi\r\n\r\nI may have a need for multi page scanning extending the customers current application.\r\n\r\nToninhofwi and George can I ask for the code you used please.\r\n\r\nThanks\r\n\r\nJonathan Hodder", "time": "06:19", "topic": "About tscanner and multipage scanner", "username": "Jonathan Hodder" } ]
About tscanner and multipage scanner
[ { "date": "2008-11-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Jonathan,\r\nI am not using the Multi-pages scanning features, but the manual explain how to use it. \r\nIt seems that Harbour does not support the licensing mechanism of ActiveX controls therefore when ordering TwainControlX send an email to Technical Support (Ian Chester the developer) indicating that your are using Harbour language.\r\nHe will send you the TwainControlX which uses a password, set in code, instead of the normal licensing system. That way you don't need the .lic file, you just add a line of code for the password, compile your application, and it will work fine, allowing you install your application along with the registered OCX in your customer's computer.\r\n\r\nRegards,\r\n\r\nGeorge", "time": "16:34", "topic": "About tscanner and multipage scanner", "username": "George" } ]
About tscanner and multipage scanner
[ { "date": "2008-11-16", "forum": "FiveWin for Harbour/xHarbour", "text": "George\r\n\r\nOK Thanks\r\n\r\nJonathan", "time": "22:06", "topic": "About tscanner and multipage scanner", "username": "Jonathan Hodder" } ]
About tscanner and multipage scanner
[ { "date": "2008-11-17", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"toninhofwi\":i02v519a]Hi,\n\nHow I can use tscanner with multi file scanner like hp\nscanjet 8460 ?\n\nI´m using EZTWAIN 2.70 from dosadi but I can get only one page at a\ntime, but HP8460 can digitalize 10 pages at a time.\n\nThanks for any information and best regards,\n\nToninho.[/quote:i02v519a]\r\n <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: --> \r\nJa resolvi isto\r\ntive que alterar a classe tscan32.\r\nBaixe aqui: <!-- m --><a class=\"postlink\" href=\"http://rapidshare.com/files/164602347/TSCAN.rar.html\">http://rapidshare.com/files/164602347/TSCAN.rar.html</a><!-- m -->\r\n\r\nPara testar\r\n\r\noScan := TScan32():New( \"\" )\r\nIF oScan:State() < 4\r\n MSGINFO(\"Não foi possivel estabelecer a conexão com o scanner. \"+CRLF+;\r\n \"Verifique se o scanner esta ligado e plugado neste computador.\",;\r\n \"Procedimento Abortado...\")\r\n oScan:End()\r\n RETURN .F.\r\nENDIF\r\n\r\noScan:PixelType( 1 )\r\noScan:SetRes( 150 ) // Resolucion 150 by Default.\r\noScan:SetHide( .T. )\r\noScan:SetMultiTransfer(1) // escolha 1 para scanear varias paginas\r\noScan:EnableDuplex(1)\r\noScan:SetFileFormat(4) ///4\r\noScan:SetJpegQuality(80) /// 75 default\r\n\r\nDO WHILE .T.\r\n nSeqImg++\r\n cImagem:=DIR_TEMP()+\"_IMG_\"+LIMPO(nSeqImg,.f.)+\".JPG\"\r\n AADD(aFilesScan,cImagem)\r\n nDib:=(oScan:AcquireToFile(cImagem))\r\n IF nDib < 0\r\n EXIT\r\n ENDIF\r\n syswait(.5)\r\n oScan:FreeDib()\r\n syswait(.3)\r\nENDDO\r\n\r\noScan:End()", "time": "12:20", "topic": "About tscanner and multipage scanner", "username": "Giovany Vecchi" } ]
About tscanner and multipage scanner
[ { "date": "2008-11-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Giovany\r\n\r\nUsando eztw32.dll puede ser el más fácil.\r\n\r\nGracias Giovany.\r\n\r\nLo intentaré.\r\n\r\nJonathan", "time": "05:10", "topic": "About tscanner and multipage scanner", "username": "Jonathan Hodder" } ]
About tscanner and multipage scanner
[ { "date": "2006-02-17", "forum": "FiveWin for CA-Clipper", "text": "Hi\nLook at the reference\n<!-- m --><a class=\"postlink\" href=\"http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/shlwapi/path/path.asp\">http://msdn.microsoft.com/library/defau ... h/path.asp</a><!-- m -->\n\nThere are very interesting and useful functions. I think they should be realised in FiveWin.\nAs an example you can write and run the following C++ code (I used BCB 5.0 )\n\n#include <windows.h>\n#include <iostream.h>\n#include <Shlwapi.h>\n#include <conio.h>\n\n#pragma hdrstop\n\n//---------------------------------------------------------------------------\n\n#pragma argsused\nint main(int argc, char* argv[])\n{\n using namespace std;\n\n// Path_1 destination buffer.\n char buffer_1[MAX_PATH] = \"JustABufferToHoldTheCanonicalizedPathForAnExample\";\n char *lpStr1;\n lpStr1 = buffer_1;\n\n// Path_2 to be Canonicalized.\n char buffer_2[ ] = \"A:\\\\name_1\\\\.\\\\name_2\\\\..\\\\name_3\";\n char *lpStr2;\n lpStr2 = buffer_2;\n\n// Path_3 to be Canonicalized.\n char buffer_3[ ] = \"A:\\\\name_1\\\\..\\\\name_2\\\\.\\\\name_3\";\n char *lpStr3;\n lpStr3 = buffer_3;\n\n// Path_4 to be Canonicalized.\n char buffer_4[ ] = \"A:\\\\name_1\\\\name_2\\\\.\\\\name_3\\\\..\\\\name_4\";\n char *lpStr4;\n lpStr4 = buffer_4;\n\n// Path_5 to be Canonicalized.\n char buffer_5[ ] = \"A:\\\\name_1\\\\.\\\\name_2\\\\.\\\\name_3\\\\..\\\\name_4\\\\..\";\n char *lpStr5;\n lpStr5 = buffer_5;\n\n// Path_6 to be Canonicalized.\n char buffer_6[ ] = \"C:\\\\..\";\n char *lpStr6;\n lpStr6 = buffer_6;\n\n cout << \"The un-canonicalized path 2 is : \" << lpStr2\n << \"\\nThe return value is : \"\n << PathCanonicalize(lpStr1,lpStr2)\n << \"\\nThe canonicalized path 1 is : \" << lpStr1 << endl;\n\n cout << \"\\nThe un-canonicalized path 3 is : \" << lpStr3\n << \"\\nThe return value is : \"\n << PathCanonicalize(lpStr1,lpStr3)\n << \"\\nThe canonicalized path 1 is : \" << lpStr1 << endl;\n\n cout << \"\\nThe un-canonicalized path 4 is : \" << lpStr4\n << \"\\nThe return value is : \"\n << PathCanonicalize(lpStr1,lpStr4)\n << \"\\nThe canonicalized path 1 is : \" << lpStr1 << endl;\n\n cout << \"\\nThe un-canonicalized path 5 is : \" << lpStr5\n << \"\\nThe return value is : \"\n << PathCanonicalize(lpStr1,lpStr5)\n << \"\\nThe canonicalized path 1 is : \" << lpStr1 << endl;\n\n cout << \"\\nThe un-canonicalized path 6 is : \" << lpStr6\n << \"\\nThe return value is : \"\n << PathCanonicalize(lpStr1,lpStr6)\n << \"\\nThe canonicalized path 1 is : \" << lpStr1 << endl;\n\n\n cout << \"\\nPress any key to exit...\";\n getch();\n\n return EXIT_SUCCESS;\n}\n\nVladimir Grigoriev", "time": "14:33", "topic": "About very useful path functions (for information)", "username": "Vladimir Grigoriev" } ]
About very useful path functions (for information)
[ { "date": "2006-02-20", "forum": "FiveWin for CA-Clipper", "text": "Vlamidir,\n\nThis is the msdn entry:\n<!-- m --><a class=\"postlink\" href=\"http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/shlwapi/path/pathcanonicalize.asp\">http://msdn.microsoft.com/library/defau ... calize.asp</a><!-- m -->\n\nIts not difficult to be implemented", "time": "08:31", "topic": "About very useful path functions (for information)", "username": "Antonio Linares" } ]
About very useful path functions (for information)
[ { "date": "2006-02-20", "forum": "FiveWin for CA-Clipper", "text": "Here you have it working for FWH and Harbour/xharbour:\n(its required to link echo lib\\psdk\\shlwapi.lib)\n[code:m0rul416]\n#include \"Fivewin&#46;ch\" \n\nfunction Main&#40;&#41; \n\n local oDlg, cResult \n\n DEFINE DIALOG oDlg \n\n @ 2, 2 BUTTON \"Test\" ;\n ACTION &#40; PathCanonicalize&#40; \"A&#58;\\\\name_1\\\\&#46;\\\\name_2\\\\&#46;&#46;\\\\name_3\", @cResult &#41;,;\n MsgInfo&#40; cResult &#41; &#41;\n \n ACTIVATE DIALOG oDlg ; \n CENTER \n\nreturn nil\n\n#pragma BEGINDUMP\n\n#include <windows&#46;h>\n#include <Shlwapi&#46;h>\n#include <hbapi&#46;h>\n\nHB_FUNC&#40; PATHCANONICALIZE &#41; // cInString, @cOutString --> lOk\n&#123;\n char * buffer&#91; MAX_PATH &#93;;\n \n hb_retl&#40; PathCanonicalize&#40; buffer, hb_parc&#40; 1 &#41; &#41; &#41;;\n hb_storc&#40; buffer, 2 &#41;;\n&#125;\n\n#pragma ENDDUMP\n[/code:m0rul416]", "time": "08:45", "topic": "About very useful path functions (for information)", "username": "Antonio Linares" } ]
About very useful path functions (for information)
[ { "date": "2009-08-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi all,\nDo we already need to link it ?\nI checked that using the manifest file there are some problems using transparent images.", "time": "14:54", "topic": "About windows xp manifest file", "username": "Marco Turco" } ]
About windows xp manifest file
[ { "date": "2009-08-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Marco,\n\nYou need it if you want XP themed look", "time": "20:08", "topic": "About windows xp manifest file", "username": "Antonio Linares" } ]
About windows xp manifest file
[ { "date": "2009-08-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Ok, but there is a problem using the transparent clause in a mdi context. The transparent doesn't runs.\n\nThis is a self-contained that show the problem linking the manifest file.\n\nExecutable, bitmap and code at <!-- w --><a class=\"postlink\" href=\"http://www.softwarexp.co.uk/beta/antonio.zip\">www.softwarexp.co.uk/beta/antonio.zip</a><!-- w -->\n\nAny ideas ? Thanks in advance.\n\n#include \"fivewin.ch\"\n\nstatic ownd\nstatic oImage\n\nFunction main()\n\n DEFINE WINDOW oWnd TITLE \"TTitle Class Test\" MDI\n\n\n @ 20, 5 IMAGE oImage FILE \"SM_1.BMP\" OF oWnd:oWndClient noborder pixel\n oImage:lTransparent:=.t.\n\n activate window oWnd maximized\n\n\nreturn nil", "time": "21:47", "topic": "About windows xp manifest file", "username": "Marco Turco" } ]
About windows xp manifest file
[ { "date": "2009-08-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Marco\n\nI'm not sure with this change, i didn't test all combinations\n\nOpen \\source\\Bitmap.prg \n\nfind and replace (end of file):\n\n[code=fw:mk4c0uj4]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">//#ifdef __CLIPPER__</span><br /><br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> IsAppThemed<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> ; <span style=\"color: #00C800;\">return</span> .f.<br /><br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> DrawPBack<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">//#endif</span></div>[/code:mk4c0uj4]", "time": "01:07", "topic": "About windows xp manifest file", "username": "Daniel Garcia-Gil" } ]
About windows xp manifest file
[ { "date": "2009-08-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Marco/Daniel:\n\n[quote=\"Daniel Garcia-Gil\":3jg8uumf]I'm not sure with this change, i didn't test all combinations[/quote:3jg8uumf]\nWithout a deep analisys (don't know what DrawPBack function does), I think that can be resolved by changing the next lines in TBitmap Paint method to be as shown:[code=fw:3jg8uumf]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">   <span style=\"color: #00C800;\">if</span> IsAppThemed<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> .and. Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBitmap</span> <span style=\"color: #000000;\">&#41;</span> .and. ! ::<span style=\"color: #000000;\">lTransparent</span><br />      DrawPBack<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hWnd</span>, ::<span style=\"color: #000000;\">hDC</span> <span style=\"color: #000000;\">&#41;</span><br />   elseIf ! Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBitMap</span> <span style=\"color: #000000;\">&#41;</span><br />      #ifdef __CLIPPER__<br />         SetBrushOrgEx<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hDC</span>, <span style=\"color: #000000;\">8</span> - ::<span style=\"color: #000000;\">nLeft</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> % <span style=\"color: #000000;\">8</span>, <span style=\"color: #000000;\">8</span> - ::<span style=\"color: #000000;\">nTop</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> % <span style=\"color: #000000;\">8</span> <span style=\"color: #000000;\">&#41;</span><br />      #else<br />         SetBrushOrgEx<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hDC</span>, nBmpWidth<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBitmap</span> <span style=\"color: #000000;\">&#41;</span> - ::<span style=\"color: #000000;\">nLeft</span>, nBmpHeight<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBitmap</span> <span style=\"color: #000000;\">&#41;</span> - ::<span style=\"color: #000000;\">nTop</span> <span style=\"color: #000000;\">&#41;</span><br />      #endif<br />      FillRect<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hDC</span>, GetClientRect<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBrush</span> <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">endif</span><br /> </div>[/code:3jg8uumf]\nBest regards.\n\nManuel Mercado.", "time": "05:58", "topic": "About windows xp manifest file", "username": "mmercado" } ]
About windows xp manifest file
[ { "date": "2009-08-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi all,\nthank your your reply.\n\nDaniel,\nyour solution is the same as removing the manifest file, the themes doesn't runs anymore in the app.\n\nManuel,\nI tried your solution also but now the problem appairs on all bitmaps where I use the transparent clause.\nSee <!-- m --><a class=\"postlink\" href=\"http://www.softwarexp.co.uk/beta/image.png\">http://www.softwarexp.co.uk/beta/image.png</a><!-- m -->\n\nAny ideas ?", "time": "09:28", "topic": "About windows xp manifest file", "username": "Marco Turco" } ]
About windows xp manifest file
[ { "date": "2009-08-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Marco...\n\n[quote=\"Marco Turco\":358dk72w]Daniel,\nyour solution is the same as removing the manifest file, the themes doesn't runs anymore in the app.[/quote:358dk72w]\n\nAre you sure???\n\ndo you write \"STATIC\" before Function??\n[code=fw:358dk72w]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">//#ifdef __CLIPPER__</span><br /><br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> IsAppThemed<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> ; <span style=\"color: #00C800;\">return</span> .f.  <span style=\"color: #B900B9;\">// <== static</span><br /><br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> DrawPBack<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span>     <span style=\"color: #B900B9;\">//<== static</span><br /><br /><span style=\"color: #B900B9;\">//#endif</span><br /> </div>[/code:358dk72w]", "time": "10:37", "topic": "About windows xp manifest file", "username": "Daniel Garcia-Gil" } ]
About windows xp manifest file
[ { "date": "2009-08-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Marco:\n[quote=\"Marco Turco\":2y8fx2am]Manuel,\nI tried your solution also but now the problem appairs on all bitmaps where I use the transparent clause.[/quote:2y8fx2am]\n\nYou're right, try this way:[code=fw:2y8fx2am]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">   <span style=\"color: #00C800;\">if</span> IsAppThemed<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> .and. Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBitmap</span> <span style=\"color: #000000;\">&#41;</span> .and. ! ::<span style=\"color: #000000;\">lTransparent</span><br />      DrawPBack<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hWnd</span>, ::<span style=\"color: #000000;\">hDC</span> <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">else</span><br />      #ifdef __CLIPPER__<br />         SetBrushOrgEx<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hDC</span>, <span style=\"color: #000000;\">8</span> - ::<span style=\"color: #000000;\">nLeft</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> % <span style=\"color: #000000;\">8</span>, <span style=\"color: #000000;\">8</span> - ::<span style=\"color: #000000;\">nTop</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> % <span style=\"color: #000000;\">8</span> <span style=\"color: #000000;\">&#41;</span><br />      #else<br />         SetBrushOrgEx<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hDC</span>, nBmpWidth<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBitmap</span> <span style=\"color: #000000;\">&#41;</span> - ::<span style=\"color: #000000;\">nLeft</span>, nBmpHeight<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBitmap</span> <span style=\"color: #000000;\">&#41;</span> - ::<span style=\"color: #000000;\">nTop</span> <span style=\"color: #000000;\">&#41;</span><br />      #endif<br />      FillRect<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hDC</span>, GetClientRect<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBrush</span> <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">endif</span><br /> </div>[/code:2y8fx2am]\nRegards.\n\nManuel Mercado.", "time": "11:37", "topic": "About windows xp manifest file", "username": "mmercado" } ]
About windows xp manifest file
[ { "date": "2009-08-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Manuel,\nit runs fine. Thank you very much.", "time": "12:42", "topic": "About windows xp manifest file", "username": "Marco Turco" } ]
About windows xp manifest file
[ { "date": "2009-08-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Daniel,\nI haven't tested it \nbut as I can see with your turn-around the class tbitmap doesn't know anymore if a theme is running (isapptheme always return .f.)\nso any image is painted without theme style. \n\n[quote=\"Daniel Garcia-Gil\":37ga4tnp]Hello Marco...\n\n[quote=\"Marco Turco\":37ga4tnp]Daniel,\nyour solution is the same as removing the manifest file, the themes doesn't runs anymore in the app.[/quote:37ga4tnp]\n\nAre you sure???\n\ndo you write \"STATIC\" before Function??\n[code=fw:37ga4tnp]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">//#ifdef __CLIPPER__</span><br /><br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> IsAppThemed<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> ; <span style=\"color: #00C800;\">return</span> .f.  <span style=\"color: #B900B9;\">// <== static</span><br /><br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> DrawPBack<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span>     <span style=\"color: #B900B9;\">//<== static</span><br /><br /><span style=\"color: #B900B9;\">//#endif</span><br /> </div>[/code:37ga4tnp][/quote:37ga4tnp]", "time": "12:46", "topic": "About windows xp manifest file", "username": "Marco Turco" } ]
About windows xp manifest file
[ { "date": "2009-08-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Marco...\n\nmy change work fine (for now)\n\nplease test it... \n\nsee and download\n\n<!-- m --><a class=\"postlink\" href=\"http://www.sitasoft.com/fivewin/test/thembmp.zip\">http://www.sitasoft.com/fivewin/test/thembmp.zip</a><!-- m -->\n\n[img:4vu4uqcq]http&#58;//www&#46;sitasoft&#46;com/fivewin/screen/thembmp&#46;png[/img:4vu4uqcq]", "time": "13:50", "topic": "About windows xp manifest file", "username": "Daniel Garcia-Gil" } ]
About windows xp manifest file
[ { "date": "2009-08-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Sorry Daniel, you are right.\n\nHowever with your turn-around and also with the Manual solution there are problems using bitmap on folder because they are now not transparent.\n\nSee <!-- w --><a class=\"postlink\" href=\"http://www.softwarexp.co.uk/beta/test.png\">www.softwarexp.co.uk/beta/test.png</a><!-- w -->\n\nAny ideas ?", "time": "16:19", "topic": "About windows xp manifest file", "username": "Marco Turco" } ]
About windows xp manifest file
[ { "date": "2009-08-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Marco..\n\n[quote=\"Marco Turco\":2rs63edt]However with your turn-around and also with the Manual solution there are problems using bitmap on folder because they are now not transparent.[/quote:2rs63edt]\nis was for my solution <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> \n\nbut maybe work with a WHITE brush\n\nLocal oBrush := TBrush():New( , CLR_WHITE )\n\n...\n\noFolder:aDialogs[ x ]:SetBrush( oBrush )", "time": "18:30", "topic": "About windows xp manifest file", "username": "Daniel Garcia-Gil" } ]
About windows xp manifest file
[ { "date": "2009-08-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Daniel,\nthank for your reply.\n\nIt is a bit difficult for me to make the change you proposed me due to the fact that I have a lot o folder in my app.\n\nDo you know if there is a way to change the background of this image I display on the MDI in order to act only on this image that give me problems ?\nYou already solved my problem about the rbbuttons background usinga a rbbtn:hback:createsolidbrush, \nis there something similar for tbitmap class ?\n\nThanks in advance.", "time": "09:05", "topic": "About windows xp manifest file", "username": "Marco Turco" } ]
About windows xp manifest file
[ { "date": "2007-05-05", "forum": "All products support", "text": "Salve,\nsto facendo alcune prove con xBrowse e mi sembra decisamente valido,\nho però il problema che avendo un array tipo:\n\naArray:=array(0,3)\n\naadd(aArray,{\"01,\"Pippo\",\"03\"})\naadd(aArray,{\"02\",\"Pluto\",04\"})\n\nanche se richiedo la visualizzazione dei soli primi 2 elementi, mi viene riportato anche il terzo. Come faccio a dirgli di riportare solo i primi 2 elementi senza quelli successivi ?\n\nMarco", "time": "09:31", "topic": "About xBrowse", "username": "Marco Turco" } ]
About xBrowse
[ { "date": "2007-05-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\nI have a small problem with the xbrowse class managing arrays.\n\nWith an array like this:\n\naArray:=array(0,3) \naadd(aArray,{\"01,\"Pippo\",\"03\"}) \naadd(aArray,{\"02\",\"Pluto\",04\"}) \n\nI need to display only the First and Second element so I defined only two header:\n\noBrw:aCols[1]:cHeader:=\"Number\"\noBrw:aCols[2]:cHeader:=\"Name\"\n\nThe problem is that the browse also report the thirth element (\"03\",\"04\") on the right that I have not defined as header.\n\nIs there any way to hidden the thirth element ?\n\nThanks in advance\n\nBest Regards,\n\nMarco Turco", "time": "18:05", "topic": "About xBrowse", "username": "Marco Turco" } ]
About xBrowse
[ { "date": "2007-05-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Ok.\nSolved with oBrw:nFreeze:=2\n\n\nRegards,\n\nMarco", "time": "20:07", "topic": "About xBrowse", "username": "Marco Turco" } ]
About xBrowse
[ { "date": "2013-06-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Which version of FWH are you using?", "time": "08:27", "topic": "About xbrowse paint", "username": "nageswaragunupudi" } ]
About xbrowse paint
[ { "date": "2013-06-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi, someone knows why my xbrowse display a black square in top left?\n\n[img:39gar6e6]http&#58;//img849&#46;imageshack&#46;us/img849/7373/ne6e&#46;jpg[/img:39gar6e6]\n\nThanks.", "time": "20:25", "topic": "About xbrowse paint", "username": "Wanderson" } ]
About xbrowse paint
[ { "date": "2013-06-27", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"nageswaragunupudi\":284ge7wv]Which version of FWH are you using?[/quote:284ge7wv]\n\nfwh1105\n\nthanks", "time": "01:16", "topic": "About xbrowse paint", "username": "Wanderson" } ]
About xbrowse paint
[ { "date": "2021-04-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\nhere is tool I created to draw xbrowse-cellborders and any kind of boxes.\nAll results are directly visible\n\nThe download-link \n<!-- m --><a class=\"postlink\" href=\"http://www.service-fivewin.de/DOWNLOADS/Borders.zip\">http://www.service-fivewin.de/DOWNLOADS/Borders.zip</a><!-- m -->\n\nmore ideas are welcome <!-- s:roll: --><img src=\"{SMILIES_PATH}/icon_rolleyes.gif\" alt=\":roll:\" title=\"Rolling Eyes\" /><!-- s:roll: --> \nDon't forget to look at the < go.bat > and < sample.rmk > file to compile a new sample <!-- s:!: --><img src=\"{SMILIES_PATH}/icon_exclaim.gif\" alt=\":!:\" title=\"Exclamation\" /><!-- s:!: --> \nMaybe You find a error <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> just let me know\n\nThe source-result is splitted to folderpage 3 - 6\nAll together = sample.prg\nOnly folderpage 3 can be updated on buttonaction the rest will not change\n\nThe main-folderpage to show the result of var-defines at runtime\n( a new calculation of the glow-effect is added, Now it looks much better )\n\n[img:359bnazm]http&#58;//www&#46;service-fivewin&#46;de/IMAGES/Bord1&#46;jpg[/img:359bnazm]\n\nthe vardefines to paint xbrowse-cellborders and background-selection with testing the 3 styles\nEach cell of < customer.dbf > can have his own borderstyle like \nbordercolor, pensize, textcolor, line or glow, a border inside, outside or line of cell \nFor colorselection You can use a new created cell-colorpicker\n\n[img:359bnazm]http&#58;//www&#46;service-fivewin&#46;de/IMAGES/Bord2&#46;jpg[/img:359bnazm]\n\nThe start-section with generated vars of < sample.prg >\n3 clipboard-buttons are included to copy a section or the complete sample.prg\nVery urgent the button < [color=#0000FF:359bnazm]Refresh source [/color:359bnazm]> to update the arrays and vars\nafter You are finished with the design before loading the sample to clipboard <!-- s:!: --><img src=\"{SMILIES_PATH}/icon_exclaim.gif\" alt=\":!:\" title=\"Exclamation\" /><!-- s:!: --> <!-- s:!: --><img src=\"{SMILIES_PATH}/icon_exclaim.gif\" alt=\":!:\" title=\"Exclamation\" /><!-- s:!: --> <!-- s:!: --><img src=\"{SMILIES_PATH}/icon_exclaim.gif\" alt=\":!:\" title=\"Exclamation\" /><!-- s:!: --> \n\n[img:359bnazm]http&#58;//www&#46;service-fivewin&#46;de/IMAGES/Bord3&#46;jpg[/img:359bnazm]\n\nThe source of the main-dialog with the browser\n\n[img:359bnazm]http&#58;//www&#46;service-fivewin&#46;de/IMAGES/Bord4&#46;jpg[/img:359bnazm]\n\nThe box-function and designer of Sample.prg with some boxtests\n1. connected to objects and 2. painted on free position\n\n[img:359bnazm]http&#58;//www&#46;service-fivewin&#46;de/IMAGES/Bord5&#46;jpg[/img:359bnazm]\n\nFolderpage 6 includes the box-designer and source for sample.prg\nThere are 2 functions included\nOne function is connected to a object and the second function is used for free positions\nTo view the result of changed values You cam move to folderpage 1 or 2\n\n[img:359bnazm]http&#58;//www&#46;service-fivewin&#46;de/IMAGES/Bord6&#46;jpg[/img:359bnazm]\n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "12:43", "topic": "About xbrowse-cellborders and boxdrawings", "username": "ukoenig" } ]
About xbrowse-cellborders and boxdrawings
[ { "date": "2021-04-28", "forum": "FiveWin for Harbour/xHarbour", "text": "I added some more options\nnow it is possible to select a brush and a logo on top\nthe logo can be tested with a transparent-level\n\n[img:g04hyfz7]http&#58;//www&#46;service-fivewin&#46;de/IMAGES/Brd1&#46;jpg[/img:g04hyfz7]\n\nthe normal image-selection is used as logo\nThis will work in case background-mode 3 ( brush ) is selected <!-- s:!: --><img src=\"{SMILIES_PATH}/icon_exclaim.gif\" alt=\":!:\" title=\"Exclamation\" /><!-- s:!: --> \n\n[img:g04hyfz7]http&#58;//www&#46;service-fivewin&#46;de/IMAGES/Brd2&#46;jpg[/img:g04hyfz7]\n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "08:33", "topic": "About xbrowse-cellborders and boxdrawings", "username": "ukoenig" } ]
About xbrowse-cellborders and boxdrawings
[ { "date": "2018-01-30", "forum": "FiveWin for Harbour/xHarbour", "text": "If Iuse Abpaint to draw a bitmap \n\n ABPaint( ::hDC, y, x, v[1], 255)\n\nthe bitmap wich color must have on the background ?\n\nI ask this because the bitmap is not transparent ( also with manifest) and I not understood why \n\n[img:2xcxfenj]https&#58;//s17&#46;postimg&#46;org/bg9oejh73/image&#46;png[/img:2xcxfenj]", "time": "18:48", "topic": "Abpaint", "username": "Silvio.Falconi" } ]
Abpaint
[ { "date": "2018-01-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Normal,\n\n[code=fw:373omktd]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">// AlphaBlending transparencies support in FiveWin! \\SAMPLES\\TESTAB.PRG</span><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oWnd, oBmp, oBrush<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> BITMAP oBmp FILENAME <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\A</span>lphaBmp<span style=\"color: #000000;\">\\T</span>rash.bmp\"</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush FILENAME <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\b</span>ackgrnd<span style=\"color: #000000;\">\\p</span>aper2.bmp\"</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"FWH 17.01 Transparencies\"</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">COLOR</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"N/W\"</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">PAINT</span> ABPaint<span style=\"color: #000000;\">&#40;</span> hDC, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">10</span>, oBmp:<span style=\"color: #000000;\">hBitmap</span>, <span style=\"color: #000000;\">220</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// 0-255 transparency level</span><br /><br />&nbsp; &nbsp;oBrush:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;oBmp:<span style=\"color: #000000;\">End</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 />&nbsp;</div>[/code:373omktd]", "time": "19:07", "topic": "Abpaint", "username": "karinha" } ]
Abpaint
[ { "date": "2007-05-09", "forum": "FiveWin para Pocket PC", "text": "Es posible tener la aplicacion instalada en Archivosd de Programa y las dbf en Mis documentos del PPC ?\n\nCOmo tendria que poner el camino para poder abrir esos ficheros ?\n\nUn saludo\nJuan Jose", "time": "11:19", "topic": "Abriendo ficheros", "username": "juanjogascem" } ]
Abriendo ficheros
[ { "date": "2007-05-09", "forum": "FiveWin para Pocket PC", "text": "\"\\My Documents\\Mi.dbf\"", "time": "11:38", "topic": "Abriendo ficheros", "username": "Antonio Linares" } ]
Abriendo ficheros
[ { "date": "2007-05-09", "forum": "FiveWin para Pocket PC", "text": "[code:3bq5bhs4] SET&#40; _SET_DEFAULT, '\\My Documents\\'&#41;[/code:3bq5bhs4]", "time": "11:45", "topic": "Abriendo ficheros", "username": "Biel EA6DD" } ]
Abriendo ficheros
[ { "date": "2007-05-09", "forum": "FiveWin para Pocket PC", "text": "Antonio, me refiero a que los ficheros se encuentran en Mis Documentos del ppc.\n\nSaludos\nJuan Jose", "time": "11:48", "topic": "Abriendo ficheros", "username": "juanjogascem" } ]
Abriendo ficheros
[ { "date": "2007-05-09", "forum": "FiveWin para Pocket PC", "text": "Vale, gracias\n\nUn saludo", "time": "11:52", "topic": "Abriendo ficheros", "username": "juanjogascem" } ]
Abriendo ficheros
[ { "date": "2017-03-24", "forum": "FiveWin para Harbour/xHarbour", "text": "Estimados\n\nComo puedo abrir correos guardados como archivos .MSG\n\nHe intentado asi\n[code=fw:3ib3se4y]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />   ShellExecute<span style=\"color: #000000;\">&#40;</span>,<span style=\"color: #ff0000;\">\"Open\"</span>,<span style=\"color: #ff0000;\">\"Outlook\"</span>,,<span style=\"color: #ff0000;\">\"D:<span style=\"color: #000000;\">\\S</span>istemas<span style=\"color: #000000;\">\\A</span>crSoft<span style=\"color: #000000;\">\\c</span>orreo.msg\"</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#41;</span> <br /> </div>[/code:3ib3se4y]\n\nAbre el Outlook pero NO el correo\n\nGracias por la ayuda", "time": "18:18", "topic": "Abrir .MSG de Outlook", "username": "acuellar" } ]
Abrir .MSG de Outlook
[ { "date": "2017-03-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Prueba,\n\nShellExecute(, \"open\", \"D:\\Sistemas\\AcrSoft\\correo.msg\",\"D:\\Sistemas\\AcrSoft\", \"\", 1 )\n\nEn mi sistema, funciona bien", "time": "12:06", "topic": "Abrir .MSG de Outlook", "username": "fgondi" } ]
Abrir .MSG de Outlook
[ { "date": "2017-03-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias Fernando.\n\nFunciona perfecto.", "time": "16:33", "topic": "Abrir .MSG de Outlook", "username": "acuellar" } ]
Abrir .MSG de Outlook
[ { "date": "2010-01-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola amigos no se como abrir un archivo PDF en la version 9.03\n\n#include \"FiveWin.ch\"\nlocal oWnda, oActiveX\nDEFINE WINDOW oWnda title \"Contratos La Quinta\" mdichild\n oActiveX = TActiveX():New( oWnda, \"AcroPDF.PDF.1\" )\n oWnda:oClient = oActiveX\n oActiveX&#058;Do(\"LoadFile\",\"\\\\servidor\\planilla\\contratos\\100101.pdf\" )\n oActiveX&#058;Do(\"SetCurrentPage\", 1 )\nACTIVATE WINDOW oWnda maximized\n\nen la version 7.5 abre perfectamente.\n\nGracias por la ayuda.", "time": "23:11", "topic": "Abrir Archivos PDF VER 9.03", "username": "Dioni" } ]
Abrir Archivos PDF VER 9.03
[ { "date": "2010-01-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Dioni:\n[quote=\"Dioni\":6k6bulme]Hola amigos no se como abrir un archivo PDF en la version 9.03[/quote:6k6bulme]\nEl siguiente ejemplo (el tuyo con pequeños cambios) funciona perfectamente con FWH 9.03\n[code=fw:6k6bulme]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">local</span> oWnda, oActiveX<br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnda <span style=\"color: #0000ff;\">title</span> <span style=\"color: #ff0000;\">\"Contratos La Quinta\"</span> <span style=\"color: #B900B9;\">// mdichild ...no puede ser mdichild sin petenecer a una ventana mdi</span><br />   oActiveX = TActiveX<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span> oWnda, <span style=\"color: #ff0000;\">\"AcroPDF.PDF.1\"</span> <span style=\"color: #000000;\">&#41;</span><br />   oWnda:<span style=\"color: #000000;\">oClient</span> = oActiveX<br />   oActiveX&#<span style=\"color: #000000;\">058</span>;Do<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"LoadFile\"</span>,<span style=\"color: #ff0000;\">\"Test.pdf\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// \\\\servidor\\planilla\\contratos\\100101.pdf\"</span><br />   oActiveX&#<span style=\"color: #000000;\">058</span>;Do<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"SetCurrentPage\"</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnda <span style=\"color: #0000ff;\">maximized</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:6k6bulme]\nUn abrazo.", "time": "05:20", "topic": "Abrir Archivos PDF VER 9.03", "username": "mmercado" } ]
Abrir Archivos PDF VER 9.03
[ { "date": "2010-01-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola\n\nAlguna sugerencia como hacerlo con [b:2lwbtvrn]FoxIt Reader[/b:2lwbtvrn] y active X", "time": "13:33", "topic": "Abrir Archivos PDF VER 9.03", "username": "Patricio Avalos Aguirre" } ]
Abrir Archivos PDF VER 9.03
[ { "date": "2010-01-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Ya sé que no es exactamente lo que se pregunta, pero por si acaso te es útil, yo hace tiempo que no utilizo activeX para abrir ficheros pdf,\n\nme pasé a ShellExecute( ,\"open\", cFicheroPdf,,,1 )\n\ny desde entonces no tengo problemas.", "time": "18:24", "topic": "Abrir Archivos PDF VER 9.03", "username": "Manuel Aranda" } ]
Abrir Archivos PDF VER 9.03
[ { "date": "2007-04-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Olá...\n\nÉ possível abrir esses arquivos com a Classe TActiveX ?\n\nSaludos", "time": "20:37", "topic": "Abrir Arquivos (*.TIF, *.BMP e *.JPG) com TActiveX", "username": "Valdir" } ]
Abrir Arquivos (*.TIF, *.BMP e *.JPG) com TActiveX
[ { "date": "2007-04-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola.\n¿Por qué no usas Freeimage?\n\nRevisa Testimg.prg en los ejemplos de FWH", "time": "21:46", "topic": "Abrir Arquivos (*.TIF, *.BMP e *.JPG) com TActiveX", "username": "fleal" } ]
Abrir Arquivos (*.TIF, *.BMP e *.JPG) com TActiveX
[ { "date": "2007-04-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Olá FLeal...\n\nObrigado pela resposta...\n\nJá havia usado o Freeimage, porém na verdade, gostaria de abrir qualquer tipo de Imagem (BMP,JPG,TIF,GIF), usando os recursos do \"image.preview\" do Windows, através da Classe TActiveX.\n\nSeguindo os exemplos abaixo :\nWORD => oActiveX = TActiveX():New( oWnd, \"Word.Application.8\" )\nACROBAT => oActiveX = TActiveX():New( oWndPdf, \"PDF.PdfCtrl.6\" )\nEXCEL => oActiveX = TActiveX():New( oWnd, \"OWC10.Spreadsheet\" )\nFLASH => oActiveX = TActiveX():New( oWnd, \"ShockwaveFlash.ShockwaveFlash.1\" )\nficou facil de usar esses recursos, porém não encontrei nada em relação as imagens acima.\n\nEncontrei os parametros \"WangImage.Document\" que abre o image preview, só que estão faltando alguns parâmetros e não estou sabendo usa-los.\n\nGracias", "time": "21:54", "topic": "Abrir Arquivos (*.TIF, *.BMP e *.JPG) com TActiveX", "username": "Valdir" } ]
Abrir Arquivos (*.TIF, *.BMP e *.JPG) com TActiveX
[ { "date": "2007-04-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Olá...\n\nSeria esse o Imaging Preview que gostaria de usar com a TActiveX. \nSó não sei se será possível...\n\n[img:10wlk44g]http&#58;//br&#46;geocities&#46;com/valdirbrd/img001&#46;jpg[/img:10wlk44g]\n\nSaludos", "time": "22:47", "topic": "Abrir Arquivos (*.TIF, *.BMP e *.JPG) com TActiveX", "username": "Valdir" } ]
Abrir Arquivos (*.TIF, *.BMP e *.JPG) com TActiveX
[ { "date": "2007-05-30", "forum": "FiveWin para Harbour/xHarbour", "text": "Saludos Cordiales Colegas!!!\n\n\nBueno realmente por lo que mas o menos te entiendo creo que te refieres a algo como esto!!\n\n[code:31j59rzx]\n#INCLUDE \"FIVEWIN&#46;CH\"\n\nPROCE MAIN&#40;&#41;\n LOCAL oDlg,oAdj,cAdj&#58;=SPACE&#40;30&#41;\n\n DEFINE DIALOG oDlg TITLE \"Abrir Imagen\" \n\n @ 1,1 SAY \"Ubicación del Archivo &#58;\"\n\n @ 2,1 BMPGET oAdj VAR cAdj NAME \"BITMAPS\\IMPORTAR&#46;BMP\";\n\t\t\t ACTION &#40;cFile&#58;=cGetFile32&#40;\"Todos los Archivos de Imagen &#40;*&#46;*&#41; |*&#46;*|Mapa de Bits &#40;*&#46;BMP&#41; |*&#46;bmp|;\n\t\t\t JPGE &#40;*&#46;JPG,*&#46;JPGE,*&#46;JPE,*&#46;JFIF&#41;|*&#46;JPG;*&#46;JPGE;*&#46;JPE;*&#46;JFIF|GIF &#40;*&#46;GIF&#41;|*&#46;gif|PNG &#40;*&#46;PNG&#41;|*&#46;png\",;\n \" Seleccionar Archivo para Abrir\",1,cFilePath&#40;cAdj&#41;,&#46;f&#46;,&#46;t&#46;&#41;,;\n\t\t\t cAdj&#58;=IIF&#40;!EMPTY&#40;cFile&#41;,cFile,cAdj&#41;,;\n\t\t\t oAdj &#58;Refresh&#40;&#41;&#41;\n\n @ 3,1 BUTTON \"Abrir\" ACTION ShellExecute&#40; 0, \"open\", cAdj&#41;\n @ 3,8 BUTTON \"Cerrar\" ACTION oDlg&#58;End&#40;&#41;\n\n ACTIVATE DIALOG oDlg CENTERED\n \n\nRETURN\n[/code:31j59rzx]\n\nNecesitas una imagen para el BMPGET!!!", "time": "07:23", "topic": "Abrir Arquivos (*.TIF, *.BMP e *.JPG) com TActiveX", "username": "danielr cyberia®" } ]
Abrir Arquivos (*.TIF, *.BMP e *.JPG) com TActiveX
[ { "date": "2007-05-30", "forum": "FiveWin para Harbour/xHarbour", "text": "Olá Daniel\n\nÉ exatamente oque estava precisando...\n\nFuncionou perfeitamente.\n\nGracias.\n\nSaludos", "time": "13:24", "topic": "Abrir Arquivos (*.TIF, *.BMP e *.JPG) com TActiveX", "username": "Valdir" } ]
Abrir Arquivos (*.TIF, *.BMP e *.JPG) com TActiveX
[ { "date": "2011-06-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola foro,\n\nEstoy programando por 1ra vez con ventanas en lugar de dialogos y lo que hago cada vez que el usuario abre la misma ventana que contiene un browse, abre los mismos 10 DBFs con diferente alias para cada ventana.\n\nMi pregunta es, es \"sano\" hacerlo asi? o hay otra forma de acerlo ya que pienso que cada vez que se abre un DBF consume mucha memoria y si por ejemplo el usuario abre 5 veces la misma ventana tendria 50 archivos abiertos.\n\nLa idea de poder abrir la misma ventana varias veces es que pueda definir diferentes filtros para cada una de ellas.", "time": "17:42", "topic": "Abrir DBFs al abrir ventanas", "username": "RodolfoRBG" } ]
Abrir DBFs al abrir ventanas
[ { "date": "2011-06-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola...\nYo uso una funicón que me retorna un número de alias disponible.\nDe ese modo, sin importarme el nombre de alias, armo el nombre dentro de una variable.\nLuego hago SELECT (cMiAlias) y listo.\n\nSaludos, Esteban.", "time": "18:20", "topic": "Abrir DBFs al abrir ventanas", "username": "jrestojeda" } ]
Abrir DBFs al abrir ventanas
[ { "date": "2011-06-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Me parece que lo más sano es abrir las BBDD al comienzo de la ejecución del aplicativo y cerrarlas cuando salgo del programa. Así he trabajado siempre sin ningún problema.\nSalu2", "time": "18:29", "topic": "Abrir DBFs al abrir ventanas", "username": "horacio" } ]
Abrir DBFs al abrir ventanas
[ { "date": "2011-06-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Rodolfo,\n\nNo sólo es sano, sino imprescindible.\n\nCada browse es necesario que tenga su propio area de trabajo porque de lo contrario sobre cualquier refresco del browse, por ejemplo movimiento de ventanas superpuestas, \"destrozará\" el browse pintado.\n\nAl principio yo me resistí a la técnica de abrir la .dbf por cada browse. Con el tiempo le perdí el miedo por 2 razones. 1º En 32 bits los ficheros abren rapidísimo. 2º Se puede decir que el nº de handles disponibles para fichero es ilimitado.\n\nEs cierto que a mi esta forma de trabajar no me gusta, pero lo contrario consistiría en crear un rdd que pudiera contener distintas areas de trabajo del mismo fichero... pero no me parecía la mejor cosa lo de crear un rdd nuevo/modificado.\n\nLo que sí debes hacer es ir cerrando las áreas abiertas cuando salgas del browse, y si siempre los tienes abiertos, pues cierras la áreas \"recolectadas\" al salir del programa, y sino un CLOSE DATABASES; yo prefiero recolectarlas: es más ordenadito y más control.\n\nSaludos\n\n[quote=\"RodolfoRBG\":f7531t8r]Hola foro,\n\nEstoy programando por 1ra vez con ventanas en lugar de dialogos y lo que hago cada vez que el usuario abre la misma ventana que contiene un browse, abre los mismos 10 DBFs con diferente alias para cada ventana.\n\nMi pregunta es, es \"sano\" hacerlo asi? o hay otra forma de acerlo ya que pienso que cada vez que se abre un DBF consume mucha memoria y si por ejemplo el usuario abre 5 veces la misma ventana tendria 50 archivos abiertos.\n\nLa idea de poder abrir la misma ventana varias veces es que pueda definir diferentes filtros para cada una de ellas.[/quote:f7531t8r]", "time": "18:34", "topic": "Abrir DBFs al abrir ventanas", "username": "hmpaquito" } ]
Abrir DBFs al abrir ventanas
[ { "date": "2011-06-22", "forum": "FiveWin para Harbour/xHarbour", "text": "Esteban, Horacio: Gracias, asi lo hago pero no iba por ahi la pregunta.\n\nhmPaquito: Esa era exactamente mi duda y en efecto llevo un control de los DBFs que se abren para cada ventana para cerrarlos al cerrar la ventana y dejar abiertos solo los DBFs de otras ventanas que continuan abiertas.\n\nTenia el temor de que si permanecen abiertos muchos DBFs o si abria varias veces el mismo DBF con diferente alias podria afectar al funcionamiento del sistema.\n\nSalu2", "time": "04:38", "topic": "Abrir DBFs al abrir ventanas", "username": "RodolfoRBG" } ]
Abrir DBFs al abrir ventanas
[ { "date": "2014-02-21", "forum": "FiveWin para CA-Clipper", "text": "Hola amigos:\n\nTengo la necesidad de abrir una DLL hecha con Workshop de 16bits y ninguna PC a 16 bits, alguna alma\ncaritativa que pueda abrir la DLL y exportarla a 32 ya sea en formato RC o RES o ambos si es posible?\n\nSi me dan su correo les envío la DLL y Workshop (si es necesario) para que me hagan el favor de convertirla.\n\nSaludos", "time": "21:45", "topic": "Abrir DLL de 16 bits", "username": "Armando" } ]
Abrir DLL de 16 bits
[ { "date": "2014-02-21", "forum": "FiveWin para CA-Clipper", "text": "Mandamela, creo que en este fin de semana podré\nnavarro.cristobal at gmail.com\nAvisame cuando me la envies", "time": "21:50", "topic": "Abrir DLL de 16 bits", "username": "cnavarro" } ]
Abrir DLL de 16 bits
[ { "date": "2014-02-21", "forum": "FiveWin para CA-Clipper", "text": "Cristóbal:\n\nEnviada, muchas gracias\n\nSaludos", "time": "22:40", "topic": "Abrir DLL de 16 bits", "username": "Armando" } ]
Abrir DLL de 16 bits
[ { "date": "2014-02-22", "forum": "FiveWin para CA-Clipper", "text": "Maese... a los años...\nEchale un ojo a este enlace\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=6&t=14830&hilit=convertir+a+dll+de+32+bits\">viewtopic.php?f=6&t=14830&hilit=convertir+a+dll+de+32+bits</a><!-- l -->\nSalu2", "time": "05:14", "topic": "Abrir DLL de 16 bits", "username": "Willi Quintana" } ]
Abrir DLL de 16 bits
[ { "date": "2014-02-22", "forum": "FiveWin para CA-Clipper", "text": "Armando, mira tu correo", "time": "12:16", "topic": "Abrir DLL de 16 bits", "username": "cnavarro" } ]
Abrir DLL de 16 bits
[ { "date": "2014-02-22", "forum": "FiveWin para CA-Clipper", "text": "Willi, el problema puede estar en que cada vez menos contamos con SO de 16/32 bits, y no se puede ejecutar Workshop en 64", "time": "12:34", "topic": "Abrir DLL de 16 bits", "username": "cnavarro" } ]
Abrir DLL de 16 bits
[ { "date": "2014-02-22", "forum": "FiveWin para CA-Clipper", "text": "Cristóbal:\n\nDescargado y funcionando al 100%, muy agradecido con tu apoyo,\nte debo unas tapas <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nSaludos\n\nWilli:\n\nEfectivamente, lo que comenta Cristóbal es mi situación, no tengo PC con 16bits y en 64bits WS no va.\n\nSaludos Mr", "time": "17:55", "topic": "Abrir DLL de 16 bits", "username": "Armando" } ]
Abrir DLL de 16 bits