messages
listlengths 1
1
| topic
stringlengths 2
60
|
---|---|
[
{
"date": "2006-05-26",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Maurilio,\n\nThanks <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->\n\nThis way seems a little better:\n[code:2lbjgxgf]\n if ! ::lProcessing\n \n ::lProcessing = .t.\n \n if ::bWhen != nil .and. ! Eval( ::bWhen ) \n ::lProcessing = .f.\n return nil \n endif \n ...\n[/code:2lbjgxgf]",
"time": "07:16",
"topic": ":Click() error when TButton is disabled",
"username": "Antonio Linares"
}
] |
:Click() error when TButton is disabled
|
[
{
"date": "2006-05-26",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thanks, Antonio!\n\nRegards,\nMaurilio",
"time": "23:44",
"topic": ":Click() error when TButton is disabled",
"username": "Maurilio Viana"
}
] |
:Click() error when TButton is disabled
|
[
{
"date": "2006-11-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I have a problem with :SetFocus()\n\nIn the following code I have three gets and three pushbuttons.\n\nBy default the Gets are disabled and when the \"Create\" button\nis pressed, the gets should be enabled and the focus should be\nplaced on the 1st get. The \"Create\" and \"Save\" functions of my\ncode below is working Ok enabling and disabling the gets. \n\nBut the oGet1:SetFocus() in Create() function and oBtn1:SetFocus()\nin Save() function are not working at all. \n\nI tried with oDlg:Update() and oDlg:Refresh() also in both Create()\nand Save() functions without sucess.\n\nCan anybody look into the code and suggest me where I am going\nwrong?\n\nI am using FWH 2.8 (September Build) + xHarbour 0.99.61 (Simplex)\n\nThanks \n\n- Ramesh Babu P \n\n\n[code:18tn724t]\n#include \"fivewin.ch\"\n\nFUNCTION main()\n\nLOCAL oDlg, oGet1, oGet2, oGet3, oBtn1, oBtn2, oBtn3, cGet1, cGet2, cGet3\nLOCAL lCreate := .T., lSave := .F., lGo := .F.\n\nSTORE SPACE(30) TO cGet1, cGet2, cGet3\n\nDEFINE DIALOG oDlg RESOURCE \"TESTFOCUS\"\n\nREDEFINE GET oGet1 VAR cGet1 ID 101 OF oDlg UPDATE WHEN lGo \nREDEFINE GET oGet2 VAR cGet2 ID 102 OF oDlg UPDATE WHEN lGo \nREDEFINE GET oGet3 VAR cGet3 ID 103 OF oDlg UPDATE WHEN lGo \n\nREDEFINE BUTTON oBtn1 ID 104 OF oDlg WHEN lCreate ;\n UPDATE ACTION Create(@lCreate,@lSave,@lGo,@oGet1)\n\nREDEFINE BUTTON oBtn2 ID 105 OF oDlg WHEN lSave ;\n UPDATE ACTION Save(@lCreate,@lSave,@lGo,@oBtn1)\n\nREDEFINE BUTTON oBtn3 ID 106 OF oDlg ACTION oDlg:End()\n\nACTIVATE DIALOG oDlg CENTERED ON INIT oBtn1:SetFocus()\n\nRETURN nil\n\n**********\n\nFUNCTION Create(lCreate, lSave, lGo, oGet1)\n\nlSave := .T.\nlCreate := .F.\nlGo := .T.\n\noGet1:SetFocus()\n\nRETURN nil\n\n**********\n\nFUNCTION Save(lCreate, lSave, lGo, oBtn1)\n\nlSave := .F.\nlCreate := .T.\nlGo := .F.\n\noBtn1:SetFocus()\n\nRETURN nil\n\n**********\n\n/****************************************************************************\nget.rc\nproduced by Borland Resource Workshop\n*****************************************************************************/\n\nTESTFOCUS DIALOG 6, 15, 207, 113\nSTYLE DS_MODALFRAME | 0x4L | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU\nCAPTION \"Testing Focus\"\nFONT 8, \"MS Sans Serif\"\n{\n GROUPBOX \"\", 301, 8, 3, 192, 82, BS_GROUPBOX\n LTEXT \"Get - 1\", -1, 20, 23, 30, 8\n EDITTEXT 101, 58, 20, 132, 13\n LTEXT \"Get - 2\", -1, 19, 44, 30, 8\n EDITTEXT 102, 58, 41, 132, 13\n LTEXT \"Get - 3\", -1, 19, 65, 30, 8\n EDITTEXT 103, 58, 62, 132, 13\n PUSHBUTTON \"&Create\", 104, 74, 92, 40, 15\n PUSHBUTTON \"&Save\", 105, 117, 92, 40, 15\n PUSHBUTTON \"&Ok\", 106, 160, 92, 40, 15\n}\n\n[/code:18tn724t]",
"time": "12:45",
"topic": ":SetFocus problem with WHEN clause in Gets and Pushbuttons",
"username": "RAMESHBABU"
}
] |
:SetFocus problem with WHEN clause in Gets and Pushbuttons
|
[
{
"date": "2006-11-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Ramesh,\n\nTry this:\n\noGet1:PostMsg( WM_SETFOCUS ) instead of oGet1:SetFocus()",
"time": "13:00",
"topic": ":SetFocus problem with WHEN clause in Gets and Pushbuttons",
"username": "Antonio Linares"
}
] |
:SetFocus problem with WHEN clause in Gets and Pushbuttons
|
[
{
"date": "2006-11-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr.Antonio\n\nAmazing to get a solution in 5 minues time.\n\nIt is working now Ok. \n\nThank you very much. \n\nBTW, why :SetFocus() is not working!\n\nRegards to you\n\n- Ramesh Babu P",
"time": "13:17",
"topic": ":SetFocus problem with WHEN clause in Gets and Pushbuttons",
"username": "RAMESHBABU"
}
] |
:SetFocus problem with WHEN clause in Gets and Pushbuttons
|
[
{
"date": "2006-11-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Mr.Antonio\n\nOnce the focus is passed on to a get with oGet1:PostMsg(EM_SETFOCUS) \nand when I click on any other controls or press tab, the blinking cursor is\nstill showing on old control (oGet1) and bLostFocus is also not working \nproperly.\n\nJust add the following lines to the above code after redefinition of GETS,\nimplement the oGet1:SetFocus(WM_SETFOCUS) in place of \noGet1:SetFocus(), oBtn1:SetFocus(WM_SETFOCUS) in place of \noBtn1:SetFocus() and test it. You will find the anomaly.\n\n[code:2ayt9kra]\noGet1:bGotFocus := {||oGet1:SetColor(nRGB(0,0,0), nRGB(193,193,255))}\noGet1:bLostFocus := {||oGet1:SetColor(nRGB(0,0,0), nRGB(255,255,255))}\n[/code:2ayt9kra]\n\nThanks to you\n\n- Ramesh Babu P",
"time": "14:51",
"topic": ":SetFocus problem with WHEN clause in Gets and Pushbuttons",
"username": "RAMESHBABU"
}
] |
:SetFocus problem with WHEN clause in Gets and Pushbuttons
|
[
{
"date": "2006-11-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Ramesh,\n\nTry this:\n\noGet1:PostMsg( WM_SETFOCUS )\noBtn1:oJump = oGet1",
"time": "14:55",
"topic": ":SetFocus problem with WHEN clause in Gets and Pushbuttons",
"username": "Antonio Linares"
}
] |
:SetFocus problem with WHEN clause in Gets and Pushbuttons
|
[
{
"date": "2006-11-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Ramesh,\n\n> BTW, why :SetFocus() is not working\n\nBecause Windows returns the focus to the button, after processing the ACTION of the button, so we can not interrupt that process.",
"time": "14:59",
"topic": ":SetFocus problem with WHEN clause in Gets and Pushbuttons",
"username": "Antonio Linares"
}
] |
:SetFocus problem with WHEN clause in Gets and Pushbuttons
|
[
{
"date": "2006-11-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Mr.Antonio\n\nThanks again for immediate attention.\n\n[quote:1mje3lqr]\noBtn1:oJump = oGet1\n[/quote:1mje3lqr]\n\nIf we do not know in advance that the user will jump to oGet1 from oBtn1?\n\nThanks \n\nRamesh Babu P",
"time": "15:07",
"topic": ":SetFocus problem with WHEN clause in Gets and Pushbuttons",
"username": "RAMESHBABU"
}
] |
:SetFocus problem with WHEN clause in Gets and Pushbuttons
|
[
{
"date": "2006-11-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Ramesh,\n\n> If we do not know in advance that the user will jump to oGet1 from oBtn1?\n\nYou set it from the Create() function where you know where it will go.",
"time": "15:10",
"topic": ":SetFocus problem with WHEN clause in Gets and Pushbuttons",
"username": "Antonio Linares"
}
] |
:SetFocus problem with WHEN clause in Gets and Pushbuttons
|
[
{
"date": "2006-11-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr.Antonio\n\nKindly test the above code with the changes you have suggested \nand give me the suitable solution please.\n\nI tried with the all your suggestions with fail.\n\nRegards to you\n\n- Ramesh Babu P",
"time": "15:21",
"topic": ":SetFocus problem with WHEN clause in Gets and Pushbuttons",
"username": "RAMESHBABU"
}
] |
:SetFocus problem with WHEN clause in Gets and Pushbuttons
|
[
{
"date": "2006-11-13",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Ramesh,\n[code:keztvzom]\nFUNCTION Create(lCreate, lSave, lGo, oGet1 ) \n\nlSave := .T. \nlCreate := .F. \nlGo := .T. \n\noGet1:PostMsg( WM_LBUTTONDOWN )\noGet1:PostMsg( WM_LBUTTONUP )\n\nRETURN nil \n[/code:keztvzom]",
"time": "10:28",
"topic": ":SetFocus problem with WHEN clause in Gets and Pushbuttons",
"username": "Antonio Linares"
}
] |
:SetFocus problem with WHEN clause in Gets and Pushbuttons
|
[
{
"date": "2006-11-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr.Antonio \n\nThank you very much for your reply.\n\nAfter spending some time on this, I could get the \nrequired effect with the following statement.\n\n [quote:xmxfaeqj]\noGet1:PostMsg( WM_RBUTTONDOWN )\n[/quote:xmxfaeqj]\n\nRegards to you\n\n- Ramesh Babu P",
"time": "03:16",
"topic": ":SetFocus problem with WHEN clause in Gets and Pushbuttons",
"username": "RAMESHBABU"
}
] |
:SetFocus problem with WHEN clause in Gets and Pushbuttons
|
[
{
"date": "2019-02-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\n\nI must use oCust:setfilter from a substring\n\nThat works perfect <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\n[color=#008000:y3eve3ly][b:y3eve3ly]oCust:ORDSCOPE(0, cLast )\noCust:ORDSCOPE(1, cLast ) [/b:y3eve3ly][/color:y3eve3ly]\n\nbut I want to show the solution using oCust:SetFilter( ... ) <!-- s:!: --><img src=\"{SMILIES_PATH}/icon_exclaim.gif\" alt=\":!:\" title=\"Exclamation\" /><!-- s:!: --> \n\n// the index\noCust:CreateIndex( \"CUSTOMER\", \"CUST1\", \"UPPER(LAST)\", .F. )\n\n// the defined get to be filtered ( substring of field oCust:last using [color=#0000FF:y3eve3ly]< clast >[/color:y3eve3ly] )\n@ 55, 700 GET oGet[1] VAR [color=#0000FF:y3eve3ly]cLast [/color:y3eve3ly] SIZE 100, 22 PICTURE \"!!!!!!!!!!\" PIXEL UPDATE // 10 chars of field < last > C 20\n\n// the function call\nACTION ( SET_FILTER( \"Filter\", nOption, [color=#0000FF:y3eve3ly]ALLTRIM(cLast )[/color:y3eve3ly], nAge1, nAge2, dDate1, dDate2, lMarried1, lMarried2 )\n\n// field < oCust:last > needed to be filtered\n// 'AC' must be replaced with the trimmed -> [color=#0000FF:y3eve3ly]cLast [/color:y3eve3ly]( from the get-field )\n// 2 must be replaced with LEN( [color=#0000FF:y3eve3ly]cLast[/color:y3eve3ly] )\n// works with fixed values <!-- s:!: --><img src=\"{SMILIES_PATH}/icon_exclaim.gif\" alt=\":!:\" title=\"Exclamation\" /><!-- s:!: --> \n[color=#008000:y3eve3ly][b:y3eve3ly]oCust:SetFilter( \" SUBSTR( UPPER( Last ), 1, 2 ) == 'AC' \" ) [/b:y3eve3ly][/color:y3eve3ly] // is OK and is filtering -> Acker\n\nanother working filter shows the a range of age\noCust:SetFilter( \" Age >= \" + STR( nAge1 ) + \" .and. Age <= \" + STR( nAge2 ) ) \n\nI tested different solutions but didn't work\n\nregards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "18:25",
"topic": ":Setfilter from a defined substring ?",
"username": "ukoenig"
}
] |
:Setfilter from a defined substring ?
|
[
{
"date": "2019-02-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote:1kh6f0o7]oCust:SetFilter( \" SUBSTR( UPPER( Last ), 1, 2 ) == 'AC' \" ) // is OK and is filtering -> Acker\n[/quote:1kh6f0o7]\n\nThis can be written as:\noCust:SetFilter( \"UPPER(LAST) = 'AC'\" ) // single \"=\". Not \"==\"\n\nAfter getting cLast, you can build the filter like this:\noCust:SetFilter( \"UPPER(LAST) = '\" + Trim( cLast ) + \"'\" )",
"time": "18:52",
"topic": ":Setfilter from a defined substring ?",
"username": "nageswaragunupudi"
}
] |
:Setfilter from a defined substring ?
|
[
{
"date": "2019-02-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Works perfect <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \nthank You very much\n\nsometimes I'm thinking to complicated <!-- s:oops: --><img src=\"{SMILIES_PATH}/icon_redface.gif\" alt=\":oops:\" title=\"Embarassed\" /><!-- s:oops: --> \n\n[quote:3gnzdcub]After getting cLast, you can build the filter like this:\noCust:SetFilter( \"UPPER(LAST) = '\" + Trim( cLast ) + \"'\" )[/quote:3gnzdcub]\n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "19:04",
"topic": ":Setfilter from a defined substring ?",
"username": "ukoenig"
}
] |
:Setfilter from a defined substring ?
|
[
{
"date": "2019-02-13",
"forum": "FiveWin for Harbour/xHarbour",
"text": "May I still ask for another solution ?\nI need a filterstring for a date-range\n\nfield [color=#0000FF:ktswruay]Hiredate[/color:ktswruay] from customer.dbf\ndefined date-vars [color=#0000FF:ktswruay]dDate1[/color:ktswruay] and [color=#0000FF:ktswruay]dDate2[/color:ktswruay] to filter a date-range\n\nthat means for a empty dDate2\n1) [color=#0000FF:ktswruay]oCust:Hiredate >= dDate1[/color:ktswruay]\n\nand with defined dDate1 and !empty dDate2\n2) [color=#0000FF:ktswruay]oCust:Hiredate >= dDate1 .and. oCust:Hiredate <= dDate2 [/color:ktswruay]\n\nI tested different string-combinations without any useful results.\nadding this missing test I can post a new download\n\nThank You very much\n\nregards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "21:06",
"topic": ":Setfilter from a defined substring ?",
"username": "ukoenig"
}
] |
:Setfilter from a defined substring ?
|
[
{
"date": "2019-02-13",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Have you tried with\n\nmy_filter = \"dtos(oCust:Hiredate) >= dtos(\" + ctod(dDate1) + \")\" \noCust:SetFilter(my_filter)",
"time": "21:14",
"topic": ":Setfilter from a defined substring ?",
"username": "Massimo Linossi"
}
] |
:Setfilter from a defined substring ?
|
[
{
"date": "2019-02-13",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[code=fw:34t6rpx2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> cFilter := <span style=\"color: #ff0000;\">\"\"</span><br /> <span style=\"color: #00C800;\">if</span> !Empty<span style=\"color: #000000;\">(</span> dDate1 <span style=\"color: #000000;\">)</span><br /> cFilter := <span style=\"color: #ff0000;\">\"HIREDATE >= \"</span> + TRANSFORM<span style=\"color: #000000;\">(</span> DTOS<span style=\"color: #000000;\">(</span> dDate1 <span style=\"color: #000000;\">)</span>, <span style=\"color: #ff0000;\">\"@R {^ 9999/99/99}\"</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">if</span> !Empty<span style=\"color: #000000;\">(</span> dDate2 <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">if</span> !Empty<span style=\"color: #000000;\">(</span> cFilter <span style=\"color: #000000;\">)</span><br /> cFilter += <span style=\"color: #ff0000;\">\" .AND. \"</span><br /> <span style=\"color: #00C800;\">endif</span><br /> cFilter += <span style=\"color: #ff0000;\">\"HIREDATE <= \"</span> + TRANSFORM<span style=\"color: #000000;\">(</span> DTOS<span style=\"color: #000000;\">(</span> dDate2 <span style=\"color: #000000;\">)</span>, <span style=\"color: #ff0000;\">\"@R {^ 9999/99/99}\"</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /><br /> ? cFilter<br /> </div>[/code:34t6rpx2]",
"time": "21:31",
"topic": ":Setfilter from a defined substring ?",
"username": "nageswaragunupudi"
}
] |
:Setfilter from a defined substring ?
|
[
{
"date": "2019-02-13",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Tested and works perfect <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nall types of vars for the filtering are covered now\nand I can finish the job\n\n[img:1h3mlush]http://www.pflegeplus.com/IMAGES/Filter5.jpg[/img:1h3mlush]\n\nthank You very much \n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "21:44",
"topic": ":Setfilter from a defined substring ?",
"username": "ukoenig"
}
] |
:Setfilter from a defined substring ?
|
[
{
"date": "2015-10-06",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi all,\nI'm having a problem using the oBrw:ToExcel() method after upgrading my old 2010 FW to the current version.\nIt seems it is a valtype problem, all runs well with the old fwh 2010 version.\n\nSee image. Any ideas ?\n[img:av1mcy89]http://www.softwarexp.co.uk/beta/image.png[/img:av1mcy89]",
"time": "15:20",
"topic": ":ToExcel() method error",
"username": "Marco Turco"
}
] |
:ToExcel() method error
|
[
{
"date": "2015-10-06",
"forum": "FiveWin for Harbour/xHarbour",
"text": "how are you doing?\n\n[code=fw:1neaifay]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oHoja:<span style=\"color: #000000;\">Cells</span><span style=\"color: #000000;\">(</span>nX,nColuna<span style=\"color: #000000;\">)</span>:<span style=\"color: #000000;\">set</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"NumberFormat\"</span>,<span style=\"color: #ff0000;\">\"0,00\"</span><span style=\"color: #000000;\">)</span><br />oHoja:<span style=\"color: #000000;\">Cells</span><span style=\"color: #000000;\">(</span>nX,nColuna<span style=\"color: #000000;\">)</span>:<span style=\"color: #000000;\">Value</span> := transform<span style=\"color: #000000;\">(</span>aDados<span style=\"color: #000000;\">[</span>nFor<span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>,<span style=\"color: #ff0000;\">\"@E 999,999.99\"</span><span style=\"color: #000000;\">)</span><br />oHoja:<span style=\"color: #000000;\">Cells</span><span style=\"color: #000000;\">(</span>nX,nColuna<span style=\"color: #000000;\">)</span>:<span style=\"color: #000000;\">set</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"NumberFormat\"</span>,<span style=\"color: #ff0000;\">\"DD-MM-AAAA\"</span><span style=\"color: #000000;\">)</span><br />oHoja:<span style=\"color: #000000;\">Cells</span><span style=\"color: #000000;\">(</span>nX,nColuna<span style=\"color: #000000;\">)</span>:<span style=\"color: #000000;\">Value</span> := dtoc<span style=\"color: #000000;\">(</span>aDados<span style=\"color: #000000;\">[</span>nFor<span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span><br />oHoja:<span style=\"color: #000000;\">Cells</span><span style=\"color: #000000;\">(</span>nX,nColuna<span style=\"color: #000000;\">)</span>:<span style=\"color: #000000;\">set</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"NumberFormat\"</span>,<span style=\"color: #ff0000;\">\"@\"</span><span style=\"color: #000000;\">)</span><br /> </div>[/code:1neaifay]\n\n[url:1neaifay]http://www.44342.com/xharbour-f1105-t2226-p1.htm[/url:1neaifay]",
"time": "15:29",
"topic": ":ToExcel() method error",
"username": "karinha"
}
] |
:ToExcel() method error
|
[
{
"date": "2015-10-06",
"forum": "FiveWin for Harbour/xHarbour",
"text": "This way \n\n ADD COLUMN oCol TO XBROWSE aObjects[6] DATA ARRAY ELEM aBrwDetails[i,3];\n HEADER oemtoansi(aBrwDetails[i,1]) SIZE aBrwDetails[i,2] ORDER ABRWDETAILS[I,3]\n if valtype(aBrwArray[1,aBrwDetails[i,3]])=\"D\" && if date\n xxxx:=aBrwDetails[i,3]\n oCol:bStrData:={||dtoc(aObjects[6]:aRow[xxxx])}\n endif",
"time": "15:36",
"topic": ":ToExcel() method error",
"username": "Marco Turco"
}
] |
:ToExcel() method error
|
[
{
"date": "2008-03-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi again my friends..\n\n\nI need a little help!\n\nThis a example of my code:\n\n[code:i5s0vodx]\n...\n\noBrw:aCols[7]:addResource( \"IMAGE_TRUE\" )\noBrw:aCols[7]:addResource( \"IMAGE_FALSE\" )\noBrw:aCols[7]:bStrData := NIL\noBrw:aCols[7]:nDataStrAlign := AL_CENTER\n\noBrw:aCols[7]:bBmpData := {|| if( ( cAlias )->situacao, 1, 2 ) }\n\n...\n[/code:i5s0vodx]\n\nWhen the ( cAlias )->situacao is true, the xBrowse displays the image at position 1 of correct way.\n\nBut, when is false... it's not displays the image at position 2.\n\nWhere I'm wrong?",
"time": "16:03",
"topic": ":bBmpData at TXBrowse Cols!",
"username": "JC"
}
] |
:bBmpData at TXBrowse Cols!
|
[
{
"date": "2008-03-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr JC\n\nThere is nothing wrong with your code. ( By the way it is not necessary to assign any value to nDataStrAlign in this case. When bStrData is nil, Bmp is shown centered. ).\n\nPlease check if your RC file contains resource with the exact spelling IMAGE_FALSE. If the browse does not find a resource with the given name, it shows blank.\n\nYou can also check this if oBrw:aCols[7]:addResource( \"IMAGE_FALSE\" ) is true or false. It it is true, the browse could successfully load the resource. If it is false, the browse could not load the resource.",
"time": "18:33",
"topic": ":bBmpData at TXBrowse Cols!",
"username": "nageswaragunupudi"
}
] |
:bBmpData at TXBrowse Cols!
|
[
{
"date": "2008-03-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"nageswaragunupudi\":zc1up1yv]Mr JC\n\nThere is nothing wrong with your code. ( By the way it is not necessary to assign any value to nDataStrAlign in this case. When bStrData is nil, Bmp is shown centered. ).\n\nPlease check if your RC file contains resource with the exact spelling IMAGE_FALSE. If the browse does not find a resource with the given name, it shows blank.\n\nYou can also check this if oBrw:aCols[7]:addResource( \"IMAGE_FALSE\" ) is true or false. It it is true, the browse could successfully load the resource. If it is false, the browse could not load the resource.[/quote:zc1up1yv]\n\nDear Nageswara..\n\nAfter adjusting my code.... this her!\n\n[code:zc1up1yv]\n\noBrw:aCols[7]:bStrData := NIL\noBrw:aCols[7]:addResource( \"IMAGE_TRUE\" ) <- this is the true position with a correctly resource name\noBrw:aCols[7]:addResource( \"IMAGE_FALSE\" )<- this is the false position with a correctly resource name\noBrw:aCols[7]:bBmpData := {|| if( ( cAlias )->situacao, 1, 2 ) } \n[/code:zc1up1yv]\n\n\nHowever, still an error <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( -->\n\nI'm testing passing the code block with the value 1 or 2... it's displays both images! So, the resource name is correctly!",
"time": "20:06",
"topic": ":bBmpData at TXBrowse Cols!",
"username": "JC"
}
] |
:bBmpData at TXBrowse Cols!
|
[
{
"date": "2008-03-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Surprising.\n\nIt works in the sample testxbr3.prg and also in my regular programs.\n\nWill you please try this alternative code ?\n\noBrw:aCols[7]:bEditValue := { || (cAlias)->situacao }\noBrw:aCols[7]:SetCheck( { \"IMAGE_TRUE\", \"IMAGE_FALSE\" } )\n\nin the place of all the lines you have coded ?",
"time": "01:40",
"topic": ":bBmpData at TXBrowse Cols!",
"username": "nageswaragunupudi"
}
] |
:bBmpData at TXBrowse Cols!
|
[
{
"date": "2008-03-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"nageswaragunupudi\":3826com9]Surprising.\n\nIt works in the sample testxbr3.prg and also in my regular programs.\n\nWill you please try this alternative code ?\n\noBrw:aCols[7]:bEditValue := { || (cAlias)->situacao }\noBrw:aCols[7]:SetCheck( { \"IMAGE_TRUE\", \"IMAGE_FALSE\" } )\n\nin the place of all the lines you have coded ?[/quote:3826com9]\n\nYes NageswaraRao.... I do try!",
"time": "01:49",
"topic": ":bBmpData at TXBrowse Cols!",
"username": "JC"
}
] |
:bBmpData at TXBrowse Cols!
|
[
{
"date": "2008-03-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Ate the test, I get this error:\n\nMessage not found: TXBRWCOLUMN:SETCHECK\n\nMy version of fivewin don't have a method setCheck in the class TXBrwColumn!! <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( -->",
"time": "01:59",
"topic": ":bBmpData at TXBrowse Cols!",
"username": "JC"
}
] |
:bBmpData at TXBrowse Cols!
|
[
{
"date": "2008-03-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I am sorry. I should have seen the FWH version you are using. SetCheck is available from 8.03.\n\nPossible that in version 6 the bBmpData is not handled properly. I do not have source code of xbrowse.prg that version. May be we can examine how the paintdata method is dealing with bBmpData.",
"time": "02:18",
"topic": ":bBmpData at TXBrowse Cols!",
"username": "nageswaragunupudi"
}
] |
:bBmpData at TXBrowse Cols!
|
[
{
"date": "2008-03-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"nageswaragunupudi\":18ocx0o3]I am sorry. I should have seen the FWH version you are using. SetCheck is available from 8.03.\n\nPossible that in version 6 the bBmpData is not handled properly. I do not have source code of xbrowse.prg that version. May be we can examine how the paintdata method is dealing with bBmpData.[/quote:18ocx0o3]\n\nYes! I will try to get the most updated version of fivewin\n\nThanks very much Nageswara!!",
"time": "02:33",
"topic": ":bBmpData at TXBrowse Cols!",
"username": "JC"
}
] |
:bBmpData at TXBrowse Cols!
|
[
{
"date": "2008-03-12",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Buenas,\n\nEstoy actualizando a FWH 8.02 desde la 7.04, y me encuentro que antes cuando se lanzaba :bPostKey el <!-- s:o --><img src=\"{SMILIES_PATH}/icon_surprised.gif\" alt=\":o\" title=\"Surprised\" /><!-- s:o -->Get:Buffer del GET estaba actualizado y ahora debo aplicar antes :Assing().\n\nAdemás :bPostKey se lanzaba desde el método :KeyDown para las teclas VK_DELETE y VK_BACK y ahora en la nueva versión no es así.\n\nEstos comportamientos son correctos para esta nueva versión?\n\nSaludos\nCarlos G.",
"time": "11:59",
"topic": ":bPostKey y :Assing() en TGET.",
"username": "FiveWiDi"
}
] |
:bPostKey y :Assing() en TGET.
|
[
{
"date": "2008-03-12",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Carlos,\n\nSi, desde la versión 7.04 hasta la versión actual 8.03 se han ido realizando muchos cambios y mejoras, y aunque intentamos siempre mantener la máxima compatibilidad, a veces algunos pequeños cambios son requeridos en el código.",
"time": "20:52",
"topic": ":bPostKey y :Assing() en TGET.",
"username": "Antonio Linares"
}
] |
:bPostKey y :Assing() en TGET.
|
[
{
"date": "2008-03-13",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":2z8q8aqi]Carlos,\n\nSi, desde la versión 7.04 hasta la versión actual 8.03 se han ido realizando muchos cambios y mejoras, y aunque intentamos siempre mantener la máxima compatibilidad, a veces algunos pequeños cambios son requeridos en el código.[/quote:2z8q8aqi]\n\nNo hay problema, ahora he actualizado a la 8.03 y aplicaré las correcciones que necesito.\n\nSaludos y gracias.\nCarlos G.",
"time": "01:12",
"topic": ":bPostKey y :Assing() en TGET.",
"username": "FiveWiDi"
}
] |
:bPostKey y :Assing() en TGET.
|
[
{
"date": "2009-08-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "yo teno un Dialog con una TBAR, mas ao verificar con lo codigo:\n\nfor i=1 to len(odlg:acontrols)\n\n? odlg:acontrols[i]:classname()\n\nnext\n\nEn la Tbar no me mostra \"TBAR\" , aparece \"BTNBMP\" .\nY en lo TBTNBMP nada me diz que é um Button de la Tbar, mas lo dato lBarBtn no assume .T.\n\nPregunta: Como saber que un controle de lo dialog es la Tbar para redimensiona-la durante la execucion de lo programa?\n\n\nSaludos\n\n\nWilliam",
"time": "13:47",
"topic": ":classname() no retorna \"TBAR\" ????",
"username": "WilliamAdami"
}
] |
:classname() no retorna "TBAR" ????
|
[
{
"date": "2009-08-25",
"forum": "FiveWin para Harbour/xHarbour",
"text": "otra cosita estrana, quando se usa la funcion getparent() en un btnbmp de una tbar, me retorna \"TXBROWSE\" y non \"TBAR\" como deveria de ser.\n\nSeria un BUG ?\n\nSaludos\n\nWilliam",
"time": "14:31",
"topic": ":classname() no retorna \"TBAR\" ????",
"username": "WilliamAdami"
}
] |
:classname() no retorna "TBAR" ????
|
[
{
"date": "2009-08-25",
"forum": "FiveWin para Harbour/xHarbour",
"text": "William,\n\nel objeto TBar se almacena en oWnd:oBar.\n\nNo se añade a oWnd:aControls, puesto que no debe tomar el foco.",
"time": "14:52",
"topic": ":classname() no retorna \"TBAR\" ????",
"username": "Antonio Linares"
}
] |
:classname() no retorna "TBAR" ????
|
[
{
"date": "2009-08-25",
"forum": "FiveWin para Harbour/xHarbour",
"text": "William,\n\nPara tu segunda pregunta, prueba asi:\n\nMsgInfo( GetParent( oBtnBmp:hWnd ) == oBar:hWnd )\n\nsiendo oBtnBmp un botón situado en oBar",
"time": "14:53",
"topic": ":classname() no retorna \"TBAR\" ????",
"username": "Antonio Linares"
}
] |
:classname() no retorna "TBAR" ????
|
[
{
"date": "2009-08-25",
"forum": "FiveWin para Harbour/xHarbour",
"text": "ok Antonio, voy a testar con isso. \n\nMuchas Gracias\n\nWilliam",
"time": "18:37",
"topic": ":classname() no retorna \"TBAR\" ????",
"username": "WilliamAdami"
}
] |
:classname() no retorna "TBAR" ????
|
[
{
"date": "2006-06-12",
"forum": "FiveWin para Pocket PC",
"text": "Hojeando el foro he visto que hay que hacer :end() de los objetos al salir\nde una funcion, incluso de los objetos Locales. \n\n¿Es así?\n\nEn el ejemplo de Carles hay cuatro objetos, oBmp, oDlg, oSay, oFont\n\n¿por que solo con 2 de ellos se hace :end()?\n\n oBmp:End()\n oFont:End()\n\n¿Hay alguna forma de ver que objetos hay en memoria?\n\n\n*----------------------\nSTATIC FUNCTION About()\n*----------------------\n LOCAL oBmp, oDlg, oSay, oFont\n LOCAL cText := 'Ejemplo de uso de FWPPC' + CRLF + CRLF + ;\n '(c) Carles Aubia'\n\n DEFINE FONT oFont NAME 'Arial' SIZE 0, -10\n\n DEFINE DIALOG oDlg RESOURCE \"About\"\n\n REDEFINE BITMAP oBmp NAME 'FWPPC' ID 200 OF oDlg\n\n REDEFINE SAY oSay PROMPT cText ID 210 OF oDlg ;\n FONT oFont COLOR CLR_BLACK, CLR_WHITE\n\n oDlg:blClicked := {|| oDlg:End() }\n oBmp:blClicked := {|| oDlg:End() }\n\n ACTIVATE DIALOG oDlg CENTERED\n\n oBmp:End()\n oFont:End()\n\nRETU NIL",
"time": "17:01",
"topic": ":end()",
"username": "josevalle"
}
] |
:end()
|
[
{
"date": "2006-06-13",
"forum": "FiveWin para Pocket PC",
"text": "Hola Jose,\n\nRealmente solo se tendria de aplicar el metodo End() al objeto oFont. oBmp ya lo destruye oDlg. Seguramente se quedo asi de las muchas pruebas q realize.",
"time": "12:22",
"topic": ":end()",
"username": "Carles"
}
] |
:end()
|
[
{
"date": "2006-06-13",
"forum": "FiveWin para Pocket PC",
"text": "Ahora ya lo entiendo.\n\nNunca había usado fivewin pero con vuestra ayuda es muy fácil de utilizar.",
"time": "15:35",
"topic": ":end()",
"username": "josevalle"
}
] |
:end()
|
[
{
"date": "2006-06-13",
"forum": "FiveWin para Pocket PC",
"text": "Jose,\n\nEl método End() lo usamos para destruir determinados valores (handles) de Windows que precisan ser liberados, ó se consumen recursos del sistema, tales como handles de ventanas, recursos GDI (fonts, bitmaps, pens,etc), timers, etc.",
"time": "16:32",
"topic": ":end()",
"username": "Antonio Linares"
}
] |
:end()
|
[
{
"date": "2018-07-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I wish stop an xbrowse from final user \nI made \n\n WITH OBJECT oBrw\n :lHScroll := :lVScroll := .f.\n :nStretchCol := 1\n :nFreeze := 1\n :lAllowRowSizing := .F.\n :lColDividerComplete := .F.\n :lAllowColSwapping := .F.\n :lAllowColHiding := .F.\n :nMarqueeStyle := MARQSTYLE_NOMARQUEE\n :l2007 := .f.\n :l2015 := .t.\n :nColDividerStyle := LINESTYLE_NOLINES\n END\n\n\nthe problem is the final user can also move and size the columns \n\nI tried with :lAllowColSizing := .F. but it seems no exist\nhow I can resolve ?",
"time": "19:58",
"topic": ":lAllowColSizing",
"username": "Silvio.Falconi"
}
] |
:lAllowColSizing
|
[
{
"date": "2018-07-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "oBrw:lAllowSizings := .f.",
"time": "22:28",
"topic": ":lAllowColSizing",
"username": "nageswaragunupudi"
}
] |
:lAllowColSizing
|
[
{
"date": "2018-07-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "sorry then I found it\nbut I not have it on my release\nbut on wich release is it ?",
"time": "22:39",
"topic": ":lAllowColSizing",
"username": "Silvio.Falconi"
}
] |
:lAllowColSizing
|
[
{
"date": "2018-07-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "sorry\noBrw:lAllowSizings := .f.\nThis is in all versions.",
"time": "22:54",
"topic": ":lAllowColSizing",
"username": "nageswaragunupudi"
}
] |
:lAllowColSizing
|
[
{
"date": "2021-10-31",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola amigos,\n\nTengo un xBrowse cuyo DATASOURCE es un Arreglo de Memoria.\n\nDefino una columna con la clausula EDIT_GET , lo que me permite editar al celda en tiempo de ejecucion.\n\nBien, resulta que necesito mas adelante, que la misma columna sea Editable/NO editable, segun se cumpla una condicion.\nAlgo asi como Disable(), Enable() y sin que pierda el valor que pueda contener al momento de cambiar a cualquiera de los dos estados\n\n¿cual es la manera? \n\nhe buscado en los post anteriores pero no he podido dar con la solucion.",
"time": "00:45",
"topic": ":nEditType := EDIT_GET ¿Disable?",
"username": "JoseAlvarez"
}
] |
:nEditType := EDIT_GET ¿Disable?
|
[
{
"date": "2021-11-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Prueba con:\n[code=fw:3fq43p0v]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bEditWhen</span> := <span style=\"color: #000000;\">{</span>|| tucondicion<span style=\"color: #000000;\">}</span> <br /> </div>[/code:3fq43p0v]",
"time": "15:12",
"topic": ":nEditType := EDIT_GET ¿Disable?",
"username": "cmsoft"
}
] |
:nEditType := EDIT_GET ¿Disable?
|
[
{
"date": "2021-11-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"cmsoft\":tmx1czna]Prueba con:\n[code=fw:tmx1czna]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bEditWhen</span> := <span style=\"color: #000000;\">{</span>|| tucondicion<span style=\"color: #000000;\">}</span> <br /> </div>[/code:tmx1czna][/quote:tmx1czna]\n\nExcelente César!\n\nFuncionó de 10\n\nGracias amigo !",
"time": "23:22",
"topic": ":nEditType := EDIT_GET ¿Disable?",
"username": "JoseAlvarez"
}
] |
:nEditType := EDIT_GET ¿Disable?
|
[
{
"date": "2016-12-20",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Buenos dias Gente\nCompilando con xHarbour, capturo un error y describo, entre otros, el suceso informando con oError:procLine\nAl compilar con Harbour tal data no existe; cual es el equivalente?; ya que si uso ProcLine(), este sin pasarle parámetro numérico, me devuelve la linea de donde se llamo al Alert() del error y no precisamente donde ocurrió el error.\n\ngracias",
"time": "14:01",
"topic": ":procLine - equivalente",
"username": "MarioG"
}
] |
:procLine - equivalente
|
[
{
"date": "2016-12-20",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[url:rid89srm]https://vivaclipper.wordpress.com/tag/procline/[/url:rid89srm]\n\nSaludos.",
"time": "14:17",
"topic": ":procLine - equivalente",
"username": "karinha"
}
] |
:procLine - equivalente
|
[
{
"date": "2016-12-20",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Karinha; muchas gracias\nEsto necesito:\n\n[quote:3b6y4n1v]Alert( \"[Error nro: \"+Str(oErr:GenCode,4,,TRUE)+\"] - \"+oErr:Description+CRLF+\" - Línea: \"+Str([b:3b6y4n1v]oErr:procLine[/b:3b6y4n1v],4,,TRUE);\n \"EL Proceso de borrado se canceló\" +CRLF+ ;\n \"Verifique archivo:\"+h0:cFileLog,,\"Atención\",,IDI_HAND )[/quote:3b6y4n1v]\n\n[b:3b6y4n1v]No ProcLine()[/b:3b6y4n1v], porque, en este caso, me devuelve la linea del Alert()",
"time": "15:26",
"topic": ":procLine - equivalente",
"username": "MarioG"
}
] |
:procLine - equivalente
|
[
{
"date": "2016-12-20",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Como en este caso?\n\n[code=fw:3gt52gta]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">FUNCTION</span> ADOSHOWERROR<span style=\"color: #000000;\">(</span> oCn, cTable, lSilent <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">//CHANGES BY BYTE-ONE</span><br /> <span style=\"color: #00C800;\">LOCAL</span> nErr, oErr, cErr<br /> <span style=\"color: #00C800;\">DEFAULT</span> oCn <span style=\"color: #0000ff;\">TO</span> oConnection<br /> <span style=\"color: #00C800;\">DEFAULT</span> lSilent <span style=\"color: #0000ff;\">TO</span> .F.<br /> <span style=\"color: #00C800;\">DEFAULT</span> cTable <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #ff0000;\">\"\"</span><br /> <span style=\"color: #00C800;\">IF</span> <span style=\"color: #000000;\">(</span> nErr := oCn:<span style=\"color: #000000;\">Errors</span>:<span style=\"color: #0000ff;\">Count</span> <span style=\"color: #000000;\">)</span> > <span style=\"color: #000000;\">0</span><br /> oErr := oCn:<span style=\"color: #000000;\">Errors</span><span style=\"color: #000000;\">(</span> nErr - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">IF</span> ! lSilent<br /> WITH OBJECT oErr<br /> cErr := <span style=\"color: #00C800;\">IF</span><span style=\"color: #000000;\">(</span> !EMPTY<span style=\"color: #000000;\">(</span> cTable <span style=\"color: #000000;\">)</span>,<span style=\"color: #ff0000;\">'Table: '</span> + cTable +CRLF + CRLF ,<span style=\"color: #ff0000;\">\"\"</span><span style=\"color: #000000;\">)</span><br /> cErr += oErr:<span style=\"color: #000000;\">Description</span><br /> cErr += CRLF + <span style=\"color: #ff0000;\">'Source : '</span> + oErr:<span style=\"color: #000000;\">Source</span><br /> cErr += CRLF + <span style=\"color: #ff0000;\">'NativeError : '</span> + cValToChar<span style=\"color: #000000;\">(</span> oErr:<span style=\"color: #000000;\">NativeError</span> <span style=\"color: #000000;\">)</span><br /> cErr += CRLF + <span style=\"color: #ff0000;\">'Error Source : '</span> + oErr:<span style=\"color: #000000;\">Source</span><br /> cErr += CRLF + <span style=\"color: #ff0000;\">'Sql State : '</span> + oErr:<span style=\"color: #000000;\">SQLState</span><br /> cErr += CRLF + REPLICATE<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">'-'</span>, <span style=\"color: #000000;\">50</span> <span style=\"color: #000000;\">)</span><br /> cErr += CRLF + PROCNAME<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\"( \"</span> + cValToChar<span style=\"color: #000000;\">(</span> PROCLINE<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\" )\"</span><br /> cErr += CRLF + PROCNAME<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\"( \"</span> + cValToChar<span style=\"color: #000000;\">(</span> PROCLINE<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\" )\"</span><br /> cErr += CRLF + PROCNAME<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\"( \"</span> + cValToChar<span style=\"color: #000000;\">(</span> PROCLINE<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\" )\"</span><br /> cErr += CRLF + PROCNAME<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\"( \"</span> + cValToChar<span style=\"color: #000000;\">(</span> PROCLINE<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\" )\"</span><br /> cErr += CRLF + PROCNAME<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\"( \"</span> + cValToChar<span style=\"color: #000000;\">(</span> PROCLINE<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\" )\"</span><br /> cErr += CRLF + PROCNAME<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\"( \"</span> + cValToChar<span style=\"color: #000000;\">(</span> PROCLINE<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\" )\"</span><br /> cErr += CRLF + PROCNAME<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">7</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\"( \"</span> + cValToChar<span style=\"color: #000000;\">(</span> PROCLINE<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">7</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\" )\"</span><br /> MSGALERT<span style=\"color: #000000;\">(</span> cErr, <span style=\"color: #00C800;\">IF</span><span style=\"color: #000000;\">(</span> oCn:<span style=\"color: #000000;\">Provider</span> = <span style=\"color: #00C800;\">NIL</span>, <span style=\"color: #ff0000;\">\"ADO ERROR\"</span>,oCn:<span style=\"color: #000000;\">Provider</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> END<br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">ELSE</span><br /> MSGALERT<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"ADO ERROR UNKNOWN\"</span>+;<br /> CRLF + PROCNAME<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\"( \"</span> + cValToChar<span style=\"color: #000000;\">(</span> PROCLINE<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\" )\"</span> + ;<br /> CRLF + PROCNAME<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\"( \"</span> + cValToChar<span style=\"color: #000000;\">(</span> PROCLINE<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\" )\"</span> + ;<br /> CRLF + PROCNAME<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\"( \"</span> + cValToChar<span style=\"color: #000000;\">(</span> PROCLINE<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\" )\"</span> + ;<br /> CRLF + PROCNAME<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\"( \"</span> + cValToChar<span style=\"color: #000000;\">(</span> PROCLINE<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\" )\"</span> + ;<br /> CRLF + PROCNAME<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\"( \"</span> + cValToChar<span style=\"color: #000000;\">(</span> PROCLINE<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\" )\"</span> + ;<br /> CRLF + PROCNAME<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\"( \"</span> + cValToChar<span style=\"color: #000000;\">(</span> PROCLINE<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\" )\"</span> + ;<br /> CRLF + PROCNAME<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">7</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\"( \"</span> + cValToChar<span style=\"color: #000000;\">(</span> PROCLINE<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">7</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">RETURN</span> oErr<br /> </div>[/code:3gt52gta]",
"time": "15:49",
"topic": ":procLine - equivalente",
"username": "karinha"
}
] |
:procLine - equivalente
|
[
{
"date": "2016-12-20",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Ó\n\n[code=fw:s5meyhz9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><span style=\"color: #00C800;\">FUNCTION</span> CheckErr <span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> nLoc, oError<br /><br /> <span style=\"color: #00C800;\">TRY</span><br /> nLoc := <span style=\"color: #ff0000;\">\"error\"</span>/<span style=\"color: #000000;\">2</span><br /> CATCH oError<br /> <span style=\"color: #0000ff;\">msgInfo</span><span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">gencode</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">msgInfo</span><span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">SubSystem</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">msgInfo</span><span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">SubCode</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">msgInfo</span><span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">Operation</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">msgInfo</span><span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">Description</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">msgInfo</span><span style=\"color: #000000;\">(</span> valToPrg<span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">Args</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> quit<br /> END<br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #000000;\">(</span>nLoc<span style=\"color: #000000;\">)</span><br /> </div>[/code:s5meyhz9]",
"time": "15:52",
"topic": ":procLine - equivalente",
"username": "karinha"
}
] |
:procLine - equivalente
|
[
{
"date": "2016-12-22",
"forum": "FiveWin para Harbour/xHarbour",
"text": "karinha\nPor favor, compila este sample con xHarbour y verifica: oError:Procline\nLuego compila con xharbour y verifica ProcLine()\nLos valores de linea son distintos (o estoy haciendo algo mal?)\ngracias \n\n[code=fw:cl64kelk]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br />Procedure Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">local</span> oError, ;<br /> x, ;<br /> nTotal<br /><br /> <span style=\"color: #00C800;\">TRY</span><br /> nTotal:= x * <span style=\"color: #000000;\">100</span><br /><br /> CATCH oError<br />#ifdef __XHARBOUR__<br /> Alert<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Error nro: \"</span> + cValToChar<span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">GenCode</span><span style=\"color: #000000;\">)</span> + CRLF + ;<br /> <span style=\"color: #ff0000;\">\"SubC: \"</span> + cValToChar<span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">SubCode</span> <span style=\"color: #000000;\">)</span> + CRLF + <span style=\"color: #ff0000;\">\"OSCode: \"</span> + cValToChar<span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">OsCode</span> <span style=\"color: #000000;\">)</span> + CRLF + ;<br /> <span style=\"color: #ff0000;\">\"SubSystem: \"</span> + cValToChar<span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">SubSystem</span> <span style=\"color: #000000;\">)</span> + CRLF + <span style=\"color: #ff0000;\">\"Mensaje: \"</span> + oError:<span style=\"color: #000000;\">Description</span> + CRLF + ;<br /> <span style=\"color: #ff0000;\">\"Linea: \"</span> +cValToChar<span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">procLine</span> <span style=\"color: #000000;\">)</span>,,<span style=\"color: #ff0000;\">\"Atención\"</span> <span style=\"color: #000000;\">)</span><br /><br />#else <span style=\"color: #B900B9;\">// __HARBOUR__</span><br /> Alert<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Error nro: \"</span> + cValToChar<span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">GenCode</span><span style=\"color: #000000;\">)</span> + CRLF + ;<br /> <span style=\"color: #ff0000;\">\"SubC: \"</span> + cValToChar<span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">SubCode</span> <span style=\"color: #000000;\">)</span> + CRLF + <span style=\"color: #ff0000;\">\"OSCode: \"</span> + cValToChar<span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">OsCode</span> <span style=\"color: #000000;\">)</span> + CRLF + ;<br /> <span style=\"color: #ff0000;\">\"SubSystem: \"</span> + cValToChar<span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">SubSystem</span> <span style=\"color: #000000;\">)</span> + CRLF + <span style=\"color: #ff0000;\">\"Mensaje: \"</span> + oError:<span style=\"color: #000000;\">Description</span> + CRLF + ;<br /> <span style=\"color: #ff0000;\">\"Linea: \"</span> +cValToChar<span style=\"color: #000000;\">(</span> ProcLine<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>,,<span style=\"color: #ff0000;\">\"Atención\"</span> <span style=\"color: #000000;\">)</span><br />#endif<br /> END<br /><br /><span style=\"color: #B900B9;\">// Fin</span></div>[/code:cl64kelk]",
"time": "14:16",
"topic": ":procLine - equivalente",
"username": "MarioG"
}
] |
:procLine - equivalente
|
[
{
"date": "2017-01-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Holá, acá funciona bién com harbour y xharbour con FWHX16.10\n\n[code=fw:25bcj9wd]<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;\">\"error.ch\"</span><br /><br />Procedure Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oError, x, nTotal<br /><br /> <span style=\"color: #00C800;\">TRY</span><br /><br /> nTotal := x * <span style=\"color: #000000;\">100</span><br /><br /> CATCH oError<br /><br /> #ifdef __XHARBOUR__<br /><br /> Alert<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Error nro: \"</span> + cValToChar<span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">GenCode</span><span style=\"color: #000000;\">)</span> + CRLF + ;<br /> <span style=\"color: #ff0000;\">\"SubC: \"</span> + cValToChar<span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">SubCode</span> <span style=\"color: #000000;\">)</span> + CRLF + <span style=\"color: #ff0000;\">\"OSCode: \"</span> + cValToChar<span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">OsCode</span> <span style=\"color: #000000;\">)</span> + CRLF + ;<br /> <span style=\"color: #ff0000;\">\"SubSystem: \"</span> + cValToChar<span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">SubSystem</span> <span style=\"color: #000000;\">)</span> + CRLF + <span style=\"color: #ff0000;\">\"Mensaje: \"</span> + oError:<span style=\"color: #000000;\">Description</span> + CRLF + ;<br /> <span style=\"color: #ff0000;\">\"Linea: \"</span> +cValToChar<span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">procLine</span> <span style=\"color: #000000;\">)</span>,,<span style=\"color: #ff0000;\">\"Atención\"</span> <span style=\"color: #000000;\">)</span><br /><br /> #else <span style=\"color: #B900B9;\">// __HARBOUR__</span><br /><br /> Alert<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Error nro: \"</span> + cValToChar<span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">GenCode</span><span style=\"color: #000000;\">)</span> + CRLF + ;<br /> <span style=\"color: #ff0000;\">\"SubC: \"</span> + cValToChar<span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">SubCode</span> <span style=\"color: #000000;\">)</span> + CRLF + <span style=\"color: #ff0000;\">\"OSCode: \"</span> + cValToChar<span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">OsCode</span> <span style=\"color: #000000;\">)</span> + CRLF + ;<br /> <span style=\"color: #ff0000;\">\"SubSystem: \"</span> + cValToChar<span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">SubSystem</span> <span style=\"color: #000000;\">)</span> + CRLF + <span style=\"color: #ff0000;\">\"Mensaje: \"</span> + oError:<span style=\"color: #000000;\">Description</span> + CRLF + ;<br /> <span style=\"color: #ff0000;\">\"Linea: \"</span> +cValToChar<span style=\"color: #000000;\">(</span> ProcLine<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>,,<span style=\"color: #ff0000;\">\"Atención\"</span> <span style=\"color: #000000;\">)</span><br /><br /> #endif<br /><br /> END<br /><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">Nil</span><br /><br /><span style=\"color: #B900B9;\">// Fin</span><br /> </div>[/code:25bcj9wd]\n\u001a\nSaludos.",
"time": "14:34",
"topic": ":procLine - equivalente",
"username": "karinha"
}
] |
:procLine - equivalente
|
[
{
"date": "2017-01-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Karinha BOM 2017!!\nmuchas gracias por la ayuda!\nDisculpa que insista:\nCompilando con xharbour, oError:procLine devuelve el mismo numero de linea que compilando con harbour, ProcLine()?\n(compilando com xHarbour, oError:procLine retorna o mesmo número da linha que a compilando com Harbour, ProcLine()?)",
"time": "14:58",
"topic": ":procLine - equivalente",
"username": "MarioG"
}
] |
:procLine - equivalente
|
[
{
"date": "2017-01-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias, un ótimo 2017 para ti también!\n\nCon xHarbour:\n\n[img:juva7phl]http://i.imgur.com/W4jaqqw.png[/img:juva7phl]\n\nSaludos.",
"time": "15:12",
"topic": ":procLine - equivalente",
"username": "karinha"
}
] |
:procLine - equivalente
|
[
{
"date": "2017-01-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Con Harbour:\n\n[img:3n5wobme]http://i.imgur.com/BRMHO1l.png[/img:3n5wobme]",
"time": "15:14",
"topic": ":procLine - equivalente",
"username": "karinha"
}
] |
:procLine - equivalente
|
[
{
"date": "2017-01-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Karinha;\noError:procLine devuelve [b:2csh3vs9]linea 10[/b:2csh3vs9] (que es correcto). Mientras que ProcLine() devuelve[b:2csh3vs9] linea 26[/b:2csh3vs9], que NO es correcto\n\nQue solución hay, si lo sabes, para Harbour?",
"time": "16:14",
"topic": ":procLine - equivalente",
"username": "MarioG"
}
] |
:procLine - equivalente
|
[
{
"date": "2017-01-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[code=fw:2ihp1juo]<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;\">\"error.ch\"</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oError, x, nTotal, nLoc<br /><br /> <span style=\"color: #00C800;\">TRY</span><br /><br /> nLoc := <span style=\"color: #ff0000;\">\"error\"</span> / <span style=\"color: #000000;\">2</span><br /><br /> CATCH oError <span style=\"color: #B900B9;\">// Harbour and xHarbour retorna linea 26</span><br /><br /> <span style=\"color: #0000ff;\">msgInfo</span><span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">gencode</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">msgInfo</span><span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">SubSystem</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">msgInfo</span><span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">SubCode</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">msgInfo</span><span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">Operation</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">msgInfo</span><span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">Description</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">msgInfo</span><span style=\"color: #000000;\">(</span> valToPrg<span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">Args</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> cValToChar<span style=\"color: #000000;\">(</span> procLine<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>,, <span style=\"color: #ff0000;\">\"Atención\"</span> <span style=\"color: #000000;\">)</span><br /><br /> END<br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #B900B9;\">// Fin</span><br /> </div>[/code:2ihp1juo]\n\u001a",
"time": "17:12",
"topic": ":procLine - equivalente",
"username": "karinha"
}
] |
:procLine - equivalente
|
[
{
"date": "2017-01-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Karinha;\nTu ejemplo\nIndica error en Linea 26 y [b:1pe6dlon]NO en Linea 10[/b:1pe6dlon] (Se entiende?!)\nO sea ProcLine() NO esta devolviendo correctamente la línea de error; sino la línea donde se llama a ProcLine()\n\n[img:1pe6dlon]http://i795.photobucket.com/albums/yy237/MLimonG/PROCLINE.png[/img:1pe6dlon]",
"time": "22:06",
"topic": ":procLine - equivalente",
"username": "MarioG"
}
] |
:procLine - equivalente
|
[
{
"date": "2017-01-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "se me ocurrió que podriamos \"extender\" la clase Error de Harbour para implementar el mensaje ProcLine()\n\n#include \"c:\\harbour\\contrib\\xhb\\xhbcls.ch\"\n\n...\n\nEXTEND CLASS Error WITH MESSAGE ProcLine INLINE ProcLine()\n\npero la clase Error de Harbour no lo permite. De hecho no permite crear una clase derivada de ella\n\nno se aún cual es la razón de esta limitación",
"time": "12:08",
"topic": ":procLine - equivalente",
"username": "Antonio Linares"
}
] |
:procLine - equivalente
|
[
{
"date": "2017-01-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "El errorsys de FWH utiliza ProcLine() y funciona correctamente con Harbour y xHarbour\n\nPuedes probar el ejemplo samples\\testerro.prg usando buildh.bat y buildx.bat y verás\nque ambos reportan el mismo número de línea",
"time": "12:59",
"topic": ":procLine - equivalente",
"username": "Antonio Linares"
}
] |
:procLine - equivalente
|
[
{
"date": "2017-01-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Con xHarbour, funciona. Con HARBOUR NO funcona. ???\n\n[img:1xyrieaj]http://i.imgur.com/NZkGUkF.png[/img:1xyrieaj]\n\n[code=fw:1xyrieaj]<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;\">\"error.ch\"</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oError, x, nTotal, nLoc<br /><br /> <span style=\"color: #00C800;\">TRY</span><br /><br /> nLoc := <span style=\"color: #ff0000;\">\"error\"</span> / <span style=\"color: #000000;\">2</span> <span style=\"color: #B900B9;\">// linea 10</span><br /><br /> CATCH oError <br /><br /> <span style=\"color: #0000ff;\">msgInfo</span><span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">gencode</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">msgInfo</span><span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">SubSystem</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">msgInfo</span><span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">SubCode</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">msgInfo</span><span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">Operation</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">msgInfo</span><span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">Description</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">msgInfo</span><span style=\"color: #000000;\">(</span> valToPrg<span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">Args</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #B900B9;\">// Asi, con xHarbour funciona. Con Harbour NO funciona. ????</span><br /> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> cValToChar<span style=\"color: #000000;\">(</span> oError:<span style=\"color: #000000;\">procLine</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>,, <span style=\"color: #ff0000;\">\"Linea del Error: 10\"</span> <span style=\"color: #000000;\">)</span><br /><br /> END<br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #B900B9;\">// Fin</span><br /> </div>[/code:1xyrieaj]\n\u001a\nSaludos.",
"time": "13:12",
"topic": ":procLine - equivalente",
"username": "karinha"
}
] |
:procLine - equivalente
|
[
{
"date": "2017-01-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "¿ Ha incluido vd. xHb.Lib ?",
"time": "13:17",
"topic": ":procLine - equivalente",
"username": "hmpaquito"
}
] |
:procLine - equivalente
|
[
{
"date": "2017-01-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[code=fw:3bwt0xll]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">// Testing Harbour ProcName() and ProcLine() -> Procname.prg de Harbour</span><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br />PROCEDURE Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> Two<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">RETURN</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Two<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> Three<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Three<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> Four<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Four<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> Five<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Five<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> n := <span style=\"color: #000000;\">0</span><br /><br /> <span style=\"color: #00C800;\">WHILE</span> ! Empty<span style=\"color: #000000;\">(</span> ProcName<span style=\"color: #000000;\">(</span> n <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> ?? <span style=\"color: #ff0000;\">\"Called from: \"</span>, ProcName<span style=\"color: #000000;\">(</span> n <span style=\"color: #000000;\">)</span>, ProcLine<span style=\"color: #000000;\">(</span> n++ <span style=\"color: #000000;\">)</span>, hb_eol<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">ENDDO</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #B900B9;\">// fin</span><br /> </div>[/code:3bwt0xll]\n\u001a",
"time": "13:33",
"topic": ":procLine - equivalente",
"username": "karinha"
}
] |
:procLine - equivalente
|
[
{
"date": "2017-01-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"hmpaquito\":2ndsoghh]¿ Ha incluido vd. xHb.Lib ?[/quote:2ndsoghh]\n\n[code=fw:2ndsoghh]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />echo %hdirl%\\xhb.lib + >> b32.bc<br /> </div>[/code:2ndsoghh]\n\n[img:2ndsoghh]http://i.imgur.com/8WHv9fa.png[/img:2ndsoghh]\n\nSaludos.",
"time": "13:39",
"topic": ":procLine - equivalente",
"username": "karinha"
}
] |
:procLine - equivalente
|
[
{
"date": "2017-01-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[img:2pkiya0f]http://i.imgur.com/UEU7RGk.png[/img:2pkiya0f]\n\nResuelto con BEGIN... SEQUENCE... END.\n\nQue compilador(Harbour) complicado! xHarbour es bien mas facil.\n\n[code=fw:2pkiya0f]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">// testing procline() con Harbour. Me gusta xHarbour. jejejejejeje.</span><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br />MEMVAR A, B<br /><br />PROCEDURE Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oError<br /><br /> BEGIN SEQUENCE WITH <span style=\"color: #000000;\">{</span>| oError | oError:<span style=\"color: #000000;\">Cargo</span> := <span style=\"color: #000000;\">{</span> ProcName<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span>, ;<br /> ProcLine<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #00C800;\">Break</span><span style=\"color: #000000;\">(</span> oError <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /><br /> A=B <span style=\"color: #B900B9;\">// linea del error: 15</span><br /><br /> RECOVER USING oError<br /><br /> ? oError:<span style=\"color: #000000;\">Cargo</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> <span style=\"color: #B900B9;\">//Procname</span><br /> ? oError:<span style=\"color: #000000;\">Cargo</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> <span style=\"color: #B900B9;\">//Procline -> Retorna Correcto con BEGIN...</span><br /><br /> END<br /><br /><span style=\"color: #00C800;\">RETURN</span><br /> </div>[/code:2pkiya0f]\n\u001a",
"time": "14:01",
"topic": ":procLine - equivalente",
"username": "karinha"
}
] |
:procLine - equivalente
|
[
{
"date": "2017-01-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "muy bien <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nLa librería hbcplr.lib de Harbour es, en mi opinión, lo que le da la superioridad a Harbour sobre xHarbour,\naunque en algunos casos, como este, efectivamente xHarbour sea más fácil.\n\nEsta librería contiene todo el compilador y el preprocesador, lo que permite compilar y ejecutar código\ndesde el propio EXE y esto es la clave para construir un ERP.",
"time": "23:05",
"topic": ":procLine - equivalente",
"username": "Antonio Linares"
}
] |
:procLine - equivalente
|
[
{
"date": "2017-01-04",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Karinha, Antonio\nMuchas gracias por colocar o tempo na pesquisa\nmuchas gracias por poner tiempo en la investigación\n\nTendré que usar BEGIN... SEQUENCE... END <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->",
"time": "13:29",
"topic": ":procLine - equivalente",
"username": "MarioG"
}
] |
:procLine - equivalente
|
[
{
"date": "2017-01-04",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias Master, no tengo ningún conocimiento sobre hbcplr.lib pués no uso Harbour aún. Podrias hablar más sobre la misma?\n\nY en españa, que significa ERP?\n\nGracias, saludos.",
"time": "13:37",
"topic": ":procLine - equivalente",
"username": "karinha"
}
] |
:procLine - equivalente
|
[
{
"date": "2017-01-04",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Mira aquí karinha [url:15e9ebam]https://es.wikipedia.org/wiki/Sistema_de_planificaci%C3%B3n_de_recursos_empresariales[/url:15e9ebam]\n\nPor cierto, Harbour está mucho mejor construido en todos los aspectos que xHarbour, no te quepa ni la menor duda. \nTe lo digo yo que he estado trasteando por las tripas de los dos. <!-- s:oops: --><img src=\"{SMILIES_PATH}/icon_redface.gif\" alt=\":oops:\" title=\"Embarassed\" /><!-- s:oops: --> <!-- s:evil: --><img src=\"{SMILIES_PATH}/icon_evil.gif\" alt=\":evil:\" title=\"Evil or Very Mad\" /><!-- s:evil: -->\nAdemás parece que xHarbour está un poquito dejado de la mano...",
"time": "21:16",
"topic": ":procLine - equivalente",
"username": "xmanuel"
}
] |
:procLine - equivalente
|
[
{
"date": "2017-01-05",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"xmanuel\":1as6gm7k]Mira aquí karinha [url:1as6gm7k]https://es.wikipedia.org/wiki/Sistema_de_planificaci%C3%B3n_de_recursos_empresariales[/url:1as6gm7k]\n\nPor cierto, Harbour está mucho mejor construido en todos los aspectos que xHarbour, no te quepa ni la menor duda. \nTe lo digo yo que he estado trasteando por las tripas de los dos. <!-- s:oops: --><img src=\"{SMILIES_PATH}/icon_redface.gif\" alt=\":oops:\" title=\"Embarassed\" /><!-- s:oops: --> <!-- s:evil: --><img src=\"{SMILIES_PATH}/icon_evil.gif\" alt=\":evil:\" title=\"Evil or Very Mad\" /><!-- s:evil: -->\nAdemás parece que xHarbour está un poquito dejado de la mano...[/quote:1as6gm7k]\n\nGracias estimado xManuel. Saludos.",
"time": "13:08",
"topic": ":procLine - equivalente",
"username": "karinha"
}
] |
:procLine - equivalente
|
[
{
"date": "2008-01-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Is it possible, to have a CRLF in\nClass ButtonBMP like =>> \"Customer\" + CRLF + \"Info\"\nsame like in Buttonbar Office2007 ?\n\nGreetings from Germany\n\nU.König <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "18:54",
"topic": "< CRLF > for Buttontext in Class < ButtonBMP > ?",
"username": "ukoenig"
}
] |
< CRLF > for Buttontext in Class < ButtonBMP > ?
|
[
{
"date": "2008-01-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Ukoenig,\n\nClass TButtonBmp uses the standard painting of Windows buttons. It just adds the bitmap.\n\nSo we need to find if there is a way to display CRLFs in a standard Windows button",
"time": "21:32",
"topic": "< CRLF > for Buttontext in Class < ButtonBMP > ?",
"username": "Antonio Linares"
}
] |
< CRLF > for Buttontext in Class < ButtonBMP > ?
|
[
{
"date": "2008-01-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "There was already a topic for this.\nBut don't remember which.\n\nBut i remember the advices like this:\nOpen the .rc file with a text editor.\nAt the end of a button definition just comma and the value 8192. After this you may write your button prompt in RWS with a \"\\r\\n\" for a newline or CRLF in your redefine statement of your prg code.\n\nhth,\nDetlef",
"time": "23:30",
"topic": "< CRLF > for Buttontext in Class < ButtonBMP > ?",
"username": "Detlef Hoefner"
}
] |
< CRLF > for Buttontext in Class < ButtonBMP > ?
|
[
{
"date": "2019-08-15",
"forum": "mod_harbour",
"text": "Good day.\n\nWhat is the <make> file to create a dll and accept apache to work with mod harbor, from the \"C\" or \"PRG\" files.\n\nregards",
"time": "15:46",
"topic": "<make> file to create dll ?",
"username": "albeiroval"
}
] |
<make> file to create dll ?
|
[
{
"date": "2019-08-15",
"forum": "mod_harbour",
"text": "[url:21tg77u1]https://github.com/FiveTechSoft/mod_harbour[/url:21tg77u1]\n\nand\n\n[url:21tg77u1]https://github.com/FiveTechSoft/harbour_for_modharbour[/url:21tg77u1]\n\nThere you have all that you need to build mod_harbour",
"time": "22:50",
"topic": "<make> file to create dll ?",
"username": "Antonio Linares"
}
] |
<make> file to create dll ?
|
[
{
"date": "2008-04-05",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola a todos, por expansion del departamento de sistemas requiero de un programador con experiencia en (x)Harbour y FWH, que resida en la ciudad de Guadajalara, Jalisco, Mexico o sus alrededores, interesados por favor enviar curriculum a <!-- e --><a href=\"mailto:rubio.luisfernando@gmail.com\">rubio.luisfernando@gmail.com</a><!-- e --> para cita y posteriores datos.\n\nDe antemano agradezco su amable atencion\n\nLuis Fernando Rubio Rubio",
"time": "00:02",
"topic": "<offtopic> Necesito Programador en Guadalajara, Jalisc",
"username": "derpipu"
}
] |
<offtopic> Necesito Programador en Guadalajara, Jalisc
|
[
{
"date": "2008-11-02",
"forum": "FiveMac / FivePhone (iPhone, iPad)",
"text": "This forum is now dedicated to \"Visual FiveWin\"",
"time": "11:56",
"topic": "================================================",
"username": "Antonio Linares"
}
] |
================================================
|
[
{
"date": "2008-11-02",
"forum": "FiveMac / FivePhone (iPhone, iPad)",
"text": "Este foro esta ahora dedicado a \"Visual FiveWin\"",
"time": "11:59",
"topic": "================================================",
"username": "Antonio Linares"
}
] |
================================================
|
[
{
"date": "2014-08-09",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Amigos.\nSera posible tener un texto con colores diferentes en cada letra??\nSalu2\n[img][url=http://www.subirimagenes.net/i/140809060949533781.jpg:3i8gnwx1][IMG]http://sia1.subirimagenes.net/img/2014/08/09/mini_140809060949533781.jpg[/img][/url:3i8gnwx1][/img]\n[img][url=http://www.subirimagenes.net/i/140809060949533781.jpg:3i8gnwx1][IMG]http://sia1.subirimagenes.net/img/2014/08/09/140809060949533781.jpg[/img][/url:3i8gnwx1][/img]",
"time": "17:03",
"topic": ">Colores por cada letra de un texto",
"username": "Willi Quintana"
}
] |
>Colores por cada letra de un texto
|
[
{
"date": "2014-08-13",
"forum": "FiveWin para Harbour/xHarbour",
"text": "No es posible????",
"time": "03:42",
"topic": ">Colores por cada letra de un texto",
"username": "Willi Quintana"
}
] |
>Colores por cada letra de un texto
|
[
{
"date": "2014-08-13",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Willi:\n\nMe parece que no existe una función para tal efecto, se me ocurre que metas el texto en\nun array y ahí asignarle el color a cada letra. Solo una idea.\n\nSaludos",
"time": "03:47",
"topic": ">Colores por cada letra de un texto",
"username": "Armando"
}
] |
>Colores por cada letra de un texto
|
[
{
"date": "2014-08-13",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola. A ver si esto te vale. \nUn saludo\n\n\n#include \"fivewin.ch\"\n\n\nstatic oWnd\n\nfunction main()\n\nDEFINE WINDOW oWnd\n\nACTIVATE WINDOW oWnd ON PAINT Pinta( hDC )\n\nreturn nil\n\n\nfunction Pinta( hDC )\n\nlocal nColor\nlocal nLeft := 10\nlocal cTexto := \"En un lugar de la mancha de cuyo nombre no quiero acordarme\"\nlocal oFont\nlocal hFont\nlocal nLen := len( cTexto )\nlocal cLetra, n\n\nDEFINE FONT oFont NAME \"Segoe UI Light\" SIZE 0, -18\n\n\nhFont := SelectObject( hDC, oFont:hFont )\n\n\nfor n := 1 to nLen\n\n cLetra := substr( cTexto, n, 1 )\n\n nColor := SetTextColor( hDC, nRandom( CLR_WHITE ) )\n\n TextOut( hDC, 10, nLeft, cLetra )\n\n SetTextColor( hDC, nColor )\n\n nLeft += GetTextWidth( hDC, cLetra, oFont )\n\nnext\n\nSelectObject( hDC, hFont )\n\noFont:ENd()\n\nreturn nil",
"time": "08:46",
"topic": ">Colores por cada letra de un texto",
"username": "pgfdz"
}
] |
>Colores por cada letra de un texto
|
[
{
"date": "2014-08-13",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[url=http://imageshack.com/f/iqOJitHdj:1j33ze6u][img:1j33ze6u]http://imagizer.imageshack.us/v2/280x200q90/674/OJitHd.jpg[/img:1j33ze6u][/url:1j33ze6u]",
"time": "09:18",
"topic": ">Colores por cada letra de un texto",
"username": "Carles"
}
] |
>Colores por cada letra de un texto
|
[
{
"date": "2020-03-31",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Very good Paco.\n\n[code=fw:866v3xy8]<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: #00C800;\">STATIC</span> oWnd<br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">MAXIMIZED</span> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">PAINT</span> Pinta<span style=\"color: #000000;\">(</span> hDC <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Pinta<span style=\"color: #000000;\">(</span> hDC <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> nColor<br /> <span style=\"color: #00C800;\">LOCAL</span> nLeft := <span style=\"color: #000000;\">80</span><br /> <span style=\"color: #00C800;\">LOCAL</span> nRight := <span style=\"color: #000000;\">220</span><br /> <span style=\"color: #00C800;\">LOCAL</span> cTexto := <span style=\"color: #ff0000;\">\"AMBIENTE PAISAGISMO\"</span><br /> <span style=\"color: #00C800;\">LOCAL</span> oFont<br /> <span style=\"color: #00C800;\">LOCAL</span> hFont<br /> <span style=\"color: #00C800;\">LOCAL</span> nLen := len<span style=\"color: #000000;\">(</span> cTexto <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> cLetra, n<br /><br /> <span style=\"color: #00C800;\">LOCAL</span> nResHoriz, nResVert<br /><br /> nResHoriz := oWnd:<span style=\"color: #000000;\">nHorzRes</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> nResVert := oWnd:<span style=\"color: #000000;\">nVertRes</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #B900B9;\">// Necesito más sugerencias para resoluciones de video.</span><br /> <span style=\"color: #B900B9;\">// I need more suggestions for video resolutions.</span><br /> <span style=\"color: #00C800;\">IF</span> nResHoriz = <span style=\"color: #000000;\">1366</span> .AND. nResVert = <span style=\"color: #000000;\">768</span><br /><br /> nLeft := <span style=\"color: #000000;\">260</span><br /> nRight := <span style=\"color: #000000;\">230</span><br /><br /> ELSEIF nResHoriz = <span style=\"color: #000000;\">1360</span> .AND. nResVert = <span style=\"color: #000000;\">768</span><br /><br /> nLeft := <span style=\"color: #000000;\">210</span><br /> nRight := <span style=\"color: #000000;\">250</span><br /><br /> ELSEIF nResHoriz = <span style=\"color: #000000;\">1280</span> .AND. nResVert = <span style=\"color: #000000;\">768</span><br /><br /> nLeft := <span style=\"color: #000000;\">210</span><br /> nRight := <span style=\"color: #000000;\">250</span><br /><br /> ELSEIF nResHoriz = <span style=\"color: #000000;\">1280</span> .AND. nResVert = <span style=\"color: #000000;\">720</span><br /><br /> nLeft := <span style=\"color: #000000;\">200</span><br /> nRight := <span style=\"color: #000000;\">200</span><br /><br /> ELSEIF nResHoriz = <span style=\"color: #000000;\">1024</span> .AND. nResVert = <span style=\"color: #000000;\">768</span> <span style=\"color: #B900B9;\">// Minha Maquina</span><br /><br /> nLeft := <span style=\"color: #000000;\">80</span><br /> nRight := <span style=\"color: #000000;\">220</span><br /><br /> <span style=\"color: #00C800;\">ELSE</span><br /><br /> nLeft := <span style=\"color: #000000;\">80</span><br /> nRight := <span style=\"color: #000000;\">220</span><br /><br /> <span style=\"color: #00C800;\">ENDIF</span><br /><br /> <span style=\"color: #B900B9;\">// DEFINE FONT oFont NAME \"Segoe UI Light\" SIZE 0, - 50</span><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Segoe UI Symbol\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, - <span style=\"color: #000000;\">80</span><br /><br /> hFont := SelectObject<span style=\"color: #000000;\">(</span> hDC, oFont:<span style=\"color: #000000;\">hFont</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">FOR</span> n := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> nLen<br /><br /> cLetra := <span style=\"color: #0000ff;\">substr</span><span style=\"color: #000000;\">(</span> cTexto, n, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /><br /> nColor := SetTextColor<span style=\"color: #000000;\">(</span> hDC, nRandom<span style=\"color: #000000;\">(</span> CLR_HGREEN <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// COLORS.CH</span><br /><br /> <span style=\"color: #B900B9;\">// TextOut( hDC, 10, nLeft, cLetra )</span><br /> TextOut<span style=\"color: #000000;\">(</span> hDC, <span style=\"color: #000000;\">325</span>, nLeft, cLetra <span style=\"color: #000000;\">)</span><br /><br /> SetTextColor<span style=\"color: #000000;\">(</span> hDC, nColor <span style=\"color: #000000;\">)</span><br /><br /> nLeft += GetTextWidth<span style=\"color: #000000;\">(</span> hDC, cLetra, oFont <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">NEXT</span><br /><br /> SelectObject<span style=\"color: #000000;\">(</span> hDC, hFont <span style=\"color: #000000;\">)</span><br /><br /> oFont:<span style=\"color: #000000;\">ENd</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /> </div>[/code:866v3xy8]\n\nSaludos.",
"time": "13:00",
"topic": ">Colores por cada letra de un texto",
"username": "karinha"
}
] |
>Colores por cada letra de un texto
|
[
{
"date": "2021-06-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\n Harbour/Clipper:\n ? 235.1234/100\n 2.35 not 2.351234\n Any express return 2 decimals .\n\nMysql : select 235.1234/100\n 2.35123400\n\nRegards! \nShuming Wang",
"time": "12:47",
"topic": "? 235.1234/100 == 2.35",
"username": "ShumingWang"
}
] |
? 235.1234/100 == 2.35
|
[
{
"date": "2021-06-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "ShumingWang\n\nTry the SET DECIMALS command .. see below for syntax ..\n\nRick Lipkin\n\n\nSET DECIMALS\nDefines the number of decimal places for displaying numeric values on the screen. \nSyntax\nSET DECIMALS TO [<nDecimals>]\n\nArguments\n<nDecimals> \nThis is a numeric value specifying the number of decimal places for screen output of numbers. The default value is 2. If <nDecimals> is omitted, the number of decimal places is set to zero. Description\nSET DECIMALS defines the number of decimal places for the display of numbers in text-mode applications. Note that the command affects only the display and not the accuracy of calculations with numeric values. If a number has more decimal places than <nDecimal>, the number is rounded for display. \nNote: to activate a fixed number of decimal places for screen display, SET FIXED must be set to ON.",
"time": "14:23",
"topic": "? 235.1234/100 == 2.35",
"username": "Rick Lipkin"
}
] |
? 235.1234/100 == 2.35
|
[
{
"date": "2021-06-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "// \\SAMPLES\\SHUMING2.PRG\n\n[code=fw:2bsjmdgd]<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: #00C800;\">FUNCTION</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> nRetDec := <span style=\"color: #000000;\">0</span><br /><br /> SET FIXED <span style=\"color: #0000ff;\">ON</span><br /><br /> ? <span style=\"color: #000000;\">25141251</span> / <span style=\"color: #000000;\">362</span><br /><br /> SET DECIMALS <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">10</span><br /><br /> ? <span style=\"color: #000000;\">214514.214</span> / <span style=\"color: #000000;\">6325</span><br /><br /> SET DECIMALS <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">4</span><br /><br /> ? <span style=\"color: #000000;\">235.1234</span> / <span style=\"color: #000000;\">100</span><br /><br /> SET DECIMALS <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">2</span><br /><br /> ? <span style=\"color: #000000;\">235.1234</span> / <span style=\"color: #000000;\">100</span><br /><br /> SET DECIMALS <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">2</span><br /><br /> nRetDec := <span style=\"color: #000000;\">235.1234</span><br /><br /> ? <span style=\"color: #0000ff;\">ROUND</span><span style=\"color: #000000;\">(</span> nRetDec, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span> / <span style=\"color: #000000;\">100</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /> </div>[/code:2bsjmdgd]\n\nRegards.",
"time": "14:32",
"topic": "? 235.1234/100 == 2.35",
"username": "karinha"
}
] |
? 235.1234/100 == 2.35
|
[
{
"date": "2021-06-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thanks !\nShuming Wang",
"time": "23:49",
"topic": "? 235.1234/100 == 2.35",
"username": "ShumingWang"
}
] |
? 235.1234/100 == 2.35
|
[
{
"date": "2016-06-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I have use FW_SETUNICODE(.T.) in the program. \nWhen I len() to check Length of variable and it show 3 but I cannot type anything. \nIf I clear the text and type again;\nEnglish : can type up to 3 charactors\nThai : can type 1 charactor (I think TGET understand that is 3 bytes already, because of Unicode text)\n[code=fw:2fdzknm8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> oDlg, oGet<br /> <span style=\"color: #00C800;\">LOCAL</span> cCad := <span style=\"color: #ff0000;\">\"?? \"</span> <span style=\"color: #B900B9;\">// pad(\"Testing Gets\",40)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> nNum := <span style=\"color: #000000;\">0</span><br /> <span style=\"color: #00C800;\">LOCAL</span> dDat := Date<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> Set century <span style=\"color: #0000ff;\">On</span><br /> Set Date Ansi<br /> Set Date format <span style=\"color: #ff0000;\">\"mm/dd/yyyy\"</span><br /><br /> SET _3DLOOK <span style=\"color: #0000ff;\">ON</span><br /><br /> FW_SetUnicode<span style=\"color: #000000;\">(</span>.T.<span style=\"color: #000000;\">)</span><br /><br /> ?len<span style=\"color: #000000;\">(</span>cCad<span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"TGet from \"</span> + FWDESCRIPTION<br /><br /> @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #ff0000;\">\"Text..:\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br /> @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">6</span> <span style=\"color: #0000ff;\">GET</span> oGet <span style=\"color: #0000ff;\">VAR</span> cCad <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">60</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">COLOR</span> <span style=\"color: #ff0000;\">\"W/G\"</span><br /> @ <span style=\"color: #000000;\">1.8</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #ff0000;\">\"Number:\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br /> @ <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">6</span> <span style=\"color: #0000ff;\">GET</span> oGet <span style=\"color: #0000ff;\">VAR</span> nNum <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">60</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"9999999.99\"</span><br /> @ <span style=\"color: #000000;\">2.6</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #ff0000;\">\"Date:\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br /> @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">6</span> <span style=\"color: #0000ff;\">GET</span> oGet <span style=\"color: #0000ff;\">VAR</span> dDat <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"@E\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">60</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #B900B9;\">// \"@D\"</span><br /> @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">7</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"&Ok\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">12</span> <span style=\"color: #0000ff;\">ACTION</span> oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">16</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"&Cancel\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">12</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">ACTION</span> oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> CANCEL<br /> <br /> <span style=\"color: #B900B9;\">// TGet():SetColorFocus( nRGB( 200, 120, 120 ) )</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">//------------------------------------------------------------------------//</span><br /><br />procedure appsys <span style=\"color: #B900B9;\">// XBase++ requirement</span><br /><span style=\"color: #00C800;\">return</span><br /> </div>[/code:2fdzknm8]",
"time": "11:20",
"topic": "?TGET problem with FW_SetUnicode(.T.)",
"username": "dutch"
}
] |
?TGET problem with FW_SetUnicode(.T.)
|
[
{
"date": "2016-06-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I used FWH 1512 / xHarbour 1.2.3 (FW) / BCC7.\nI've changed TGET 2 place. It look better but there are not compatible case such as copy and paste. \n\nDo the current version 1604 fully support TGET on Unicode? \n[code=fw:zhlxwn31]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">#ifdef UTFREVN<br /><br /> <span style=\"color: #00C800;\">METHOD</span> SetText<span style=\"color: #000000;\">(</span> cText <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">INLINE</span> <span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">lUnicode</span> .and. ::<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">Type</span> == <span style=\"color: #ff0000;\">'C'</span>, ;<br /> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">lPassword</span>, cText := Trim<span style=\"color: #000000;\">(</span> cText <span style=\"color: #000000;\">)</span>, ; <br /> cText := FW_UTF8PADR<span style=\"color: #000000;\">(</span> cText, iif<span style=\"color: #000000;\">(</span>IsUtf8<span style=\"color: #000000;\">(</span> Eval<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">bSetGet</span> <span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span>,HB_UTF8LEN<span style=\"color: #000000;\">(</span> Eval<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">bSetGet</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>,len<span style=\"color: #000000;\">(</span>Eval<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">bSetGet</span> <span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">/*Len( Eval( ::bSetGet ) ) */</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">)</span>, ;<br /> SetWindowText<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hWnd</span>, cText <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">METHOD</span> GetText<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">INLINE</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">lUnicode</span> .and. ::<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">Type</span> == <span style=\"color: #ff0000;\">'C'</span>, ;<br /> FW_UTF8PADR<span style=\"color: #000000;\">(</span> GetWindowText<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span>, iif<span style=\"color: #000000;\">(</span>IsUtf8<span style=\"color: #000000;\">(</span> Eval<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">bSetGet</span> <span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span>,HB_UTF8LEN<span style=\"color: #000000;\">(</span> Eval<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">bSetGet</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>,len<span style=\"color: #000000;\">(</span>Eval<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">bSetGet</span> <span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><span style=\"color: #B900B9;\">/*Len( Eval( ::bSetGet )*/</span> <span style=\"color: #000000;\">)</span>, ;<br /> GetWindowText<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br />#endif<br /> </div>[/code:zhlxwn31]\n[code=fw:zhlxwn31]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> FW_UTF8PADR<span style=\"color: #000000;\">(</span> cText, nLen <span style=\"color: #000000;\">)</span><br />cText := Trim<span style=\"color: #000000;\">(</span> cText <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">if</span> IsUtf8<span style=\"color: #000000;\">(</span> cText <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">do</span> <span style=\"color: #00C800;\">while</span> HB_UTF8LEN<span style=\"color: #000000;\">(</span> cText <span style=\"color: #000000;\">)</span> > nLen<br /> cText := HB_UTF8LEFT<span style=\"color: #000000;\">(</span> cText, HB_UTF8LEN<span style=\"color: #000000;\">(</span> cText <span style=\"color: #000000;\">)</span> - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">enddo</span><br /> <br /> <span style=\"color: #00C800;\">endif</span><br /><br /><span style=\"color: #00C800;\">return</span> PadR<span style=\"color: #000000;\">(</span> cText, LEN<span style=\"color: #000000;\">(</span>cText<span style=\"color: #000000;\">)</span> - HB_UTF8LEN<span style=\"color: #000000;\">(</span> cText <span style=\"color: #000000;\">)</span> + nLen <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #B900B9;\">/*<br />function FW_UTF8PADR( cText, nLen )<br /><br /> cText := Trim( cText )<br /> if IsUtf8( cText )<br /> do while Len( cText ) > nLen<br /> cText := HB_UTF8LEFT( cText, HB_UTF8LEN( cText ) - 1 )<br /> enddo<br /> <br /> endif<br /><br />return PadR( cText, nLen )<br />*/</span><br /> </div>[/code:zhlxwn31]\nThank you in advance.",
"time": "14:19",
"topic": "?TGET problem with FW_SetUnicode(.T.)",
"username": "dutch"
}
] |
?TGET problem with FW_SetUnicode(.T.)
|
[
{
"date": "2016-07-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Get restricts entry by number of bytes.\nYou can enter as much unicode text as can fit into the number of bytes of the string.",
"time": "10:22",
"topic": "?TGET problem with FW_SetUnicode(.T.)",
"username": "nageswaragunupudi"
}
] |
?TGET problem with FW_SetUnicode(.T.)
|
[
{
"date": "2017-07-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi all !\n\n When changing the mouse the column width is a redistribution of the text in the cells for words. Is it possible to have synchronous change height of rows when you change the column width to the text in the cells is completely visible ?",
"time": "12:36",
"topic": "?hange height of rows xBrowse",
"username": "Natter"
}
] |
?hange height of rows xBrowse
|
[
{
"date": "2022-12-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\n\nI need to change the color of a rectangular window fragment. How can this be done ?",
"time": "08:22",
"topic": "?hange the color of a window fragment",
"username": "Natter"
}
] |
?hange the color of a window fragment
|
[
{
"date": "2022-12-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Please post a screenshot of what you need",
"time": "08:54",
"topic": "?hange the color of a window fragment",
"username": "Antonio Linares"
}
] |
?hange the color of a window fragment
|
[
{
"date": "2022-12-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "An orange rectangle is drawn on the white window\n\n<!-- m --><a class=\"postlink\" href=\"https://cloud.mail.ru/public/kdYk/61wg63nfX\">https://cloud.mail.ru/public/kdYk/61wg63nfX</a><!-- m -->",
"time": "11:56",
"topic": "?hange the color of a window fragment",
"username": "Natter"
}
] |
?hange the color of a window fragment
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.