messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2020-12-26", "forum": "FiveWin for Harbour/xHarbour", "text": "So now and then I update my FWH version to the newest.\n\nMy Process :\n\nRename folder FWharb to FWharb_versionxx\n\nInstall the FWH.exe file and done (until now i think)\nI think that some of my problems are due to NOT complete all updates.\n\nI have a Build.bat and MAK file on my program folder that is n ot changed until I need to add a lib like ex. Mysql.lib (or somethink like that)\n\nI noticed now for first that the buildh.bat in the samples folder is also changed by next versions, mostly adding some extra libs \n\nThis file parts of buildh.bat link items is also important to update into my program folder right ?\n\nI include sometimes files like :\n\nInclude \n\nreport\nfileio\nbtnget\nmail\nbarcode\n\nand\n\nrequest\n\nDBFCDX\nDBFNTX\nDBFFPT\nDBFDBT\n\nSome of these I see in the buildh.bat files, so they are linked in if I put the lines of buildh.bat into my own .mak file.\n\nAre you guys doing it the same way ? In my way FWH is not fully updated i think.", "time": "14:32", "topic": "Complete way update for FWH to newest version", "username": "Marc Venken" } ]
Complete way update for FWH to newest version
[ { "date": "2020-12-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Marc,\n\nThe way you do it is perfectly fine\n\nHave you had any issues ?", "time": "22:15", "topic": "Complete way update for FWH to newest version", "username": "Antonio Linares" } ]
Complete way update for FWH to newest version
[ { "date": "2020-12-26", "forum": "FiveWin for Harbour/xHarbour", "text": "I'm not sure if issues are part of the update procedure. (mostly my level of programming is the issue <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) --> <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) --> )\n\nI didn't update the lines in buildh.bat from the new versions, now i will and see if it make any difference.\n\nIt's mostly to learn FWH better for the update procedure.\n\nI see sometimes more #includes in programs samples in the forum and also some request call.\nIn the buildh.bat it seems that some of them are linked in and then I think the request is maybe not nesserary. I will look into it.", "time": "22:24", "topic": "Complete way update for FWH to newest version", "username": "Marc Venken" } ]
Complete way update for FWH to newest version
[ { "date": "2019-02-13", "forum": "FiveWin for Harbour/xHarbour", "text": "if I have an array with 16 fields ( for a sample 30 records) \n\nand I wish see if I have allready the same record on a dbf \n\nand if found assign on array a check if there is allready a record into dbf \n\nHow I must make ?\n\nsample : \n\nI create a price list for the June ( aData array)\n\n[img:16w5cuj2]https&#58;//i&#46;postimg&#46;cc/8k2cFsnC/kk&#46;png[/img:16w5cuj2]\n\nI wish Know if the user allready insert each record on tariffe.dbf database\n\nHow I must make \n\nI wish check if the fields tipo,idelemento,servizio,settori,giorni,mese are the same \nas column 2,3,7,8,9 and 10,\n\nI could index the tariffe.dbf on tipo+idelemento \n\nI must use set filter?", "time": "13:38", "topic": "Complex Search on dbf from an array", "username": "Silvio.Falconi" } ]
Complex Search on dbf from an array
[ { "date": "2019-02-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Silvio,\n\nselected customer in DBF2 checked if customer exist in DBF1\n( can be a array or fields, from gets ... )\n\n[img:avwqk9xf]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Double&#46;jpg[/img:avwqk9xf]\n\nNo :Setfilter() <!-- s:!: --><img src=\"{SMILIES_PATH}/icon_exclaim.gif\" alt=\":!:\" title=\"Exclamation\" /><!-- s:!: --> \n\nto be filtered\n[color=#FF0000:avwqk9xf]cName := oCust2:Last + oCust2:First [/color:avwqk9xf]\n\nfilterd in DBF1 with 450 records\n[color=#0000FF:avwqk9xf]oCust1:ORDSCOPE( 0, NIL ) // reset\noCust1:ORDSCOPE( 1, NIL ) \n\noCust1:ORDSCOPE(0, cName ) // filter\noCust1:ORDSCOPE(1, cName )\noCust1:DBGOTOP()[/color:avwqk9xf]\n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "16:08", "topic": "Complex Search on dbf from an array", "username": "ukoenig" } ]
Complex Search on dbf from an array
[ { "date": "2019-02-13", "forum": "FiveWin for Harbour/xHarbour", "text": "But i have more fields to check\nOn sql there is the query and on dbf?", "time": "16:39", "topic": "Complex Search on dbf from an array", "username": "Silvio.Falconi" } ]
Complex Search on dbf from an array
[ { "date": "2019-02-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Just define a string with any condition to be filtered\n\n[quote:1udx8yz9]if I have an array with 16 fields ( for a sample 30 records) \nand I wish see if I have allready the same record on a dbf [/quote:1udx8yz9]\n\ncName := oCust2:Last + oCust2:First + <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> + <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "16:47", "topic": "Complex Search on dbf from an array", "username": "ukoenig" } ]
Complex Search on dbf from an array
[ { "date": "2019-02-13", "forum": "FiveWin for Harbour/xHarbour", "text": "But i have a hard problem..\nThe procedure must found a price on dbf having only :\n1.Datein and dateout to determine the mounth\n2. Number of days\n3. Type of produc\n4. Code of the product\n5. Letter of sector\nAnd the dbf can be much big", "time": "22:02", "topic": "Complex Search on dbf from an array", "username": "Silvio.Falconi" } ]
Complex Search on dbf from an array
[ { "date": "2019-02-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Silvio,\n\nI think it will be no problem to [color=#0000FF:16hmlbau]replace[/color:16hmlbau]\nCustomer and custom2 with 2 other files \nand different fields for a new test\nYou just have to define a main-index where the filter belongs to\n( I thinks it is product <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \nCheck it out and have a look at [color=#0000FF:16hmlbau][b:16hmlbau]test No. 8[/b:16hmlbau][/color:16hmlbau] \nof the new download ( have a look at the new image ).\n\n[quote:16hmlbau]1.Datein and dateout to determine the mounth\n2. Number of days\n3. Type of produc\n4. Code of the product\n5. Letter of sector[/quote:16hmlbau]\n\nJust copy TDATAB7.prg to TDATAB8.prg ( empty test )\nThere replace FUNCTION DATABASE7() with FUNCTION DATABASE8()\nand You will have a new test\ndon't make changes to the original test in case You need some informations.\nFUNCTION DATABASE8() is the last empty test. Maybe we still need some more.\n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "23:42", "topic": "Complex Search on dbf from an array", "username": "ukoenig" } ]
Complex Search on dbf from an array
[ { "date": "2019-02-18", "forum": "FiveWin for Harbour/xHarbour", "text": "I resolved with a easy setfilter \n\nI had difficulty finding the way how to pass the values contained in the tips\n\nLocal cFilter := \"trim(Tipo) == '\" + cTipo +;\n \"' .and. alltrim(str(giorni))== '\" + alltrim(str(nGiorni)) +;\n \"' .and. idelemento== '\"+cidelemento+;\n \"' .and. settore== '\" +cSettore+;\n \"' .and. alltrim(idlistino)== '\" +clistino+\"'\"\n\n oTariffePrezzi:= TTariffe():new()\n oTariffePrezzi:setFilter( cFilter)\n oTariffePrezzi:gotop()\n\n nPrezzo:= oTariffePrezzi:totale", "time": "17:55", "topic": "Complex Search on dbf from an array", "username": "Silvio.Falconi" } ]
Complex Search on dbf from an array
[ { "date": "2008-06-09", "forum": "FiveWin for Harbour/xHarbour", "text": "I must create it \r\n<!-- m --><a class=\"postlink\" href=\"http://img505.imageshack.us/img505/8279/tabletime2ck8.png\">http://img505.imageshack.us/img505/8279 ... me2ck8.png</a><!-- m -->\r\n\r\nand I have a database with some field :\r\nl_lun\r\nl_mar\r\nl_mer\r\nl_gio\r\nl_ven\r\nl_sab\r\n\r\neach field have a string of ten characters as \"SSSSSSNSNS\"\r\n\r\nS := Yes\r\nN := No\r\n\r\n\r\nI thinked to load all string into array type adatidisp[6,10]\r\n\r\n\r\n[code:b9i974u5]\n\nstatic function CARICA_REC&#40;aDati, aDatiDisp&#41;\n\n aDatiDisp&#91;1&#93;&#91;1&#93;&#58;= Left&#40;aule->l_lun, 1&#41;\n aDatiDisp&#91;1&#93;&#91;2&#93;&#58;= SubStr&#40;aule->l_lun, 2, 1&#41;\n aDatiDisp&#91;1&#93;&#91;3&#93;&#58;= SubStr&#40;aule->l_lun, 3, 1&#41;\n aDatiDisp&#91;1&#93;&#91;4&#93;&#58;= SubStr&#40;aule->l_lun, 4, 1&#41;\n aDatiDisp&#91;1&#93;&#91;5&#93;&#58;= SubStr&#40;aule->l_lun, 5, 1&#41;\n aDatiDisp&#91;1&#93;&#91;6&#93;&#58;= SubStr&#40;aule->l_lun, 6, 1&#41;\n aDatiDisp&#91;1&#93;&#91;7&#93;&#58;= SubStr&#40;aule->l_lun, 7, 1&#41;\n aDatiDisp&#91;1&#93;&#91;8&#93;&#58;= SubStr&#40;aule->l_lun, 8, 1&#41;\n aDatiDisp&#91;1&#93;&#91;9&#93;&#58;= SubStr&#40;aule->l_lun, 9, 1&#41;\n aDatiDisp&#91;1&#93;&#91;10&#93;&#58;= right&#40;aule->l_lun, 1&#41;\n\n aDatiDisp&#91;2&#93;&#91;1&#93;&#58;= Left&#40;aule->l_mar, 1&#41;\n aDatiDisp&#91;2&#93;&#91;2&#93;&#58;= SubStr&#40;aule->l_mar, 2, 1&#41;\n aDatiDisp&#91;2&#93;&#91;3&#93;&#58;= SubStr&#40;aule->l_mar, 3, 1&#41;\n aDatiDisp&#91;2&#93;&#91;4&#93;&#58;= SubStr&#40;aule->l_mar, 4, 1&#41;\n aDatiDisp&#91;2&#93;&#91;5&#93;&#58;= SubStr&#40;aule->l_mar, 5, 1&#41;\n aDatiDisp&#91;2&#93;&#91;6&#93;&#58;= SubStr&#40;aule->l_mar, 6, 1&#41;\n aDatiDisp&#91;2&#93;&#91;7&#93;&#58;= SubStr&#40;aule->l_mar, 7, 1&#41;\n aDatiDisp&#91;2&#93;&#91;8&#93;&#58;= SubStr&#40;aule->l_mar, 8, 1&#41;\n aDatiDisp&#91;2&#93;&#91;9&#93;&#58;= SubStr&#40;aule->l_mar, 9, 1&#41;\n aDatiDisp&#91;2&#93;&#91;10&#93;&#58;= right&#40;aule->l_mar, 1&#41;\n\n aDatiDisp&#91;3&#93;&#91;1&#93;&#58;= Left&#40;aule->l_mer, 1&#41;\n aDatiDisp&#91;3&#93;&#91;2&#93;&#58;= SubStr&#40;aule->l_mer, 2, 1&#41;\n aDatiDisp&#91;3&#93;&#91;3&#93;&#58;= SubStr&#40;aule->l_mer, 3, 1&#41;\n aDatiDisp&#91;3&#93;&#91;4&#93;&#58;= SubStr&#40;aule->l_mer, 4, 1&#41;\n aDatiDisp&#91;3&#93;&#91;5&#93;&#58;= SubStr&#40;aule->l_mer, 5, 1&#41;\n aDatiDisp&#91;3&#93;&#91;6&#93;&#58;= SubStr&#40;aule->l_mer, 6, 1&#41;\n aDatiDisp&#91;3&#93;&#91;7&#93;&#58;= SubStr&#40;aule->l_mer, 7, 1&#41;\n aDatiDisp&#91;3&#93;&#91;8&#93;&#58;= SubStr&#40;aule->l_mer, 8, 1&#41;\n aDatiDisp&#91;3&#93;&#91;9&#93;&#58;= SubStr&#40;aule->l_mer, 9, 1&#41;\n aDatiDisp&#91;3&#93;&#91;10&#93;&#58;= right&#40;aule->l_mer, 1&#41;\n\n aDatiDisp&#91;4&#93;&#91;1&#93;&#58;= Left&#40;aule->l_gio, 1&#41;\n aDatiDisp&#91;4&#93;&#91;2&#93;&#58;= SubStr&#40;aule->l_gio, 2, 1&#41;\n aDatiDisp&#91;4&#93;&#91;3&#93;&#58;= SubStr&#40;aule->l_gio, 3, 1&#41;\n aDatiDisp&#91;4&#93;&#91;4&#93;&#58;= SubStr&#40;aule->l_gio, 4, 1&#41;\n aDatiDisp&#91;4&#93;&#91;5&#93;&#58;= SubStr&#40;aule->l_gio, 5, 1&#41;\n aDatiDisp&#91;4&#93;&#91;6&#93;&#58;= SubStr&#40;aule->l_gio, 6, 1&#41;\n aDatiDisp&#91;4&#93;&#91;7&#93;&#58;= SubStr&#40;aule->l_gio, 7, 1&#41;\n aDatiDisp&#91;4&#93;&#91;8&#93;&#58;= SubStr&#40;aule->l_gio, 8, 1&#41;\n aDatiDisp&#91;4&#93;&#91;9&#93;&#58;= SubStr&#40;aule->l_gio, 9, 1&#41;\n aDatiDisp&#91;4&#93;&#91;10&#93;&#58;= right&#40;aule->l_gio, 1&#41;\n\n aDatiDisp&#91;5&#93;&#91;1&#93;&#58;= Left&#40;aule->l_ven, 1&#41;\n aDatiDisp&#91;5&#93;&#91;2&#93;&#58;= SubStr&#40;aule->l_ven, 2, 1&#41;\n aDatiDisp&#91;5&#93;&#91;3&#93;&#58;= SubStr&#40;aule->l_ven, 3, 1&#41;\n aDatiDisp&#91;5&#93;&#91;4&#93;&#58;= SubStr&#40;aule->l_ven, 4, 1&#41;\n aDatiDisp&#91;5&#93;&#91;5&#93;&#58;= SubStr&#40;aule->l_ven, 5, 1&#41;\n aDatiDisp&#91;5&#93;&#91;6&#93;&#58;= SubStr&#40;aule->l_ven, 6, 1&#41;\n aDatiDisp&#91;5&#93;&#91;7&#93;&#58;= SubStr&#40;aule->l_ven, 7, 1&#41;\n aDatiDisp&#91;5&#93;&#91;8&#93;&#58;= SubStr&#40;aule->l_ven, 8, 1&#41;\n aDatiDisp&#91;5&#93;&#91;9&#93;&#58;= SubStr&#40;aule->l_ven, 9, 1&#41;\n aDatiDisp&#91;5&#93;&#91;10&#93;&#58;= right&#40;aule->l_ven, 1&#41;\n\n aDatiDisp&#91;6&#93;&#91;1&#93;&#58;= Left&#40;aule->l_sab, 1&#41;\n aDatiDisp&#91;6&#93;&#91;2&#93;&#58;= SubStr&#40;aule->l_sab, 2, 1&#41;\n aDatiDisp&#91;6&#93;&#91;3&#93;&#58;= SubStr&#40;aule->l_sab, 3, 1&#41;\n aDatiDisp&#91;6&#93;&#91;4&#93;&#58;= SubStr&#40;aule->l_sab, 4, 1&#41;\n aDatiDisp&#91;6&#93;&#91;5&#93;&#58;= SubStr&#40;aule->l_sab, 5, 1&#41;\n aDatiDisp&#91;6&#93;&#91;6&#93;&#58;= SubStr&#40;aule->l_sab, 6, 1&#41;\n aDatiDisp&#91;6&#93;&#91;7&#93;&#58;= SubStr&#40;aule->l_sab, 7, 1&#41;\n aDatiDisp&#91;6&#93;&#91;8&#93;&#58;= SubStr&#40;aule->l_sab, 8, 1&#41;\n aDatiDisp&#91;6&#93;&#91;9&#93;&#58;= SubStr&#40;aule->l_sab, 9, 1&#41;\n aDatiDisp&#91;6&#93;&#91;10&#93;&#58;= right&#40;aule->l_sab, 1&#41;\n return Nil\n\n\n\n[/code:b9i974u5]\r\n\r\n\r\n\r\n\r\nNow I want insert all data into a listbox\r\nthe first column must be a column of days o a week\r\n\r\nAADD( aMat, { \"MO\" } )\r\nAADD( aMat, { \"TU\" } )\r\nAADD( aMat, { \"WE\" } )\r\nAADD( aMat, { \"TH\" } )\r\nAADD( aMat, { \"FR\" } )\r\nAADD( aMat, { \"SA\" } )\r\n\r\nand each adatidisp must be insert as a bitmap\r\n\r\nfor the yes \"select.bmp\" and for the NO \"unselect.bmp\"\r\n\r\n\r\n\r\nhow I can make to put all in listbox ?", "time": "17:49", "topic": "Complex array into listbox: some one can help me please ?", "username": "Silvio" } ]
Complex array into listbox: some one can help me please ?
[ { "date": "2008-06-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Silvio, maybe you can use the bus reservation sample from TSButton for your purpose.\r\nRegards,\r\nOtto\r\n\r\n\r\n[img:30qgxmih]http&#58;//www&#46;atzwanger&#46;com/fw/bus&#46;jpg[/img:30qgxmih]", "time": "18:12", "topic": "Complex array into listbox: some one can help me please ?", "username": "Otto" } ]
Complex array into listbox: some one can help me please ?
[ { "date": "2008-06-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Change it for\r\n[code:1f0kveir]\nstatic function CARICA_REC&#40;aDati, aDatiDisp&#41; \n\n aMat, &#123; \"MO\", ;\n Left&#40;aule->l_lun, 1&#41;, ;\n SubStr&#40;aule->l_lun, 2, 1&#41;, ;\n SubStr&#40;aule->l_lun, 3, 1&#41;, ;\n SubStr&#40;aule->l_lun, 4, 1&#41;, ;\n SubStr&#40;aule->l_lun, 5, 1&#41;, ;\n SubStr&#40;aule->l_lun, 6, 1&#41;, ;\n SubStr&#40;aule->l_lun, 7, 1&#41;, ;\n SubStr&#40;aule->l_lun, 8, 1&#41; , ;\n SubStr&#40;aule->l_lun, 9, 1&#41;, ;\n right&#40;aule->l_lun, 1&#41; &#125;\n\n[/code:1f0kveir]", "time": "18:26", "topic": "Complex array into listbox: some one can help me please ?", "username": "quique" } ]
Complex array into listbox: some one can help me please ?
[ { "date": "2008-06-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\r\n\r\nif you load an array from string you can try this ( Hernan's browse)\r\n\r\n[code:1i7plcpi]\nFUNCTION test&#40;&#41;\n LOCAL oDlg, oLbx, aData, oBmpYes, oBmpNo\n\n oBmpYes &#58;= LoadBitmap &#40; GetResources&#40;&#41;, \"X\" &#41;\n oBmpNO &#58;= LoadBitmap &#40; GetResources&#40;&#41;, \"XX\" &#41;\n\n aData &#58;= &#123; &#123;'Lunes', 'S','N','S','S','N','S','S','S','S','S'&#125;,;\n &#123;'Martes', 'S','N','S','S','N','S','S','S','S','N'&#125;,;\n &#123;'Miercoles','S','N','S','S','N','S','S','S','S','S'&#125;,;\n &#123;'Jueves', 'S','N','S','S','N','S','S','S','S','N'&#125;,;\n &#123;'Viernes', 'N','N','N','S','N','S','S','S','S','N'&#125;,;\n &#123;'Sábado', 'S','N','S','S','N','S','S','S','S','N'&#125;,;\n &#123;'Domingo', 'S','N','S','S','N','S','S','S','S','N'&#125;;\n &#125;\n\n DEFINE DIALOG oDLg FROM 1,1 TO 20,30\n\n @ 1,1 LISTBOX oLbx FIELDS HEADER \"\",\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\" OF oDlg\n\n oLbx&#58;setArray&#40;aData&#41;\n oLbx&#58;bLine&#58;=&#123;|| &#123; aData&#91;oLbx&#58;nAt,1&#93;,;\n IF&#40; aData&#91;oLbx&#58;nAt,2&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,3&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,4&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,5&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,6&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,7&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,8&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,9&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,10&#93; = 'S', oBmpYes, oBmpNo &#41;;\n &#125; &#125;\n\n ACTIVATE DIALOG oDlg\n\n RETURN&#40; NIL &#41;\n[/code:1i7plcpi]\r\n\r\nThis sample isn't similar to your picture which you sent, but with some work, I think is possible to make some thing close\r\n\r\nregards\r\n\r\nMarcelo", "time": "22:16", "topic": "Complex array into listbox: some one can help me please ?", "username": "Marcelo Via Giglio" } ]
Complex array into listbox: some one can help me please ?
[ { "date": "2008-06-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi\r\n\r\nBeing a Linux person these days I can't really help on the GUI side but it might be neater and quicker to use\r\n\r\n[code:2luboxx3]aule->l_mer&#91;3&#93; [/code:2luboxx3]\n\nin place of\n\n[code:2luboxx3]SubStr&#40;aule->l_mer, 3, 1&#41; [/code:2luboxx3]\n\nand given that you have a series of them look at using (nested) FOR EACHs and / or loops. Perhaps something along the lines of:\n\n[code:2luboxx3]aDays &#58;= ARRAY&#40; 6 &#41;\naDays&#91;1&#93; &#58;= aule->l_lun\naDays&#91;2&#93; &#58;= aule->l_mar\naDays&#91;3&#93; &#58;= aule->l_mer\naDays&#91;4&#93; &#58;= aule->l_gio\naDays&#91;5&#93; &#58;= aule->l_ven\naDays&#91;6&#93; &#58;= aule->l_sab\nFOR ii = 1 TO 6\n thisString &#58;= aDays&#91;ii&#93;\n FOR jj = 1 TO 10\n aDatiDisp&#91;ii&#93;&#91;jj&#93; &#58;= thisString&#91;jj&#93;\n NEXT\nNEXT [/code:2luboxx3]\r\n\r\nRegards\r\nxProgrammer", "time": "23:10", "topic": "Complex array into listbox: some one can help me please ?", "username": "xProgrammer" } ]
Complex array into listbox: some one can help me please ?
[ { "date": "2008-06-10", "forum": "FiveWin for Harbour/xHarbour", "text": "THANKS , THANKS TO ALL\r\n\r\nPERHAPS I FOUND A SOLUTION !!!!\r\n\r\n\r\n\r\n\r\n[img:3i32hxt3]http&#58;//img362&#46;imageshack&#46;us/img362/5647/testokxf6&#46;jpg[/img:3i32hxt3]\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nBUT THERE IS AN ERROR ON LAST COLUMN ( FROM 9 TO 10)\r\n\r\nI want the listbox into dialog \r\n\r\nif I press arrow -> I can see only the last column and I not want move the listbox\r\n\r\n\r\n\r\n[img:3i32hxt3]http&#58;//img209&#46;imageshack&#46;us/img209/8633/errorra6&#46;jpg[/img:3i32hxt3]\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nLOOK IT and try PLEASE\r\n\r\nI COMPILED WITH WBROWSE OF HERNAN\r\n\r\n\r\n\r\n[code:3i32hxt3]\n \n\n#INCLUDE \"FIVEWIN&#46;CH\"\n\n\n\nFUNCTION test&#40;&#41;\n LOCAL oDlg, oLbx, aData, oBmpYes, oBmpNo,oFld,oFont\n Local aDati &#91;7&#93;\n Local aDatiDisp&#91;6,10&#93;\n Local lsave &#58;=&#46;f&#46;\n\n\n oBmpYes &#58;= READBITMAP&#40; 0, \"SELECT&#46;BMP\" &#41;\n oBmpNO &#58;= READBITMAP&#40; 0, \"UNSELECT&#46;BMP\" &#41;\n\n\n DEFINE FONT oFont NAME \"MS Sans Serif\" SIZE 0,-8\n\n\n USE AULE ALIAS AULE\n GO TOP\n\n\n\n //LOAD DATA from Aule&#46;dbf\n\n aDati&#91;1&#93;&#58;= aule->cod\n aDati&#91;2&#93;&#58;= aule->descr\n aDati&#91;3&#93;&#58;= aule->max_ore\n aDati&#91;4&#93;&#58;= aule->max_cla\n aDati&#91;5&#93;&#58;= aule->omo_cla\n aDati&#91;6&#93;&#58;= aule->aula_lab\n aDati&#91;7&#93;&#58;= aule->prec\n\n\n\n aDatiDisp&#91;1&#93;&#91;1&#93;&#58;= Left&#40;aule->l_lun, 1&#41;\n aDatiDisp&#91;1&#93;&#91;2&#93;&#58;= SubStr&#40;aule->l_lun, 2, 1&#41;\n aDatiDisp&#91;1&#93;&#91;3&#93;&#58;= SubStr&#40;aule->l_lun, 3, 1&#41;\n aDatiDisp&#91;1&#93;&#91;4&#93;&#58;= SubStr&#40;aule->l_lun, 4, 1&#41;\n aDatiDisp&#91;1&#93;&#91;5&#93;&#58;= SubStr&#40;aule->l_lun, 5, 1&#41;\n aDatiDisp&#91;1&#93;&#91;6&#93;&#58;= SubStr&#40;aule->l_lun, 6, 1&#41;\n aDatiDisp&#91;1&#93;&#91;7&#93;&#58;= SubStr&#40;aule->l_lun, 7, 1&#41;\n aDatiDisp&#91;1&#93;&#91;8&#93;&#58;= SubStr&#40;aule->l_lun, 8, 1&#41;\n aDatiDisp&#91;1&#93;&#91;9&#93;&#58;= SubStr&#40;aule->l_lun, 9, 1&#41;\n aDatiDisp&#91;1&#93;&#91;10&#93;&#58;= right&#40;aule->l_lun, 1&#41;\n\n aDatiDisp&#91;2&#93;&#91;1&#93;&#58;= Left&#40;aule->l_mar, 1&#41;\n aDatiDisp&#91;2&#93;&#91;2&#93;&#58;= SubStr&#40;aule->l_mar, 2, 1&#41;\n aDatiDisp&#91;2&#93;&#91;3&#93;&#58;= SubStr&#40;aule->l_mar, 3, 1&#41;\n aDatiDisp&#91;2&#93;&#91;4&#93;&#58;= SubStr&#40;aule->l_mar, 4, 1&#41;\n aDatiDisp&#91;2&#93;&#91;5&#93;&#58;= SubStr&#40;aule->l_mar, 5, 1&#41;\n aDatiDisp&#91;2&#93;&#91;6&#93;&#58;= SubStr&#40;aule->l_mar, 6, 1&#41;\n aDatiDisp&#91;2&#93;&#91;7&#93;&#58;= SubStr&#40;aule->l_mar, 7, 1&#41;\n aDatiDisp&#91;2&#93;&#91;8&#93;&#58;= SubStr&#40;aule->l_mar, 8, 1&#41;\n aDatiDisp&#91;2&#93;&#91;9&#93;&#58;= SubStr&#40;aule->l_mar, 9, 1&#41;\n aDatiDisp&#91;2&#93;&#91;10&#93;&#58;= right&#40;aule->l_mar, 1&#41;\n\n aDatiDisp&#91;3&#93;&#91;1&#93;&#58;= Left&#40;aule->l_mer, 1&#41;\n aDatiDisp&#91;3&#93;&#91;2&#93;&#58;= SubStr&#40;aule->l_mer, 2, 1&#41;\n aDatiDisp&#91;3&#93;&#91;3&#93;&#58;= SubStr&#40;aule->l_mer, 3, 1&#41;\n aDatiDisp&#91;3&#93;&#91;4&#93;&#58;= SubStr&#40;aule->l_mer, 4, 1&#41;\n aDatiDisp&#91;3&#93;&#91;5&#93;&#58;= SubStr&#40;aule->l_mer, 5, 1&#41;\n aDatiDisp&#91;3&#93;&#91;6&#93;&#58;= SubStr&#40;aule->l_mer, 6, 1&#41;\n aDatiDisp&#91;3&#93;&#91;7&#93;&#58;= SubStr&#40;aule->l_mer, 7, 1&#41;\n aDatiDisp&#91;3&#93;&#91;8&#93;&#58;= SubStr&#40;aule->l_mer, 8, 1&#41;\n aDatiDisp&#91;3&#93;&#91;9&#93;&#58;= SubStr&#40;aule->l_mer, 9, 1&#41;\n aDatiDisp&#91;3&#93;&#91;10&#93;&#58;= right&#40;aule->l_mer, 1&#41;\n\n aDatiDisp&#91;4&#93;&#91;1&#93;&#58;= Left&#40;aule->l_gio, 1&#41;\n aDatiDisp&#91;4&#93;&#91;2&#93;&#58;= SubStr&#40;aule->l_gio, 2, 1&#41;\n aDatiDisp&#91;4&#93;&#91;3&#93;&#58;= SubStr&#40;aule->l_gio, 3, 1&#41;\n aDatiDisp&#91;4&#93;&#91;4&#93;&#58;= SubStr&#40;aule->l_gio, 4, 1&#41;\n aDatiDisp&#91;4&#93;&#91;5&#93;&#58;= SubStr&#40;aule->l_gio, 5, 1&#41;\n aDatiDisp&#91;4&#93;&#91;6&#93;&#58;= SubStr&#40;aule->l_gio, 6, 1&#41;\n aDatiDisp&#91;4&#93;&#91;7&#93;&#58;= SubStr&#40;aule->l_gio, 7, 1&#41;\n aDatiDisp&#91;4&#93;&#91;8&#93;&#58;= SubStr&#40;aule->l_gio, 8, 1&#41;\n aDatiDisp&#91;4&#93;&#91;9&#93;&#58;= SubStr&#40;aule->l_gio, 9, 1&#41;\n aDatiDisp&#91;4&#93;&#91;10&#93;&#58;= right&#40;aule->l_gio, 1&#41;\n\n aDatiDisp&#91;5&#93;&#91;1&#93;&#58;= Left&#40;aule->l_ven, 1&#41;\n aDatiDisp&#91;5&#93;&#91;2&#93;&#58;= SubStr&#40;aule->l_ven, 2, 1&#41;\n aDatiDisp&#91;5&#93;&#91;3&#93;&#58;= SubStr&#40;aule->l_ven, 3, 1&#41;\n aDatiDisp&#91;5&#93;&#91;4&#93;&#58;= SubStr&#40;aule->l_ven, 4, 1&#41;\n aDatiDisp&#91;5&#93;&#91;5&#93;&#58;= SubStr&#40;aule->l_ven, 5, 1&#41;\n aDatiDisp&#91;5&#93;&#91;6&#93;&#58;= SubStr&#40;aule->l_ven, 6, 1&#41;\n aDatiDisp&#91;5&#93;&#91;7&#93;&#58;= SubStr&#40;aule->l_ven, 7, 1&#41;\n aDatiDisp&#91;5&#93;&#91;8&#93;&#58;= SubStr&#40;aule->l_ven, 8, 1&#41;\n aDatiDisp&#91;5&#93;&#91;9&#93;&#58;= SubStr&#40;aule->l_ven, 9, 1&#41;\n aDatiDisp&#91;5&#93;&#91;10&#93;&#58;= right&#40;aule->l_ven, 1&#41;\n\n aDatiDisp&#91;6&#93;&#91;1&#93;&#58;= Left&#40;aule->l_sab, 1&#41;\n aDatiDisp&#91;6&#93;&#91;2&#93;&#58;= SubStr&#40;aule->l_sab, 2, 1&#41;\n aDatiDisp&#91;6&#93;&#91;3&#93;&#58;= SubStr&#40;aule->l_sab, 3, 1&#41;\n aDatiDisp&#91;6&#93;&#91;4&#93;&#58;= SubStr&#40;aule->l_sab, 4, 1&#41;\n aDatiDisp&#91;6&#93;&#91;5&#93;&#58;= SubStr&#40;aule->l_sab, 5, 1&#41;\n aDatiDisp&#91;6&#93;&#91;6&#93;&#58;= SubStr&#40;aule->l_sab, 6, 1&#41;\n aDatiDisp&#91;6&#93;&#91;7&#93;&#58;= SubStr&#40;aule->l_sab, 7, 1&#41;\n aDatiDisp&#91;6&#93;&#91;8&#93;&#58;= SubStr&#40;aule->l_sab, 8, 1&#41;\n aDatiDisp&#91;6&#93;&#91;9&#93;&#58;= SubStr&#40;aule->l_sab, 9, 1&#41;\n aDatiDisp&#91;6&#93;&#91;10&#93;&#58;= right&#40;aule->l_sab, 1&#41;\n\n\n\n\n //PUT data into aData array\n\n aData &#58;= &#123; &#123;'Lunedì', aDatiDisp&#91;1&#93;&#91;1&#93;,aDatiDisp&#91;1&#93;&#91;2&#93;,aDatiDisp&#91;1&#93;&#91;3&#93;,aDatiDisp&#91;1&#93;&#91;4&#93;,aDatiDisp&#91;1&#93;&#91;5&#93;,aDatiDisp&#91;1&#93;&#91;6&#93;,aDatiDisp&#91;1&#93;&#91;7&#93;,aDatiDisp&#91;1&#93;&#91;8&#93;,aDatiDisp&#91;1&#93;&#91;9&#93;,aDatiDisp&#91;1&#93;&#91;10&#93;&#125;,;\n &#123;'Martedì', aDatiDisp&#91;2&#93;&#91;1&#93;,aDatiDisp&#91;2&#93;&#91;2&#93;,aDatiDisp&#91;2&#93;&#91;3&#93;,aDatiDisp&#91;2&#93;&#91;4&#93;,aDatiDisp&#91;2&#93;&#91;5&#93;,aDatiDisp&#91;2&#93;&#91;6&#93;,aDatiDisp&#91;2&#93;&#91;7&#93;,aDatiDisp&#91;2&#93;&#91;8&#93;,aDatiDisp&#91;2&#93;&#91;9&#93;,aDatiDisp&#91;2&#93;&#91;10&#93;&#125;,;\n &#123;'Mercoledì', aDatiDisp&#91;3&#93;&#91;1&#93;,aDatiDisp&#91;3&#93;&#91;2&#93;,aDatiDisp&#91;3&#93;&#91;3&#93;,aDatiDisp&#91;3&#93;&#91;4&#93;,aDatiDisp&#91;3&#93;&#91;5&#93;,aDatiDisp&#91;3&#93;&#91;6&#93;,aDatiDisp&#91;3&#93;&#91;7&#93;,aDatiDisp&#91;3&#93;&#91;8&#93;,aDatiDisp&#91;3&#93;&#91;9&#93;,aDatiDisp&#91;3&#93;&#91;10&#93;&#125;,;\n &#123;'Giovedì', aDatiDisp&#91;4&#93;&#91;1&#93;,aDatiDisp&#91;4&#93;&#91;2&#93;,aDatiDisp&#91;4&#93;&#91;3&#93;,aDatiDisp&#91;4&#93;&#91;4&#93;,aDatiDisp&#91;4&#93;&#91;5&#93;,aDatiDisp&#91;4&#93;&#91;6&#93;,aDatiDisp&#91;4&#93;&#91;7&#93;,aDatiDisp&#91;4&#93;&#91;8&#93;,aDatiDisp&#91;4&#93;&#91;9&#93;,aDatiDisp&#91;4&#93;&#91;10&#93;&#125;,;\n &#123;'Venerdi', aDatiDisp&#91;5&#93;&#91;1&#93;,aDatiDisp&#91;5&#93;&#91;2&#93;,aDatiDisp&#91;5&#93;&#91;3&#93;,aDatiDisp&#91;5&#93;&#91;4&#93;,aDatiDisp&#91;5&#93;&#91;5&#93;,aDatiDisp&#91;5&#93;&#91;6&#93;,aDatiDisp&#91;5&#93;&#91;7&#93;,aDatiDisp&#91;5&#93;&#91;8&#93;,aDatiDisp&#91;5&#93;&#91;9&#93;,aDatiDisp&#91;5&#93;&#91;10&#93;&#125;,;\n &#123;'Sabato', aDatiDisp&#91;6&#93;&#91;1&#93;,aDatiDisp&#91;6&#93;&#91;2&#93;,aDatiDisp&#91;6&#93;&#91;3&#93;,aDatiDisp&#91;6&#93;&#91;4&#93;,aDatiDisp&#91;6&#93;&#91;5&#93;,aDatiDisp&#91;6&#93;&#91;6&#93;,aDatiDisp&#91;6&#93;&#91;7&#93;,aDatiDisp&#91;6&#93;&#91;8&#93;,aDatiDisp&#91;6&#93;&#91;9&#93;,aDatiDisp&#91;6&#93;&#91;10&#93;&#125;,;\n &#125;\n\n\n\n //OPen dialog with Folder\n\n DEFINE DIALOG oDlg ;\n TITLE \"# ARCHIVIO COMPLEMENTARE AULE E LABORATORI\" ;\n FROM 1,1 to 24,85\n\n @ 0&#46;5, 1 FOLDER oFld ITEMS \"&Generale\", \"&Giorni/Ore disponibili\" ;\n OF oDlg SIZE 320 ,120\n\n\n\n @ 0, 2 say \"Codice&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#58;\" FONT oFont OF oFld&#58;aDialogs&#91; 1 &#93;\n @ 1, 2 say \"Descrizione&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#58;\" FONT oFont OF oFld&#58;aDialogs&#91; 1 &#93;\n @ 2, 2 say \"Massimo ore insegnamento&#46;&#58;\" FONT oFont OF oFld&#58;aDialogs&#91; 1 &#93;\n @ 3, 2 say \"Massimo classi presenti&#46;&#46;&#58;\" FONT oFont OF oFld&#58;aDialogs&#91; 1 &#93;\n @ 4, 2 say \"Omogeneita' classi &#40;S/N&#41;&#46;&#58;\" FONT oFont OF oFld&#58;aDialogs&#91; 1 &#93;\n @ 5, 2 say \"Aula/Laboratorio &#40;A/L&#41;&#46;&#46;&#46;&#58;\" FONT oFont OF oFld&#58;aDialogs&#91; 1 &#93;\n @ 6, 2 say \"Precedenza &#40;1=max 9=min&#41;&#46;&#58;\" FONT oFont OF oFld&#58;aDialogs&#91; 1 &#93;\n\n @ 0, 20 GET aDati&#91;1&#93; FONT oFont size 100,10 OF oFld&#58;aDialogs&#91; 1 &#93;\n @ 1, 20 GET aDati&#91;2&#93; FONT oFont size 100,10 OF oFld&#58;aDialogs&#91; 1 &#93;\n @ 2, 20 GET aDati&#91;3&#93; FONT oFont size 100,10 OF oFld&#58;aDialogs&#91; 1 &#93;\n @ 3, 20 GET aDati&#91;4&#93; FONT oFont size 100,10 OF oFld&#58;aDialogs&#91; 1 &#93;\n @ 4, 20 GET aDati&#91;5&#93; FONT oFont size 100,10 OF oFld&#58;aDialogs&#91; 1 &#93;\n @ 5, 20 GET aDati&#91;6&#93; FONT oFont size 100,10 OF oFld&#58;aDialogs&#91; 1 &#93;\n @ 6, 20 GET aDati&#91;7&#93; FONT oFont size 100,10 OF oFld&#58;aDialogs&#91; 1 &#93;\n\n\n\n TwBrowse&#40;&#41;&#58;lVscroll&#58;=&#46;f&#46;\n TwBrowse&#40;&#41;&#58;lHscroll&#58;=&#46;f&#46;\n\n @ 0,0&#46;5 LISTBOX oLbx FIELDS HEADER \"\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\" ;\n OF oFld&#58;aDialogs&#91; 2 &#93; UPDATE ;\n SIZE 300,110 ;\n SIZES 100, 50, 50, 50,50,50,50,50,50,50,50\n\n oLbx&#58;setArray&#40;aData&#41;\n oLbx&#58;bLine&#58;=&#123;|| &#123; aData&#91;oLbx&#58;nAt,1&#93;,;\n IF&#40; aData&#91;oLbx&#58;nAt,2&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,3&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,4&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,5&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,6&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,7&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,8&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,9&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,10&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,11&#93; = 'S', oBmpYes, oBmpNo &#41;;\n &#125; &#125;\n\n //only wbrowse hernan\n oLbx&#58;nHeaderHeight &#58;= 38\n * oLbx&#58;nHeaderStyle &#58;=11\n\n * oLbx&#58;nlineStyle&#58;= 11\n oLbx&#58;nLineHeight &#58;= 25\n\n * oLbx&#58;nFreeze&#58;=1\n oLbx&#58;lAdjBrowse&#58;=&#46;F&#46;\n\n\n ////////////////////\n\n oLbx&#58;lCellStyle &#58;= &#46;T&#46;\n * oLbx&#58;Set3DStyle&#40;&#41;\n oLbx&#58;aHJustify &#58;=&#123;2,2,2,2,2,2,2,2,2,2,2 &#125;\n // to change data\n oLbx&#58;bLClicked = &#123; | nRow, nCol | Cambia&#40; oLbx, nCol &#41; &#125;\n\n\n\n @ 7&#46;5, 29 BUTTON \"&Conferma\" OF oDlg SIZE 40,10 ACTION &#40; lsave&#58;=&#46;F&#46;,oDlg&#58;end&#40;&#41;&#41;\n @ 7&#46;5, 38 BUTTON \"&Annulla\" OF oDlg SIZE 40,10 ACTION &#40; lsave&#58;=&#46;F&#46;,oDlg&#58;end&#40;&#41;&#41;\n\n\n ACTIVATE DIALOG oDlg\n\n If lsave\n //sAVE ALL DATA\n\n endif\n\n RETURN&#40; NIL &#41;\n\n\n\n\n\n //change data\n STATIC FUNCTION CAMBIA&#40; oLbx, nCol &#41;\n\n IF oLbx&#58;nAtCol&#40; nCol &#41; = 3\n\n\n oLbx&#58;Refresh&#40; &#46;F&#46; &#41;\n ENDIF\n\n RETURN NIL\n\n[/code:3i32hxt3]\r\n\r\n\r\nAnother ...\r\nHOW i CAN MAKE TO CHANGE DATA INTO CAMBIA FUNCTION with a click?\r\n\r\nBest Regards\r\nsilvio\r\n\r\n\r\np.s. thanks to all!!!!!!!!!!!!!", "time": "09:46", "topic": "Complex array into listbox: some one can help me please ?", "username": "Silvio" } ]
Complex array into listbox: some one can help me please ?
[ { "date": "2008-06-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Silvio,\r\n\r\n[quote:3oi91bdv]BUT THERE IS AN ERROR ON LAST COLUMN ( FROM 9 TO 10)\n\nI want the listbox into dialog\n\nif I press arrow -> I can see only the last column and I not want move the listbox [/quote:3oi91bdv]\r\n\r\nyou can try to add a dummy column to the browse and adjust the last column \r\n\r\noBrw:nAdjustCol := 10", "time": "10:43", "topic": "Complex array into listbox: some one can help me please ?", "username": "StefanHaupt" } ]
Complex array into listbox: some one can help me please ?
[ { "date": "2008-06-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Silvio:\r\n\r\nHere you are a simple TSBrowse solution\r\n[url=http&#58;//server6&#46;theimagehosting&#46;com/image&#46;php?img=Silvio&#46;JPG:3fir6wir][img:3fir6wir]http&#58;//images6&#46;theimagehosting&#46;com/Silvio&#46;th&#46;JPG[/img:3fir6wir][/url:3fir6wir]\r\n[code:3fir6wir]#include \"FiveWin&#46;ch\"\n#include \"TSBrowse&#46;ch\"\n\nREQUEST DBFCDX\n\n//----------------------------------------------------------------------------//\n\nFunction Main&#40;&#41;\n\n Local oDlg, oBrw, aBmp&#91; 2 &#93;, aArray, nEle, ;\n aDay &#58;= &#123; \"MO\", \"TU\", \"WE\", \"TH\", \"FR\", \"SA\" &#125;\n\n Use MyDbf Shared New Via \"DBFCDX\"\n\n aArray &#58;= &#123;&#125;\n\n For nEle &#58;= 1 To FCount&#40;&#41;\n AAdd&#40; aArray, CtoA&#40; \" \" + FieldGet&#40; nEle &#41; &#41; &#41;\n aArray&#91; nEle, 1 &#93; &#58;= aDay&#91; nEle &#93;\n Next\n\n DEFINE BITMAP aBmp&#91; 1 &#93; FILENAME \"\\FWH\\BITMAPS\\32X32\\YES&#46;BMP\"\n DEFINE BITMAP aBmp&#91; 2 &#93; FILENAME \"\\FWH\\BITMAPS\\32X32\\NO&#46;BMP\"\n\n DEFINE DIALOG oDlg FROM 0, 0 TO 264, 448 PIXEL TITLE \"Silvio's Headache\"\n\n @ 0, 0 BROWSE oBrw ARRAY aArray CELLED OF oDlg SIZE 224, 128 PIXEL\n\n ADD COLUMN TO oBrw DATA ARRAY ELM 1 3DLOOK TRUE, FALSE ;\n COLORS CLR_BLACK, CLR_HGRAY SIZE 40 ALIGN DT_CENTER\n\n For nEle &#58;= 2 To 11\n bData &#58;= MakeBlock&#40; oBrw, nEle, aBmp &#41;\n ADD COLUMN TO oBrw DATA bData TITLE LTrim&#40; Str&#40; nEle - 1 &#41; &#41; ;\n ALIGN nMakeLong&#40; DT_CENTER, DT_CENTER &#41; BITMAP SIZE 40 ;\n 3DLOOK FALSE, TRUE COLORS CLR_BLACK, CLR_WHITE, CLR_BLACK, CLR_HGRAY\n Next\n\n With Object oBrw\n &#58;nFreeze &#58;= 1\n &#58;lLockFreeze &#58;= &#46;T&#46;\n &#58;nHeightCell += 20\n &#58;nHeightHead += 20\n &#58;lNoHScroll &#58;= &#46;T&#46;\n End With\n\n ACTIVATE DIALOG oDlg CENTERED\n\n aBmp&#91; 1 &#93;&#58;End&#40;&#41;\n aBmp&#91; 2 &#93;&#58;End&#40;&#41;\n DbCloseAll&#40;&#41;\n\nReturn Nil\n\n\n//----------------------------------------------------------------------------//\n\nStatic Function MakeBlock&#40; oBrw, nEle, aBmp &#41;\n\nReturn &#123;|| If&#40; oBrw&#58;aArray&#91; oBrw&#58;nAt, nEle &#93; == \"S\", aBmp&#91; 1 &#93;, aBmp&#91; 2 &#93; &#41; &#125;\n\n//----------------------------------------------------------------------------//\n\n\nFunction CtoA&#40; cString &#41;\n\n Local nEle, ;\n aArr &#58;= &#123;&#125;\n\n nEle &#58;= 1\n\n While nEle <= Len&#40; cString &#41;\n AAdd&#40; aArr, SubStr&#40; cString, nEle++, 1 &#41; &#41;\n EndDo\n\nReturn aArr\n[/code:3fir6wir]\r\nRegards\r\n\r\nManuel Mercado", "time": "10:45", "topic": "Complex array into listbox: some one can help me please ?", "username": "mmercado" } ]
Complex array into listbox: some one can help me please ?
[ { "date": "2008-06-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Silvio\r\n\r\nuse oLbx:nFreeze := 11", "time": "12:56", "topic": "Complex array into listbox: some one can help me please ?", "username": "Marcelo Via Giglio" } ]
Complex array into listbox: some one can help me please ?
[ { "date": "2008-06-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Silvio,\r\n\r\nthis is a functional sample\r\n\r\n[code:29x4dcgq]\n LOCAL oDlg, oLbx, aData, oBmpYes, oBmpNo\n\n oBmpYes &#58;= LoadBitmap &#40; GetResources&#40;&#41;, \"X\" &#41;\n oBmpNO &#58;= LoadBitmap &#40; GetResources&#40;&#41;, \"XX\" &#41;\n\n aData &#58;= &#123; &#123;'Lunes', 'S','N','S','S','N','S','S','S','S','S'&#125;,;\n &#123;'Martes', 'S','N','S','S','N','S','S','S','S','N'&#125;,;\n &#123;'Miercoles','S','N','S','S','N','S','S','S','S','S'&#125;,;\n &#123;'Jueves', 'S','N','S','S','N','S','S','S','S','N'&#125;,;\n &#123;'Viernes', 'N','N','N','S','N','S','S','S','S','N'&#125;,;\n &#123;'Sábado', 'S','N','S','S','N','S','S','S','S','N'&#125;,;\n &#123;'Domingo', 'S','N','S','S','N','S','S','S','S','N'&#125;;\n &#125;\n\n DEFINE DIALOG oDLg FROM 1,1 TO 20,70\n\n @ 1,1 LISTBOX oLbx FIELDS HEADER \"\",\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\" SIZE 230,100;\n SIZES 80, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35 ;\n ON DBLCLICK &#40; IF&#40; aData&#91;oLbx&#58;nAt, oLbx&#58;nColAct&#93; = 'S', ;\n aData&#91;oLbx&#58;nAt, oLbx&#58;nColAct&#93; &#58;= 'N', ;\n aData&#91;oLbx&#58;nAt, oLbx&#58;nColAct&#93; &#58;= 'S'&#41;, ;\n oLbx&#58;Drawselect&#40;&#41; &#41; OF oDlg\n\n oLbx&#58;setArray&#40;aData&#41;\n oLbx&#58;bLine&#58;=&#123;|| &#123; aData&#91;oLbx&#58;nAt,1&#93;,;\n IF&#40; aData&#91;oLbx&#58;nAt,2&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,3&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,4&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,5&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,6&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,7&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,8&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,9&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,10&#93; = 'S', oBmpYes, oBmpNo &#41;,;\n IF&#40; aData&#91;oLbx&#58;nAt,11&#93; = 'S', oBmpYes, oBmpNo &#41;;\n &#125; &#125;\n\n oLbx&#58;nFreeze &#58;= 11\n oLbx&#58;lCellstyle &#58;= &#46;T&#46;\n oLbx&#58;aJustify &#58;= &#123;2,2,2,2,2,2,2,2,2,2,2&#125;\n oLbx&#58;nHeaderHeight &#58;= 20\n oLbx&#58;nLineHeight &#58;= 20\n oLbx&#58;lVScroll &#58;= &#46;F&#46;\n oLbx&#58;lHScroll &#58;= &#46;F&#46;\n\n ACTIVATE DIALOG oDlg\n[/code:29x4dcgq]", "time": "13:28", "topic": "Complex array into listbox: some one can help me please ?", "username": "Marcelo Via Giglio" } ]
Complex array into listbox: some one can help me please ?
[ { "date": "2008-06-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks to ALL and to :\r\nEMG\r\nOTTO\r\nQUIQUE\r\nMarcelo Via Giglio\r\nxProgrammer\r\nStefanHaupt\r\nMaestro Manuel Mercado\r\n\r\n\r\n\r\n[img:1kz821tx]http&#58;//images6&#46;theimagehosting&#46;com/thanks-ok&#46;th&#46;jpg[/img:1kz821tx]\r\n\r\n\r\n\r\nI was trying to converte my old Dos clipper application and U helped me . Thanks!!", "time": "16:04", "topic": "Complex array into listbox: some one can help me please ?", "username": "Silvio" } ]
Complex array into listbox: some one can help me please ?
[ { "date": "2008-06-17", "forum": "FiveWin for Harbour/xHarbour", "text": "now I have the same problem but it is different\r\n \r\n \r\n hour MO | TU | WE | TH | FR | SA | ----------------->header\r\n1 \r\n------------------------------------------------------------------------------- \r\n2\r\n-------------------------------------------------------------------------------\r\n3\r\n-------------------------------------------------------------------------------\r\n4\r\n-------------------------------------------------------------------------------\r\n5\r\n------------------------------------------------------------------------------\r\n6\r\n-----------------------------------------------------------------------------\r\n7\r\n-------------------------------------------------------------------------------\r\n8\r\n-------------------------------------------------------------------------------\r\n9\r\n-------------------------------------------------------------------------------\r\n10\r\n-------------------------------------------------------------------------------\r\n \r\nAND i NOT INSERT BITMAP BUT ONLY TWO LINE OF WORDS", "time": "08:45", "topic": "Complex array into listbox: some one can help me please ?", "username": "Silvio" } ]
Complex array into listbox: some one can help me please ?
[ { "date": "2008-04-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Buenas noches,\n\nHay alguna función con la que pueda cargar un array con los nombres de las pc's que integran una red?.\n\nGracias.\n\nRolando <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "01:28", "topic": "Componentes de una red", "username": "rolando" } ]
Componentes de una red
[ { "date": "2008-04-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Se me ocurre que cada vez que entre un usuario con su pc, lo registres en una dbf, verificas la fecha, horam ip, macaddress etc..\nSalu2", "time": "01:50", "topic": "Componentes de una red", "username": "Willi Quintana" } ]
Componentes de una red
[ { "date": "2008-04-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Buen día,\n\nGracias por la respuesta, pero no es lo que necesito. \n\nPor ejemplo, tengo tres pc's conectadas en red. (PC1, PC2 y PC3).\n\nNecesito que al iniciar mi sistema, en un array cargar los nombres de las pc's integrantes de la red, es decir que, en el caso de este ejemplo en el array quede así:\n\n{ \"PC1\" , \"PC2\" , \"PC3\" }\n\nGracias.\n\nRolando <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "14:00", "topic": "Componentes de una red", "username": "rolando" } ]
Componentes de una red
[ { "date": "2008-04-15", "forum": "FiveWin para Harbour/xHarbour", "text": "yo hace unos meses hice un programa que me colocaba en una dbf todas las impresoras que hubieran en una red, no lo encuentro pero basicamente se basada en un winexec el cual ejecuta el comando de windows \"net view\" luego hacia otro net con el resultado de este, espero te sirva la idea", "time": "19:41", "topic": "Componentes de una red", "username": "QAZWSX2K" } ]
Componentes de una red
[ { "date": "2008-04-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola,\n\nGracias por responder.\n\nEfectivamente, si voy al dos y ejecuto el comando \"net view\", muestra el nombre de las pc's conectadas en red. Pero ¿como hago para \"meterlos\" en un array?.\n\nGracias.\n\nRolando <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "22:02", "topic": "Componentes de una red", "username": "rolando" } ]
Componentes de una red
[ { "date": "2008-04-15", "forum": "FiveWin para Harbour/xHarbour", "text": "le hace salida a un txt y lees el txt con \"net view > cosa.txt\" y luego haces un append from SDF a la dbf", "time": "22:15", "topic": "Componentes de una red", "username": "QAZWSX2K" } ]
Componentes de una red
[ { "date": "2008-04-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Muchas Gracias.\n\nVoy a hacerlo así, leeré el archivo con memoread para pasarlo a una variable que luego procesaré para extraerle todos los nombres de pc y pasarlos al array.\n\nDe Nuevo Gracias por la ayuda.\n\nRolando <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "22:58", "topic": "Componentes de una red", "username": "rolando" } ]
Componentes de una red
[ { "date": "2008-04-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Si son pc conectados a un dominio, puedes recuperar los nombres con Active Directory Provider.\n[code:27nd2v0v]\nFUNCTION Main&#40;&#41;\n LOCAL oAdoCommand,oAdoConnection,oRs,aPc&#58;=&#123;&#125;\n oAdoCommand&#58;=CreateObject&#40;\"ADODB&#46;Command\"&#41;\n oAdoConnection&#58;=CreateObject&#40;\"ADODB&#46;Connection\"&#41;\n oAdoConnection&#58;Provider&#58;=\"ADsDSOObject\"\n oAdoConnection&#58;Open&#40;\"Active Directory Provider\"&#41;\n oAdoCommand&#58;ActiveConnection&#58;=oAdoConnection\n oAdoCommand&#58;CommandText&#58;=\"Select name from 'LDAP&#58;//NOMBRE DOMINIO' Where objectCategory='computer'\"\n oRs&#58;=oAdoCommand&#58;Execute&#40;&#41;\n oRs&#58;MoveFirst&#40;&#41;\n DO WHILE !oRs&#58;Eof&#40;&#41;\n aAdd&#40;aPc,oRs&#58;Fields&#40;\"Name\"&#41;&#58;Value&#41;\n oRs&#58;MoveNext&#40;&#41;\n ENDDO\n FOR i&#58;=1 TO Len&#40;aPc&#41;\n ?aPc&#91;1&#93;\n NEXT \n RETURN NIL\n[/code:27nd2v0v]", "time": "07:51", "topic": "Componentes de una red", "username": "Biel EA6DD" } ]
Componentes de una red
[ { "date": "2015-10-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Compañeros,\n\nnecesito hacer un array con los puertos de las impresoras que tenga instalada, o al menos obtener el puerto de una impresa en concreto.\n\nCon PrnGetPort() obtengo el puerto de la impresora predeterminada, pero ¿Como obtengo de una en concreto?\n\nProbé con msginfo(PrnGetPort(cimpresora)), pero por defecto siempre me muestra el puerto de la impresora predeterminada.\n\n¿Alguna alma caritativa?\n\nGracias.\nLorenzo.", "time": "12:12", "topic": "Componer un array con los puertos de impresora instaladas", "username": "Loren" } ]
Componer un array con los puertos de impresora instaladas
[ { "date": "2015-10-08", "forum": "FiveWin para Harbour/xHarbour", "text": "¿?", "time": "08:19", "topic": "Componer un array con los puertos de impresora instaladas", "username": "Loren" } ]
Componer un array con los puertos de impresora instaladas
[ { "date": "2015-10-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Has probado a seleccionar la que te interesa y luego llamar a PrnGetPort() ?", "time": "09:38", "topic": "Componer un array con los puertos de impresora instaladas", "username": "Antonio Linares" } ]
Componer un array con los puertos de impresora instaladas
[ { "date": "2015-10-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Mira se ayuda:\n\n[code=fw:2bggl9wy]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">Function</span> STATUS_DA_IMPRESSORA<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;aArray := GetPrinters<span style=\"color: #000000;\">&#40;</span> .T. <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">If</span> Empty<span style=\"color: #000000;\">&#40;</span> aArray <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; Alert<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Nenhuma impressora Instalada\"</span>, <span style=\"color: #ff0000;\">\"Atencao\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">Nil</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Endif</span><br /><br />&nbsp; &nbsp;<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>aArray<span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; cPrinterName := <span style=\"color: #0000ff;\">substr</span><span style=\"color: #000000;\">&#40;</span> aArray<span style=\"color: #000000;\">&#91;</span>i<span style=\"color: #000000;\">&#93;</span>, <span style=\"color: #000000;\">1</span>, <span style=\"color: #00C800;\">at</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\",\"</span>, aArray<span style=\"color: #000000;\">&#91;</span>i<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">-1</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"A Impressora \"</span> + cPrinterName <span style=\"color: #000000;\">&#41;</span>+CRLF+ ;<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;+CRLF+ ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;IsPrint<span style=\"color: #000000;\">&#40;</span> alltrim<span style=\"color: #000000;\">&#40;</span> cPrinterName <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OemToAnsi<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Aten‡Æo Usu rio\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">next</span><br /><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00C800;\">Function</span> GetPrinters<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> aPrinter := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> cAllEntries<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> cEntry<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> nStart<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> cName<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> cPrn<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> cPort<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> nJ<br /><br />&nbsp; &nbsp;cAllEntries := STRTRAN<span style=\"color: #000000;\">&#40;</span> GetProfString<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Devices\"</span> <span style=\"color: #000000;\">&#41;</span>, Chr<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>, CRLF <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">For</span> nStart := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">To</span> MlCount<span style=\"color: #000000;\">&#40;</span> cAllEntries <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp;cName &nbsp;:= MemoLine<span style=\"color: #000000;\">&#40;</span> cAllEntries,,nStart<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;cEntry := GetProfString<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Devices\"</span>,cName,<span style=\"color: #ff0000;\">\"\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;nJ &nbsp; &nbsp; := <span style=\"color: #000000;\">2</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Do</span> <span style=\"color: #00C800;\">While</span> ! Empty<span style=\"color: #000000;\">&#40;</span>cPort := StrToken<span style=\"color: #000000;\">&#40;</span>cEntry,nJ++,<span style=\"color: #ff0000;\">\",\"</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Aadd<span style=\"color: #000000;\">&#40;</span>aPrinter,Trim<span style=\"color: #000000;\">&#40;</span>cName<span style=\"color: #000000;\">&#41;</span>+<span style=\"color: #ff0000;\">\" , \"</span>+Trim<span style=\"color: #000000;\">&#40;</span>cPort<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">EndDo</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Next</span><br /><br /><span style=\"color: #00C800;\">Return</span><span style=\"color: #000000;\">&#40;</span>aPrinter<span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">function</span> IsPrint<span style=\"color: #000000;\">&#40;</span> QuePrinter <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> nStatus<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">DEFAULT</span> QuePrinter := <span style=\"color: #ff0000;\">\"LPT1:\"</span><br /><br />&nbsp; &nbsp;nStatus := PrnStatus<span style=\"color: #000000;\">&#40;</span> QuePrinter <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> &nbsp; &nbsp; nStatus < &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">1</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora Esta Funcionando OK\"</span><br />&nbsp; &nbsp;elseif nStatus = &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">1</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora Pausada\"</span><br />&nbsp; &nbsp;elseif nStatus = &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">2</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora com Erro\"</span><br />&nbsp; &nbsp;elseif nStatus = &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">4</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora Deletando\"</span><br />&nbsp; &nbsp;elseif nStatus = &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">8</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora em Modo Bandeija\"</span><br />&nbsp; &nbsp;elseif nStatus = &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">16</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora Sem Papel\"</span><br />&nbsp; &nbsp;elseif nStatus = &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">32</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora em Modo Manual\"</span><br />&nbsp; &nbsp;elseif nStatus = &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">64</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora com Problema no Papel\"</span><br />&nbsp; &nbsp;elseif nStatus = &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">128</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora Off Line(Desligada)\"</span><br />&nbsp; &nbsp;elseif nStatus = &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">256</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora com IO Ativo\"</span><br />&nbsp; &nbsp;elseif nStatus = &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">512</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora Ocupada\"</span><br />&nbsp; &nbsp;elseif nStatus = &nbsp; &nbsp; <span style=\"color: #000000;\">1024</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora Imprimindo\"</span><br />&nbsp; &nbsp;elseif nStatus = &nbsp; &nbsp; <span style=\"color: #000000;\">2048</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora Memoria Lotada\"</span><br />&nbsp; &nbsp;elseif nStatus = &nbsp; &nbsp; <span style=\"color: #000000;\">4096</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora Nao Instalada\"</span><br />&nbsp; &nbsp;elseif nStatus = &nbsp; &nbsp; <span style=\"color: #000000;\">8192</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora Aguardando\"</span><br />&nbsp; &nbsp;elseif nStatus = &nbsp; &nbsp;<span style=\"color: #000000;\">16384</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora Processando\"</span><br />&nbsp; &nbsp;elseif nStatus = &nbsp; &nbsp;<span style=\"color: #000000;\">32768</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora Inicializando\"</span><br />&nbsp; &nbsp;elseif nStatus = &nbsp; &nbsp;<span style=\"color: #000000;\">65536</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora em Atencao\"</span><br />&nbsp; &nbsp;elseif nStatus = &nbsp; <span style=\"color: #000000;\">131072</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora Toner Baixo\"</span><br />&nbsp; &nbsp;elseif nStatus = &nbsp; <span style=\"color: #000000;\">262144</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora Sem Toner\"</span><br />&nbsp; &nbsp;elseif nStatus = &nbsp; <span style=\"color: #000000;\">524288</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora PAGE_PUNT(Ineficinte)\"</span><br />&nbsp; &nbsp;elseif nStatus = &nbsp;<span style=\"color: #000000;\">1048576</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora Intervencao do Usuario\"</span><br />&nbsp; &nbsp;elseif nStatus = &nbsp;<span style=\"color: #000000;\">2097152</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora Sem Memoria\"</span><br />&nbsp; &nbsp;elseif nStatus = &nbsp;<span style=\"color: #000000;\">4194304</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora Tampa Aberta\"</span><br />&nbsp; &nbsp;elseif nStatus = &nbsp;<span style=\"color: #000000;\">8388608</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora Servidor Desconhecido\"</span><br />&nbsp; &nbsp;elseif nStatus = <span style=\"color: #000000;\">16777217</span> ; <span style=\"color: #00C800;\">return</span> <span style=\"color: #ff0000;\">\"Impressora POWER_SAVE(Poupando Energia)\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #000000;\">&#40;</span> nStatus <span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:2bggl9wy]\n\u001a", "time": "15:14", "topic": "Componer un array con los puertos de impresora instaladas", "username": "karinha" } ]
Componer un array con los puertos de impresora instaladas
[ { "date": "2015-10-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Buenas,\n\nAntonio: Ya lo intenté, pero al restituir a la impresora original (tal y como se indica en otros hilos de este foro) e intentar imprimir cualquier documento, me genera un error por NO tener ninguna impresora en windows como predeterminada.\n\nKarina: Gracias. Investigaré\n\nUn saludo.\nLORENZO.", "time": "13:18", "topic": "Componer un array con los puertos de impresora instaladas", "username": "Loren" } ]
Componer un array con los puertos de impresora instaladas
[ { "date": "2015-10-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Loren,\n\nPuedes proporcionar un PRG de ejemplo de cómo lo has intentado ? gracias", "time": "14:18", "topic": "Componer un array con los puertos de impresora instaladas", "username": "Antonio Linares" } ]
Componer un array con los puertos de impresora instaladas
[ { "date": "2014-05-13", "forum": "All products support", "text": "Ciao a tutti,\n\nanche se non è proprio il forum più indicato... vi è mai capitato un comportamento analogo? \n\nEseguendo questo esempio, compilato con le versioni aggiornate di xHarbour.com o xHarbour.org, alla seconda iterazione il lock di alcuni record (tipo l'805) non va a buon fine senza una motivazione logica.\n\nL'unica differenza è che la versione compilata con l'xHarbour.org genera il comportamento strano solo se contestualmente crea il dbf, la versione xHarbour.com sempre. \n\nDopo vari tentativi ho scoperto che ordinando l'array con i record da bloccare pare funzionare, ma non mi sembra molto stabile come soluzione.\n\n[code=fw:3hph47xv]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"set.ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"dbinfo.ch\"</span><br />REQUEST DBFCDX, DBFFPT<br /><br />FUNC Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">LOCAL</span> aRek     := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">797</span>,<span style=\"color: #000000;\">1197</span>,<span style=\"color: #000000;\">805</span>,<span style=\"color: #000000;\">5341</span>,<span style=\"color: #000000;\">5112</span>,<span style=\"color: #000000;\">804</span>,<span style=\"color: #000000;\">9650</span>,<span style=\"color: #000000;\">3492</span>,<span style=\"color: #000000;\">3491</span>,<span style=\"color: #000000;\">807</span>,<span style=\"color: #000000;\">802</span>,<span style=\"color: #000000;\">803</span>,<span style=\"color: #000000;\">1209</span>,<span style=\"color: #000000;\">9662</span>,<span style=\"color: #000000;\">5113</span>,<span style=\"color: #000000;\">808</span>,<span style=\"color: #000000;\">800</span>,<span style=\"color: #000000;\">801</span>,<span style=\"color: #000000;\">806</span>,<span style=\"color: #000000;\">809</span>,<span style=\"color: #000000;\">798</span>,<span style=\"color: #000000;\">811</span>,<span style=\"color: #000000;\">812</span>,<span style=\"color: #000000;\">5111</span>,<span style=\"color: #000000;\">1196</span>,<span style=\"color: #000000;\">3129</span>,<span style=\"color: #000000;\">1198</span>,<span style=\"color: #000000;\">1200</span>,<span style=\"color: #000000;\">2776</span>,<span style=\"color: #000000;\">5342</span>,<span style=\"color: #000000;\">895</span>,<span style=\"color: #000000;\">2027</span>,<span style=\"color: #000000;\">1234</span>,<span style=\"color: #000000;\">5110</span>,<span style=\"color: #000000;\">5109</span>,<span style=\"color: #000000;\">799</span><span style=\"color: #000000;\">&#125;</span><br />   <span style=\"color: #00C800;\">LOCAL</span> aStruct  := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span><br />   <span style=\"color: #00C800;\">LOCAL</span> n, nRek<br />   rddSetDefault<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"DBFCDX\"</span><span style=\"color: #000000;\">&#41;</span><br />   SET DBFLOCKSCHEME <span style=\"color: #0000ff;\">TO</span> DB_DBFLOCK_CLIP<br />   <span style=\"color: #00C800;\">IF</span> !os_iswtsclient<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />      os_netregok<span style=\"color: #000000;\">&#40;</span>.T.<span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">ENDIF</span><br />   set<span style=\"color: #000000;\">&#40;</span> _SET_MBLOCKSIZE, <span style=\"color: #000000;\">64</span> <span style=\"color: #000000;\">&#41;</span><br />   set<span style=\"color: #000000;\">&#40;</span> _SET_AUTOPEN,   <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span><br />   set<span style=\"color: #000000;\">&#40;</span> _SET_AUTORDER,  <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span><br />   set<span style=\"color: #000000;\">&#40;</span> _SET_AUTOSHARE, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span><br />   set<span style=\"color: #000000;\">&#40;</span> _SET_OPTIMIZE, .T.<span style=\"color: #000000;\">&#41;</span><br />   disablewaitlocks<span style=\"color: #000000;\">&#40;</span>.T.<span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">IF</span> !File<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Test.dbf\"</span><span style=\"color: #000000;\">&#41;</span><br />      aAdd<span style=\"color: #000000;\">&#40;</span>aStruct, <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"ID\"</span>,         <span style=\"color: #ff0000;\">\"C\"</span>,  <span style=\"color: #000000;\">4</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br />      dbCreate<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Test.dbf\"</span>,aStruct<span style=\"color: #000000;\">&#41;</span><br />      USE <span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Test.dbf\"</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">NEW</span><br />      <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> FIELD->ID       TAG <span style=\"color: #ff0000;\">\"I1\"</span><br />      <span style=\"color: #00C800;\">FOR</span> n := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">9999</span><br />         Test-><span style=\"color: #000000;\">&#40;</span>dbAppend<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />         Test->ID  := StrZero<span style=\"color: #000000;\">&#40;</span>n,<span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#41;</span><br />      <span style=\"color: #00C800;\">NEXT</span><br />      USE<br />   <span style=\"color: #00C800;\">ENDIF</span><br />   USE <span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Test.dbf\"</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">NEW</span> SHARED<br />   <span style=\"color: #00C800;\">FOR</span> n := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">2</span><br />      <span style=\"color: #00C800;\">FOR</span> EACH nRek IN aRek<br />         Test-><span style=\"color: #000000;\">&#40;</span>dbGoTo<span style=\"color: #000000;\">&#40;</span>nRek<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />         <span style=\"color: #00C800;\">IF</span> Test-><span style=\"color: #000000;\">&#40;</span>!dbrLock<span style=\"color: #000000;\">&#40;</span>RecNo<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />            ? <span style=\"color: #ff0000;\">'Bad lock'</span>, Test-><span style=\"color: #000000;\">&#40;</span>RecNo<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />         <span style=\"color: #00C800;\">ENDIF</span><br />      <span style=\"color: #00C800;\">NEXT</span><br />      Test-><span style=\"color: #000000;\">&#40;</span>dbUnlock<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">NEXT</span><br />   ? <span style=\"color: #ff0000;\">'End'</span><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /> </div>[/code:3hph47xv]", "time": "12:06", "topic": "Comportamento anomalo dbrlock/dbunlock", "username": "Patrizio" } ]
Comportamento anomalo dbrlock/dbunlock
[ { "date": "2010-11-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola a todos\n\nHe notado un comportamiento un tanto raro en la barra de menú de una de mis aplicaciones.\nEl caso es que si al primer ÍTEM de la barra le añado un submenú, al ir a cualquier opción que tenga una ventana MDICHILD con una butonbar, me borra el penúltimo ítem del menú y me añade al anterior una opción que yo no pongo, es decir, que si tengo diez ítems me borra el noveno y en el octavo, en su submenú me añade un ítem más.\nPor ejemplo, el octavo ítem es IVA y tiene dos opciones, diario y listado de iva, el noveno ítem es útiles y tiene tres opciones de submenú. Bien, escojo del menú la opción clientes que tiene una ventana mdichild, me hace desaparecer el ítem útiles, y me pone un cuadro de color gris, si pincho en él me sale el octavo ítem (IVA) y me añade la opción 1 fichero de clientes, con el icono de opción elegida en su parte izquierda.\nNo obstante si al primer ítem le quito las opciones del submenú , esto no me lo hace.\n\n¿Alguien sabe el motivo de esto?", "time": "11:06", "topic": "Comportamiento anómalo en barra de menú", "username": "Pedro" } ]
Comportamiento anómalo en barra de menú
[ { "date": "2010-11-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Pedro...\nPosiblemente lo estés definiendo mal...\nPone aquí la definición de tu Menú y lo analizamos.\n\nSaludos, Esteban.", "time": "12:47", "topic": "Comportamiento anómalo en barra de menú", "username": "jrestojeda" } ]
Comportamiento anómalo en barra de menú
[ { "date": "2010-11-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Esteban\nNo creo que lo esté definiendo mal, ya que los defino igual en otros programas. El tema está en poner o no opciones en el primer ítem del menú. No obstante te lo pongo.\n\n[code=fw:1t4x78mu]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"menu.ch\"</span><br /><br /><span style=\"color: #00C800;\">STATIC</span> oBarMain,oMenu<br />EXTERNAL DBFCDX<br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><span style=\"color: #B900B9;\">// INICIO DEL PROGRAMA PRINCIPAL</span><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</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> oBmp<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> oIco,aCorH<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> hDlib<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> aoBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">10</span><span style=\"color: #000000;\">&#93;</span> , oBoton<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> oPopMenu<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">9</span><span style=\"color: #000000;\">&#93;</span><br />&nbsp; <br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Public</span> &nbsp;oWmain, oFont<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Public</span> &nbsp;xArea, cArea := <span style=\"color: #ff0000;\">\"\"</span>, cTempArea := <span style=\"color: #ff0000;\">\"\"</span>,aDatEmp<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#93;</span><br /><br />&nbsp; &nbsp;SetHandleCount<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">120</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;REQUEST HB_LANG_ES <span style=\"color: #B900B9;\">// Para establecer español para Mensajes, fechas, etc..</span><br />&nbsp; &nbsp;REQUEST DBFCDX<br />&nbsp; &nbsp;RDDSETDEFAULT<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"DBFCDX\"</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;SET DATE <span style=\"color: #0000ff;\">TO</span> ITALIAN<br />&nbsp; &nbsp;SET DELETE <span style=\"color: #0000ff;\">ON</span><br />&nbsp; &nbsp;SET CENTURY <span style=\"color: #0000ff;\">ON</span><br />&nbsp; &nbsp;SET 3DLOOK <span style=\"color: #0000ff;\">ON</span><br />&nbsp; &nbsp;SET AUTOPEN OFF<br />&nbsp; &nbsp;SetDialogEsc<span style=\"color: #000000;\">&#40;</span>.f.<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;HB_LangSelect<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">'ES'</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;HB_SetCodePage<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"ESMWIN\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;hDlib := LoadLibrary<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"bwcc32.dll\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;BWCCRegister<span style=\"color: #000000;\">&#40;</span> GetResources<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;cTempArea := <span style=\"color: #ff0000;\">\"C:<span style=\"color: #000000;\">\\T</span>EMPROG\"</span><br />&nbsp; &nbsp;<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">If</span> !lIsdir<span style=\"color: #000000;\">&#40;</span>cTempArea<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; lMkdir<span style=\"color: #000000;\">&#40;</span>cTempArea<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">EndIf</span><br />&nbsp; &nbsp;cTempArea := <span style=\"color: #ff0000;\">\"C:<span style=\"color: #000000;\">\\T</span>EMPROG<span style=\"color: #000000;\">\\\"</span><br />&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp;DEFINE FONT &nbsp; oFont NAME \"</span>Ms Sans Serif<span style=\"color: #ff0000;\">\" SIZE 0, -11<br />&nbsp; &nbsp;DEFINE ICON&nbsp; &nbsp;oIco &nbsp;FILENAME \"</span>.\\BMP\\GAETE.ICO<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp;If File(\"</span>.\\BMP\\LOGOEMP.JPG<span style=\"color: #ff0000;\">\")<br />&nbsp; &nbsp; &nbsp; oBmp := TImage():Define( , \"</span>.\\BMP\\LOGOEMP.jpg<span style=\"color: #ff0000;\">\" )<br />&nbsp; &nbsp;Else<br />&nbsp; &nbsp; &nbsp; oBmp := TImage():Define( , \"</span>.\\BMP\\LOGOGEN.jpg<span style=\"color: #ff0000;\">\" )<br />&nbsp; &nbsp;EndIf &nbsp; &nbsp; <br />&nbsp; &nbsp;SetBalloon( .T. ) &nbsp;<br /><br />&nbsp; &nbsp;DEFINE WINDOW oWMain MDI FROM 02, 02 TO ( MaxRow() - 2 ), ( MaxCol() - 10 );<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TITLE \"</span>GESTIÓN DE CÁRNICAS<span style=\"color: #ff0000;\">\" &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ICON oIco;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENU MainMenu()<br /><br />&nbsp; &nbsp;SET FONT OF oWMain TO oFOnt<br />&nbsp; &nbsp;SET MESSAGE OF oWMain TO \"</span>GESTIÓN DE CÁRNICAS<span style=\"color: #ff0000;\">\" CENTERED TIME DATE KEYBOARD 2007<br />&nbsp; &nbsp;oWMain:bPainted := {|hDC| PalBmpDraw( hDC, 0, 0, oBmp:hBitmap,, oWMain:nWidth, oWMain:nHeight,, .T.) }<br /><br /><br />&nbsp; &nbsp; &nbsp; DEFINE BUTTONBAR oBarMain OF oWMain SIZE 70, 55 2007<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; MENU oPopMenu[1] POPUP 2007<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Ejercicios<span style=\"color: #ff0000;\">\" ACTION EscogeArea()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Empresas<span style=\"color: #ff0000;\">\" //ACTION Empresas(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; ENDMENU &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; DEFINE BUTTON aoBtn[1] OF oBarMain ACTION aoBtn[1]:ShowPopup() ;<br />&nbsp; &nbsp; &nbsp; RESOURCE \"</span>EMPRESAS<span style=\"color: #ff0000;\">\" PROMPT \"</span>EMPRESAS<span style=\"color: #ff0000;\">\" GROUP ;<br />&nbsp; &nbsp; &nbsp; MENU oPopMenu[1] TOOLTIP \"</span>Area de trabajo<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp;MENU oPopMenu[2] POPUP 2007<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Clientes<span style=\"color: #ff0000;\">\" ACTION CLIENTES(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Articulos<span style=\"color: #ff0000;\">\" ACTION ARTICULOS(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Proveedores<span style=\"color: #ff0000;\">\" ACTION PROVEEDORES(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Comerciales<span style=\"color: #ff0000;\">\" ACTION COMERCIALES(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Cobradores<span style=\"color: #ff0000;\">\" ACTION COBRADORES(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Repartidores<span style=\"color: #ff0000;\">\" ACTION REPARTIDORES(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Destos. Especiales<span style=\"color: #ff0000;\">\" ACTION DESCTOESPE(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Tipos de Iva<span style=\"color: #ff0000;\">\" ACTION TIPOSIVA(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Mensajes Albarán<span style=\"color: #ff0000;\">\" ACTION MENSAJES(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp;ENDMENU<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;DEFINE BUTTON aoBtn[2] OF oBarMain ACTION aoBtn[2]:ShowPopup(); <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;RESOURCE \"</span>FICHEROS<span style=\"color: #ff0000;\">\" PROMPT \"</span>FICHEROS<span style=\"color: #ff0000;\">\" GROUP ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENU oPopMenu[2] TOOLTIP \"</span>Ficheros generales<span style=\"color: #ff0000;\">\"<br />&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp;MENU oPopMenu[3] POPUP 2007<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Entrada de Albaranes<span style=\"color: #ff0000;\">\" ACTION ALBARANES(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Modificación de Albaranes<span style=\"color: #ff0000;\">\" ACTION MODIFIALBAR(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Consulta de Albaranes<span style=\"color: #ff0000;\">\" ACTION CONSALBA(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Repetir Albaranes<span style=\"color: #ff0000;\">\" ACTION REPITEALB(oBarMain,oMenu )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Listado de Albaranes<span style=\"color: #ff0000;\">\" ACTION LISTALBAR(oBarMain,oMenu )<br />&nbsp; &nbsp; &nbsp; &nbsp;ENDMENU<br />&nbsp; &nbsp; &nbsp; &nbsp;DEFINE BUTTON aoBtn[3] OF oBarMain ACTION aoBtn[3]:ShowPopup() ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;RESOURCE \"</span>ALBARANES<span style=\"color: #ff0000;\">\" PROMPT \"</span>ALBARANES<span style=\"color: #ff0000;\">\" GROUP ; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENU oPopMenu[3] TOOLTIP \"</span>Gestión de albaranes<span style=\"color: #ff0000;\">\"<br /><br />&nbsp; &nbsp; &nbsp; &nbsp;MENU oPopMenu[4] POPUP 2007<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Facturas de Albaranes<span style=\"color: #ff0000;\">\" ACTION FACTURALBAR(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Modificación de Facturas<span style=\"color: #ff0000;\">\" ACTION MODIFIFACTU(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Consulta de Facturas<span style=\"color: #ff0000;\">\" ACTION CONSFACTU(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Factura Directa<span style=\"color: #ff0000;\">\" ACTION FACTURAS(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Facturar un Albarán<span style=\"color: #ff0000;\">\" ACTION FACTURAUNALBAR(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Repetir Facturas<span style=\"color: #ff0000;\">\" ACTION REPITEFAC(oBarMain,oMenu )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Listado de Facturas<span style=\"color: #ff0000;\">\" ACTION LISFACTURAS(oBarMain,oMenu )<br />&nbsp; &nbsp; &nbsp; &nbsp;ENDMENU<br />&nbsp; &nbsp; &nbsp; &nbsp;DEFINE BUTTON aoBtn[4] OF oBarMain ACTION aoBtn[4]:ShowPopup();<br />&nbsp; &nbsp; &nbsp; &nbsp;RESOURCE \"</span>FACTURAS<span style=\"color: #ff0000;\">\" PROMPT \"</span>FACTURAS<span style=\"color: #ff0000;\">\" GROUP &nbsp;; <br />&nbsp; &nbsp; &nbsp; &nbsp;MENU oPopMenu[4] TOOLTIP \"</span>Gestión de Facturas<span style=\"color: #ff0000;\">\"<br /><br />&nbsp; &nbsp; &nbsp; &nbsp;MENU oPopMenu[5] POPUP 2007<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Clientes <span style=\"color: #0000ff;\">sin</span> Compras General<span style=\"color: #ff0000;\">\" ACTION LISINCOMPRA(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Clientes <span style=\"color: #0000ff;\">sin</span> Compras por fechas<span style=\"color: #ff0000;\">\" ACTION SINCOMPRAFECHA(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Clientes <span style=\"color: #0000ff;\">sin</span> Compras un día un reparto<span style=\"color: #ff0000;\">\" ACTION SINCOMPRAUDUR(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Consumos de Clientes<span style=\"color: #ff0000;\">\" ACTION CONSUMOCLIE(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Kilos Mes de Clientes<span style=\"color: #ff0000;\">\" ACTION HISTOCLIE(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Ventas de Artículos y Agentes<span style=\"color: #ff0000;\">\" ACTION VENTAGEART(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Kilos Mes de Artículos<span style=\"color: #ff0000;\">\" ACTION HISTOART(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Agentes ventas Artículos<span style=\"color: #ff0000;\">\" ACTION LISTAGEART(oBarMain,oMenu,1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Agentes ventas Clientes<span style=\"color: #ff0000;\">\" ACTION LISTAGECLI(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Kilos por Repartos<span style=\"color: #ff0000;\">\" ACTION LISTAGEART(oBarMain,oMenu,2 )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Ventas por Grupos Clientes<span style=\"color: #ff0000;\">\" ACTION LISVENGRUPO(oBarMain,oMenu )<br />&nbsp; &nbsp; &nbsp; &nbsp;ENDMENU<br />&nbsp; &nbsp; &nbsp; &nbsp;DEFINE BUTTON aoBtn[5] OF oBarMain ACTION aoBtn[5]:ShowPopup();<br />&nbsp; &nbsp; &nbsp; &nbsp;RESOURCE \"</span>ESTADISTICAS<span style=\"color: #ff0000;\">\" PROMPT \"</span>LISTADOS<span style=\"color: #ff0000;\">\" GROUP ;<br />&nbsp; &nbsp; &nbsp; &nbsp;MENU oPopMenu[5] TOOLTIP \"</span>Estadisticas de Ventas<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp;MENU oPopMenu[6] POPUP 2007<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Enlace a Contabilidad<span style=\"color: #ff0000;\">\" ACTION ENLACONTACOBR(oBarMain,oMenu,1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Enlace a Cobros<span style=\"color: #ff0000;\">\" ACTION ENLACONTACOBR(oBarMain,oMenu,2)<br />&nbsp; &nbsp; &nbsp; &nbsp;ENDMENU<br />&nbsp; &nbsp; &nbsp; &nbsp;DEFINE BUTTON aoBtn[6] OF oBarMain ACTION aoBtn[6]:ShowPopup();<br />&nbsp; &nbsp; &nbsp; &nbsp;RESOURCE \"</span>ENLACES<span style=\"color: #ff0000;\">\" PROMPT \"</span>ENLACES <span style=\"color: #ff0000;\">\" GROUP ;<br />&nbsp; &nbsp; &nbsp; &nbsp;MENU oPopMenu[6] TOOLTIP \"</span>Enlaces de Facturas Cobros/Contabilidad<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENU oPopMenu[7] POPUP 2007<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Listado de Albaranes del Reparto<span style=\"color: #ff0000;\">\" ACTION LISALBREP(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Marcar/Desmarcar Albaranes<span style=\"color: #ff0000;\">\" ACTION MARCALBARAN(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Cobros del Reparto<span style=\"color: #ff0000;\">\" ACTION COBROSPED(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Listado de Cobros<span style=\"color: #ff0000;\">\" ACTION LISCOBPED(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Consulta de Cobros<span style=\"color: #ff0000;\">\" ACTION CONSCOBPED(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Caja Repartos<span style=\"color: #ff0000;\">\" ACTION COBROSREP(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Listado de Caja<span style=\"color: #ff0000;\">\" ACTION LISTCAJAR(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp;ENDMENU<br />&nbsp; &nbsp; &nbsp; &nbsp;DEFINE BUTTON aoBtn[7] OF oBarMain ACTION aoBtn[7]:ShowPopup();<br />&nbsp; &nbsp; &nbsp; &nbsp;RESOURCE \"</span>REPARTOS<span style=\"color: #ff0000;\">\" PROMPT \"</span>REPARTO<span style=\"color: #ff0000;\">\" GROUP ;<br />&nbsp; &nbsp; &nbsp; &nbsp;MENU oPopMenu[7] TOOLTIP \"</span>Gestión del Reparto<span style=\"color: #ff0000;\">\"<br />&nbsp; <br />&nbsp; &nbsp; &nbsp; MENU oPopMenu[8] POPUP 2007<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Diario de Facturas<span style=\"color: #ff0000;\">\" ACTION DIARIOFACTURAS(oBarMain,oMenu )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span><span style=\"color: #000000;\">347</span> de Ventas<span style=\"color: #ff0000;\">\" ACTION MODELO347(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp;ENDMENU &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;DEFINE BUTTON aoBtn[8] OF oBarMain ACTION aoBtn[8]:ShowPopup();<br />&nbsp; &nbsp; &nbsp; &nbsp;RESOURCE \"</span>IVA<span style=\"color: #ff0000;\">\" PROMPT \"</span>I.V.A.<span style=\"color: #ff0000;\">\" GROUP ; <br />&nbsp; &nbsp; &nbsp; &nbsp;MENU oPopMenu[8] TOOLTIP \"</span>UTILES DE IVA<span style=\"color: #ff0000;\">\"<br /><br />&nbsp; &nbsp; &nbsp; &nbsp;MENU oPopMenu[9] POPUP 2007<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Generar Indices<span style=\"color: #ff0000;\">\" ACTION INDICES(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Elegir Impresora<span style=\"color: #ff0000;\">\" ACTION PrinterSetup(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Listados de Lotes<span style=\"color: #ff0000;\">\" ACTION LOTESANIDAD(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Kilos de un Lote<span style=\"color: #ff0000;\">\" ACTION KILOSLOTES(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Borrar Clientes <span style=\"color: #0000ff;\">sin</span> Compras<span style=\"color: #ff0000;\">\" ACTION DELCLIESINCOM(oBarMain,oMenu)<br />&nbsp; &nbsp; &nbsp; &nbsp;ENDMENU &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;DEFINE BUTTON aoBtn[9] OF oBarMain ACTION aoBtn[9]:ShowPopup();<br />&nbsp; &nbsp; &nbsp; &nbsp;RESOURCE \"</span>UTILES<span style=\"color: #ff0000;\">\" PROMPT \"</span>UTILES<span style=\"color: #ff0000;\">\" GROUP ; <br />&nbsp; &nbsp; &nbsp; &nbsp;MENU oPopMenu[9] TOOLTIP \"</span>UTILIDADES<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;DEFINE BUTTON aoBtn[10] OF oBarMain ACTION dbCloseAll(), oWMain:End();<br />&nbsp; &nbsp; &nbsp; &nbsp;RESOURCE \"</span>Salir<span style=\"color: #ff0000;\">\" PROMPT \"</span>Salir<span style=\"color: #ff0000;\">\" GROUP TOOLTIP \"</span>Salir de la Aplicacion<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; <br /><br />&nbsp; &nbsp; &nbsp; ACTIVATE WINDOW oWMain MAXIMIZED ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ON INIT EscogeArea() ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;VALID MsgYesNo( \"</span>Finalizar sesion?<span style=\"color: #ff0000;\">\",\"</span>Elija<span style=\"color: #ff0000;\">\" )<br /><br />&nbsp; &nbsp; dbCloseAll()<br />&nbsp; &nbsp; SET 3DLOOK OFF<br />&nbsp; &nbsp; RELEASE FONT oFont<br />&nbsp; &nbsp; RELEASE BITMAP oBmp<br />&nbsp; &nbsp; RELEASE ICON oIco<br />&nbsp; &nbsp; FreeLibrary(hDlib)<br /><br /><br />return( nil )<br /><br />//----------------------------------------------------------------------------//<br /><br />function MainMenu()<br /><br />&nbsp; <br /><br /><br />&nbsp; &nbsp;MENU oMenu 2007<br />&nbsp; &nbsp;<br />&nbsp; &nbsp; MENUITEM \"</span>Ejercicios<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp;MENU<br />&nbsp; &nbsp; &nbsp;MENUITEM \"</span>Areas de trabajo<span style=\"color: #ff0000;\">\" ACTION EscogeArea() ;<br />&nbsp; &nbsp; &nbsp; &nbsp;MESSAGE \"</span>Eleccion del Area de trabajo<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp;MENUITEM \"</span>Empresas<span style=\"color: #ff0000;\">\" ACTION MsgInfo(\"</span>empresas<span style=\"color: #ff0000;\">\") ;<br />&nbsp; &nbsp; &nbsp;MESSAGE \"</span>Creación de ejercicios<span style=\"color: #ff0000;\">\" <br />&nbsp; &nbsp;ENDMENU &nbsp; &nbsp; &nbsp; &nbsp; <br /><br /><br />&nbsp; &nbsp; &nbsp;MENUITEM \"</span>Ficheros<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp;MENU<br />&nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Clientes<span style=\"color: #ff0000;\">\" &nbsp;ACTION CLIENTES(oBarMain, oMenu) ;<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Fichas de Clientes<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Artículos<span style=\"color: #ff0000;\">\" ACTION ARTICULOS(oBarMain, oMenu) ;<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Fichas de Artículos<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Proveedores<span style=\"color: #ff0000;\">\" ACTION PROVEEDORES(oBarMain, oMenu) ;<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Fichas de Proveedores<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Comerciales<span style=\"color: #ff0000;\">\" ACTION COMERCIALES(oBarMain, oMenu) ;<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Fichas de Comerciales<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Cobradores<span style=\"color: #ff0000;\">\" ACTION COBRADORES(oBarMain, oMenu) ;<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Fichas de Cobradores<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Repartidores<span style=\"color: #ff0000;\">\" ACTION REPARTIDORES(oBarMain, oMenu) ;<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Fichas de Repartidores<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Desctos. Especiales<span style=\"color: #ff0000;\">\" ACTION DESCTOESPE(oBarMain, oMenu) ;<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Descuentos especiales a Clientes<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Tipos de Iva<span style=\"color: #ff0000;\">\" ACTION TIPOSIVA(oBarMain, oMenu) ;<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Fichas de Tipos de IVA<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Mensajes Albarán<span style=\"color: #ff0000;\">\" ACTION MENSAJES(oBarMain, oMenu) ;<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Mensajes en Albaranes<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp;ENDMENU<br /><br /><br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Albaranes<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp;MENU<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Entrada de Albaranes<span style=\"color: #ff0000;\">\" ACTION ALBARANES(oBarMain,oMenu);<br />&nbsp; &nbsp; &nbsp; &nbsp; MESSAGE \"</span>Hacer albaranes<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Modificación de Albaranes<span style=\"color: #ff0000;\">\" ACTION MODIFIALBAR(oBarMain,oMenu);<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Modificar albaranes<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Consulta de Albaranes<span style=\"color: #ff0000;\">\" ACTION CONSALBA(oBarMain,oMenu);<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Consultar albaranes<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Repetir Albaranes<span style=\"color: #ff0000;\">\" ACTION REPITEALB(oBarMain,oMenu );<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Repetir impresión de albaranes<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Listado de Albaranes<span style=\"color: #ff0000;\">\" ACTION LISTALBAR(oBarMain,oMenu );<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Listados de albaranes<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp;ENDMENU<br /><br /><br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Facturas<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp;MENU &nbsp;<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Facturas de Albaranes<span style=\"color: #ff0000;\">\" ACTION FACTURALBAR(oBarMain,oMenu);<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Facturar albaranes<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Modificación de Facturas<span style=\"color: #ff0000;\">\" ACTION MODIFIFACTU(oBarMain,oMenu);<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Modificar Facturas<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Consulta de Facturas<span style=\"color: #ff0000;\">\" ACTION CONSFACTU(oBarMain,oMenu);<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Consultar Facturas<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Factura Directa<span style=\"color: #ff0000;\">\" ACTION FACTURAS(oBarMain,oMenu);<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Hacer una Factura<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Facturar un Albarán<span style=\"color: #ff0000;\">\" ACTION FACTURAUNALBAR(oBarMain,oMenu);<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Facturar un albarán<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Repetir Facturas<span style=\"color: #ff0000;\">\" ACTION REPITEFAC(oBarMain,oMenu );<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Repetir Facturas<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Listado de Facturas<span style=\"color: #ff0000;\">\" ACTION LISFACTURAS(oBarMain,oMenu );<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Listados de Facturas<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp;ENDMENU &nbsp; <br /><br /><br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Estadisticas<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp;MENU &nbsp;<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Clientes <span style=\"color: #0000ff;\">sin</span> Compras<span style=\"color: #ff0000;\">\" ACTION LISINCOMPRA(oBarMain,oMenu);<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Listado de Clientes <span style=\"color: #0000ff;\">sin</span> Compras<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Consumos de Clientes<span style=\"color: #ff0000;\">\" ACTION CONSUMOCLIE(oBarMain,oMenu);<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Listado de Consumos de Clientes<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Kilos Mes de Clientes<span style=\"color: #ff0000;\">\" ACTION HISTOCLIE(oBarMain,oMenu);<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Listado de Kilos de Clientes por mes<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Ventas de Artículos y Agentes<span style=\"color: #ff0000;\">\" ACTION VENTAGEART(oBarMain,oMenu);<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Listado de Ventas de Artículos y por Agentes<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Kilos Mes de Artículos<span style=\"color: #ff0000;\">\" ACTION HISTOART(oBarMain,oMenu);<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Listado de Kilos de Artículos por mes<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Agentes ventas Artículos<span style=\"color: #ff0000;\">\" ACTION LISTAGEART(oBarMain,oMenu,1);<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Ventas de Artículos por Agentes<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Agentes ventas Clientes<span style=\"color: #ff0000;\">\" ACTION LISTAGECLI(oBarMain,oMenu);<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Ventas a Clientes por Agentes<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Kilos por Repartos<span style=\"color: #ff0000;\">\" ACTION LISTAGEART(oBarMain,oMenu,2 );<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Ventas en Kilos por reparto entre fechas<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Ventas por Grupos Clientes<span style=\"color: #ff0000;\">\" ACTION LISVENGRUPO(oBarMain,oMenu );<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Ventas a Grupos de Clientes<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp;ENDMENU<br /><br /><br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Enlaces<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp;MENU<br />&nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Enlace a Contabilidad<span style=\"color: #ff0000;\">\" ACTION ENLACONTACOBR(oBarMain, oMenu,1) ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MESSAGE \"</span>Enlace de facturas a IVA y Contabilidad<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Enlace a Cobros<span style=\"color: #ff0000;\">\" ACTION ENLACONTACOBR(oBarMain, oMenu,2 ) ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MESSAGE \"</span>Enlace de facturas a Cobros<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp;ENDMENU<br /><br /><br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Repartos<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp;MENU<br />&nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Listado de Albaranes del Reparto<span style=\"color: #ff0000;\">\" ACTION LISALBREP(oBarMain, oMenu ) ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MESSAGE \"</span>Listado de Artículos de un reparto<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Marcar/Desmarcar Albaranes<span style=\"color: #ff0000;\">\" ACTION MARCALBARAN(oBarMain, oMenu ) ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MESSAGE \"</span>Marca o desmarca albaranes para no facturar<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Cobros del Reparto<span style=\"color: #ff0000;\">\" ACTION COBROSPED(oBarMain, oMenu ) ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MESSAGE \"</span>Cobros de albaranes de un reparto<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Listado de Cobros<span style=\"color: #ff0000;\">\" ACTION LISCOBPED(oBarMain, oMenu ) ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MESSAGE \"</span>Listado de los Cobros de un reparto<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Caja Repartos<span style=\"color: #ff0000;\">\" ACTION COBROSREP(oBarMain,oMenu);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MESSAGE \"</span>Entrada de Cobros de los repartos<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp;ENDMENU<br /><br /><br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>I.V.A.<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp;MENU<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Diario de Facturas<span style=\"color: #ff0000;\">\" ACTION DIARIOFACTURAS(oBarMain,oMenu );<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Diario de Facturas Emitidas<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR <br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span><span style=\"color: #000000;\">347</span> de Ventas<span style=\"color: #ff0000;\">\" ACTION MODELO347(oBarMain,oMenu);<br />&nbsp; &nbsp; &nbsp; &nbsp; MESSAGE \"</span>Modelo <span style=\"color: #000000;\">347</span> de ventas<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp;ENDMENU<br /><br /><br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Utiles<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp;MENU<br />&nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>Indices<span style=\"color: #ff0000;\">\" ACTION Indices(oBarMain,oMenu);<br />&nbsp; &nbsp; &nbsp; &nbsp; MESSAGE \"</span>Generacion de Indices<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR <br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>&Impresora<span style=\"color: #ff0000;\">\" ACTION PrinterSetUp();<br />&nbsp; &nbsp; &nbsp; &nbsp; MESSAGE \"</span>Configuracion impresora<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>&Buscar Lotes<span style=\"color: #ff0000;\">\" ACTION LOTESANIDAD(oBarMain,oMenu);<br />&nbsp; &nbsp; &nbsp; &nbsp; MESSAGE \"</span>Búsqueda y Listado de Lotes<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Borrar Clientes <span style=\"color: #0000ff;\">sin</span> Compras<span style=\"color: #ff0000;\">\" ACTION DELCLIESINCOM(oBarMain,oMenu);<br />&nbsp; &nbsp; &nbsp; MESSAGE \"</span>Borrar clientes que no han comprado<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; &nbsp; SEPARATOR<br />&nbsp; &nbsp; &nbsp; &nbsp; MENUITEM \"</span>&Acerca de...<span style=\"color: #ff0000;\">\" ACTION MsgAbout(\"</span>GFACTU <span style=\"color: #000000;\">2.0</span><span style=\"color: #ff0000;\">\",,,,\"</span><span style=\"color: #000000;\">&#40;</span>c<span style=\"color: #000000;\">&#41;</span>Pedro Núñez<span style=\"color: #ff0000;\">\",\"</span>LOGO<span style=\"color: #ff0000;\">\" ) ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MESSAGE OemToAnsi( \"</span>GESTION COMERCIAL<span style=\"color: #ff0000;\">\" )<br />&nbsp; &nbsp; &nbsp;ENDMENU<br /><br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>Terminar<span style=\"color: #ff0000;\">\" ACTION oWMain:End(),dbCloseAll() ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MESSAGE OemToAnsi( \"</span>Volver a Windows<span style=\"color: #ff0000;\">\" )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp;ENDMENU<br /><br />return( oMenu )<br />*-------------------------------------------------------------------------------<br />#pragma BEGINDUMP<br /><br />#include <hbapi.h><br />#include <windows.h><br /><br />HB_FUNC( OLEUNINITIALIZE )<br />{<br />&nbsp; &nbsp;OleUninitialize();<br />}<br /><br />#pragma ENDDUMP<br /><br />*******************************************************************************<br /><br /><br />DLL32 FUNCTION BWCCRegister( hInst AS LONG ) AS WORD PASCAL LIB \"</span>BWCC32.DLL<span style=\"color: #ff0000;\">\"<br /></span></div>[/code:1t4x78mu]", "time": "13:52", "topic": "Comportamiento anómalo en barra de menú", "username": "Pedro" } ]
Comportamiento anómalo en barra de menú
[ { "date": "2009-12-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Amigos:\n\nHe notado que un checkbox puesto sobre un DIALOG acepta salir con la tecla ENTER o RETURN pero si el checkbox esta sobre un FOLDER solo es posible salir con la tecla TAB.\n\nAlguna idea de como corregir este comportamiento para salir con la tecla RETURN ?\n\nFWH810 y xHarbour\n\nSaludos", "time": "18:13", "topic": "Comportamiento de CheckBox", "username": "Armando" } ]
Comportamiento de CheckBox
[ { "date": "2009-12-12", "forum": "FiveWin para Harbour/xHarbour", "text": "D. Antonio:\n\nAlguna pista sobre esto ?\n\nGracias", "time": "18:21", "topic": "Comportamiento de CheckBox", "username": "Armando" } ]
Comportamiento de CheckBox
[ { "date": "2009-12-29", "forum": "FiveWin para Harbour/xHarbour", "text": "Master Linares:\n\nAlguna respuesta ?\n\nSaludos", "time": "19:40", "topic": "Comportamiento de CheckBox", "username": "Armando" } ]
Comportamiento de CheckBox
[ { "date": "2009-12-29", "forum": "FiveWin para Harbour/xHarbour", "text": "Armando,\n\nPuedes proporcionar un PRG pequeño de ejemplo que reproduzca lo que comentas ? gracias <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "23:59", "topic": "Comportamiento de CheckBox", "username": "Antonio Linares" } ]
Comportamiento de CheckBox
[ { "date": "2009-12-30", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio:\n\nAquí tienes el link donde puedes bajar el ejemplo que me pediste.\n\n<!-- m --><a class=\"postlink\" href=\"http://www.megaupload.com/?d=06LBK8IR\">http://www.megaupload.com/?d=06LBK8IR</a><!-- m -->\n\nPor favor cambia la extensión del archivo es ZIP pero va como ZOP, te estoy enviando\nla carpeta en la que construí el ejemplo, incluye los PRGS, RES y el EXE para que puedas\nver como se comporta.\n\nPor cierto, estoy compilando con FWH810.\n\nSaludos y gracias por tu interés", "time": "02:48", "topic": "Comportamiento de CheckBox", "username": "Armando" } ]
Comportamiento de CheckBox
[ { "date": "2010-01-03", "forum": "FiveWin para Harbour/xHarbour", "text": "Maestro Antonio:\n\nTe sirvió el ejemplo que subí ?, o necesitas alguna otra cosa ?\n\nSaludos", "time": "20:45", "topic": "Comportamiento de CheckBox", "username": "Armando" } ]
Comportamiento de CheckBox
[ { "date": "2010-01-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Master Antonio:\n\nEn algun post mencionaste que había que insistir porque algunas veces, por carga de trabajo, se te olvida dar respuesta.\n\nAlguna novedad ?\n\nSaludos", "time": "17:55", "topic": "Comportamiento de CheckBox", "username": "Armando" } ]
Comportamiento de CheckBox
[ { "date": "2010-01-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Armando,\n\nCon este código aqui funciona bien FWH\\samples\\TestFold.prg:\n\n oChk:bKeyDown = { || oChk:oWnd:GoNextCtrl() }\n\nGracias por insistir <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) --> Son muchos mensajes, muchas cosas en la cabeza, y es la única forma: insistir <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "19:43", "topic": "Comportamiento de CheckBox", "username": "Antonio Linares" } ]
Comportamiento de CheckBox
[ { "date": "2010-01-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio:\n\nExcelente !, con tu solución todo funciona muy bien.\n\nGracias", "time": "20:11", "topic": "Comportamiento de CheckBox", "username": "Armando" } ]
Comportamiento de CheckBox
[ { "date": "2014-06-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola compañeros. A que puede deberse que en xharbour este código se comporta correctamente , me pinta de distinto color aquellos recibos en los cuales los cheques diferidos ya han sido acreditados, y en harbour me muestra el listbox completamente vacío? y se bloquea el programa \n\n\n[code=fw:s9iym9k3]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br />....<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">LISTBOX</span> oBrw1 fields StrZero<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> oAjuste:<span style=\"color: #000000;\">cAlias</span> <span style=\"color: #000000;\">&#41;</span>->ncli, <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; StrZero<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> oAjuste:<span style=\"color: #000000;\">cAlias</span> <span style=\"color: #000000;\">&#41;</span>->recibo, <span style=\"color: #000000;\">8</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#40;</span> oAjuste:<span style=\"color: #000000;\">cAlias</span> <span style=\"color: #000000;\">&#41;</span>->detalle, ;<br />&nbsp; &nbsp; &nbsp; Transform<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> oAjuste:<span style=\"color: #000000;\">cAlias</span> <span style=\"color: #000000;\">&#41;</span>->dolar, <span style=\"color: #ff0000;\">\"@e 999,999.999\"</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; Transform<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> oAjuste:<span style=\"color: #000000;\">cAlias</span> <span style=\"color: #000000;\">&#41;</span>->importe, <span style=\"color: #ff0000;\">\"@e 99,999,999.99\"</span> <span style=\"color: #000000;\">&#41;</span> &nbsp; <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">103</span> <span style=\"color: #0000ff;\">UPDATE</span>;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ON</span> DBLCLICK &nbsp;hnotas<span style=\"color: #000000;\">&#40;</span> &nbsp;oAjuste, oBrw1 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <br /><br />&nbsp; &nbsp;oBrw1:<span style=\"color: #000000;\">aheaders</span> := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Nº Cliente\"</span>, <span style=\"color: #ff0000;\">\"Recibo\"</span>, <span style=\"color: #ff0000;\">\"Detalle\"</span>, <span style=\"color: #ff0000;\">\"Dólar\"</span>, <span style=\"color: #ff0000;\">\"Importe\"</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oBrw1:<span style=\"color: #000000;\">aColSizes</span> := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">90</span>, <span style=\"color: #000000;\">90</span>, <span style=\"color: #000000;\">150</span>, <span style=\"color: #000000;\">95</span>, <span style=\"color: #000000;\">120</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oBrw1:<span style=\"color: #000000;\">aHjustify</span> := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oBrw1:<span style=\"color: #000000;\">ajustify</span> := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oBrw1:<span style=\"color: #000000;\">bSkip</span> = <span style=\"color: #000000;\">&#123;</span>| nRecs | oAjuste:<span style=\"color: #000000;\">Skipper</span><span style=\"color: #000000;\">&#40;</span> nRecs <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oBrw1:<span style=\"color: #000000;\">nLineStyle</span> := <span style=\"color: #000000;\">3</span><br />&nbsp; &nbsp;oBrw1:<span style=\"color: #000000;\">nClrPane</span> := <span style=\"color: #000000;\">&#123;</span> || iif<span style=\"color: #000000;\">&#40;</span>fechache<span style=\"color: #000000;\">&#40;</span>oAjuste:<span style=\"color: #000000;\">recibo</span>,oCheque,oBrw1<span style=\"color: #000000;\">&#41;</span>, cColor<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"verde\"</span><span style=\"color: #000000;\">&#41;</span>, cColor<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"\"</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />etc,etc<br /><br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> fechache<span style=\"color: #000000;\">&#40;</span>nRecibo,oCheque,obrw1<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">local</span> lverdad := .t.<br /><br />oCheque:<span style=\"color: #000000;\">gotop</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">if</span> oCheque:<span style=\"color: #000000;\">seek</span><span style=\"color: #000000;\">&#40;</span>nRecibo<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">do</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> oCheque:<span style=\"color: #000000;\">feccha</span> >= Date<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lverdad := .f.<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; oCheque:<span style=\"color: #000000;\">skip</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;until oCheque:<span style=\"color: #000000;\">recibo</span> != nRecibo<br /><span style=\"color: #00C800;\">endif</span><br />&nbsp;<br />obrw1:<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> lverdad<br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span></div>[/code:s9iym9k3]\n\nLuis", "time": "00:42", "topic": "Comportamiento desigual entre xharbour y harbour", "username": "surGom" } ]
Comportamiento desigual entre xharbour y harbour
[ { "date": "2014-06-15", "forum": "FiveWin para Harbour/xHarbour", "text": "hola\n\npor casualidad utilizas la clase twbrowse() de Hernan?\n\nsi es correcto, entonces elimina la wbrowse.obj de la libreria fiveh.lib", "time": "01:35", "topic": "Comportamiento desigual entre xharbour y harbour", "username": "Patricio Avalos Aguirre" } ]
Comportamiento desigual entre xharbour y harbour
[ { "date": "2014-06-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Patricio utilizó la clase de Hernan pero en todos los demás módulos funciona bien, es en esta rutina en particular que falla y temo que mi código no debe ser bueno. Lo puedo resolver antes del wbrowse cargando un array con la [color=#0040BF:3nis7lul]función fechache(nrecibo,oCheque,oBrw1)[/color:3nis7lul] resuelta en el mismo, es decir agregando lverdad como nuevo itmen del array , pero tendrían que comportarse tanto en harbor como xharbour de forma similar ya que no es nada que con clipper no se hiciera.\n\nSe puede hacer algo en la función [color=#0040BF:3nis7lul]fechache[/color:3nis7lul] para que con un mínimo cambio funcione\n\nSaludos\n\nLuis", "time": "10:27", "topic": "Comportamiento desigual entre xharbour y harbour", "username": "surGom" } ]
Comportamiento desigual entre xharbour y harbour
[ { "date": "2014-06-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Probando lo solucioné les muestro una parte mas del código original\n\n[code=fw:3aq54yw4]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br />********<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">IF</span> !pasaje<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"ajustes\"</span> <span style=\"color: #000000;\">&#41;</span>;RETURN <span style=\"color: #00C800;\">nil</span>;ENDIF<br />&nbsp; &nbsp;DATABASE oAjuste<br />&nbsp; &nbsp;oAjuste:<span style=\"color: #000000;\">beof</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #00C800;\">nil</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oAjuste:<span style=\"color: #000000;\">setorder</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;AAdd<span style=\"color: #000000;\">&#40;</span> aObj, oAjuste <span style=\"color: #000000;\">&#41;</span><br /><br /><br />&nbsp; oAjuste:<span style=\"color: #000000;\">gotop</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp;<br />&nbsp; &nbsp;<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"Brw_grup\"</span><br />&nbsp; &nbsp;oDlg:<span style=\"color: #000000;\">cCaption</span> := <span style=\"color: #ff0000;\">\"Notas de Crédito-Débito\"</span><br /><br /><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> onbut<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">104</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"BTNELIMINA\"</span>, <span style=\"color: #ff0000;\">\"BTNELIMINA1\"</span> &nbsp;<span style=\"color: #0000ff;\">ACTION</span> &nbsp;BORRO<span style=\"color: #000000;\">&#40;</span> oBrw1, oAjuste <span style=\"color: #000000;\">&#41;</span> &nbsp;NOBORDER<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> onbut<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">105</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"btnsalir\"</span>, <span style=\"color: #ff0000;\">\"btnsali1\"</span> &nbsp; <span style=\"color: #0000ff;\">ACTION</span> oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> NOBORDER<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> onbut<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">108</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"btnctacte\"</span>, <span style=\"color: #ff0000;\">\"btnctacte1\"</span> &nbsp;<span style=\"color: #0000ff;\">ACTION</span> ctacli<span style=\"color: #000000;\">&#40;</span> oAjuste:<span style=\"color: #000000;\">ncli</span>,, .F. <span style=\"color: #000000;\">&#41;</span> NOBORDER<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> onbut<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">107</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"bt_guardar\"</span>, <span style=\"color: #ff0000;\">\"bt_guardar1\"</span> &nbsp;<span style=\"color: #0000ff;\">ACTION</span> fguardo<span style=\"color: #000000;\">&#40;</span> oAjuste, oAjuste1, oBrw1 <span style=\"color: #000000;\">&#41;</span> NOBORDER<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> onbut<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">106</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"bt_espera\"</span>, <span style=\"color: #ff0000;\">\"bt_espera1\"</span> &nbsp;<span style=\"color: #0000ff;\">ACTION</span> fespera<span style=\"color: #000000;\">&#40;</span> oAjuste1, oDlg <span style=\"color: #000000;\">&#41;</span> NOBORDER<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">LISTBOX</span> oBrw1 fields StrZero<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> oAjuste:<span style=\"color: #000000;\">cAlias</span> <span style=\"color: #000000;\">&#41;</span>->ncli, <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; StrZero<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> oAjuste:<span style=\"color: #000000;\">cAlias</span> <span style=\"color: #000000;\">&#41;</span>->recibo, <span style=\"color: #000000;\">8</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#40;</span> oAjuste:<span style=\"color: #000000;\">cAlias</span> <span style=\"color: #000000;\">&#41;</span>->detalle, ;<br />&nbsp; &nbsp; &nbsp; Transform<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> oAjuste:<span style=\"color: #000000;\">cAlias</span> <span style=\"color: #000000;\">&#41;</span>->dolar, <span style=\"color: #ff0000;\">\"@e 999,999.999\"</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; Transform<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> oAjuste:<span style=\"color: #000000;\">cAlias</span> <span style=\"color: #000000;\">&#41;</span>->importe, <span style=\"color: #ff0000;\">\"@e 99,999,999.99\"</span> <span style=\"color: #000000;\">&#41;</span> &nbsp; <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">103</span> <span style=\"color: #0000ff;\">UPDATE</span>;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ON</span> DBLCLICK &nbsp;hnotas<span style=\"color: #000000;\">&#40;</span> oAjuste:<span style=\"color: #000000;\">recibo</span>, oAjuste:<span style=\"color: #000000;\">ncli</span>, oAjuste:<span style=\"color: #000000;\">importe</span>, oAjuste, oBrw1 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <br /><br />&nbsp; &nbsp;oBrw1:<span style=\"color: #000000;\">aheaders</span> := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Nº Cliente\"</span>, <span style=\"color: #ff0000;\">\"Recibo\"</span>, <span style=\"color: #ff0000;\">\"Detalle\"</span>, <span style=\"color: #ff0000;\">\"Dólar\"</span>, <span style=\"color: #ff0000;\">\"Importe\"</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oBrw1:<span style=\"color: #000000;\">aColSizes</span> := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">90</span>, <span style=\"color: #000000;\">90</span>, <span style=\"color: #000000;\">150</span>, <span style=\"color: #000000;\">95</span>, <span style=\"color: #000000;\">120</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oBrw1:<span style=\"color: #000000;\">aHjustify</span> := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oBrw1:<span style=\"color: #000000;\">ajustify</span> := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oBrw1:<span style=\"color: #000000;\">bSkip</span> = <span style=\"color: #000000;\">&#123;</span>| nRecs | oAjuste:<span style=\"color: #000000;\">Skipper</span><span style=\"color: #000000;\">&#40;</span> nRecs <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oBrw1:<span style=\"color: #000000;\">nLineStyle</span> := <span style=\"color: #000000;\">3</span><br />&nbsp; &nbsp;oBrw1:<span style=\"color: #000000;\">nClrPane</span> := <span style=\"color: #000000;\">&#123;</span> || iif<span style=\"color: #000000;\">&#40;</span>fechache<span style=\"color: #000000;\">&#40;</span>oAjuste:<span style=\"color: #000000;\">recibo</span>,oCheque,oBrw1<span style=\"color: #000000;\">&#41;</span>, cColor<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"verde\"</span><span style=\"color: #000000;\">&#41;</span>, cColor<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"\"</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp;<br /><br /><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">on</span> <span style=\"color: #0000ff;\">Init</span> oBrw1:<span style=\"color: #000000;\">gobottom</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;cldata<span style=\"color: #000000;\">&#40;</span> aObj <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br />&nbsp;</div>[/code:3aq54yw4]\n\nEl código de arriba funcionaba en xharbour pero no en harbour.\n\nLe quité [color=#FF0000:3aq54yw4]oAjuste:gotop()[/color:3aq54yw4]\n\nY ahora funciona con los dos compiladores\n\nAhora cual es la explicación??\n\nLuis", "time": "13:32", "topic": "Comportamiento desigual entre xharbour y harbour", "username": "surGom" } ]
Comportamiento desigual entre xharbour y harbour
[ { "date": "2014-06-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Luis,\n\nPero ahora te funciona bien ?", "time": "14:58", "topic": "Comportamiento desigual entre xharbour y harbour", "username": "Antonio Linares" } ]
Comportamiento desigual entre xharbour y harbour
[ { "date": "2014-06-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Antonio, sí funciona perfectamente, no hay cuelgues, las consultas que hago sobre la grilla responden bien. Funciona igual que en xHarbour.\n\n\nLuis", "time": "20:09", "topic": "Comportamiento desigual entre xharbour y harbour", "username": "surGom" } ]
Comportamiento desigual entre xharbour y harbour
[ { "date": "2015-09-28", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola compañeros tengo el siguiente código\n\n[code=fw:1y04cc44]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />   <span style=\"color: #00C800;\">LOCAL</span> aConstancia := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Activo\"</span>, <span style=\"color: #ff0000;\">\"No Inscripto\"</span>, <span style=\"color: #ff0000;\">\"Exento\"</span>, <span style=\"color: #ff0000;\">\"No Alcanzado\"</span>, <span style=\"color: #ff0000;\">\"Exento no alcanzado\"</span> <span style=\"color: #000000;\">&#125;</span><br />   <span style=\"color: #00C800;\">LOCAL</span> cConiva := <span style=\"color: #ff0000;\">\"No Inscripto\"</span><br />   <span style=\"color: #00C800;\">LOCAL</span> cCongan := <span style=\"color: #ff0000;\">\"No Inscripto\"</span><br />   <span style=\"color: #00C800;\">LOCAL</span> cConmono := <span style=\"color: #ff0000;\">\"No Inscripto\"</span><br /><br /> <span style=\"color: #B900B9;\">/////////</span><br /><br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oCos<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> cConiva <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">114</span> <span style=\"color: #0000ff;\">ITEMS</span> aConstancia <span style=\"color: #0000ff;\">of</span> oFold:<span style=\"color: #000000;\">adialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">update</span><br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oCos<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> cCongan <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">115</span> <span style=\"color: #0000ff;\">ITEMS</span> aConstancia <span style=\"color: #0000ff;\">of</span> oFold:<span style=\"color: #000000;\">adialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">update</span><br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oCos<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> cConmono <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">119</span> <span style=\"color: #0000ff;\">ITEMS</span> aConstancia <span style=\"color: #0000ff;\">of</span> oFold:<span style=\"color: #000000;\">adialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">update</span><br /><span style=\"color: #B900B9;\">/////////////</span><br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> ACEPTAR<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />      <span style=\"color: #00C800;\">IF</span>  reviso<span style=\"color: #000000;\">&#40;</span>oData<span style=\"color: #000000;\">&#41;</span><br />     <span style=\"color: #B900B9;\">/////</span><br />           oData:<span style=\"color: #000000;\">constiva</span> := grabcons<span style=\"color: #000000;\">&#40;</span> cConiva <span style=\"color: #000000;\">&#41;</span><br />           oData:<span style=\"color: #000000;\">constgan</span> := grabcons<span style=\"color: #000000;\">&#40;</span> cCongan <span style=\"color: #000000;\">&#41;</span><br />           oData:<span style=\"color: #000000;\">constmono</span> := grabcons<span style=\"color: #000000;\">&#40;</span> cConmono <span style=\"color: #000000;\">&#41;</span><br />      <span style=\"color: #B900B9;\">//////</span><br />           salvo<span style=\"color: #000000;\">&#40;</span>oData<span style=\"color: #000000;\">&#41;</span><br /> <br />      <span style=\"color: #00C800;\">ENDIF</span><br /> </div>[/code:1y04cc44]\n\n[code=fw:1y04cc44]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">FUNCTION</span> grabcons<span style=\"color: #000000;\">&#40;</span> cConstan <span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">LOCAL</span> cActivo := <span style=\"color: #ff0000;\">\"\"</span><br /><br />   ? cConstan<br /><br />   <span style=\"color: #00C800;\">IF</span> cConstan == <span style=\"color: #ff0000;\">\"Activo\"</span><br />      cActivo := <span style=\"color: #ff0000;\">\"AC\"</span><br />   ELSEIF cConstan == <span style=\"color: #ff0000;\">\"No Inscripto\"</span><br />      cActivo := <span style=\"color: #ff0000;\">\"NI\"</span><br />   ELSEIF cConstan == <span style=\"color: #ff0000;\">\"Exento\"</span><br />      cActivo := <span style=\"color: #ff0000;\">\"EX\"</span><br />   ELSEIF cConstan == <span style=\"color: #ff0000;\">\"No alcanzado\"</span><br />      cActivo := <span style=\"color: #ff0000;\">\"NA\"</span><br />   ELSEIF cConstan == <span style=\"color: #ff0000;\">\"Exento no alcanzado\"</span><br />      cActivo := <span style=\"color: #ff0000;\">\"AN\"</span><br />   <span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> cActivo<br /> </div>[/code:1y04cc44]\n\nEste mismo código compilado con harbour da distintos resultados que con xharbour, a saber hice un msginfo en dónde transformo las variables al dato que necesito \nSupongamos que en el combo elijo \"Activo\"\n\nEn xHarbour\n\nEl msginfo dice [color=#BF0040:1y04cc44]\"Activo\"[/color:1y04cc44]\n\npero el compilado con harbour\n\nEl msginfo dice [color=#FF0040:1y04cc44] \"Activocripto\"[/color:1y04cc44]\n\nNo reemplaza la variable sino que la sobreescribe.\nLo que hice fue poner todas las opciones con la misma cantidad de caracteres, y funciona.\n\nPero porque el comportamiento.\n\nLuis", "time": "14:19", "topic": "Comportamiento extraño", "username": "surGom" } ]
Comportamiento extraño
[ { "date": "2015-09-29", "forum": "FiveWin para Harbour/xHarbour", "text": "Luis,\n\nPuedes comprobar si en el ejemplo samples\\combos.prg te ocurre igual ? gracias", "time": "01:11", "topic": "Comportamiento extraño", "username": "Antonio Linares" } ]
Comportamiento extraño
[ { "date": "2015-09-29", "forum": "FiveWin para Harbour/xHarbour", "text": "No Antonio en el ejemplo funciona bien.\n\n\nLuis", "time": "13:16", "topic": "Comportamiento extraño", "username": "surGom" } ]
Comportamiento extraño
[ { "date": "2015-09-29", "forum": "FiveWin para Harbour/xHarbour", "text": "Luis,\n\nPodrias proporcionar un pequeño ejemplo autocontenido que reproduzca el problema ? gracias", "time": "15:17", "topic": "Comportamiento extraño", "username": "Antonio Linares" } ]
Comportamiento extraño
[ { "date": "2015-09-29", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio hice este ejemplo lo compile en el mismo programa ....Y ACA FUNCIONA BIEN\n\n[code=fw:3uwrd69e]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /># include <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br />&nbsp;<span style=\"color: #00C800;\">function</span> prueba<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp;<br />&nbsp;<span style=\"color: #00C800;\">LOCAL</span> aConstancia := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Activo\"</span>, <span style=\"color: #ff0000;\">\"No Inscripto\"</span>, <span style=\"color: #ff0000;\">\"Exento\"</span>, <span style=\"color: #ff0000;\">\"No Alcanzado\"</span>, <span style=\"color: #ff0000;\">\"Exento no alcanzado\"</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp;<span style=\"color: #00C800;\">LOCAL</span> cConmono &nbsp;:= <span style=\"color: #ff0000;\">\"No Inscripto\"</span><br />&nbsp;<span style=\"color: #00C800;\">LOCAL</span> oDlg<br />&nbsp;<span style=\"color: #00C800;\">local</span> oBtn<br />&nbsp;<br />&nbsp;<br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">20</span>, <span style=\"color: #000000;\">60</span><br />&nbsp;<br /><br />@ <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">COMBOBOX</span> cConmono <span style=\"color: #0000ff;\">ITEMS</span> aConstancia <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">200</span>, <span style=\"color: #000000;\">100</span><br /><br />@ <span style=\"color: #000000;\">4</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">button</span> oBtn &nbsp;<span style=\"color: #0000ff;\">prompt</span> <span style=\"color: #ff0000;\">\"prueba\"</span> <span style=\"color: #0000ff;\">ACTION</span> grabcons<span style=\"color: #000000;\">&#40;</span> cConmono <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">30</span> <br /><br />@ <span style=\"color: #000000;\">4</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">button</span> oBtn &nbsp; <span style=\"color: #0000ff;\">prompt</span> <span style=\"color: #ff0000;\">\"Salir\"</span> <span style=\"color: #0000ff;\">ACTION</span> oDlg:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">30</span> <br /><br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTER</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">/////////////////////////////////////////////////////////////////////////////////////////</span><br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">FUNCTION</span> grabcons<span style=\"color: #000000;\">&#40;</span> cConstan <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> cActivo := <span style=\"color: #ff0000;\">\"\"</span><br /><br />&nbsp; &nbsp;? cConstan<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">IF</span> cConstan == <span style=\"color: #ff0000;\">\"Activo\"</span><br />&nbsp; &nbsp; &nbsp; cActivo := <span style=\"color: #ff0000;\">\"AC\"</span><br /><br />&nbsp; &nbsp;ELSEIF cConstan == <span style=\"color: #ff0000;\">\"No Inscripto\"</span><br />&nbsp; &nbsp; &nbsp; cActivo := <span style=\"color: #ff0000;\">\"NI\"</span><br />&nbsp; &nbsp;ELSEIF cConstan == <span style=\"color: #ff0000;\">\"Exento\"</span><br />&nbsp; &nbsp; &nbsp; cActivo := <span style=\"color: #ff0000;\">\"EX\"</span><br />&nbsp; &nbsp;ELSEIF cConstan == <span style=\"color: #ff0000;\">\"No alcanzado\"</span><br />&nbsp; &nbsp; &nbsp; cActivo := <span style=\"color: #ff0000;\">\"NA\"</span><br />&nbsp; &nbsp;ELSEIF cConstan == <span style=\"color: #ff0000;\">\"Exento no alcanzado\"</span><br />&nbsp; &nbsp; &nbsp; cActivo := <span style=\"color: #ff0000;\">\"AN\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> cActivo<br />&nbsp;</div>[/code:3uwrd69e]\n\nAquí funciona bien.\n\nRealmente no se porque en los demas programas no trabaja correctamente, ya que todos los prg que son compilados con harbour y xharbour son los mismos, pero en uno funciona y en harbour da esa incongruencia.\n\n\nLuis", "time": "17:59", "topic": "Comportamiento extraño", "username": "surGom" } ]
Comportamiento extraño
[ { "date": "2015-09-29", "forum": "FiveWin para Harbour/xHarbour", "text": "Seguí haciendo pruebas \nCódigo original\n\n[code=fw:3uhfy6u7]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oCos<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> cConiva <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">114</span> <span style=\"color: #0000ff;\">ITEMS</span> aConstancia <span style=\"color: #0000ff;\">of</span> oFold:<span style=\"color: #000000;\">adialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">update</span><br /> </div>[/code:3uhfy6u7]\n\nEn este es caso cuando da la incongruencia entre los dos compiladores\n\nAhora si hago\n\n[code=fw:3uhfy6u7]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oCos<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> cConiva <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">114</span> <span style=\"color: #0000ff;\">ITEMS</span> aConstancia <span style=\"color: #0000ff;\">of</span> oFold:<span style=\"color: #000000;\">adialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">update</span>  <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> grabcons<span style=\"color: #000000;\">&#40;</span>cConiva<span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:3uhfy6u7]\n\nRecuerdo la función\n[code=fw:3uhfy6u7]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">FUNCTION</span> grabcons<span style=\"color: #000000;\">&#40;</span> cConstan <span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">LOCAL</span> cActivo := <span style=\"color: #ff0000;\">\"\"</span><br /><br />   ? AllTrim<span style=\"color: #000000;\">&#40;</span>cConstan<span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">IF</span> cConstan = <span style=\"color: #ff0000;\">\"Activo\"</span><br />      cActivo := <span style=\"color: #ff0000;\">\"AC\"</span><br />   ELSEIF cConstan = <span style=\"color: #ff0000;\">\"No Inscripto\"</span><br />      cActivo := <span style=\"color: #ff0000;\">\"NI\"</span><br />   ELSEIF cConstan = <span style=\"color: #ff0000;\">\"Exento\"</span><br />      cActivo := <span style=\"color: #ff0000;\">\"EX\"</span><br />   ELSEIF cConstan = <span style=\"color: #ff0000;\">\"No alcanzado\"</span><br />      cActivo := <span style=\"color: #ff0000;\">\"NA\"</span><br />   ELSEIF cConstan = <span style=\"color: #ff0000;\">\"Exento no alcanzado\"</span><br />      cActivo := <span style=\"color: #ff0000;\">\"AN\"</span><br />   <span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> cActivo<br /> </div>[/code:3uhfy6u7]\n\nDe esta forma funciona correctamente!!!! \nPorqué ???? Si lo único que hago es mostrar la variable (y la muestra correctamente) ???\nAdemas cConstan se vé solamente en la función grabcons\n\nLuis", "time": "23:24", "topic": "Comportamiento extraño", "username": "surGom" } ]
Comportamiento extraño
[ { "date": "2015-09-30", "forum": "FiveWin para Harbour/xHarbour", "text": "Ahora probé de esta forma \nCuando modifico cargo los datos de la base de datos\n\n[u:15zln4n6]Antes [/u:15zln4n6]\n[code=fw:15zln4n6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />   <span style=\"color: #00C800;\">LOCAL</span> cConiva := <span style=\"color: #ff0000;\">\"\"</span><br />   <span style=\"color: #00C800;\">LOCAL</span> cCongan := <span style=\"color: #ff0000;\">\"\"</span><br />   <span style=\"color: #00C800;\">LOCAL</span> cConmono := <span style=\"color: #ff0000;\">\"\"</span><br /><span style=\"color: #B900B9;\">////////////////////////////////////////////////////</span><br /><br />    <span style=\"color: #00C800;\">if</span> !lnuevo<br />      cConiva := vercond<span style=\"color: #000000;\">&#40;</span> oData:<span style=\"color: #000000;\">constiva</span> <span style=\"color: #000000;\">&#41;</span><br />      cCongan := vercond<span style=\"color: #000000;\">&#40;</span> oData:<span style=\"color: #000000;\">constgan</span> <span style=\"color: #000000;\">&#41;</span><br />      cConmono := vercond<span style=\"color: #000000;\">&#40;</span> oData:<span style=\"color: #000000;\">constmono</span> <span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:15zln4n6]\n\nAhora\n[code=fw:15zln4n6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />   <span style=\"color: #00C800;\">LOCAL</span> cConiva := <span style=\"color: #ff0000;\">\"\"</span><br />   <span style=\"color: #00C800;\">LOCAL</span> cCongan := <span style=\"color: #ff0000;\">\"\"</span><br />   <span style=\"color: #00C800;\">LOCAL</span> cConmono := <span style=\"color: #ff0000;\">\"\"</span><br />   <span style=\"color: #00C800;\">LOCAL</span> cVariva := <span style=\"color: #ff0000;\">\"\"</span><br />   <span style=\"color: #00C800;\">LOCAL</span> cVarGan := <span style=\"color: #ff0000;\">\"\"</span><br />   <span style=\"color: #00C800;\">LOCAL</span> cVarmono := <span style=\"color: #ff0000;\">\"\"</span><br /><span style=\"color: #B900B9;\">//////////</span><br />    <span style=\"color: #00C800;\">if</span> !lnuevo<br />      cVariva := cConiva := vercond<span style=\"color: #000000;\">&#40;</span> oData:<span style=\"color: #000000;\">constiva</span> <span style=\"color: #000000;\">&#41;</span><br />      cVarGan := cCongan := vercond<span style=\"color: #000000;\">&#40;</span> oData:<span style=\"color: #000000;\">constgan</span> <span style=\"color: #000000;\">&#41;</span><br />      cVarmono := cConmono := vercond<span style=\"color: #000000;\">&#40;</span> oData:<span style=\"color: #000000;\">constmono</span> <span style=\"color: #000000;\">&#41;</span><br /><br /> </div>[/code:15zln4n6]\nla Función VERCOND\n\n[code=fw:15zln4n6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">///////////</span><br /><span style=\"color: #00C800;\">FUNCTION</span> vercond<span style=\"color: #000000;\">&#40;</span> cVar <span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">LOCAL</span> cCondicion<br /><br />   <span style=\"color: #00C800;\">IF</span> cVar = <span style=\"color: #ff0000;\">\"AC\"</span> .OR. cVar = <span style=\"color: #ff0000;\">\"S\"</span><br />      cCondicion := <span style=\"color: #ff0000;\">\"Activo\"</span><br />   ELSEIF cVar = <span style=\"color: #ff0000;\">\"NI\"</span> .OR. cVar = <span style=\"color: #ff0000;\">\"N\"</span> .OR. Empty<span style=\"color: #000000;\">&#40;</span> cVar <span style=\"color: #000000;\">&#41;</span><br />      cCondicion := <span style=\"color: #ff0000;\">\"No Inscripto\"</span><br />   ELSEIF cVar = <span style=\"color: #ff0000;\">\"EX\"</span><br />      cCondicion := <span style=\"color: #ff0000;\">\"Exento\"</span><br />   ELSEIF cVar = <span style=\"color: #ff0000;\">\"NA\"</span><br />      cCondicion = <span style=\"color: #ff0000;\">\"No alcanzado\"</span><br />   ELSEIF cVar = <span style=\"color: #ff0000;\">\"XN\"</span><br />      cCondicion = <span style=\"color: #ff0000;\">\"Exento no alcanzado\"</span><br />   ELSEIF cVar = <span style=\"color: #ff0000;\">\"AN\"</span><br />      cCondicion = <span style=\"color: #ff0000;\">\"Activo no alcanzado\"</span><br />   <span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> cCondicion<br /> </div>[/code:15zln4n6]\n\n[u:15zln4n6]Antes[/u:15zln4n6]\n\n[code=fw:15zln4n6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oCos<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> cConiva <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">114</span> <span style=\"color: #0000ff;\">ITEMS</span> aConstancia <span style=\"color: #0000ff;\">of</span> oFold:<span style=\"color: #000000;\">adialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">update</span>  <br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oCos<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> cCongan <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">115</span> <span style=\"color: #0000ff;\">ITEMS</span> aConstancia <span style=\"color: #0000ff;\">of</span> oFold:<span style=\"color: #000000;\">adialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">update</span> <br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oCos<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> cConmono <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">119</span> <span style=\"color: #0000ff;\">ITEMS</span> aConstancia <span style=\"color: #0000ff;\">of</span> oFold:<span style=\"color: #000000;\">adialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">update</span> <br /> </div>[/code:15zln4n6]\n\n[u:15zln4n6]Ahora[/u:15zln4n6]\n[code=fw:15zln4n6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oCos<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> cConiva <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">114</span> <span style=\"color: #0000ff;\">ITEMS</span> aConstancia <span style=\"color: #0000ff;\">of</span> oFold:<span style=\"color: #000000;\">adialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">update</span> <span style=\"color: #0000ff;\">on</span> <span style=\"color: #0000ff;\">change</span><span style=\"color: #000000;\">&#40;</span> cVariva :=  cConiva<span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oCos<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> cCongan <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">115</span> <span style=\"color: #0000ff;\">ITEMS</span> aConstancia <span style=\"color: #0000ff;\">of</span> oFold:<span style=\"color: #000000;\">adialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">update</span> <span style=\"color: #0000ff;\">on</span> <span style=\"color: #0000ff;\">change</span><span style=\"color: #000000;\">&#40;</span>cVarGan := cCongan <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oCos<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> cConmono <span style=\"color: #0000ff;\">id</span> <span style=\"color: #000000;\">119</span> <span style=\"color: #0000ff;\">ITEMS</span> aConstancia <span style=\"color: #0000ff;\">of</span> oFold:<span style=\"color: #000000;\">adialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">update</span> <span style=\"color: #0000ff;\">on</span> <span style=\"color: #0000ff;\">change</span><span style=\"color: #000000;\">&#40;</span>cVarmono :=  cConmono <span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:15zln4n6]\n\n\n[u:15zln4n6]Antes[/u:15zln4n6]\n NO FUNCIONABA\n\n[u:15zln4n6]Ahora[/u:15zln4n6]\n FUNCIONA\n\nAlguna idea del porque???\n\nLuis", "time": "00:18", "topic": "Comportamiento extraño", "username": "surGom" } ]
Comportamiento extraño
[ { "date": "2015-09-30", "forum": "FiveWin para Harbour/xHarbour", "text": "Luis,\n\nEs dificil de saber la razón salvo que pudieses proporcionar un ejemplo autocontenido para probrarlo", "time": "08:57", "topic": "Comportamiento extraño", "username": "Antonio Linares" } ]
Comportamiento extraño
[ { "date": "2015-10-02", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio en el ejemplo que te quiero enviar funciona perfectamente, indudablemente es algo del programa que interfiere, pero todavía no he podido encontrarlo, en dónde falla es un prg de alta baja de clientes y en el de proveedores que son muy similares.\n\n\nLuis", "time": "00:01", "topic": "Comportamiento extraño", "username": "surGom" } ]
Comportamiento extraño
[ { "date": "2019-05-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Buenos días para todos,\n\nTengo el siguiente código, el cual genera un pdf directo al disco sin hacer la previsualización, asi:\n[code=fw:3jep6z2p]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />***********************************************************************<br /><span style=\"color: #00C800;\">function</span> ImpFactura<span style=\"color: #000000;\">&#40;</span>tipo<span style=\"color: #000000;\">&#41;</span><br /><br />    <span style=\"color: #00C800;\">local</span> oPrn, oFont<br />    <span style=\"color: #00C800;\">local</span> cName    := PadR<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Cliente de Prueba\"</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #00C800;\">local</span> cCity    := PadR<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"1234567890\"</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #00C800;\">local</span> cCountry := PadR<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Calle 55 No. 777-988\"</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #00C800;\">local</span> cItem    := <span style=\"color: #ff0000;\">\"31198765431\"</span><br />   <br />    <span style=\"color: #00C800;\">PRINT</span> oPrn FILE <span style=\"color: #ff0000;\">\"factura.pdf\"</span>  <br /><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"TAHOMA\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-14</span> <span style=\"color: #0000ff;\">OF</span> oPrn<br /><br />    <span style=\"color: #0000ff;\">PAGE</span><br /><br />    oPrn:<span style=\"color: #000000;\">PrintImage</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">700</span> , <span style=\"color: #ff0000;\">\"Logo.bmp\"</span>, <span style=\"color: #000000;\">715</span> , <span style=\"color: #000000;\">1000</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><br />    @ <span style=\"color: #000000;\">3.00</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #00C800;\">PRINT</span> <span style=\"color: #0000ff;\">TO</span> oPrn <span style=\"color: #0000ff;\">TEXT</span> cName    INCHES <span style=\"color: #0000ff;\">FONT</span> oFont<br />    @ <span style=\"color: #000000;\">3.30</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #00C800;\">PRINT</span> <span style=\"color: #0000ff;\">TO</span> oPrn <span style=\"color: #0000ff;\">TEXT</span> cCity    INCHES <span style=\"color: #0000ff;\">FONT</span> oFont<br />    @ <span style=\"color: #000000;\">3.60</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #00C800;\">PRINT</span> <span style=\"color: #0000ff;\">TO</span> oPrn <span style=\"color: #0000ff;\">TEXT</span> cCountry INCHES <span style=\"color: #0000ff;\">FONT</span> oFont<br />    @ <span style=\"color: #000000;\">3.90</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #00C800;\">PRINT</span> <span style=\"color: #0000ff;\">TO</span> oPrn <span style=\"color: #0000ff;\">TEXT</span> cItem    INCHES <span style=\"color: #0000ff;\">FONT</span> oFont<br /><br /><br />    @ <span style=\"color: #000000;\">3.00</span>,<span style=\"color: #000000;\">5.00</span> <span style=\"color: #00C800;\">PRINT</span> <span style=\"color: #0000ff;\">TO</span> oPrn <span style=\"color: #0000ff;\">TEXT</span> dato ;<br />    AS BARCODE TYPE <span style=\"color: #ff0000;\">\"QR-CODE\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">1.9</span>,<span style=\"color: #000000;\">1.9</span> INCHES<br /><br /><br />    <span style=\"color: #0000ff;\">ENDPAGE</span><br /><br />    <span style=\"color: #0000ff;\">ENDPRINT</span><br /><br /><br />    <span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">FONT</span> oFont<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:3jep6z2p]\n\nEl problema es que algunas veces me genera el archivo completo que pesa 140KB, y otras veces lo genera incompleto con un peso de 2KB.\n\nIncompleto\n[code=fw:3jep6z2p]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />%PDF<span style=\"color: #000000;\">-1.3</span><br /><span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">0</span> obj<br /><<<br />/Type /<span style=\"color: #0000ff;\">Page</span> /Parent <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">0</span> R<br />/Resources <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">0</span> R<br />/MediaBox <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">595.00</span> <span style=\"color: #000000;\">842.00</span> <span style=\"color: #000000;\">&#93;</span><br />/Contents <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">0</span> R<br />>><br />endobj<br /><span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">0</span> obj<br /><<<br />/ColorSpace << /DeviceRGB /DeviceGray >><br />/ProcSet <span style=\"color: #000000;\">&#91;</span> /PDF /<span style=\"color: #0000ff;\">Text</span> /ImageB /ImageC <span style=\"color: #000000;\">&#93;</span><br />/XObject<br /><<<br />/Image1 <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">0</span> R<br />>><br />>><br />endobj<br /><span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">0</span> obj << /Length <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">0</span> R <br /><br />>><br />stream<br /><br />q<br /><span style=\"color: #000000;\">595.0</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">842.0</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">0</span> cm<br />/Image1 <span style=\"color: #00C800;\">Do</span><br />Q <br />endstream<br />endobj<br /><span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">0</span> obj<br /><span style=\"color: #000000;\">43</span><br />endobj<br /><span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">0</span> obj<br /><<<br />/Type /<span style=\"color: #0000ff;\">Page</span> /Parent <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">0</span> R<br />/Resources <span style=\"color: #000000;\">7</span> <span style=\"color: #000000;\">0</span> R<br />/MediaBox <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">595.00</span> <span style=\"color: #000000;\">842.00</span> <span style=\"color: #000000;\">&#93;</span><br />/Contents <span style=\"color: #000000;\">8</span> <span style=\"color: #000000;\">0</span> R<br />>><br />endobj<br /><span style=\"color: #000000;\">7</span> <span style=\"color: #000000;\">0</span> obj<br /><<<br />/ColorSpace << /DeviceRGB /DeviceGray >><br />/ProcSet <span style=\"color: #000000;\">&#91;</span> /PDF /<span style=\"color: #0000ff;\">Text</span> /ImageB /ImageC <span style=\"color: #000000;\">&#93;</span><br />/XObject<br /><<<br />/Image1 <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">0</span> R<br />>><br />>><br />endobj<br /><span style=\"color: #000000;\">8</span> <span style=\"color: #000000;\">0</span> obj << /Length <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">0</span> R <br /><br />>><br />stream<br /><br />q<br /><span style=\"color: #000000;\">595.0</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">842.0</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">0</span> cm<br />/Image1 <span style=\"color: #00C800;\">Do</span><br />Q <br />endstream<br />endobj<br /><span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">0</span> obj<br /><span style=\"color: #000000;\">43</span><br />endobj<br /><span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">0</span> obj<br /><<<br />/Type /Pages /<span style=\"color: #0000ff;\">Count</span> <span style=\"color: #000000;\">1</span><br />/Kids <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">&#93;</span><br />>><br />endobj<br /><span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">0</span> obj<br /><< /<span style=\"color: #0000ff;\">Title</span> <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />/Producer <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />/Author <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />/Creator <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />/<span style=\"color: #0000ff;\">Subject</span> <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />/Keywords <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />/CreationDate <span style=\"color: #000000;\">&#40;</span>D:<span style=\"color: #000000;\">20190516114059</span><span style=\"color: #000000;\">&#41;</span><br />>><br />endobj<br /><span style=\"color: #000000;\">11</span> <span style=\"color: #000000;\">0</span> obj<br /><< /Type /Catalog /Pages <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">0</span> R /Outlines <span style=\"color: #000000;\">12</span> <span style=\"color: #000000;\">0</span> R >><br />endobj<br /><span style=\"color: #000000;\">12</span> <span style=\"color: #000000;\">0</span> obj<br /><< /Type /Outlines /<span style=\"color: #0000ff;\">Count</span> <span style=\"color: #000000;\">0</span> >><br />endobj<br /><br />xref<br /><span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">13</span><br /><span style=\"color: #000000;\">0000000000</span> <span style=\"color: #000000;\">65535</span> f<br /><span style=\"color: #000000;\">0000000784</span> <span style=\"color: #000000;\">00000</span> n<br /><span style=\"color: #000000;\">0000000010</span> <span style=\"color: #000000;\">00000</span> n<br /><span style=\"color: #000000;\">0000000130</span> <span style=\"color: #000000;\">00000</span> n<br /><span style=\"color: #000000;\">0000000271</span> <span style=\"color: #000000;\">00000</span> n<br /><span style=\"color: #000000;\">0000000376</span> <span style=\"color: #000000;\">00000</span> n<br /><span style=\"color: #000000;\">0000000397</span> <span style=\"color: #000000;\">00000</span> n<br /><span style=\"color: #000000;\">0000000517</span> <span style=\"color: #000000;\">00000</span> n<br /><span style=\"color: #000000;\">0000000658</span> <span style=\"color: #000000;\">00000</span> n<br /><span style=\"color: #000000;\">0000000763</span> <span style=\"color: #000000;\">00000</span> n<br /><span style=\"color: #000000;\">0000000843</span> <span style=\"color: #000000;\">00000</span> n<br /><span style=\"color: #000000;\">0000000979</span> <span style=\"color: #000000;\">00000</span> n<br /><span style=\"color: #000000;\">0000001049</span> <span style=\"color: #000000;\">00000</span> n<br />trailer << /<span style=\"color: #0000ff;\">Size</span> <span style=\"color: #000000;\">13</span> /Root <span style=\"color: #000000;\">11</span> <span style=\"color: #000000;\">0</span> R /Info <span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">0</span> R >><br />startxref<br /><span style=\"color: #000000;\">1101</span><br />%%EOF<br /><br /> </div>[/code:3jep6z2p]\n\nAlguien a tenido un problema similar? Hay algo mal en el código?\n\nDe antemano gracias", "time": "17:49", "topic": "Comportamiento extraño PRINT oPrn FILE \"factura.pdf\"", "username": "leandro" } ]
Comportamiento extraño PRINT oPrn FILE "factura.pdf"
[ { "date": "2019-05-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Mira se te gusta:\n\n[code=fw:2wnuyicn]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><br /><span style=\"color: #00D7D7;\">#define</span> PAD_LEFT &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br /><span style=\"color: #00D7D7;\">#define</span> PAD_RIGHT &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00D7D7;\">#define</span> PAD_CENTER &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">2</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> oPrn, oFont, oPen<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> nLinI, nColI, nLinF, nColF<br /><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">// verifica o formato do papela na impressora</span><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">// FOLHA_PAPEL_FOLIO()</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">PRINT</span> oPrn <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Imprimir\"</span> PREVIEW <span style=\"color: #0000ff;\">MODAL</span><br /><br />&nbsp; &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;\">\"Arial\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-10</span> BOLD <span style=\"color: #0000ff;\">OF</span> oPrn<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> PEN oPen WIDTH &nbsp;<span style=\"color: #000000;\">2</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">OF</span> oPrn<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">// oPrn:SetPage(9) &nbsp;// A4</span><br />&nbsp; &nbsp; &nbsp; oPrn:<span style=\"color: #000000;\">SetPage</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">14</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp;<span style=\"color: #B900B9;\">// FOLIO?</span><br />&nbsp; &nbsp; &nbsp; oPrn:<span style=\"color: #000000;\">SetPortrait</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp;<span style=\"color: #B900B9;\">//Vertical</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PAGE</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nLinI := &nbsp;<span style=\"color: #000000;\">0.90</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nColI := &nbsp;<span style=\"color: #000000;\">0.90</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nLinF := <span style=\"color: #000000;\">28.6</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nColF := <span style=\"color: #000000;\">20.0</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oPrn:<span style=\"color: #000000;\">Cmtr2Pix</span><span style=\"color: #000000;\">&#40;</span>@nLinI, @nColI<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oPrn:<span style=\"color: #000000;\">cmtr2Pix</span><span style=\"color: #000000;\">&#40;</span>@nLinF, @nColF<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oPrn:<span style=\"color: #000000;\">Box</span><span style=\"color: #000000;\">&#40;</span>nLinI, nColI, nLinF, nColF, oPen &nbsp;<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oPrn:<span style=\"color: #000000;\">cmSay</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1.0</span>, &nbsp;<span style=\"color: #000000;\">1.0</span>, <span style=\"color: #ff0000;\">\"Superior Izquierda\"</span>, oFont,,CLR_BLACK,,PAD_LEFT &nbsp;<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oPrn:<span style=\"color: #000000;\">cmSay</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1.0</span>, <span style=\"color: #000000;\">10.5</span>, <span style=\"color: #ff0000;\">\"Superior Centro\"</span>, &nbsp; &nbsp;oFont,,CLR_BLACK,,PAD_CENTER <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oPrn:<span style=\"color: #000000;\">cmSay</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1.0</span>, <span style=\"color: #000000;\">20.0</span>, <span style=\"color: #ff0000;\">\"Superior Derecha\"</span>, &nbsp; oFont,,CLR_BLACK,,PAD_RIGHT <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oPrn:<span style=\"color: #000000;\">cmSay</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">28.0</span>, &nbsp;<span style=\"color: #000000;\">1.0</span>, <span style=\"color: #ff0000;\">\"Inferior Izquierda\"</span>, oFont,,CLR_BLACK,,PAD_LEFT &nbsp;<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oPrn:<span style=\"color: #000000;\">cmSay</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">28.0</span>, <span style=\"color: #000000;\">10.5</span>, <span style=\"color: #ff0000;\">\"Inferior Centro\"</span>, &nbsp; &nbsp;oFont,,CLR_BLACK,,PAD_CENTER <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oPrn:<span style=\"color: #000000;\">cmSay</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">28.0</span>, <span style=\"color: #000000;\">20.0</span>, <span style=\"color: #ff0000;\">\"Inferior Derecha\"</span>, &nbsp; oFont,,CLR_BLACK,,PAD_RIGHT <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDPAGE</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">// sin preview</span><br />&nbsp; &nbsp; &nbsp; oPrn:<span style=\"color: #000000;\">lMeta</span> = .F.<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ENDPRINT</span><br /><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">// save pdf</span><br />&nbsp; &nbsp;FWSavePreviewToPDF<span style=\"color: #000000;\">&#40;</span> oPrn <span style=\"color: #000000;\">&#41;</span><br />&nbsp;<br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> FOLHA_PAPEL_FOLIO<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> oPrinter, aPaper<br /><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">// Para Checar o Tipo de Papel Que Esta Na Impressora - Correto</span><br />&nbsp; &nbsp;oPrinter = TPrinter<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">'Meu Documento'</span> , .F., .F., <span style=\"color: #00C800;\">NIL</span>, .F. <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;aPaper = PrnGetPaper<span style=\"color: #000000;\">&#40;</span> oPrinter <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">IF</span> .NOT. aPaper<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span> = <span style=\"color: #ff0000;\">\"Folio\"</span> <span style=\"color: #B900B9;\">// 'A4'</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">// Trocar nas propriedades da impressora.</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Troque o Formato do Papel Para Folio\"</span>, <span style=\"color: #ff0000;\">\"Impressora\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">RETURN</span><span style=\"color: #000000;\">&#40;</span> .T. <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #B900B9;\">//----------------------------------------------------</span><br /><span style=\"color: #00C800;\">FUNCTION</span> PrnGetPaper<span style=\"color: #000000;\">&#40;</span> oPrn <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> aPoint := PrnGetSize<span style=\"color: #000000;\">&#40;</span> oPrn:<span style=\"color: #000000;\">hDc</span> <span style=\"color: #000000;\">&#41;</span>, aRecmm := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span>, nW := <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> nH := <span style=\"color: #000000;\">0</span>, wx := <span style=\"color: #000000;\">0</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> aPapers:=<span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_LETTER &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , &nbsp;<span style=\"color: #000000;\">1</span> , <span style=\"color: #ff0000;\">\"Letter &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">216</span>,<span style=\"color: #000000;\">279</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_LETTERSMALL &nbsp; &nbsp; &nbsp; \"</span> , &nbsp;<span style=\"color: #000000;\">2</span> , <span style=\"color: #ff0000;\">\"Letter Small &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">216</span>,<span style=\"color: #000000;\">279</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_TABLOID &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , &nbsp;<span style=\"color: #000000;\">3</span> , <span style=\"color: #ff0000;\">\"Tabloid &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">280</span>,<span style=\"color: #000000;\">432</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_LEDGER &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , &nbsp;<span style=\"color: #000000;\">4</span> , <span style=\"color: #ff0000;\">\"Ledger &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">432</span>,<span style=\"color: #000000;\">280</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_LEGAL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , &nbsp;<span style=\"color: #000000;\">5</span> , <span style=\"color: #ff0000;\">\"Legal &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">216</span>,<span style=\"color: #000000;\">356</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_STATEMENT &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , &nbsp;<span style=\"color: #000000;\">6</span> , <span style=\"color: #ff0000;\">\"Statement &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">140</span>,<span style=\"color: #000000;\">216</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_EXECUTIVE &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , &nbsp;<span style=\"color: #000000;\">7</span> , <span style=\"color: #ff0000;\">\"Executive &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">184</span>,<span style=\"color: #000000;\">257</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_A3 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , &nbsp;<span style=\"color: #000000;\">8</span> , <span style=\"color: #ff0000;\">\"A3 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">297</span>,<span style=\"color: #000000;\">420</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_A4 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , &nbsp;<span style=\"color: #000000;\">9</span> , <span style=\"color: #ff0000;\">\"A4 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">210</span>,<span style=\"color: #000000;\">297</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_A4SMALL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , <span style=\"color: #000000;\">10</span> , <span style=\"color: #ff0000;\">\"A4 Small &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">210</span>,<span style=\"color: #000000;\">297</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_A5 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">11</span> , <span style=\"color: #ff0000;\">\"A5 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">148</span>,<span style=\"color: #000000;\">210</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_B4 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">12</span> , <span style=\"color: #ff0000;\">\"B4 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">250</span>,<span style=\"color: #000000;\">354</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_B5 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">13</span> , <span style=\"color: #ff0000;\">\"B5 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">182</span>,<span style=\"color: #000000;\">257</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_FOLIO &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , <span style=\"color: #000000;\">14</span> , <span style=\"color: #ff0000;\">\"Folio &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">216</span>,<span style=\"color: #000000;\">330</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_QUARTO &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">15</span> , <span style=\"color: #ff0000;\">\"Quarto &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">215</span>,<span style=\"color: #000000;\">275</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_10X14 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , <span style=\"color: #000000;\">16</span> , <span style=\"color: #ff0000;\">\"10x14 in &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">254</span>,<span style=\"color: #000000;\">356</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_11X17 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , <span style=\"color: #000000;\">17</span> , <span style=\"color: #ff0000;\">\"11x17 in &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">280</span>,<span style=\"color: #000000;\">432</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_NOTE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">18</span> , <span style=\"color: #ff0000;\">\"Note &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">216</span>,<span style=\"color: #000000;\">279</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_ENV_9 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , <span style=\"color: #000000;\">19</span> , <span style=\"color: #ff0000;\">\"Envelope #9 &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">098</span>,<span style=\"color: #000000;\">225</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_ENV_10 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">20</span> , <span style=\"color: #ff0000;\">\"Envelope #10 &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">105</span>,<span style=\"color: #000000;\">241</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_ENV_11 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">21</span> , <span style=\"color: #ff0000;\">\"Envelope #11 &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">114</span>,<span style=\"color: #000000;\">264</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_ENV_12 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">22</span> , <span style=\"color: #ff0000;\">\"Envelope #12 &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">109</span>,<span style=\"color: #000000;\">279</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_ENV_14 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">23</span> , <span style=\"color: #ff0000;\">\"Envelope #14 &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">127</span>,<span style=\"color: #000000;\">292</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_ENV_DL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">27</span> , <span style=\"color: #ff0000;\">\"Envelope DL &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">110</span>,<span style=\"color: #000000;\">220</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_ENV_C5 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">28</span> , <span style=\"color: #ff0000;\">\"Envelope C5 &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">162</span>,<span style=\"color: #000000;\">229</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_ENV_C3 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">29</span> , <span style=\"color: #ff0000;\">\"Envelope C3 &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">324</span>,<span style=\"color: #000000;\">458</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_ENV_C4 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">30</span> , <span style=\"color: #ff0000;\">\"Envelope C4 &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">229</span>,<span style=\"color: #000000;\">324</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_ENV_C6 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">31</span> , <span style=\"color: #ff0000;\">\"Envelope C6 &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">114</span>,<span style=\"color: #000000;\">162</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_ENV_C65 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , <span style=\"color: #000000;\">32</span> , <span style=\"color: #ff0000;\">\"Envelope C65 &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">114</span>,<span style=\"color: #000000;\">229</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_ENV_B4 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">33</span> , <span style=\"color: #ff0000;\">\"Envelope B4 &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">250</span>,<span style=\"color: #000000;\">353</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_ENV_B5 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">34</span> , <span style=\"color: #ff0000;\">\"Envelope B5 &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">176</span>,<span style=\"color: #000000;\">250</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_ENV_B6 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">35</span> , <span style=\"color: #ff0000;\">\"Envelope B6 &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">176</span>,<span style=\"color: #000000;\">125</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_ENV_ITALY &nbsp; &nbsp; &nbsp; &nbsp; \"</span> , <span style=\"color: #000000;\">36</span> , <span style=\"color: #ff0000;\">\"Envelope &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">110</span>,<span style=\"color: #000000;\">230</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_ENV_MONARCH &nbsp; &nbsp; &nbsp; \"</span> , <span style=\"color: #000000;\">37</span> , <span style=\"color: #ff0000;\">\"Envelope Monarch &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">098</span>,<span style=\"color: #000000;\">191</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_ENV_PERSONAL &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">38</span> , <span style=\"color: #ff0000;\">\"6 3/4 Envelope &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">092</span>,<span style=\"color: #000000;\">165</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_FANFOLD_US &nbsp; &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">39</span> , <span style=\"color: #ff0000;\">\"US Std Fanfold &nbsp; &nbsp; &nbsp;\"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">378</span>,<span style=\"color: #000000;\">279</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_FANFOLD_STD_GERMAN\"</span> , <span style=\"color: #000000;\">40</span> , <span style=\"color: #ff0000;\">\"German Std Fanfold &nbsp;\"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">216</span>,<span style=\"color: #000000;\">305</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"DMPAPER_FANFOLD_LGL_GERMAN\"</span> , <span style=\"color: #000000;\">41</span> , <span style=\"color: #ff0000;\">\"German Legal Fanfold\"</span> , <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">216</span>,<span style=\"color: #000000;\">330</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp;aRecmm = oPrn:<span style=\"color: #000000;\">Pix2Mmtr</span><span style=\"color: #000000;\">&#40;</span>aPoint<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>, aPoint<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;nW = <span style=\"color: #0000ff;\">ROUND</span><span style=\"color: #000000;\">&#40;</span>aRecmm<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>,<span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;nH = <span style=\"color: #0000ff;\">ROUND</span><span style=\"color: #000000;\">&#40;</span>aRecmm<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>,<span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">for</span> wx=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> len<span style=\"color: #000000;\">&#40;</span>aPapers<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> aPapers<span style=\"color: #000000;\">&#91;</span>wx,<span style=\"color: #000000;\">4</span>,<span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> = nW .AND. aPapers<span style=\"color: #000000;\">&#91;</span>wx,<span style=\"color: #000000;\">4</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> = nH<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">&#123;</span>aPapers<span style=\"color: #000000;\">&#91;</span>wx,<span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>,aPapers<span style=\"color: #000000;\">&#91;</span>wx,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>,aPapers<span style=\"color: #000000;\">&#91;</span>wx,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">next</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"\"</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #ff0000;\">\"\"</span><span style=\"color: #000000;\">&#125;</span><br />&nbsp;</div>[/code:2wnuyicn]\n\u001a", "time": "18:51", "topic": "Comportamiento extraño PRINT oPrn FILE \"factura.pdf\"", "username": "karinha" } ]
Comportamiento extraño PRINT oPrn FILE "factura.pdf"
[ { "date": "2019-05-16", "forum": "FiveWin para Harbour/xHarbour", "text": "[code=fw:quysd0qr]<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;\">\"Directry.ch\"</span><br /><br /><span style=\"color: #00C800;\">static</span> oWnd<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> oBar, Tipo<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;\">\"Factura\"</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTONBAR</span> oBar _3D <span style=\"color: #0000ff;\">OF</span> oWnd<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">OF</span> oBar <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">&#40;</span> ImpFactura<span style=\"color: #000000;\">&#40;</span> tipo <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;SET <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #ff0000;\">\"Factura\"</span> NOINSET CLOCK DATE KEYBOARD<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;\">function</span> ImpFactura<span style=\"color: #000000;\">&#40;</span> tipo <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">local</span> oPrn, oFont, nRow, nCol<br />&nbsp; &nbsp; <span style=\"color: #00C800;\">local</span> cName &nbsp; &nbsp;:= PadR<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Cliente de Prueba\"</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">local</span> cCity &nbsp; &nbsp;:= PadR<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"1234567890\"</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">local</span> cCountry := PadR<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Calle 55 No. 777-988\"</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">local</span> cItem &nbsp; &nbsp;:= <span style=\"color: #ff0000;\">\"31198765431\"</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">IF</span> FILE<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"factura.pdf\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; FERASE<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"factura.pdf\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">IF</span> FILE<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"factura.pdf\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;? <span style=\"color: #ff0000;\">\"Que pasa con el PDF? No borra\"</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">ENDIF</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">ENDIF</span><br />&nbsp; &nbsp;<br />&nbsp; &nbsp; <span style=\"color: #00C800;\">PRINT</span> oPrn FILE <span style=\"color: #ff0000;\">\"factura.pdf\"</span><br /><br />&nbsp; &nbsp; &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;\">\"TAHOMA\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-14</span> <span style=\"color: #0000ff;\">OF</span> oPrn<br /><br />&nbsp; &nbsp; &nbsp; &nbsp;oPrn:<span style=\"color: #000000;\">SetPage</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">&#41;</span> &nbsp;<span style=\"color: #B900B9;\">//-> A4</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oPrn:<span style=\"color: #000000;\">SetPortrait</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp;<span style=\"color: #B900B9;\">//-> Vertical(Retrato)</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">PAGE</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">// oPrn:PrintImage( 100, 700 , \"Logo.bmp\", 715 , 1000 )</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nRow &nbsp; &nbsp; &nbsp; &nbsp;:= &nbsp; <span style=\"color: #000000;\">1.50</span> &nbsp;<span style=\"color: #B900B9;\">// Linha</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nCol &nbsp; &nbsp; &nbsp; &nbsp;:= <span style=\"color: #000000;\">650.00</span> &nbsp;<span style=\"color: #B900B9;\">// Coluna do Logo.jpg</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">// JPG es mejor.</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ nRow, nCol <span style=\"color: #00C800;\">PRINT</span> <span style=\"color: #0000ff;\">TO</span> oPrn <span style=\"color: #0000ff;\">IMAGE</span> <span style=\"color: #ff0000;\">\"LOGO.JPG\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">650</span>, <span style=\"color: #000000;\">650</span> LASTROW nRow<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ <span style=\"color: #000000;\">3.00</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #00C800;\">PRINT</span> <span style=\"color: #0000ff;\">TO</span> oPrn <span style=\"color: #0000ff;\">TEXT</span> cName &nbsp; &nbsp;INCHES <span style=\"color: #0000ff;\">FONT</span> oFont<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ <span style=\"color: #000000;\">3.30</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #00C800;\">PRINT</span> <span style=\"color: #0000ff;\">TO</span> oPrn <span style=\"color: #0000ff;\">TEXT</span> cCity &nbsp; &nbsp;INCHES <span style=\"color: #0000ff;\">FONT</span> oFont<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ <span style=\"color: #000000;\">3.60</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #00C800;\">PRINT</span> <span style=\"color: #0000ff;\">TO</span> oPrn <span style=\"color: #0000ff;\">TEXT</span> cCountry INCHES <span style=\"color: #0000ff;\">FONT</span> oFont<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ <span style=\"color: #000000;\">3.90</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #00C800;\">PRINT</span> <span style=\"color: #0000ff;\">TO</span> oPrn <span style=\"color: #0000ff;\">TEXT</span> cItem &nbsp; &nbsp;INCHES <span style=\"color: #0000ff;\">FONT</span> oFont<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">// esto no funciona en mi version.</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @ <span style=\"color: #000000;\">3.00</span>,<span style=\"color: #000000;\">5.00</span> <span style=\"color: #00C800;\">PRINT</span> <span style=\"color: #0000ff;\">TO</span> oPrn <span style=\"color: #0000ff;\">TEXT</span> dato ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AS BARCODE TYPE <span style=\"color: #ff0000;\">\"QR-CODE\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">1.9</span>,<span style=\"color: #000000;\">1.9</span> INCHES<br /><br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">ENDPAGE</span><br /><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDPRINT</span><br /><br />&nbsp; &nbsp; <span style=\"color: #B900B9;\">// oFont:End()</span><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">FONT</span> oFont<br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">IF</span> FILE<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"factura.pdf\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp;? <span style=\"color: #ff0000;\">\"PDF Creado. Very Good\"</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br />&nbsp;</div>[/code:quysd0qr]\n\u001a", "time": "20:19", "topic": "Comportamiento extraño PRINT oPrn FILE \"factura.pdf\"", "username": "karinha" } ]
Comportamiento extraño PRINT oPrn FILE "factura.pdf"
[ { "date": "2019-05-16", "forum": "FiveWin para Harbour/xHarbour", "text": "karinha, muchas gracias pror el dato <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> , funciono a la perfección.\n\nAsi quedo el reporte final\n\n[code=fw:dyxcs0hl]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />***********************************************************************<br /><span style=\"color: #00C800;\">function</span> ImpFactura<span style=\"color: #000000;\">&#40;</span>tipo<span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">local</span> oPrn, oFont<br />&nbsp; &nbsp; <span style=\"color: #00C800;\">local</span> cName &nbsp; &nbsp;:= PadR<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Cliente de Prueba\"</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">local</span> cCity &nbsp; &nbsp;:= PadR<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"1234567890\"</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">local</span> cCountry := PadR<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Calle 55 No. 777-988\"</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">local</span> cItem &nbsp; &nbsp;:= <span style=\"color: #ff0000;\">\"31198765431\"</span> &nbsp; <br />&nbsp; &nbsp; <span style=\"color: #00C800;\">local</span> dato &nbsp;:= <span style=\"color: #ff0000;\">\"NumFac:5465465\"</span><br /><br />&nbsp; &nbsp; <br />&nbsp; &nbsp; <span style=\"color: #00C800;\">PRINT</span> oPrn PREVIEW<br /><br /><br />&nbsp; &nbsp; &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;\">\"TAHOMA\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-14</span> <span style=\"color: #0000ff;\">OF</span> oPrn<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PAGE</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; oPrn:<span style=\"color: #000000;\">PrintImage</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">100</span> , <span style=\"color: #000000;\">700</span> , <span style=\"color: #ff0000;\">\"Logo.bmp\"</span>, <span style=\"color: #000000;\">715</span> , <span style=\"color: #000000;\">1000</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; @ <span style=\"color: #000000;\">3.00</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #00C800;\">PRINT</span> <span style=\"color: #0000ff;\">TO</span> oPrn <span style=\"color: #0000ff;\">TEXT</span> cName &nbsp; &nbsp;INCHES <span style=\"color: #0000ff;\">FONT</span> oFont<br />&nbsp; &nbsp; &nbsp; &nbsp; @ <span style=\"color: #000000;\">3.30</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #00C800;\">PRINT</span> <span style=\"color: #0000ff;\">TO</span> oPrn <span style=\"color: #0000ff;\">TEXT</span> cCity &nbsp; &nbsp;INCHES <span style=\"color: #0000ff;\">FONT</span> oFont<br />&nbsp; &nbsp; &nbsp; &nbsp; @ <span style=\"color: #000000;\">3.60</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #00C800;\">PRINT</span> <span style=\"color: #0000ff;\">TO</span> oPrn <span style=\"color: #0000ff;\">TEXT</span> cCountry INCHES <span style=\"color: #0000ff;\">FONT</span> oFont<br />&nbsp; &nbsp; &nbsp; &nbsp; @ <span style=\"color: #000000;\">3.90</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #00C800;\">PRINT</span> <span style=\"color: #0000ff;\">TO</span> oPrn <span style=\"color: #0000ff;\">TEXT</span> cItem &nbsp; &nbsp;INCHES <span style=\"color: #0000ff;\">FONT</span> oFont<br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; @ <span style=\"color: #000000;\">3.00</span>,<span style=\"color: #000000;\">5.00</span> <span style=\"color: #00C800;\">PRINT</span> <span style=\"color: #0000ff;\">TO</span> oPrn <span style=\"color: #0000ff;\">TEXT</span> dato ;<br />&nbsp; &nbsp; &nbsp; &nbsp; AS BARCODE TYPE <span style=\"color: #ff0000;\">\"QR-CODE\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">1.9</span>,<span style=\"color: #000000;\">1.9</span> INCHES<br /><br /><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDPAGE</span><br />&nbsp; &nbsp; <br />&nbsp; &nbsp; <span style=\"color: #B900B9;\">// sin preview</span><br />&nbsp; &nbsp; oPrn:<span style=\"color: #000000;\">lMeta</span> = tipo&nbsp; &nbsp;<br /><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDPRINT</span><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">FONT</span> oFont<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> !tipo<br />&nbsp; &nbsp; &nbsp; &nbsp; FWSavePreviewToPDF<span style=\"color: #000000;\">&#40;</span> oPrn, <span style=\"color: #ff0000;\">\"pruebafactura.pdf\"</span> ,.f. <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br /><br />&nbsp; &nbsp; <br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br />&nbsp;</div>[/code:dyxcs0hl]", "time": "21:43", "topic": "Comportamiento extraño PRINT oPrn FILE \"factura.pdf\"", "username": "leandro" } ]
Comportamiento extraño PRINT oPrn FILE "factura.pdf"
[ { "date": "2005-12-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio \nUtilizando el ejemplo testsmtp, FWH27 y la configuración de mi servidor de correo, ciertas direcciones de correo no reciben los mensajes que envio, por ejemplo una cuenta en gmail. Lo curioso es que el envio se realiza, o por lo menos ::bDone así lo recibe.\n\n¿Alguna idea?\n\nSaludos \nToni Sales", "time": "14:10", "topic": "Comportamiento extraño con tSmtp.", "username": "tsales" } ]
Comportamiento extraño con tSmtp.
[ { "date": "2005-12-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Toni,\n\nEnvias algún documento adjunto ?", "time": "00:59", "topic": "Comportamiento extraño con tSmtp.", "username": "Antonio Linares" } ]
Comportamiento extraño con tSmtp.
[ { "date": "2005-12-12", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":3kauy25z]Toni,\n\nEnvias algún documento adjunto ?[/quote:3kauy25z]\n\nHe probado de las dos formas. Te adjunto el código:\n\nfunction SendMail()\n\n local oOutMail, cIP\n\n oWnd:SetMsg( \"Sending Internet email...\" )\n WSAStartup()\n oOutMail := TSmtp():New( \"smtp.midominio.com\" ) \n \n\n oOutMail:bConnecting = {||oWnd:SetMsg( \"Connecting ...\" ) }\n oOutMail:bConnected = {||oWnd:SetMsg( \"Connected\" ) }\n oOutMail:bDone = { || msginfo(\"Mensaje enviado correctamente\") }\n oOutMail:SendMail( \"[email protected]\",; // From\n { \"[email protected]\" },; // To\n \"Dime si recibes este correo\",; // Msg Text\n \"Prueba de envio correo Smtp\" ) // Subject\nreturn nil\n\n\nSaludos\nToni SAles", "time": "09:00", "topic": "Comportamiento extraño con tSmtp.", "username": "tsales" } ]
Comportamiento extraño con tSmtp.
[ { "date": "2005-12-13", "forum": "FiveWin para Harbour/xHarbour", "text": "en mi prueba, de testsmtp.prg, enviando a mi propia cuenta, lo hace pero, de los adjuntos solo llega basura\n\nIt is working!!!\n\napplication/x-zip-compressed;\n\tname=\"testsmtp.prg\"\nContent-Transfer-Encoding: base64\nContent-Disposition: inline;\n\tfilename=\"TESTSMTP.PRG\"\n\nLy8gVGVzdGluZyBGaXZlV2luIG5ldyBJbnRlcm5ldCBPdXRnb2luZyBtYWlsIChTTVRQIHByb3Rv\nY29sKSBDbGFzcw0KDQojaW5jbHVkZSAiRml2ZVdpbi5jaCINCg0Kc3RhdGljIG9XbmQNCg0KLy8t\n...\n\napplication/x-zip-compressed;\n\tname=\"testsmtp.zip\"\nContent-Transfer-Encoding: base64\nContent-Disposition: inline;\n\tfilename=\"TESTSMTP.ZIP\"\n\nUEsDBBQAAgAIAOKT0i53UfJ1LwIAAMIFAAAMAAAAdGVzdHNtdHAucHJnvZRNj9owEIbvK+1/GNIL\nSJQceqNCKh9hG3WTIOIW9VR5zQTcBhvFTind3f/ecQIUKMuprW/2zDzvfNj2fWBorFQLGMvvOJMK\n...\n\nEnviando a otras cuentas gmail y yahoo, por ej., no llegan\n\nAlguna solución?\ngracias", "time": "20:30", "topic": "Comportamiento extraño con tSmtp.", "username": "MarioG" } ]
Comportamiento extraño con tSmtp.
[ { "date": "2006-02-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio\nEn algunas ocasiones he reportado el comportamiento extraño en el repintado de ventanas con color de fondo, cuando otra ventana es movida por encima. Creo haber localizado el problema pero se escapa a mis conocimientos el poderlo solucionar. Proviene del uso de la clase TWbrose de Hernan y concrétamente la línea:\n\n#define _PutSym( _SymEval ) hb_vmPushSymbol( &hb_symEval )\n\nen el fichero \"WBRWLINE.C\".\n\n Y como muestra un boton:\n\n[url:388l2eam]http&#58;//hyperupload&#46;com/download/a680c984/Dibujo1&#46;JPG&#46;html[/url:388l2eam]\n\nEn la imagen se aprecian los residuos.\n\nEl codigo fuente utilizado es el siguiente, enlazando al mismo tiempo el fichero en \"c\" al buildx.bat :\n\necho wbrwline.obj + >> b32.bc\n-----------------------------------------------------------------\n#include \"FiveWin.ch\"\n\nstatic oWnd\n\nfunction Main()\n\n local oWndEdit, oBar, oIcon, oImage\n local cName := \"FiveWin power\"\n\n DEFINE ICON oIcon RESOURCE \"test\"\n\n DEFINE WINDOW oWnd FROM 1, 1 TO 20, 70 TITLE \"I am the MDI Frame\" ;\n COLOR \"W+/R\" ;\n ICON oIcon\n\n ACTIVATE WINDOW oWnd MAXIMIZED ;\n VALID MsgYesNo( \"Want to End ?\" )\n\nreturn nil\n---------------------------------------------------------------------------\n\nSaludos", "time": "10:17", "topic": "Comportamiento extraño por el uso de wbrwline.c", "username": "tsales" } ]
Comportamiento extraño por el uso de wbrwline.c
[ { "date": "2006-02-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Toni,\n\nEn el ejemplo que proporcionas no estás usando el browse.\n\nEl problema proviene por una lentitud al procesar todos los mensajes de pintado que envia Windows, debido al uso del pintado a doble buffer.\n\nSi en la Clase TWindow declaras los métodos DispBegin() y DispEnd() como VIRTUAL, entonces desaparecerá el problema, pero no tendrás pintado a doble buffer que elimina muchos parpadeos, pero tiene ese desagradable efecto, debido al tiempo que consume la maquina virtual de la aplicación.", "time": "23:20", "topic": "Comportamiento extraño por el uso de wbrwline.c", "username": "Antonio Linares" } ]
Comportamiento extraño por el uso de wbrwline.c
[ { "date": "2006-02-14", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":m1c2ojw6]Toni,\n\nEn el ejemplo que proporcionas no estás usando el browse.\n\nEl problema proviene por una lentitud al procesar todos los mensajes de pintado que envia Windows, debido al uso del pintado a doble buffer.\n\nSi en la Clase TWindow declaras los métodos DispBegin() y DispEnd() como VIRTUAL, entonces desaparecerá el problema, pero no tendrás pintado a doble buffer que elimina muchos parpadeos, pero tiene ese desagradable efecto, debido al tiempo que consume la maquina virtual de la aplicación.[/quote:m1c2ojw6]\n\nAntonio\nEl tema es que si comenta la linea que te indico y sin usar el browse el repintado se realiza correctamente. Yo le he probado en 2 equipos diferentes con tarjetas de video + o - rápidas y en ambos casos el comportamiento es identico. \nCon el problema del doble buffer se entendería un comporamiento lógico si tardando más, al final, lo repintara correctamente. Lo curioso es que cuando la ventana recibe el foco, esta se queda con los residuos hasta que se fuerza de alguna forma un repintado.\n\nSaludos", "time": "08:44", "topic": "Comportamiento extraño por el uso de wbrwline.c", "username": "tsales" } ]
Comportamiento extraño por el uso de wbrwline.c
[ { "date": "2006-02-14", "forum": "FiveWin para Harbour/xHarbour", "text": "Toni,\n\nEs como si se perdiesen mensajes de pintado, ya que si luego redimensionas la ventana ó la maximizas, se pinta correctamente.\n\nEs un problema que comenzó con el pintado a doble buffer y que todavía no sabemos exactamente por qué ocurre.", "time": "13:20", "topic": "Comportamiento extraño por el uso de wbrwline.c", "username": "Antonio Linares" } ]
Comportamiento extraño por el uso de wbrwline.c
[ { "date": "2014-11-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Compañeros, Estoy usando dos browse ( adjunto imagen ), ambos tiene la propiedad :nStretchCol := STRETCHCOL_WIDEST, sin embargo en una de las tablas funciona y la otra me estira la última columna. Esto también ocurría FWH 12.04 siempre con Harbour, tengo otro proyecto que uso xHarbour y funciona bien en ambos browse. Actualmente uso FWH 14.09. Alguna idea ??. Muchísimas gracias . \n\n<!-- m --><a class=\"postlink\" href=\"http://imageshack.com/a/img538/7880/e12LjV.jpg\">http://imageshack.com/a/img538/7880/e12LjV.jpg</a><!-- m -->\n\nSaludos", "time": "23:59", "topic": "Comportamiento nStretchCol", "username": "horacio" } ]
Comportamiento nStretchCol
[ { "date": "2012-11-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Estoy pasando una aplicación que se encuentra compilada en xHarbour a Harbour. Uso MySql como motor. Normalmente uso Array para levantar los datos y mostrarlos en xBrowse. He adjuntado el fuente de la clase al proyecto pero me ocurre un error raro. Cuando utilizo el método ToExcel, el control trata de leer el recordset y por supuesto me genera un error, ya que el recordset lo cierro una vez obtenidos los datos. Pero lo más extraño es que si lo desmonto del proyecto funciona perfectamente. Esto no pasaba con xHarbour. Estoy bastante decepcionado con este pasaje a pesar de que harbour parece más robusto. Alguien sabe ??? Gracias ...\n\nSaludos", "time": "17:03", "topic": "Comportamiento raro en xbrowse", "username": "horacio" } ]
Comportamiento raro en xbrowse
[ { "date": "2012-11-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Aquí la descripción del error\n\n[code=fw:391srfpg]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />Application<br />===========<br />&nbsp; &nbsp;Path and <span style=\"color: #0000ff;\">name</span>: <span style=\"color: #000000;\">C</span>:\\sipep_sql\\SIPEP.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;\">2</span>,<span style=\"color: #000000;\">752</span>,<span style=\"color: #000000;\">512</span> bytes<br />&nbsp; &nbsp;Compiler version: <span style=\"color: #000000;\">Harbour</span> <span style=\"color: #000000;\">3.1</span>.0dev <span style=\"color: #000000;\">&#40;</span>Rev. <span style=\"color: #000000;\">17222</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;FiveWin &nbsp;Version: <span style=\"color: #000000;\">FWH</span> <span style=\"color: #000000;\">12.03</span><br />&nbsp; &nbsp;Windows version: <span style=\"color: #000000;\">5.1</span>, Build <span style=\"color: #000000;\">2600</span> Service Pack <span style=\"color: #000000;\">2</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;\">4</span> secs <br />&nbsp; &nbsp;Error occurred <span style=\"color: #00C800;\">at</span>: <span style=\"color: #000000;\">06</span>/<span style=\"color: #000000;\">11</span>/<span style=\"color: #000000;\">2012</span>, <span style=\"color: #000000;\">16</span>:<span style=\"color: #000000;\">07</span>:<span style=\"color: #000000;\">35</span><br />&nbsp; &nbsp;Error description: <span style=\"color: #000000;\">Error</span> BASE/<span style=\"color: #000000;\">1004</span> &nbsp;<span style=\"color: #0000ff;\">Message</span> not found: <span style=\"color: #00C800;\">NIL</span>:<span style=\"color: #000000;\">FIELDS</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> = U &nbsp; <br /><br />Stack Calls<br />===========<br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: &nbsp;=> __ERRRT_SBASE<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>: ../../../tobject.prg => <span style=\"color: #00C800;\">NIL</span>:<span style=\"color: #000000;\">ERROR</span><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>: ../../../tobject.prg => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>HBOBJECT<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>: ../../../tobject.prg => <span style=\"color: #00C800;\">NIL</span>:<span style=\"color: #000000;\">MSGNOTFOUND</span><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>: ../../../tobject.prg => <span style=\"color: #00C800;\">NIL</span>:<span style=\"color: #000000;\">FIELDS</span><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;\">C</span>:\\sipep_sql\\<span style=\"color: #0000ff;\">xbrowse</span>.prg => TXBROWSE:<span style=\"color: #000000;\">TOEXCEL</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">6880</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: &nbsp;=> <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>EVAL<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">126</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\<span style=\"color: #00C800;\">function</span>\\MSGRUN.PRG => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>MSGRUN<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">36</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">DIALOG</span>.PRG => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>TDIALOG<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">87</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">DIALOG</span>.PRG => TDIALOG:<span style=\"color: #00C800;\">DISPLAY</span><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>: .\\source\\classes\\<span style=\"color: #0000ff;\">DIALOG</span>.PRG => TDIALOG:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">873</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: &nbsp;=> DIALOGBOXINDIRECT<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>: .\\source\\classes\\<span style=\"color: #0000ff;\">DIALOG</span>.PRG => TDIALOG:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">270</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\<span style=\"color: #00C800;\">function</span>\\MSGRUN.PRG => MSGRUN<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">42</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">C</span>:\\sipep_sql\\PADRON.PRG => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>INICIA<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">126</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\TRBTN.PRG => TRBTN:<span style=\"color: #0000ff;\">CLICK</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">676</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\TRBTN.PRG => TRBTN:<span style=\"color: #000000;\">LBUTTONUP</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">854</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\TRBTN.PRG => TRBTN:<span style=\"color: #000000;\">LBUTTONDOWN</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">758</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\CONTROL.PRG => TCONTROL:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1687</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\TRBTN.PRG => TRBTN:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1520</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => _FWH<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">3153</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: &nbsp;=> WINRUN<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>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => TMDIFRAME:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">980</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">C</span>:\\sipep_sql\\Sipep.prg => EMPIEZA<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">199</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">C</span>:\\sipep_sql\\Sipep.prg => MAIN<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">14</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:391srfpg]\n\nGracias", "time": "20:08", "topic": "Comportamiento raro en xbrowse", "username": "horacio" } ]
Comportamiento raro en xbrowse
[ { "date": "2012-11-06", "forum": "FiveWin para Harbour/xHarbour", "text": "There should not be any difference between xHarbour and Harbour.\nYour code must be closing the recordset object before closing the browse window.", "time": "03:18", "topic": "Comportamiento raro en xbrowse", "username": "nageswaragunupudi" } ]
Comportamiento raro en xbrowse
[ { "date": "2012-11-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Rao, thanks for the reply but I do not think I understood\n\nI'm going on an application that is compiled in xHarbour to Harbour. Using MySQL as. Normally used to lift Array data and display it in xBrowse. I have attached the source of the class to the project but I can think of a weird error. When I use the method ToExcel, the control tries to read the recordset and of course fails me as I close the recordset data once obtained. But the strangest thing is that if you dismount the project works perfectly. This did not happen with xHarbour. I'm pretty disappointed with this passage although Harbour seems more robust. Anyone know??? Thanks ...", "time": "12:24", "topic": "Comportamiento raro en xbrowse", "username": "horacio" } ]
Comportamiento raro en xbrowse
[ { "date": "2021-02-22", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola :\n\nHe observado un comportamiento que yo considero extraño sobre la ultima version de Harbour 32 bits del 31-01 compilada con BCC74 , bajada de la\nweb del amigo Mel. En concreto es la (r2101261627)\n\nEn las otras versiones abrias un terminal con cmd.exe y escribias lo tipico harbour --version y te salia la version que tenias.\nahora con esta ultima no sale absolutamente nada, solamente sale si abres el terminal de GitBash, ahi como antes.\n\nSin embargo los buildh.bat , el FivEdit etc funcionan bien. Por supuesto en las variables de entorno en el PATH tengo definida la ruta del compilador \n\nSolo es una curiosidad, yo la verdad no le encuentro la explicacion, \n\nUn saludo a todos.\n\nJose.", "time": "14:22", "topic": "Comportamiento ultima version Harbour (r2101261627) SOLVED", "username": "jvtecheto" } ]
Comportamiento ultima version Harbour (r2101261627) SOLVED
[ { "date": "2021-02-22", "forum": "FiveWin para Harbour/xHarbour", "text": "I confirm the bug. It seems that the output of the compiler is not to the stdout anymore.\n\nEMG", "time": "15:41", "topic": "Comportamiento ultima version Harbour (r2101261627) SOLVED", "username": "Enrico Maria Giordano" } ]
Comportamiento ultima version Harbour (r2101261627) SOLVED
[ { "date": "2021-02-22", "forum": "FiveWin para Harbour/xHarbour", "text": "This build seems to work fine:\n\n[url:qse4h5wy]https&#58;//github&#46;com/FiveTechSoft/Harbour_builder/blob/master/harbour_win32_bcc_2020_10_19&#46;zip[/url:qse4h5wy]", "time": "19:00", "topic": "Comportamiento ultima version Harbour (r2101261627) SOLVED", "username": "Antonio Linares" } ]
Comportamiento ultima version Harbour (r2101261627) SOLVED
[ { "date": "2021-02-22", "forum": "FiveWin para Harbour/xHarbour", "text": "Yes, but it's older.\n\nEMG", "time": "19:10", "topic": "Comportamiento ultima version Harbour (r2101261627) SOLVED", "username": "Enrico Maria Giordano" } ]
Comportamiento ultima version Harbour (r2101261627) SOLVED
[ { "date": "2021-02-23", "forum": "FiveWin para Harbour/xHarbour", "text": "From Mel Smith:\n\n[quote:luyxxoa6]Hi Enrico:\n I reported the fault to the Harbour-Users group a few minutes ago.\nWe'll see what happens. But that group is almost totally using MinGW. So, I don't expect an immediate answer.\n However, there were two changes made in January - by Phil Krylov and Oleksii Myronenko. *They* might look deeper.[/quote:luyxxoa6]\n\nEMG", "time": "09:45", "topic": "Comportamiento ultima version Harbour (r2101261627) SOLVED", "username": "Enrico Maria Giordano" } ]
Comportamiento ultima version Harbour (r2101261627) SOLVED
[ { "date": "2021-02-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola José Vicente !!!\n\nTe refieres a \n\n[code=fw:3oempmf0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">F:\\TMP\\Harbour\\Borland\\bin>harbour --version<br />Harbour <span style=\"color: #000000;\">3.2</span>.0dev <span style=\"color: #000000;\">&#40;</span>r2101261627<span style=\"color: #000000;\">&#41;</span><br />Copyright <span style=\"color: #000000;\">&#40;</span>c<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">1999</span><span style=\"color: #000000;\">-2020</span>, https:<span style=\"color: #B900B9;\">//harbour.github.io/</span></div>[/code:3oempmf0]\n\ny\n\n[code=fw:3oempmf0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">F:\\TMP\\Harbour\\Borland\\bin>harbour -build<br />Harbour <span style=\"color: #000000;\">3.2</span>.0dev <span style=\"color: #000000;\">&#40;</span>r2101261627<span style=\"color: #000000;\">&#41;</span><br />Copyright <span style=\"color: #000000;\">&#40;</span>c<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">1999</span><span style=\"color: #000000;\">-2020</span>, https:<span style=\"color: #B900B9;\">//harbour.github.io/</span><br /><br />Harbour Build Info<br />---------------------------<br />Version: <span style=\"color: #000000;\">Harbour</span> <span style=\"color: #000000;\">3.2</span>.0dev <span style=\"color: #000000;\">&#40;</span>r2101261627<span style=\"color: #000000;\">&#41;</span><br />Compiler: <span style=\"color: #000000;\">Borland</span>/Embarcadero C++ <span style=\"color: #000000;\">7.4</span> <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">32</span>-bit<span style=\"color: #000000;\">&#41;</span><br />Platform: <span style=\"color: #000000;\">Windows</span> <span style=\"color: #000000;\">7</span> <span style=\"color: #000000;\">6.1</span> SP1<br />PCode version: <span style=\"color: #000000;\">0.3</span><br />ChangeLog last entry: <span style=\"color: #000000;\">2021</span><span style=\"color: #000000;\">-01</span><span style=\"color: #000000;\">-26</span> <span style=\"color: #000000;\">18</span>:<span style=\"color: #000000;\">27</span> UTC<span style=\"color: #000000;\">+0200</span> Oleksii Myronenko <span style=\"color: #000000;\">&#40;</span>m.oleksa ukr.<br />net<span style=\"color: #000000;\">&#41;</span><br />ChangeLog <span style=\"color: #0000ff;\">ID</span>: 37e7b7f3a705b9c54eb8441fde553f4eb70c9403<br />Built <span style=\"color: #0000ff;\">on</span>: <span style=\"color: #000000;\">Feb</span>  <span style=\"color: #000000;\">7</span> <span style=\"color: #000000;\">2021</span> <span style=\"color: #000000;\">18</span>:<span style=\"color: #000000;\">31</span>:<span style=\"color: #000000;\">31</span><br />Extra Harbour compiler options: -l-<br />Extra C compiler options: -w-<br />Extra linker options: -LF:\\Develop\\Borland\\BCC74_32\\lib\\win -LF:\\Develop\\Harbour<br />Binaries\\Borland\\<span style=\"color: #000000;\">7432</span>\\lib\\win\\bcc<br />Build options: <span style=\"color: #000000;\"><span style=\"color: #000000;\">&#40;</span>Clipper</span> <span style=\"color: #000000;\">5</span>.3b<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#40;</span>Clipper <span style=\"color: #000000;\">5</span>.x undoc<span style=\"color: #000000;\">&#41;</span><br />---------------------------</div>[/code:3oempmf0]\n\nSaludos,", "time": "12:51", "topic": "Comportamiento ultima version Harbour (r2101261627) SOLVED", "username": "Baxajaun" } ]
Comportamiento ultima version Harbour (r2101261627) SOLVED
[ { "date": "2021-02-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Si Felix.\n\nA eso me refiero , deberiamos migrar a Mingw en Harbour , compilador y Fivewin construido con Mingw.\n\nEmbarcadero Borland no creo que mejore el producto, cualquier dia cambia la licencia, mirad que esta haciendo con Delphi.\n[url]\n<!-- m --><a class=\"postlink\" href=\"https://www.clubdelphi.com/foros/showthread.php?t=95081\">https://www.clubdelphi.com/foros/showthread.php?t=95081</a><!-- m -->\n[/url]\n\nAlucinante sus licencias caducan, te obligan a comprar la licencia cada año y eso esta escrito en la letra pequeña, la mayoria de usuarios no lo saben.\n\nDesde luego nosotros con Fivewin no nos podemos quejar hay usuarios con versiones del 2012 o anteriores y encima se les\nda soporte. No solo es necesario un buen producto, hace falta una buena direccion empresaria.\n\nSaludos.\n\nJose.", "time": "15:25", "topic": "Comportamiento ultima version Harbour (r2101261627) SOLVED", "username": "jvtecheto" } ]
Comportamiento ultima version Harbour (r2101261627) SOLVED
[ { "date": "2021-02-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola:\n\nSolucionado, la version construida por Felix con Borland 7.4 funciona bien.\n\nGracias Felix\n\nSaludos.\n\nJose.", "time": "19:36", "topic": "Comportamiento ultima version Harbour (r2101261627) SOLVED", "username": "jvtecheto" } ]
Comportamiento ultima version Harbour (r2101261627) SOLVED
[ { "date": "2021-02-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola,\n\nSi se cambia el compilador por defecto en Windows, debería ser MSVC, que es con el que está construido el propio SO.\n\nA mi juicio, pretender usar Mingw en Windows por defecto es como si Word fuera el procesador por defecto en Linux.\n\nA no se que haya otra razón que se me haya escapado.\n\nUn saludo", "time": "14:07", "topic": "Comportamiento ultima version Harbour (r2101261627) SOLVED", "username": "MOISES" } ]
Comportamiento ultima version Harbour (r2101261627) SOLVED
[ { "date": "2021-02-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Totalmente de acuerdo contigo Moisés\nYo, particularmente utilizo en \"producción\" siempre el VSC ( por ejemplo FIVEDIT está construído con él )\nEl único inconveniente es que los principales desarrolladores de harbour empezaron a desarrollar los últimos \"avances\" haciendo que fuesen compatible con Mingw...... ( a Borland ya lo dejaron hace tiempo )", "time": "14:25", "topic": "Comportamiento ultima version Harbour (r2101261627) SOLVED", "username": "cnavarro" } ]
Comportamiento ultima version Harbour (r2101261627) SOLVED
[ { "date": "2021-02-25", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"MOISES\":3qrhcmt0]Hola,\n\nSi se cambia el compilador por defecto en Windows, debería ser MSVC, que es con el que está construido el propio SO.\n\nA mi juicio, pretender usar Mingw en Windows por defecto es como si Word fuera el procesador por defecto en Linux.\n\nA no se que haya otra razón que se me haya escapado.\n\nUn saludo[/quote:3qrhcmt0]\n\n\n¿ Cómo sabemos que Windows está construido con MSVC ? La verdad es que no tenía ni idea. Lo que si sabía es que MSVC y Windows son del mismo fabricante\n\nWindows cada vez se acerca más al mundo Linux... \n\nNo sé cómo se reparó lo de Harbour, pero quizás sólo le faltó el flag console o algo así, al .bat de compilación. No parece que el asunto tenga demasiada trascendencia\n\nMis dos céntimos", "time": "15:49", "topic": "Comportamiento ultima version Harbour (r2101261627) SOLVED", "username": "hmpaquito" } ]
Comportamiento ultima version Harbour (r2101261627) SOLVED
[ { "date": "2021-02-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola amigos \n\nEn mi humilde opinión yo creo que lo que deberíamos usar es lo que utilice el equipo de Harbour actualmente. ya que es el lenguaje que utilizamos, como este construido Windows aunque importante no lo es tanto.\nSi harbour utiliza mingw esa debería ser nuestra primera opción. Usar también su compilador y con Fivewin no tenemos problema al tener las libs para todos esos compiladores.\n\nPero es una maravilla que podamos elegir.\n\nUn abrazo a todos.\n\nJose. \n\nEnviado desde mi POCOPHONE F1 mediante Tapatalk", "time": "08:11", "topic": "Comportamiento ultima version Harbour (r2101261627) SOLVED", "username": "jvtecheto" } ]
Comportamiento ultima version Harbour (r2101261627) SOLVED
[ { "date": "2021-02-28", "forum": "FiveWin para Harbour/xHarbour", "text": "Jose Vicente, tampoco te falta razón", "time": "23:33", "topic": "Comportamiento ultima version Harbour (r2101261627) SOLVED", "username": "cnavarro" } ]
Comportamiento ultima version Harbour (r2101261627) SOLVED
[ { "date": "2011-01-10", "forum": "FiveWin para Harbour/xHarbour", "text": "He observado distintos comportamientos del Preview con las últimas versiones de Fwh, y no se a que puede ser debido.\n\n- Un comportamiento es, si llamo al preview desde una tbar que tengo en una ventana MDI, tras hacer clic en el icono imprimir, se me baja el preview a la barra de tareas y se me iconiza., y para salir de él, tengo que pinchar en el icono para que vuelva a abrirse y poder hacer clic en salir.\n\n- Otro comportamiento extraño y que antes tampocomo me ocurría, es en otro menú, y llamando también desde una tbar que tengo en otra ventana MDI, resulta que lo que me desaparece es la aplicación, quedándome sólamente en pantalla el preview, y la aplicación no está ni en la barra de tareas. Solo queda como remedio llamar al administrador de tareas de windows y \"matar\" la aplicación.\n\nTambién me he dado cuenta con respecto a éste último comportamiento es que ésto no ocurre si en lugar de llamar al preview desde el boton de la tbar, lo hago desde un dialogo, funciona perfectamente.\n\ncomo puedo solucionarlo?", "time": "13:21", "topic": "Comportamientos de Preview (Solucionado)", "username": "JoseLuis" } ]
Comportamientos de Preview (Solucionado)
[ { "date": "2011-01-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Tenia que poner oPrn:lPrvModal:=.t.", "time": "13:40", "topic": "Comportamientos de Preview (Solucionado)", "username": "JoseLuis" } ]
Comportamientos de Preview (Solucionado)
[ { "date": "2007-09-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio.\nVoy a comprar la ultima versión de fwh.\nQuiero que me hagais factura a la empresa.\nComo lo hacemos\nPor favor contestame al correo privado\nSaludos", "time": "17:15", "topic": "Compra Fwh", "username": "jmua" } ]
Compra Fwh
[ { "date": "2007-09-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Te hemos enviado un email, gracias", "time": "19:59", "topic": "Compra Fwh", "username": "Antonio Linares" } ]
Compra Fwh
[ { "date": "2007-09-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio.\nYa recibi la actualización.\nMuchas gracias", "time": "09:52", "topic": "Compra Fwh", "username": "jmua" } ]
Compra Fwh
[ { "date": "2007-09-13", "forum": "FiveWin para Harbour/xHarbour", "text": "José,\n\nGracias a tí,", "time": "10:12", "topic": "Compra Fwh", "username": "Antonio Linares" } ]
Compra Fwh