messages
listlengths 1
1
| topic
stringlengths 2
60
|
|---|---|
[
{
"date": "2009-05-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thanks Uwe,\n\nThat looks really helpfull - I started to write a generic xBrowse function where it gets the contents of the fields to display from a dbf file, allowing the users to configure their own browses, but due to problems with xHarbour enterprise i havent been able to finish this. Hopefully, i can finish this function and use your program to enhance it further <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) --> \n\nBest regards,\n\nPete",
"time": "14:29",
"topic": "Best current xBrowse doc/sample",
"username": "PeterHarmes"
}
] |
Best current xBrowse doc/sample
|
[
{
"date": "2009-05-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Peter,\n\nWith the Tools, You can save Your Settings to a Project-Database.\nInside Your Application, You can call the Record for Your xbrowse, to load the Var's \nfor Your Browser like Colors, Bmp's...\n\n[img:3b9lesbl]http://www.pflegeplus.com/pictures/xbrwtools50.jpg[/img:3b9lesbl]\n\nBest Regards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "11:04",
"topic": "Best current xBrowse doc/sample",
"username": "ukoenig"
}
] |
Best current xBrowse doc/sample
|
[
{
"date": "2009-05-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thank you for the input.",
"time": "14:43",
"topic": "Best current xBrowse doc/sample",
"username": "TimStone"
}
] |
Best current xBrowse doc/sample
|
[
{
"date": "2009-05-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Tim,\n\nIf anybody wants to include the Tools and Database to a Software-package, there is no problem.\nThe Database includes var's for the Dialogs ( + Buttonbar ), where the xbrowse is shown, as well.\n\nDLG_COLOR1 = 1. Color\nDLG_COLOR2 = 2. Color for Gradient\nDLG_STYLE1 = Dialog-Color-Style ( Mono or Gradient )\nLOGO3 = Background-Image\nBARWIDTH = Width of Buttonbar\nBARHIGHT = Hight of Buttonbar\n\n[img:2y0b3fhd]http://www.pflegeplus.com/pictures/xBrwDlg.jpg[/img:2y0b3fhd]\n\nIt is possible for the next Update to include some more Dialog-vars\nlike Styles : BRICKS, BORLAND and TILED \n( will be included in Browser : Dialog-Background-Style Pos. 7, 8 and 9 )\n\nMaybe to delete the Bar-settings ( Width and Hight ) ?\nI think, it doesn't make sense, because the user doesn't know the Dialog-Size ( it is up to the programmer )\nThe free space in this Folder, could be used for other extensions.\n\nWith the new [color=#FF0000:2y0b3fhd]IMPORT-Button [/color:2y0b3fhd]inside the Template-Manager, You can open the Project-Dialog and save a\nTemplate to a selected Browser inside Your Software.\n1. Open the Project-manager from the Toolbar with SELECT\n2. Select the Template You want to use for a Browser\n3. Select the Browser, You want to import the Template\n4. Save the Values to the Browser with the Button < IMPORT >\nInside Your Software, You jump to the Record of the Project-Database to use the Values for the Browser.\n\nThere is a new Fieldname-overview, how to use the Var's for the Browsers inside Your Software.\n\n[img:2y0b3fhd]http://www.pflegeplus.com/pictures/xBrwTools52.jpg[/img:2y0b3fhd]\n\nI think with these changes, it comes close to the solution, Peter wants to do : Creating a user-definded xBrowse.\n\nA Test-Dialog with Browser, works complete with Var's from the Database :\n[code=fw:2y0b3fhd]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">//----------- xBrowse - Test, using Var's from the Project-DBF -----------------//</span><br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> Test_Browse5<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">Local</span> oDlg5, oLbx30, oBrush5, oBmp5<br /><span style=\"color: #00C800;\">Local</span> cAlias := cGetNewAlias<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"CUST\"</span> <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">LOCAL</span> oBmp1, nBMPheight<br /><span style=\"color: #00C800;\">LOCAL</span> oHeadFont, oBrwFont, oFootFont<br /><br />nFOR := <span style=\"color: #000000;\">1</span><br /><br /><span style=\"color: #00C800;\">IF</span> aFONT1_3 = .T. .and. aFONT1_4 = .T.<br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oHeadFont <span style=\"color: #0000ff;\">NAME</span> aFONT1_1 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, aFONT1_2 BOLD ITALIC<br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">IF</span> aFONT1_3 = .F. .and. aFONT1_4 = .F.<br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oHeadFont <span style=\"color: #0000ff;\">NAME</span> aFONT1_1 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, aFONT1_2 <br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">IF</span> aFONT1_3 = .T. .and. aFONT1_4 = .F.<br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oHeadFont <span style=\"color: #0000ff;\">NAME</span> aFONT1_1 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, aFONT1_2 BOLD <br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">IF</span> aFONT1_3 = .F. .and. aFONT1_4 = .T.<br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oHeadFont <span style=\"color: #0000ff;\">NAME</span> aFONT1_1 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, aFONT1_2 ITALIC<br /><span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">IF</span> aFONT2_3 = .T. .and. aFONT2_4 = .T.<br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oBrwFont <span style=\"color: #0000ff;\">NAME</span> aFONT2_1 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, aFONT2_2 BOLD ITALIC<br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">IF</span> aFONT2_3 = .F. .and. aFONT2_4 = .F.<br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oBrwFont <span style=\"color: #0000ff;\">NAME</span> aFONT2_1 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, aFONT2_2 <br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">IF</span> aFONT2_3 = .T. .and. aFONT2_4 = .F.<br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oBrwFont <span style=\"color: #0000ff;\">NAME</span> aFONT2_1 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, aFONT2_2 BOLD <br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">IF</span> aFONT2_3 = .F. .and. aFONT2_4 = .T.<br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oBrwFont <span style=\"color: #0000ff;\">NAME</span> aFONT2_1 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, aFONT2_2 ITALIC<br /><span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">IF</span> aFONT3_3 = .T. .and. aFONT3_4 = .T.<br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFootFont <span style=\"color: #0000ff;\">NAME</span> aFONT3_1 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, aFONT3_2 BOLD ITALIC<br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">IF</span> aFONT3_3 = .F. .and. aFONT3_4 = .F.<br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFootFont <span style=\"color: #0000ff;\">NAME</span> aFONT3_1 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, aFONT3_2 <br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">IF</span> aFONT3_3 = .T. .and. aFONT3_4 = .F.<br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFootFont <span style=\"color: #0000ff;\">NAME</span> aFONT3_1 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, aFONT3_2 BOLD <br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">IF</span> aFONT3_3 = .F. .and. aFONT3_4 = .T.<br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFootFont <span style=\"color: #0000ff;\">NAME</span> aFONT3_1 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, aFONT3_2 ITALIC<br /><span style=\"color: #00C800;\">ENDIF</span><br /><br />REQUEST DBFCDX<br />DBSELECTAREA<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">)</span><br />USE CUSTOMER <span style=\"color: #00C800;\">NEW</span> <span style=\"color: #0000ff;\">ALIAS</span> <span style=\"color: #000000;\">(</span>cAlias<span style=\"color: #000000;\">)</span> SHARED VIA <span style=\"color: #ff0000;\">\"DBFCDX\"</span><br />GO TOP<br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg5 <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"TESTSOURCE\"</span> <br /><br />oLbx30 := TXBrowse<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> oDlg5 <span style=\"color: #000000;\">)</span><br />nBMPheight := oLbx30:<span style=\"color: #000000;\">nRowHeight</span><br /><br /><span style=\"color: #00C800;\">IF</span> BR_STYLE = <span style=\"color: #000000;\">1</span><br /> <span style=\"color: #00C800;\">IF</span> BR_LINE = <span style=\"color: #000000;\">1</span><br /> oLbx30:<span style=\"color: #000000;\">nColDividerStyle</span> := LINESTYLE_BLACK<br /> oLbx30:<span style=\"color: #000000;\">nRowDividerStyle</span> := LINESTYLE_BLACK<br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">IF</span> BR_LINE = <span style=\"color: #000000;\">2</span><br /> oLbx30:<span style=\"color: #000000;\">nColDividerStyle</span> := LINESTYLE_DARKGRAY<br /> oLbx30:<span style=\"color: #000000;\">nRowDividerStyle</span> := LINESTYLE_DARKGRAY<br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">IF</span> BR_LINE = <span style=\"color: #000000;\">3</span><br /> oLbx30:<span style=\"color: #000000;\">nColDividerStyle</span> := LINESTYLE_FORECOLOR<br /> oLbx30:<span style=\"color: #000000;\">nRowDividerStyle</span> := LINESTYLE_FORECOLOR<br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">IF</span> BR_LINE = <span style=\"color: #000000;\">4</span><br /> oLbx30:<span style=\"color: #000000;\">nColDividerStyle</span> := LINESTYLE_LIGHTGRAY<br /> oLbx30:<span style=\"color: #000000;\">nRowDividerStyle</span> := LINESTYLE_LIGHTGRAY<br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">IF</span> BR_LINE = <span style=\"color: #000000;\">5</span><br /> oLbx30:<span style=\"color: #000000;\">nColDividerStyle</span> := LINESTYLE_INSET<br /> oLbx30:<span style=\"color: #000000;\">nRowDividerStyle</span> := LINESTYLE_INSET<br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">IF</span> BR_LINE = <span style=\"color: #000000;\">6</span><br /> oLbx30:<span style=\"color: #000000;\">nColDividerStyle</span> := LINESTYLE_RAISED<br /> oLbx30:<span style=\"color: #000000;\">nRowDividerStyle</span> := LINESTYLE_RAISED<br /> <span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">IF</span> BR_STYLE = <span style=\"color: #000000;\">2</span><br /> oLbx30:<span style=\"color: #000000;\">nColDividerStyle</span> := LINESTYLE_NOLINES <br /> <span style=\"color: #00C800;\">IF</span> BR_LINE = <span style=\"color: #000000;\">1</span><br /> oLbx30:<span style=\"color: #000000;\">nRowDividerStyle</span> := LINESTYLE_BLACK<br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">IF</span> BR_LINE = <span style=\"color: #000000;\">2</span><br /> oLbx30:<span style=\"color: #000000;\">nRowDividerStyle</span> := LINESTYLE_DARKGRAY<br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">IF</span> BR_LINE = <span style=\"color: #000000;\">3</span><br /> oLbx30:<span style=\"color: #000000;\">nRowDividerStyle</span> := LINESTYLE_FORECOLOR<br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">IF</span> BR_LINE = <span style=\"color: #000000;\">4</span><br /> oLbx30:<span style=\"color: #000000;\">nRowDividerStyle</span> := LINESTYLE_LIGHTGRAY<br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">IF</span> BR_LINE = <span style=\"color: #000000;\">5</span><br /> oLbx30:<span style=\"color: #000000;\">nRowDividerStyle</span> := LINESTYLE_INSET<br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">IF</span> BR_LINE = <span style=\"color: #000000;\">6</span><br /> oLbx30:<span style=\"color: #000000;\">nRowDividerStyle</span> := LINESTYLE_RAISED<br /> <span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">IF</span> BR_STYLE = <span style=\"color: #000000;\">3</span><br /> oLbx30:<span style=\"color: #000000;\">nRowDividerStyle</span> := LINESTYLE_NOLINES<br /> <span style=\"color: #00C800;\">IF</span> BR_LINE = <span style=\"color: #000000;\">1</span><br /> oLbx30:<span style=\"color: #000000;\">nColDividerStyle</span> := LINESTYLE_BLACK<br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">IF</span> BR_LINE = <span style=\"color: #000000;\">2</span><br /> oLbx30:<span style=\"color: #000000;\">nColDividerStyle</span> := LINESTYLE_DARKGRAY<br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">IF</span> BR_LINE = <span style=\"color: #000000;\">3</span><br /> oLbx30:<span style=\"color: #000000;\">nColDividerStyle</span> := LINESTYLE_FORECOLOR<br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">IF</span> BR_LINE = <span style=\"color: #000000;\">4</span><br /> oLbx30:<span style=\"color: #000000;\">nColDividerStyle</span> := LINESTYLE_LIGHTGRAY<br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">IF</span> BR_LINE = <span style=\"color: #000000;\">5</span><br /> oLbx30:<span style=\"color: #000000;\">nColDividerStyle</span> := LINESTYLE_INSET<br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">IF</span> BR_LINE = <span style=\"color: #000000;\">6</span><br /> oLbx30:<span style=\"color: #000000;\">nColDividerStyle</span> := LINESTYLE_RAISED<br /> <span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">IF</span> BR_STYLE = <span style=\"color: #000000;\">4</span><br /> oLbx30:<span style=\"color: #000000;\">nRowDividerStyle</span> := LINESTYLE_NOLINES<br /> oLbx30:<span style=\"color: #000000;\">nColDividerStyle</span> := LINESTYLE_NOLINES <br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">IF</span> BR_STYLE < <span style=\"color: #000000;\">4</span><br /> <span style=\"color: #00C800;\">IF</span> BR_CELL = <span style=\"color: #000000;\">1</span><br /> oLbx30:<span style=\"color: #000000;\">nMarqueeStyle</span> := MARQSTYLE_NOMARQUEE <br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">IF</span> BR_CELL = <span style=\"color: #000000;\">2</span><br /> oLbx30:<span style=\"color: #000000;\">nMarqueeStyle</span> := MARQSTYLE_DOTEDCELL <br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">IF</span> BR_CELL = <span style=\"color: #000000;\">3</span><br /> oLbx30:<span style=\"color: #000000;\">nMarqueeStyle</span> := MARQSTYLE_SOLIDCELL<br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">IF</span> BR_CELL = <span style=\"color: #000000;\">4</span><br /> oLbx30:<span style=\"color: #000000;\">nMarqueeStyle</span> := MARQSTYLE_HIGHLCELL <br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">IF</span> BR_CELL = <span style=\"color: #000000;\">5</span><br /> oLbx30:<span style=\"color: #000000;\">nMarqueeStyle</span> := MARQSTYLE_HIGHLROWRC<br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">IF</span> BR_CELL = <span style=\"color: #000000;\">6</span><br /> oLbx30:<span style=\"color: #000000;\">nMarqueeStyle</span> := MARQSTYLE_HIGHLROW<br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">IF</span> BR_CELL = <span style=\"color: #000000;\">7</span><br /> oLbx30:<span style=\"color: #000000;\">nMarqueeStyle</span> := MARQSTYLE_HIGHLROWMS<br /> <span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #B900B9;\">// HEADER GADIENT ON / OFF</span><br /><span style=\"color: #B900B9;\">// ---------------------------------------</span><br /><span style=\"color: #00C800;\">IF</span> HEADGRAD = <span style=\"color: #000000;\">1</span><br /> oLbx30:<span style=\"color: #000000;\">l2007</span> := .T.<br /> oLbx30:<span style=\"color: #000000;\">bClrGrad</span> := <span style=\"color: #000000;\">{</span> | lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! lInvert, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> MOVE1, BR_COLOR1, BR_COLOR2 <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> MOVE1, BR_COLOR2, BR_COLOR1 <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> MOVE2, BR_MCOLOR, BR_COLOR2 <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> MOVE2, BR_COLOR2, BR_MCOLOR <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> oLbx30:<span style=\"color: #000000;\">bClrHeader</span> := <span style=\"color: #000000;\">{</span> || <span style=\"color: #000000;\">{</span> BR_THCOLOR, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">IF</span> FOOTER = <span style=\"color: #000000;\">1</span><br /> oLbx30:<span style=\"color: #000000;\">bClrFooter</span> := <span style=\"color: #000000;\">{</span> || <span style=\"color: #000000;\">{</span> BR_TFCOLOR, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <br /> <span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">ELSE</span><br /> oLbx30:<span style=\"color: #000000;\">bClrGrad</span> := <span style=\"color: #00C800;\">NIL</span><br /> oLbx30:<span style=\"color: #000000;\">l2007</span> := .F.<br /><span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #B900B9;\">// Color-Set</span><br /><span style=\"color: #B900B9;\">// -------------------------------------------------</span><br />oLbx30:<span style=\"color: #000000;\">bClrSelFocus</span> = <span style=\"color: #000000;\">{</span> || <span style=\"color: #000000;\">{</span> SELTCOLOR, SELBCOLOR <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <br /><br /><span style=\"color: #00C800;\">IF</span> SELECTOR = <span style=\"color: #000000;\">1</span><br /> <span style=\"color: #B900B9;\">// Color Record-Selector</span><br /> <span style=\"color: #B900B9;\">// --------------------------------------</span><br /> oLbx30:<span style=\"color: #000000;\">nRecSelColor</span> = SELCOLOR1 <br /><span style=\"color: #00C800;\">ELSE</span><br /> oLbx30:<span style=\"color: #000000;\">lRecordSelector</span> := .F.<br /><span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #B900B9;\">// Lost Focus Color</span><br /><span style=\"color: #B900B9;\">// ---------------------</span><br />oLbx30:<span style=\"color: #000000;\">bClrSel</span> = <span style=\"color: #000000;\">{</span> || <span style=\"color: #000000;\">{</span> SELTCOLOR, SELBCOLOR <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <br /><br /><span style=\"color: #00C800;\">IF</span> SCROLLH = <span style=\"color: #000000;\">1</span><br /> oLbx30:<span style=\"color: #000000;\">lHScroll</span> := .T.<br /><span style=\"color: #00C800;\">ELSE</span><br /> oLbx30:<span style=\"color: #000000;\">lHScroll</span> := .F.<br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">IF</span> SCROLLV = <span style=\"color: #000000;\">1</span><br /> oLbx30:<span style=\"color: #000000;\">lVScroll</span> := .T.<br /><span style=\"color: #00C800;\">ELSE</span><br /> oLbx30:<span style=\"color: #000000;\">lVScroll</span> := .F.<br /><span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">IF</span> FOOTER = <span style=\"color: #000000;\">1</span><br /> oLbx30:<span style=\"color: #000000;\">lFooter</span> := .T.<br /> oLbx30:<span style=\"color: #000000;\">nHeaderHeight</span> := BRWHEADER<br /> oLbx30:<span style=\"color: #000000;\">nFooterHeight</span> := BRWFOOTER<br /><span style=\"color: #00C800;\">ELSE</span><br /> oLbx30:<span style=\"color: #000000;\">lFooter</span> := .F.<br /> oLbx30:<span style=\"color: #000000;\">nHeaderHeight</span> := BRWHEADER<br /><span style=\"color: #00C800;\">ENDIF</span><br /><br />oCol := oLbx30:<span style=\"color: #000000;\">AddCol</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br />oCol:<span style=\"color: #000000;\">AddResource</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"CLIP\"</span> <span style=\"color: #000000;\">)</span><br />oCol:<span style=\"color: #000000;\">AddResource</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"star\"</span> <span style=\"color: #000000;\">)</span><br />oCol:<span style=\"color: #000000;\">bLClickHeader</span> = <span style=\"color: #000000;\">{</span> | nMRow, nMCol, nFlags, <span style=\"color: #00C800;\">Self</span> | ;<br /> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">nHeadBmpNo</span> == <span style=\"color: #000000;\">2</span>, ::<span style=\"color: #000000;\">nHeadBmpNo</span> := <span style=\"color: #000000;\">1</span>, ;<br /> ::<span style=\"color: #000000;\">nHeadBmpNo</span> := <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span>, ::<span style=\"color: #000000;\">oLbx30</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br />oCol:<span style=\"color: #000000;\">cHeader</span> := <span style=\"color: #ff0000;\">\"CLIP\"</span><br />oCol:<span style=\"color: #000000;\">nHeadBmpNo</span> := <span style=\"color: #000000;\">1</span><br />oCol:<span style=\"color: #000000;\">nHeadBmpAlign</span> := AL_RIGHT<br /><br />oCol := oLbx30:<span style=\"color: #000000;\">AddCol</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br />oCol:<span style=\"color: #000000;\">bStrData</span> := <span style=\"color: #000000;\">{</span> || <span style=\"color: #000000;\">(</span>cAlias<span style=\"color: #000000;\">)</span>->First<span style=\"color: #000000;\">}</span><br />oCol:<span style=\"color: #000000;\">cHeader</span> := <span style=\"color: #ff0000;\">\"First\"</span><br />oCol:<span style=\"color: #000000;\">cFooter</span> := <span style=\"color: #ff0000;\">\"First\"</span><br /><br />oCol := oLbx30:<span style=\"color: #000000;\">AddCol</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br />oCol:<span style=\"color: #000000;\">bStrData</span> := <span style=\"color: #000000;\">{</span> || <span style=\"color: #000000;\">(</span>cAlias<span style=\"color: #000000;\">)</span>->Last<span style=\"color: #000000;\">}</span><br />oCol:<span style=\"color: #000000;\">cHeader</span> := <span style=\"color: #ff0000;\">\"Last\"</span><br />oCol:<span style=\"color: #000000;\">cFooter</span> := <span style=\"color: #ff0000;\">\"Last\"</span><br /><span style=\"color: #00C800;\">IF</span> !EMPTY<span style=\"color: #000000;\">(</span> LOGO2 <span style=\"color: #000000;\">)</span><br /> oCol:<span style=\"color: #000000;\">AddBmpFile</span><span style=\"color: #000000;\">(</span>LOGO2<span style=\"color: #000000;\">)</span><br /> oCol:<span style=\"color: #000000;\">bBmpData</span> := <span style=\"color: #000000;\">{</span>|| <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #0000ff;\">DEFINE</span> BITMAP oBmp1 FILENAME LOGO2<br /> nBMPHight := oBmp1:<span style=\"color: #000000;\">nHeight</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oBmp1:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">ENDIF</span><br /><br />oCol := oLbx30:<span style=\"color: #000000;\">AddCol</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br />oCol:<span style=\"color: #000000;\">bStrData</span> := <span style=\"color: #000000;\">{</span> || <span style=\"color: #000000;\">(</span>cAlias<span style=\"color: #000000;\">)</span>->City<span style=\"color: #000000;\">}</span><br />oCol:<span style=\"color: #000000;\">cHeader</span> := <span style=\"color: #ff0000;\">\"City\"</span><br />oCol:<span style=\"color: #000000;\">cFooter</span> := <span style=\"color: #ff0000;\">\"City\"</span><br /><br />oCol := oLbx30:<span style=\"color: #000000;\">AddCol</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br />oCol:<span style=\"color: #000000;\">bStrData</span> := <span style=\"color: #000000;\">{</span> || <span style=\"color: #000000;\">(</span>cAlias<span style=\"color: #000000;\">)</span>->State<span style=\"color: #000000;\">}</span><br />oCol:<span style=\"color: #000000;\">cHeader</span> := <span style=\"color: #ff0000;\">\"State\"</span><br />oCol:<span style=\"color: #000000;\">cFooter</span> := <span style=\"color: #ff0000;\">\"State\"</span><br /><br />oCol := oLbx30:<span style=\"color: #000000;\">AddCol</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br />oCol:<span style=\"color: #000000;\">bStrData</span> := <span style=\"color: #000000;\">{</span> || IIF<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">(</span>cAlias<span style=\"color: #000000;\">)</span>->Married, <span style=\"color: #ff0000;\">\"YES\"</span>,<span style=\"color: #ff0000;\">\"NO\"</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">}</span><br />oCol:<span style=\"color: #000000;\">cHeader</span> := <span style=\"color: #ff0000;\">\"Married\"</span><br />oCol:<span style=\"color: #000000;\">cFooter</span> := <span style=\"color: #ff0000;\">\"Married\"</span><br /><br />oCol := oLbx30:<span style=\"color: #000000;\">AddCol</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br />oCol:<span style=\"color: #000000;\">bStrData</span> := <span style=\"color: #000000;\">{</span> || DTOS<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">(</span>cAlias<span style=\"color: #000000;\">)</span>->HireDate<span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">}</span><br />oCol:<span style=\"color: #000000;\">cHeader</span> := <span style=\"color: #ff0000;\">\"HireDate\"</span><br />oCol:<span style=\"color: #000000;\">cFooter</span> := <span style=\"color: #ff0000;\">\"HireDate\"</span><br /><br />oCol := oLbx30:<span style=\"color: #000000;\">AddCol</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br />oCol:<span style=\"color: #000000;\">bStrData</span> := <span style=\"color: #000000;\">{</span> || STR<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">(</span>cAlias<span style=\"color: #000000;\">)</span>->Age<span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">}</span><br />oCol:<span style=\"color: #000000;\">cHeader</span> := <span style=\"color: #ff0000;\">\"Age\"</span><br />oCol:<span style=\"color: #000000;\">cFooter</span> := <span style=\"color: #ff0000;\">\"Age\"</span><br /><br />oCol := oLbx30:<span style=\"color: #000000;\">AddCol</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br />oCol:<span style=\"color: #000000;\">bStrData</span> := <span style=\"color: #000000;\">{</span> || STR<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">(</span>cAlias<span style=\"color: #000000;\">)</span>->Salary<span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">}</span><br />oCol:<span style=\"color: #000000;\">cHeader</span> := <span style=\"color: #ff0000;\">\"Salary\"</span><br />oCol:<span style=\"color: #000000;\">cFooter</span> := <span style=\"color: #ff0000;\">\"Salary\"</span><br /><br />oLbx30:<span style=\"color: #000000;\">oFont</span> := oBrwFont<br /><br />oLbx30:<span style=\"color: #000000;\">nRowHeight</span> := BR_ROW<br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush5 <span style=\"color: #0000ff;\">COLOR</span> SELCOLOR2 <br />oLbx30:<span style=\"color: #000000;\">hBrushRecSel</span><span style=\"color: #000000;\">(</span> oBrush5 <span style=\"color: #000000;\">)</span><br /><span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush5<br /><span style=\"color: #00C800;\">IF</span> !EMPTY<span style=\"color: #000000;\">(</span> BRSELECT2 <span style=\"color: #000000;\">)</span><br /> oBmp5 := ReadBitmap<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span>, BRSELECT2 <span style=\"color: #000000;\">)</span><br /> oLbx30:<span style=\"color: #000000;\">hBmpRecSel</span><span style=\"color: #000000;\">(</span> oBmp5 <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">ENDIF</span><br /><br />oLbx30:<span style=\"color: #000000;\">SetRDD</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">IF</span> STRETCH = <span style=\"color: #000000;\">2</span> .and. !EMPTY <span style=\"color: #000000;\">(</span> LOGO4 <span style=\"color: #000000;\">)</span><br /> oLbx30:<span style=\"color: #000000;\">cBmpAdjBrush</span> := LOGO4 <br /> oLbx30:<span style=\"color: #000000;\">SetBackGround</span><span style=\"color: #000000;\">(</span> LOGO4 <span style=\"color: #000000;\">)</span><br /> aeval<span style=\"color: #000000;\">(</span> oLbx30:<span style=\"color: #000000;\">aCols</span>, <span style=\"color: #000000;\">{</span> |o|o:<span style=\"color: #000000;\">lColTransparent</span> := .t. <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <br /><span style=\"color: #00C800;\">ENDIF</span><br /><br />oLbx30:<span style=\"color: #000000;\">CreateFromResource</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">110</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">IF</span> !EMPTY<span style=\"color: #000000;\">(</span> LOGO2 <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">IF</span> oLbx30:<span style=\"color: #000000;\">nRowHeight</span> < nBMPHight<br /> oLbx30:<span style=\"color: #000000;\">nRowHeight</span> := nBMPHight + <span style=\"color: #000000;\">4</span><br /> <span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">IF</span> !EMPTY<span style=\"color: #000000;\">(</span> LOGO1 <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush5 FILENAME LOGO1<br /> oLbx30:<span style=\"color: #000000;\">SetBackGround</span><span style=\"color: #000000;\">(</span> oBrush5 <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush5<br /> oLbx30:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">ELSE</span><br /> <span style=\"color: #B900B9;\">// COLUMN Data MONO / ALTERNATE</span><br /> <span style=\"color: #B900B9;\">// ------------------------------------------------</span><br /> <span style=\"color: #00C800;\">IF</span> VERTHORIZ = <span style=\"color: #000000;\">1</span><br /> <span style=\"color: #00C800;\">IF</span> ALTERMONO = <span style=\"color: #000000;\">1</span><br /> aClrCol := <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> ROW_TEXT, ROW_COL2 <span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span> ROW_TEXT, ROW_COL1 <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">ELSE</span><br /> aClrCol := <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> ROW_TEXT, ROW_COL1 <span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span> ROW_TEXT, ROW_COL1 <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">ENDIF</span><br /> oLbx30:<span style=\"color: #000000;\">bClrStd</span> := <span style=\"color: #000000;\">{</span> || aClrCol<span style=\"color: #000000;\">[</span> oLbx30:<span style=\"color: #000000;\">KeyNo</span> % <span style=\"color: #000000;\">2</span> + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">}</span> <br /> <span style=\"color: #00C800;\">ELSE</span><br /> <span style=\"color: #B900B9;\">// Column-Display</span><br /> lSELECT := .T.<br /> aClrCol := <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> ROW_TEXT, COL_COLOR <span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span> ROW_TEXT, ROW_COL1 <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <br /> <span style=\"color: #00C800;\">FOR</span> nFOR := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> LEN<span style=\"color: #000000;\">(</span> oLbx30:<span style=\"color: #000000;\">aCols</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">IF</span> lSELECT = .T. <br /> oLbx30:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span>nFOR<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bClrStd</span> := <span style=\"color: #000000;\">{</span> || aClrCol<span style=\"color: #000000;\">[</span> nFOR % <span style=\"color: #000000;\">1</span> + <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">}</span><br /> lSELECT := .F.<br /> <span style=\"color: #00C800;\">ELSE</span><br /> oLbx30:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span>nFOR<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bClrStd</span> := <span style=\"color: #000000;\">{</span> || aClrCol<span style=\"color: #000000;\">[</span> nFOR % <span style=\"color: #000000;\">2</span> + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">}</span><br /> lSELECT := .T.<br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">NEXT</span> <br /> <span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">ENDIF</span><br /><br />i := <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00C800;\">FOR</span> i := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> LEN<span style=\"color: #000000;\">(</span> oLbx30:<span style=\"color: #000000;\">aCols</span> <span style=\"color: #000000;\">)</span><br /> WITH OBJECT oLbx30:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span>i<span style=\"color: #000000;\">]</span><br /> oLbx30:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span>i<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">oHeaderFont</span> := oHeadFont <br /> oLbx30:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span>i<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bClrHeader</span> := <span style=\"color: #000000;\">{</span> || <span style=\"color: #000000;\">{</span> BR_THCOLOR, BR_COLOR1 <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">IF</span> FOOTER = <span style=\"color: #000000;\">1</span><br /> oLbx30:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span>i<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">oFooterFont</span> := oFootFont <br /> oLbx30:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span>i<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bClrFooter</span> := <span style=\"color: #000000;\">{</span> || <span style=\"color: #000000;\">{</span> BR_TFCOLOR, BR_COLOR3 <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <br /> <span style=\"color: #00C800;\">ENDIF</span> <br /> END<br /><span style=\"color: #00C800;\">NEXT</span><br /><br /><span style=\"color: #0000ff;\">REDEFINE</span> BUTTONBMP oBtn11 <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">OF</span> oDlg5 ;<br /><span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> oDlg5:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> ;<br />BITMAP <span style=\"color: #ff0000;\">\"Quit\"</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\" Exit\"</span> TEXTRIGHT<br />oBtn11:<span style=\"color: #000000;\">cToolTip</span> = <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"Close\"</span> + CRLF + ;<br /> <span style=\"color: #ff0000;\">\"the Dialog\"</span>,<span style=\"color: #ff0000;\">\"xBrowse-Preview\"</span>, <span style=\"color: #000000;\">1</span>, CLR_BLACK, <span style=\"color: #000000;\">14089979</span> <span style=\"color: #000000;\">}</span> <br /><br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg5 <span style=\"color: #0000ff;\">CENTERED</span> ;<br /><span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">PAINT</span> DLG_BACK<span style=\"color: #000000;\">(</span> oDlg5 <span style=\"color: #000000;\">)</span> ;<br /><span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">(</span> oDlg5:<span style=\"color: #0000ff;\">Move</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">10</span>, oDlg5:<span style=\"color: #000000;\">nWidth</span>, oDlg5:<span style=\"color: #000000;\">nHeight</span>, .f. <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br />DBSELECTAREA<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">)</span><br />NET_CLOSE<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">5</span>, .T. <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">FONT</span> oHeadFont<br /><span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">FONT</span> oBrwFont<br /><span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">FONT</span> oFootFont<br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">)</span> <br /><br /><span style=\"color: #B900B9;\">// ---------------------------------------------</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> DLG_BACK<span style=\"color: #000000;\">(</span> oDlg5 <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">LOCAL</span> oBrush6<br /><span style=\"color: #00C800;\">LOCAL</span> hDC := oDlg5:<span style=\"color: #000000;\">GetDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <br /><br /><span style=\"color: #00C800;\">IF</span> DLG_STYLE1 < <span style=\"color: #000000;\">5</span><br /> gradpaint2<span style=\"color: #000000;\">(</span> hDC, oDlg5 <span style=\"color: #000000;\">)</span> <br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">IF</span> DLG_STYLE1 = <span style=\"color: #000000;\">5</span><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush6 <span style=\"color: #0000ff;\">COLOR</span> DLG_COLOR1<br /> FillRect<span style=\"color: #000000;\">(</span>oDlg5:<span style=\"color: #000000;\">hDC</span>, GetClientRect<span style=\"color: #000000;\">(</span> oDlg5:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span>, oBrush6:<span style=\"color: #000000;\">hBrush</span> <span style=\"color: #000000;\">)</span><br /> oBrush6:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">IF</span> DLG_STYLE1 = <span style=\"color: #000000;\">6</span><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush6 FILENAME LOGO3<br /> FillRect<span style=\"color: #000000;\">(</span>oDlg5:<span style=\"color: #000000;\">hDC</span>, GetClientRect<span style=\"color: #000000;\">(</span> oDlg5:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span>, oBrush6:<span style=\"color: #000000;\">hBrush</span> <span style=\"color: #000000;\">)</span><br /> oBrush6:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">ENDIF</span><br /><br />oDlg5:<span style=\"color: #000000;\">ReleaseDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">)</span> <br /> </div>[/code:2y0b3fhd]\n\nBest Regards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "16:07",
"topic": "Best current xBrowse doc/sample",
"username": "ukoenig"
}
] |
Best current xBrowse doc/sample
|
[
{
"date": "2022-10-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Before i start this project, I want to know witch options best to use for the drag and drop system ?\n\nXbrowse\nXImage\nThe Album class posted yesterday and in samples ?\nOr ??\n\nI have over 100.000 pics in a folder and the names are in a dbf. This dbf will be scooped in order to have a selection of pics to choise from.\nI need a target (array/dbf) where I can put the maximum of 12 pictures from the scooped pictures 'these can be max 50 pics\nThe target files (max 12) should also be drag and drop for changing position and deleting is not wanted.\n\nMy personel choice would be 2 Xbrowses and Xbrowse can handle drag and drop. Any advice in other controls before I start ?",
"time": "09:04",
"topic": "Best options for drag and drop pictures",
"username": "Marc Venken"
}
] |
Best options for drag and drop pictures
|
[
{
"date": "2022-10-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote:31ck4kwc]My personel choice would be 2 Xbrowses and Xbrowse can handle drag and drop. Any advice in other controls before I start ?\n[/quote:31ck4kwc]\nYour choice is the best.",
"time": "10:56",
"topic": "Best options for drag and drop pictures",
"username": "nageswaragunupudi"
}
] |
Best options for drag and drop pictures
|
[
{
"date": "2022-10-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mark,\nanother option would be modharbour.\n\n[img:2j5hlru6]https://mybergland.com/fwforum/dragdrop.gif[/img:2j5hlru6]\n\n[code=fw:2j5hlru6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />REQUEST DBFCDX<br />REQUEST DBFFPT<br /><br /><span style=\"color: #00C800;\">static</span> hHash_DBF, aRelationship_DBF<br /><br /><span style=\"color: #00C800;\">function</span> main<br /><span style=\"color: #B900B9;\">// mod harbour CODE</span><br /><br />TEMPLATE PARAMS hHash_DBF<br /><br /><!DOCTYPE html><br /><html><br /><head><br /><!-- HARBOURINO --><br /> <br /> <title>WINHOTEL Terminverwaltung</title><br /> <meta charset=<span style=\"color: #ff0000;\">\"UTF-8\"</span>><br /> <meta <span style=\"color: #0000ff;\">name</span>=<span style=\"color: #ff0000;\">\"viewport\"</span> content=<span style=\"color: #ff0000;\">\"width=device-width, initial-scale=1, shrink-to-fit=no\"</span>><br /> <meta http-equiv=<span style=\"color: #ff0000;\">\"x-ua-compatible\"</span> content=<span style=\"color: #ff0000;\">\"ie=edge\"</span>><br /> <link rel=<span style=\"color: #ff0000;\">\"shortcut icon\"</span> type=<span style=\"color: #ff0000;\">\"image/png\"</span> href=<span style=\"color: #ff0000;\">\"img/favicon.ico\"</span>/><br /> <br /><!-- HARBOURINO --><br /><link href = <span style=\"color: #ff0000;\">\"https://code.jquery.com/ui/1.10.4/themes/ui-lightness/jquery-ui.css\"</span> rel = <span style=\"color: #ff0000;\">\"stylesheet\"</span>><br /><script src = <span style=\"color: #ff0000;\">\"https://code.jquery.com/jquery-1.10.2.js\"</span>></script><br /><script src = <span style=\"color: #ff0000;\">\"https://code.jquery.com/ui/1.10.4/jquery-ui.js\"</span>></script><br /><script src=<span style=\"color: #ff0000;\">\"https://cdnjs.cloudflare.com/ajax/libs/jqueryui-touch-punch/0.2.3/jquery.ui.touch-punch.min.js\"</span> integrity=<span style=\"color: #ff0000;\">\"sha512-0bEtK0USNd96MnO4XhH8jhv3nyRF0eK87pJke6pkYf3cM0uDIhNJy9ltuzqgypoIFXw3JSuiy04tVk4AjpZdZw==\"</span> crossorigin=<span style=\"color: #ff0000;\">\"anonymous\"</span>></script><br /><!-- HARBOURINO --><br /><!-- CSS --><br /><style><br /> <br /><br />.wrapper <span style=\"color: #000000;\">{</span><br /> margin: 40px auto;<br /> width: 600px;<br /> border: 0px solid black;<br /><span style=\"color: #000000;\">}</span><br />.pagetabs <span style=\"color: #000000;\">{</span><br /> float:<span style=\"color: #0000ff;\">left</span>;<br /> width: <span style=\"color: #000000;\">100</span>%;<br /> margin: <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">0</span> 5px <span style=\"color: #000000;\">0</span>;<br /><span style=\"color: #000000;\">}</span><br />.pagetab <span style=\"color: #000000;\">{</span><br /> float:<span style=\"color: #0000ff;\">left</span>;<br /> padding: 10px;<br /> border: 1px solid black;<br /> margin: <span style=\"color: #000000;\">0</span> 20px <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">0</span>;<br /><span style=\"color: #000000;\">}</span><br />.pagetab_drop <span style=\"color: #000000;\">{</span><br /> background: #ddd;<br /><span style=\"color: #000000;\">}</span><br />.<span style=\"color: #0000ff;\">page</span> <span style=\"color: #000000;\">{</span><br /> <span style=\"color: #00C800;\">display</span>: <span style=\"color: #000000;\">none</span>;<br /><span style=\"color: #000000;\">}</span><br />.page_active <span style=\"color: #000000;\">{</span><br /> <span style=\"color: #00C800;\">display</span>: <span style=\"color: #000000;\">block</span>;<br /><span style=\"color: #000000;\">}</span><br />.column <span style=\"color: #000000;\">{</span><br /> width: 280px;<br /> border: 1px solid orange;<br /> margin: <span style=\"color: #000000;\">0</span> 10px <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">0</span>;<br /> padding: <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">0</span> 40px <span style=\"color: #000000;\">0</span>;<br /> float:<span style=\"color: #0000ff;\">left</span>;<br /><span style=\"color: #000000;\">}</span><br />.box <span style=\"color: #000000;\">{</span><br /> width: 280px;<br /> height: 100px;<br /> border: 1px solid blue;<br /> margin: <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">0</span> 10px <span style=\"color: #000000;\">0</span>;<br /> background: #eee;<br /> clear:<span style=\"color: #000000;\">both</span>;<br /><span style=\"color: #000000;\">}</span><br />.place_holder <span style=\"color: #000000;\">{</span><br /> width: 280px;<br /> height: 20px;<br /> background: #ddd;<br /> margin: <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">0</span> 10px <span style=\"color: #000000;\">0</span>;<br /><span style=\"color: #000000;\">}</span><br />.clear <span style=\"color: #000000;\">{</span><br /> clear:<span style=\"color: #000000;\">both</span>;<br /><span style=\"color: #000000;\">}</span> <br /><br /><br /></style><br /></head><br /><br /><body><br /><div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">'wrapper'</span>> <br /> <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">'pagetabs'</span>> <br /> <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">'pagetab'</span> <span style=\"color: #0000ff;\">id</span>=<span style=\"color: #ff0000;\">'tab_1'</span>>Page <span style=\"color: #000000;\">1</span></div> <br /> <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">'pagetab'</span> <span style=\"color: #0000ff;\">id</span>=<span style=\"color: #ff0000;\">'tab_2'</span>>Page <span style=\"color: #000000;\">2</span></div> <br /> </div> <br /> <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">'page page_active'</span> <span style=\"color: #0000ff;\">id</span>=<span style=\"color: #ff0000;\">'page_1'</span>> <br /> <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">'column'</span>> <br /> <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">'box'</span>>Box <span style=\"color: #000000;\">1</span></div> <br /> <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">'box'</span>>Box <span style=\"color: #000000;\">2</span></div> <br /> </div> <br /> <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">'column'</span>> <br /> <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">'box'</span>>Box <span style=\"color: #000000;\">3</span></div> <br /> </div> <br /> <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">'clear'</span>></div> <br /> </div> <br /> <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">'page'</span> <span style=\"color: #0000ff;\">id</span>=<span style=\"color: #ff0000;\">'page_2'</span>> <br /> <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">'column'</span>> <br /> <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">'box'</span>>Box <span style=\"color: #000000;\">4</span></div> <br /> <br /> </div> <br /> <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">'column'</span>> <br /> <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">'box'</span>>Box <span style=\"color: #000000;\">5</span></div><br /> <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">'box'</span>>Box <span style=\"color: #000000;\">6</span></div> <br /> </div> <br /> <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">'clear'</span>></div> <br /> </div> <br /> <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">'clear'</span>></div> <br /></div> <br /><script><br />$<span style=\"color: #000000;\">(</span>document<span style=\"color: #000000;\">)</span>.ready<span style=\"color: #000000;\">(</span><span style=\"color: #00C800;\">function</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">{</span> <br /> <br /> <span style=\"color: #B900B9;\">// THANKS FOR YOUR HELP :) - Whit</span><br /> <br /> $<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'.pagetab'</span><span style=\"color: #000000;\">)</span>.<span style=\"color: #0000ff;\">click</span><span style=\"color: #000000;\">(</span><span style=\"color: #00C800;\">function</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">{</span><br /> show_page<span style=\"color: #000000;\">(</span>extract_id<span style=\"color: #000000;\">(</span>$<span style=\"color: #000000;\">(</span>this<span style=\"color: #000000;\">)</span>.attr<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'id'</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">)</span>;<br /> <br /> $<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\".column\"</span><span style=\"color: #000000;\">)</span>.sortable<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">{</span><br /> connectWith: <span style=\"color: #ff0000;\">'.column'</span>,<br /> opacity: <span style=\"color: #000000;\">0.4</span>,<br /> tolerance: <span style=\"color: #ff0000;\">'pointer'</span>,<br /> placeholder: <span style=\"color: #ff0000;\">'place_holder'</span>,<br /> helper: <span style=\"color: #00C800;\">function</span><span style=\"color: #000000;\">(</span>event, el<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">{</span><br /> <span style=\"color: #0000ff;\">var</span> myclone = el.clone<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>;<br /> $<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'body'</span><span style=\"color: #000000;\">)</span>.append<span style=\"color: #000000;\">(</span>myclone<span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #00C800;\">return</span> myclone;<br /> <span style=\"color: #000000;\">}</span>,<br /> <span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">)</span>.disableSelection<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>;<br /> <br /> $<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\".pagetab\"</span><span style=\"color: #000000;\">)</span>.droppable<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">{</span><br /> over: <span style=\"color: #00C800;\">function</span><span style=\"color: #000000;\">(</span>event, ui<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">{</span><br /> $<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\".pagetab\"</span><span style=\"color: #000000;\">)</span>.removeClass<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'pagetab_drop'</span><span style=\"color: #000000;\">)</span>;<br /> $<span style=\"color: #000000;\">(</span>this<span style=\"color: #000000;\">)</span>.addClass<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'pagetab_drop'</span><span style=\"color: #000000;\">)</span><br /> show_page<span style=\"color: #000000;\">(</span>extract_id<span style=\"color: #000000;\">(</span>$<span style=\"color: #000000;\">(</span>this<span style=\"color: #000000;\">)</span>.attr<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'id'</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #000000;\">}</span>,<br /> out: <span style=\"color: #00C800;\">function</span><span style=\"color: #000000;\">(</span>event, ui<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">{</span><br /> $<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\".pagetab\"</span><span style=\"color: #000000;\">)</span>.removeClass<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'pagetab_drop'</span><span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #000000;\">}</span>,<br /> tolerance: <span style=\"color: #ff0000;\">'pointer'</span><br /> <span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">)</span>;<br /> <br /><span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">)</span>;<br /> <br /><span style=\"color: #00C800;\">function</span> show_page<span style=\"color: #000000;\">(</span><span style=\"color: #0000ff;\">id</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">{</span><br /> $<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'.page'</span><span style=\"color: #000000;\">)</span>.removeClass<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'page_active'</span><span style=\"color: #000000;\">)</span>;<br /> $<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'#page_'</span>+<span style=\"color: #0000ff;\">id</span><span style=\"color: #000000;\">)</span>.addClass<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'page_active'</span><span style=\"color: #000000;\">)</span>;<br /><span style=\"color: #000000;\">}</span><br /> <br /><span style=\"color: #00C800;\">function</span> extract_id<span style=\"color: #000000;\">(</span>str<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">{</span><br /> <span style=\"color: #00C800;\">return</span> str.<span style=\"color: #0000ff;\">substr</span><span style=\"color: #000000;\">(</span>str.indexOf<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'_'</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">+1</span>,str.length<span style=\"color: #000000;\">+1</span><span style=\"color: #000000;\">)</span>;<br /><span style=\"color: #000000;\">}</span><br /> <br /><br /></script><br /> <br /></body><br /></html><br /><br />ENDTEXT<br /><br /><span style=\"color: #00C800;\">return</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #B900B9;\">//-- HARBOURINO --//</span><br /><br /><span style=\"color: #0000ff;\">INIT</span> PROCEDURE PrgInit<br /> <br /> SET CENTURY <span style=\"color: #0000ff;\">ON</span><br /> SET EPOCH <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #0000ff;\">YEAR</span><span style=\"color: #000000;\">(</span>DATE<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">-98</span><br /> <br /> SET DELETED <span style=\"color: #0000ff;\">ON</span><br /> SET EXCLUSIVE OFF<br /> <br /> REQUEST HB_Lang_DE<br /> <br /> HB_LangSelect<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"DE\"</span><span style=\"color: #000000;\">)</span><br /> <br /> SET DATE <span style=\"color: #0000ff;\">TO</span> GERMAN<br /> <br /> rddsetdefault<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"DBFCDX\"</span> <span style=\"color: #000000;\">)</span><br /> <br /> EXTERN DESCEND<br /> <br /><span style=\"color: #00C800;\">RETURN</span><br /><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><br /> </div>[/code:2j5hlru6]",
"time": "13:14",
"topic": "Best options for drag and drop pictures",
"username": "Otto"
}
] |
Best options for drag and drop pictures
|
[
{
"date": "2022-10-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mark, I made a little test with a DBF file.\n\n[img:3pdale2a]https://mybergland.com/fwforum/dragdrop2.gif[/img:3pdale2a]",
"time": "21:21",
"topic": "Best options for drag and drop pictures",
"username": "Otto"
}
] |
Best options for drag and drop pictures
|
[
{
"date": "2007-07-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Antonio,\n You may note that this two little program are different in only one thing. The second one make use of WINDOW instead of DIALOG\n======slow.prg=========\n#include \"fivewin.ch\"\n\nFUNCTION MAIN()\n\nLOCAL oDlg\nLOCAL oBrw\nLOCAL lPaint := .F.\n\nSELECT 0\nUSE customer\n\n\nDEFINE DIALOG oDlg FROM 10 , 10 TO 600 , 800 PIXEL\n\n@ 0, 0 LISTBOX oBrw FIELDS SIZE 600 , 800\n\nACTIVATE DIALOG oDlg\n\nRETURN NIL\n\n=====fast.prg====================\n#include \"fivewin.ch\"\n\nFUNCTION MAIN()\n\nLOCAL oWnd\nLOCAL oBrw\nLOCAL lPaint := .F.\n\nSELECT 0\nUSE customer\n\n\nDEFINE WINDOW oDlg FROM 10 , 10 TO 600 , 800 PIXEL\n\n@ 0, 0 LISTBOX oBrw FIELDS SIZE 600 , 800\n\nACTIVATE DIALOG Wnd\n\nRETURN NIL\n \nIf I put in background listbox of slow.exe program and I catch a dialog of another program such as cmd in window mode or any other program and I move quickly (like a shaker) this dialog over listbox of slow.exe program cells listbox repaint is too slow, I note something like a slime.\nOn the contrary fast.exe works fine like all other windows program I tested: Excel, Groupwise, Outlook and other software compiled in Visual Objects or Fox Pro.\nIn my opinion it is very probably that thar is a bug somewhere.\nHave a good day\nMarco",
"time": "15:16",
"topic": "Best regards and anomalous performance",
"username": "MarcoBoschi"
}
] |
Best regards and anomalous performance
|
[
{
"date": "2007-07-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Marco,\n\nThe speed delay probably is caused for the \"double buffer\" technique used on dialogs. The \"double buffer\" technique avoids \"flickering\" but the painting speed is slower\n\nYou can disable the \"double buffer\" technique in FWH modifying these two methods in Class TWindow:\n\nMETHOD DispBegin() VIRTUAL\nMETHOD DispEnd() VIRTUAL",
"time": "15:43",
"topic": "Best regards and anomalous performance",
"username": "Antonio Linares"
}
] |
Best regards and anomalous performance
|
[
{
"date": "2007-07-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Ok thanks <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->",
"time": "16:06",
"topic": "Best regards and anomalous performance",
"username": "MarcoBoschi"
}
] |
Best regards and anomalous performance
|
[
{
"date": "2009-03-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\n\nwhat is the best resource editor?\n\nHere is a list of all alternatives I've found:\n\nBorland Workshop\nResEdit: (free) - <!-- m --><a class=\"postlink\" href=\"http://www.resedit.net/\">http://www.resedit.net/</a><!-- m -->\nPellesC (free) - <!-- m --><a class=\"postlink\" href=\"http://www.smorgasbordet.com/pellesc/\">http://www.smorgasbordet.com/pellesc/</a><!-- m -->\nVSX (Microsoft) free - <!-- m --><a class=\"postlink\" href=\"http://forums.fivetechsoft.com/viewtopic.php?t=9572\">http://forums.fivetechsoft.com/viewtopic.php?t=9572</a><!-- m -->\nResource Builder ( SiComponents ) (45 €) - <!-- m --><a class=\"postlink\" href=\"http://www.sicomponents.com/\">http://www.sicomponents.com/</a><!-- m -->\nVisual FiveWin\n\nPerhaps Visual FiveWin is the best choice, but it is still in beta stage?",
"time": "12:23",
"topic": "Best resource editor",
"username": "frose"
}
] |
Best resource editor
|
[
{
"date": "2009-03-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Frank,\n\nI tested all solutions,\nSome month ago, I changed to Resource-builder ( also I have been a beta-tester for version 3.0 ).\nThe new version offers futures, You don't find in the other products like 24 Bit image import and more.\nYou can download resource builder ( 30 days trial ), to find out by yourself.\nResEd is ok, but the RC-file seems not to be compatible with borland workshop.\nAfter saving, the source changes and it is not easy, to get it working again with workshop.\n\nRegards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "14:14",
"topic": "Best resource editor",
"username": "ukoenig"
}
] |
Best resource editor
|
[
{
"date": "2009-03-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Uwe,\n\nthank you for your recommendation.\n\nI've downloaded RB and tried the sample testxbr3.prg/rc.\n\nThe first impression is good, but what happens if you want to generate more dynamically code, e. g.:\n- store the initial windows size <nHeight> and <nWidth> in an ini file, or\n- enable/disable controls in a dialog, depending of a user role, or\n- localize your app for more than one language, or\n- generate data driven menus, browses and dialogs, or ...\n\nTo be honest, I never worked with resource files before and I'm a new unexperienced FWH user, so maybe I don't understand the concept of rc files? <!-- s:oops: --><img src=\"{SMILIES_PATH}/icon_redface.gif\" alt=\":oops:\" title=\"Embarassed\" /><!-- s:oops: -->",
"time": "08:17",
"topic": "Best resource editor",
"username": "frose"
}
] |
Best resource editor
|
[
{
"date": "2009-03-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Frank,\n What you're wanting to do is manipulate controls during runtime and you can do that via code irregardless whether they were created via source code or using resources. Of course if you use a resource editor you'll save a lot of time because you can visually confirm the layout of dialogs are as what you have in mind. Those controls can still be changed during runtime.\n\n For example to disable and enable controls you can use oCtrl:disable()/oCtrl:enable().\n\n To hide them, oCtrl:hide(), oCtrl:show(). To resize them, oCtrl:move() and so on.\n\n I recommend you to start by reading Fivewin's Programmers Guide which is normally in \\fwh\\manual\\fwprog.hlp and James's excellect article [url=http://ourworld.compuserve.com/homepages/jbott/fwintro.htm:2ltt4abm]An Introduction to Fivewin[/url:2ltt4abm].\n\n Later dive into \\fwh\\samples for examples on how to do things.\n\nHTH",
"time": "10:14",
"topic": "Best resource editor",
"username": "hua"
}
] |
Best resource editor
|
[
{
"date": "2009-03-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Frank,\n\nI send you by email a FiveWin german manual. \n\nThough it is for FiveWin for Clipper, it covers lots of areas -including resources- that will help you to learn and understand FiveWin <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "11:33",
"topic": "Best resource editor",
"username": "Antonio Linares"
}
] |
Best resource editor
|
[
{
"date": "2009-03-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\ngot it! \n\nMany thanks",
"time": "12:40",
"topic": "Best resource editor",
"username": "frose"
}
] |
Best resource editor
|
[
{
"date": "2009-03-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "hua, \n\nthanks for this explanation, thinking that I understand the lession: design controls (objects like menus, toolbars, browse, dialogs, ...) with initially values by using a resource editor, later you can manipulate these objects (the initially values) as you (the developer) like.\n\nI have already read Jame's articles:\n- Introduction to FiveWin\n- Introduction to Object-Oriented Programming Using FiveWin: Part I\n- Introduction to Object-Oriented Programming Using FiveWin: Part II\nso the principle of OOP is clear, but I missed the correlation to the resource editor.\n\nMany thanks to James, he has done an excellent work.\n\nBut what about IDE's like VFW or VxH? Are these apps replacement products for resource editors perhaps with additionally features, or what?",
"time": "13:09",
"topic": "Best resource editor",
"username": "frose"
}
] |
Best resource editor
|
[
{
"date": "2009-03-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Frank,\n\nResources management is a standard Windows feature: you can store your GUI dialogs and GDI objects (bitmaps, cursors, icons, etc.) inside RC files (ascii files) and those resources get embedded inside your EXE (or DLL) and you can instantiate those objects from your application at runtime, and once instantiated, you can modify them, etc.\n\nFrom Visual Basic on, Microsoft and other companies started to use non standard ways of storing resources, thus breaking the overall compatibility that the original RC files provided. There was a standard model for all applications. Now this no longer applies.\n\nWith FiveWin we decided, since early versions, to keep using the standard Windows resources, as that lets us use lots of different resources editors, tools, etc. that are based on the original and standard Windows resources.\n\nIn example: you can not use a Visual Basic form from a C++ application, neither from other development environments. But you can use a standard RC file with C++, FiveWin, etc. Its a standard <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "13:20",
"topic": "Best resource editor",
"username": "Antonio Linares"
}
] |
Best resource editor
|
[
{
"date": "2009-03-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\nso do you recommend to stay with this standard?\n\nAnd what about IDE's like VFW or VxH and this standard?",
"time": "13:49",
"topic": "Best resource editor",
"username": "frose"
}
] |
Best resource editor
|
[
{
"date": "2009-03-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\nfound this: [url:g6uxvttn]http://forums.fivetechsupport.com/viewtopic.php?f=5&t=14950&p=77247&hilit=resource#p77244[/url:g6uxvttn]\n\nSo its quite clear now!\n\nThanks for the assistance",
"time": "13:55",
"topic": "Best resource editor",
"username": "frose"
}
] |
Best resource editor
|
[
{
"date": "2009-03-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Frank,\n\n> so do you recommend to stay with this standard?\n\nyes, of course. It will give you the freedom to also use other development platforms and tools that are based on standard resources.\n\n> And what about IDE's like VFW or VxH and this standard?\n\nThey don't use standard resources files. So each tool is uncompatible with the others. We prefer to use open standards <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "13:57",
"topic": "Best resource editor",
"username": "Antonio Linares"
}
] |
Best resource editor
|
[
{
"date": "2022-01-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Otto\":3cl6vjzu]Marc, would you be so kind to post a screenshot how the program looks like?\nBest regards,\nOtto[/quote:3cl6vjzu]\n\nOtto,\n\nAt this moment it is just the layout like we are talking about here... I first want to have a good XbrowseBuilder with 1 line of code, than I expand to a invoices system because it will need many browsers.\n\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=3&t=41270\">viewtopic.php?f=3&t=41270</a><!-- l -->\n\nBTW : Have you a link on how to build those animated postings you guys can do in this forum ?",
"time": "22:06",
"topic": "Best technic to use the set relation to syntax",
"username": "Marc Venken"
}
] |
Best technic to use the set relation to syntax
|
[
{
"date": "2022-01-06",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I wonder what the best technic would be in folowing senario....\n\nSmall network (4 pc) and a program with 5 folderex folders.\n\nAsume : \nCustomers basic data\ninvoices\ncontactpersons\nspecific settings\n\nI can set a relation from cusrtomer to each data for filtering the folders. That works.\n\nBut... At that point, when i'm in folder 1, the basic and start scrolling for a customer, or a seek every time the set relation for all folders will be updated, so slowing down the basic browse.\nHow do you guys do this ? Only change the querry at the moment you hit the folder tap ? and not use a relation, but more of a ordscope ?\n\nThe relations make it more easy, but slows down, as far as I know the way to program them.",
"time": "10:40",
"topic": "Best technic to use the set relation to syntax",
"username": "Marc Venken"
}
] |
Best technic to use the set relation to syntax
|
[
{
"date": "2022-01-06",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Have you tried using INDEX ON MEMORY / TEMPORARY?\n\nIf you have a little example, it gets easier.\n\nHugs.\n\nRegards, saludos.",
"time": "11:38",
"topic": "Best technic to use the set relation to syntax",
"username": "karinha"
}
] |
Best technic to use the set relation to syntax
|
[
{
"date": "2022-01-06",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Index on ...\n\nThat is a new idea for this purpose. \n\nI'm expanding the program you and I started ))))). It starts to have potential.\nI have to see how to change the code in order to make it with dbf samples from the sample dir, but I asked your mailadres (other post) so I could send the actual dbf's (or a link)\n\nThan you can see where I'm. It will become a invoicing program based on folderex and xbrowse. For the Xbrowse I made a Xbrowse Builder that calls his data from 2 dbf files. Great working for my way of doing )))\n\nThis is the code now for callling Xbrowse. One row and all setting, positions, layouts, colors are dbf based.\n\n // Marc, write the code here on the spot.\n\n // FOLDER 2 -----------------------------------------------------------------------------------------------\n // 2 browsers on 1 folder\n oBrw[2] = getXBrowser(\"KLANTDOCUMENTEN\",oFld:aDialogs[2])\n oBrw[6] = getXBrowser(\"KLANTFACTART\",oFld:aDialogs[2])\n oBrw[2]:bChange := { || oBrw[6]:refresh() }\n\n // FOLDER 3 -----------------------------------------------------------------------------------------------\n oBrw[3] = getXBrowser(\"KLANTPERSONEN\",oFld:aDialogs[3])\n\n // FOLDER 4 -----------------------------------------------------------------------------------------------\n oBrw[4] = getXBrowser(\"FACTUREN\",oFld:aDialogs[4])\n //StyleBrowse(oBrw[4],{ \"factuur\",\"klantnum\" },{ \"factuur\",\"klantnum\" })",
"time": "12:02",
"topic": "Best technic to use the set relation to syntax",
"username": "Marc Venken"
}
] |
Best technic to use the set relation to syntax
|
[
{
"date": "2022-01-06",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Marc, would you be so kind to post a screenshot how the program looks like?\nBest regards,\nOtto",
"time": "15:11",
"topic": "Best technic to use the set relation to syntax",
"username": "Otto"
}
] |
Best technic to use the set relation to syntax
|
[
{
"date": "2022-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Marc,\n\n[quote:2ukjnopr]How do you guys do this? Only change the query at the moment you hit the folder tab? and not use a relation, but more of an ordscope ?[/quote:2ukjnopr]\n\nWhat you suggest is just not feasible speed wise.\n\nThis is what I would do. Show one browse full screen with the customer list. Have a lookup GET on the toolbar to find a specific customer. After the user finds the customer, they double-click on it in the browse. Then a dialog comes up with folders for invoices, contacts, etc.\n\nAnd yes, I would find related info with scopes, not set relation.\n\nThis way the user has access to all the information you want and the program is much faster.\n\nJames",
"time": "01:14",
"topic": "Best technic to use the set relation to syntax",
"username": "James Bott"
}
] |
Best technic to use the set relation to syntax
|
[
{
"date": "2022-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Mark,\nI'm not sure I fully understand what you're trying to do.\nI have - I think - a similar system. Here is the information in the document name.\nI then read the directories into an array with Directory () and filter that array.\nI don't think it's slow. \nBest regards,\nOtto\n[url:1pfiflx5]http://forums.fivetechsupport.com/viewtopic.php?f=3&t=33215&p=211109&hilit=emaildesktop&sid=b3850318df4e3d5aa66ac93d1bca063c&sid=b3850318df4e3d5aa66ac93d1bca063c#p211109[/url:1pfiflx5]",
"time": "02:22",
"topic": "Best technic to use the set relation to syntax",
"username": "Otto"
}
] |
Best technic to use the set relation to syntax
|
[
{
"date": "2022-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "James,\n\nI also used Ordscopes in my old version, and possible also in the new project.\nIt was while looking into the Yunus sample that Mr. Rao has used relations. I implemented relations in my first setup ans that is working, but a relation is changing the child database result everytime the parent is moving.\nI have to say that in my old version, ordscope is olso changing the child when a move is done in the parent, because there I used the : oChange.... Ordscope syntax.\n\nMy original question is that when I don't use the Onchange in the parent, (My child browsers all always on a other foldertab. ) there is no movement while going true the parent.\n\nAt the moment I want to see the invoices, I need to click on the Invoice Tab, and THEN I schould Ordcope the data from the folderaction (getfocus) function, so when the invoice tab is shown, the data whill be the scope. Then there will be only 1 scope done.\n\nThis make sence right ? Minimal scopes are done... \nGood technic ?",
"time": "10:18",
"topic": "Best technic to use the set relation to syntax",
"username": "Marc Venken"
}
] |
Best technic to use the set relation to syntax
|
[
{
"date": "2022-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Marc,\n\n[quote:1dksbnnr]My original question is that when I don't use the Onchange in the parent, (My child browsers all always on a other foldertab. ) there is no movement while going true the parent.[/quote:1dksbnnr]\n\nYes, that is what you want. Otherwise you are dragging lots of useless data over the LAN each time you move from one customer to the next.\n\n[quote:1dksbnnr]At the moment I want to see the invoices, I need to click on the Invoice Tab, and THEN I schould Ordcope the data from the folderaction (getfocus) function, so when the invoice tab is shown, the data whill be the scope. Then there will be only 1 scope done.[/quote:1dksbnnr]\n\nYes, this will be a lot faster and will reduce the network traffic immensely.\n\nThis make sence right ? Minimal scopes are done...\n\nExactly.\n\nJames",
"time": "16:56",
"topic": "Best technic to use the set relation to syntax",
"username": "James Bott"
}
] |
Best technic to use the set relation to syntax
|
[
{
"date": "2022-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "James,\n\nAlso my first class ever used. At this moment I try to get as much as possible systeem var's into this\n\nI have read your papers ))\n\nAt the beginning :\n\n[code=fw:x8kn2cvu]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br />oMarc:= TMarc<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">new</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br />oMarc:<span style=\"color: #000000;\">aLever</span> = readleveranciers<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">CLASS</span> TMarc<br /> <span style=\"color: #00C800;\">DATA</span> aMaanden AS ARRAY <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"Jan\"</span>,<span style=\"color: #ff0000;\">\"Feb\"</span>,<span style=\"color: #ff0000;\">\"Mrt\"</span><span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">DATA</span> aDbfVelden AS ARRAY <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">DATA</span> aLever AS ARRAY <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">}</span><br /> <span style=\"color: #B900B9;\">//DATA aLever AS ARRAY INIT readleveranciers() // Not working</span><br /> <span style=\"color: #00C800;\">DATA</span> aStates AS ARRAY <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #B900B9;\">// state 0 defined as empty</span><br /> <span style=\"color: #00C800;\">DATA</span> <span style=\"color: #0000ff;\">name</span> <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #ff0000;\">\"Just a Name\"</span><br /> <span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #00C800;\">NEW</span><br /><span style=\"color: #00C800;\">ENDCLASS</span><br /><br /><span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #00C800;\">NEW</span> <span style=\"color: #00C800;\">CLASS</span> TMarc<br /><br /> SET AUTORDER <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">1</span><br /> SET CENTURY <span style=\"color: #0000ff;\">ON</span><br /> SET DATE BRITISH<br /> SET TIME FORMAT <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #ff0000;\">\"HH:MM:SS\"</span><br /> SET EPOCH <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #0000ff;\">YEAR</span><span style=\"color: #000000;\">(</span> DATE<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> - <span style=\"color: #000000;\">30</span><br /> SET SOFTSEEK OFF<br /> SET WRAP <span style=\"color: #0000ff;\">ON</span><br /> SETCANCEL<span style=\"color: #000000;\">(</span> .F. <span style=\"color: #000000;\">)</span><br /> SET CONFIRM OFF<br /> SET DELETED <span style=\"color: #0000ff;\">ON</span><br /> SET _3DLOOK <span style=\"color: #0000ff;\">ON</span><br /> SET UNIQUE OFF<br /> SET ESCAPE OFF<br /> SET EXACT <span style=\"color: #0000ff;\">ON</span><br /> SET EXCLUSIVE OFF<br /> SET MULTIPLE OFF<br /> SET AUTORDER <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">1</span><br /> <span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">font</span> oFontw <span style=\"color: #0000ff;\">name</span> <span style=\"color: #ff0000;\">\"MS Sans Serif\"</span> <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-50</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">SELF</span><br /><br /><span style=\"color: #00C800;\">function</span> ReadLeveranciers<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// Just pulling some data into a array</span><br /> <span style=\"color: #00C800;\">local</span> aDbf := <span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">local</span> c, aDir<br /> Minfilesize:= <span style=\"color: #000000;\">1</span><br /> netopen<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"Lever\"</span><span style=\"color: #000000;\">)</span><br /> DBEVAL<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">{</span> || AAdd<span style=\"color: #000000;\">(</span> aDbf, <span style=\"color: #000000;\">{</span>FIELD->klant_nr,FIELD->naam_1,FIELD->tag<span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> ASORT<span style=\"color: #000000;\">(</span>aDbf, , , <span style=\"color: #000000;\">{</span> | x,y | x<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> < y<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// A->Z 2 veld</span><br /> close lever<br /><br /><span style=\"color: #00C800;\">return</span> aDbf<br /><br /> </div>[/code:x8kn2cvu]\n\nWhen I start the actual work for invoice making : it will become Tdatabase\nFor now preparing the Browsemaker, some systemtools and thinking of strategy like the post above.",
"time": "17:13",
"topic": "Best technic to use the set relation to syntax",
"username": "Marc Venken"
}
] |
Best technic to use the set relation to syntax
|
[
{
"date": "2022-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Marc,\n[quote:253yohy6]\nWhen I start the actual work for invoice making : it will become Tdatabase[/quote:253yohy6]\n\nAn invoice is a complex object, as it contains a customer, an invoice header, and invoice line Items, all of which are objects themselves. Then you add methods like oInvoice:Total() and oInvoice:PaymentDueDate(), etc.",
"time": "19:16",
"topic": "Best technic to use the set relation to syntax",
"username": "James Bott"
}
] |
Best technic to use the set relation to syntax
|
[
{
"date": "2022-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Indeed,\n\nBut you posted several topics and replies on the topics of Tdatabase. We had also several samples, so it is sure possible to get a good start from it.\nThe nice thing is we can mostly find help in this Forum. At least, I make use of it )))\n\nBut I spend a lot of time finding out some fundamentals that I need to understand, so digging in the forum and samples is the way to go.",
"time": "21:58",
"topic": "Best technic to use the set relation to syntax",
"username": "Marc Venken"
}
] |
Best technic to use the set relation to syntax
|
[
{
"date": "2009-08-26",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Is there a build in function for checking a database field if the value is current.\n\n\nBest regards,\nOtto",
"time": "16:47",
"topic": "Best way to check if value of database fields are current",
"username": "Otto"
}
] |
Best way to check if value of database fields are current
|
[
{
"date": "2009-08-26",
"forum": "FiveWin for Harbour/xHarbour",
"text": "What do you mean by \"current\" Otto?\n\nJames",
"time": "18:11",
"topic": "Best way to check if value of database fields are current",
"username": "James Bott"
}
] |
Best way to check if value of database fields are current
|
[
{
"date": "2009-08-26",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello James,\n\nmaybe the right term is consecutive number.\nI mean to check if in an invoice database all the invoice numbers are complete.\nThanks in advance\nOtto",
"time": "18:58",
"topic": "Best way to check if value of database fields are current",
"username": "Otto"
}
] |
Best way to check if value of database fields are current
|
[
{
"date": "2009-05-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi all,\n\nI am very much new to printing using FWH. I need to print Invoices from the application using FWH on a laser printer. \nI am trying to convert only the printing portion of an old Clipper application. My new FWH application will have a dialog with a text box in it accepting the Invoice no. Once the user keys in the Invoice no. the FWH application should print on an Blank A4 paper on a laser printer with all the Heading, Address, Invoice No, Date, Boxes/Lines and then the detailed lines containing the Items and then at the end of the page with the Bill Total and other Statuatory declarations. \n\nIn DOS Clipper I am doing this using the code\n\n[code=fw:ekb96pk9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">@prow<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">+1</span>,<span style=\"color: #000000;\">00</span> <span style=\"color: #0000ff;\">say</span> BOLD_ON+PADC<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"Company Name\"</span>,<span style=\"color: #000000;\">80</span><span style=\"color: #000000;\">)</span> +BOLD_OFF<br />@prow<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">+1</span>,<span style=\"color: #000000;\">00</span> <span style=\"color: #0000ff;\">say</span> PADC<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"Company Address\"</span>,<span style=\"color: #000000;\">80</span><span style=\"color: #000000;\">)</span><br /><br />@prow<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">+1</span>,<span style=\"color: #000000;\">00</span> <span style=\"color: #0000ff;\">say</span> <span style=\"color: #ff0000;\">\"Invoice No : \"</span>+str<span style=\"color: #000000;\">(</span>nInvoiceNo,<span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">)</span><br />@prow<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> ,<span style=\"color: #000000;\">50</span> <span style=\"color: #0000ff;\">say</span> <span style=\"color: #ff0000;\">\"Invoice Dt : \"</span>+dtoc<span style=\"color: #000000;\">(</span>dInvDate<span style=\"color: #000000;\">)</span><br /><br />@prow<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">+1</span>,<span style=\"color: #000000;\">00</span> <span style=\"color: #0000ff;\">say</span> <span style=\"color: #ff0000;\">\"/---------------------------------------------------------------------------------------------<span style=\"color: #000000;\">\\\"</span><br />@prow()+1,00 say \"</span>| Sr# | Item <span style=\"color: #0000ff;\">Name</span> | Qty | Price | VAT % | VAT Amt | Total Amt |<span style=\"color: #ff0000;\">\"<br />@prow()+1,00 say \"</span>|-------|--------------------|--------|----------|----------|--------------|---------------|<span style=\"color: #ff0000;\">\"<br /><br />// Process and Print the Line Items<br />Do while Bill->InvoiceNo == nInvoiceNo .and. !eof()<br /> cLine:=\"</span>|<span style=\"color: #ff0000;\">\"+str(n++,5)+\"</span>| <span style=\"color: #ff0000;\">\"+ITEM_NAME+\"</span> | <span style=\"color: #ff0000;\">\"+str(QTY,3)+\"</span> | <span style=\"color: #ff0000;\">\"+STR(PRICE,8,2)+\"</span> | <span style=\"color: #ff0000;\">\"+str(VAT_TYPE)<br /> cLine+=+\"</span> | <span style=\"color: #ff0000;\">\"+ STR(VAT_AMT,8,2)+\"</span> | <span style=\"color: #ff0000;\">\"+str(TOTAL_AMT)+\"</span> |<span style=\"color: #ff0000;\">\"<br /> @prow()+1,00 say cLine<br /><br /> Select Bill <br /> Skip<br />Enddo<br />@prow()+1,00 say \"</span>|-------|--------------------|--------|----------|----------|--------------|---------------|<span style=\"color: #ff0000;\">\"<br />@prow()+1,00 say \"</span>| TOTAL |<span style=\"color: #ff0000;\">\"+str(GRAND_TOTAL)+\"</span> |<span style=\"color: #ff0000;\">\"<br />@prow()+1,00 say \"</span>\\---------------------------------------------------------------------------------------------/<span style=\"color: #ff0000;\">\"<br /></span></div>[/code:ekb96pk9]\n[b:ekb96pk9]Bill should appear like this[/b:ekb96pk9]\n\n[code=fw:ekb96pk9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <span style=\"color: #000000;\">[</span>b<span style=\"color: #000000;\">]</span>ABC Company<span style=\"color: #000000;\">[</span>/b<span style=\"color: #000000;\">]</span><br /> Address <span style=\"color: #000000;\">12</span>/<span style=\"color: #000000;\">123445</span>, That Street, Pincode : <span style=\"color: #000000;\">999999</span><br /><br />Invoice No : <span style=\"color: #000000;\">23</span> Invoice Dt : <span style=\"color: #000000;\">15</span><span style=\"color: #000000;\">-05</span><span style=\"color: #000000;\">-2009</span><br />/---------------------------------------------------------------------------------------------\\<br />| Sr# | Item <span style=\"color: #0000ff;\">Name</span> | Qty | Price | VAT % | VAT Amt | Total Amt |<br />|-------|--------------------|--------|----------|----------|--------------|---------------|<br />| <span style=\"color: #000000;\">1</span> | Item <span style=\"color: #000000;\">1</span> | <span style=\"color: #000000;\">3</span> | <span style=\"color: #000000;\">10.00</span> | <span style=\"color: #000000;\">4</span>% | <span style=\"color: #000000;\">0.40</span> | <span style=\"color: #000000;\">10.40</span> |<br />| <span style=\"color: #000000;\">2</span> | Item <span style=\"color: #000000;\">2</span> | <span style=\"color: #000000;\">5</span> | <span style=\"color: #000000;\">15.00</span> | <span style=\"color: #000000;\">4</span>% | <span style=\"color: #000000;\">0.40</span> | <span style=\"color: #000000;\">15.40</span> |<br />| <span style=\"color: #000000;\">3</span> | Item <span style=\"color: #000000;\">3</span> | <span style=\"color: #000000;\">2</span> | <span style=\"color: #000000;\">20.00</span> | <span style=\"color: #000000;\">4</span>% | <span style=\"color: #000000;\">0.40</span> | <span style=\"color: #000000;\">20.40</span> |<br />| | | | | | | |<br />| | | | | | | |<br />| | | | | | | |<br />| | | | | | | |<br />|-------|--------------------|--------|----------|----------|--------------|---------------|<br />| TOTAL | <span style=\"color: #000000;\">46.20</span> |<br />\\---------------------------------------------------------------------------------------------/<br />Goods once sold will not be take back .........<br /> </div>[/code:ekb96pk9]Can anybody help me where should I start to get a print out similiar to the above.\nAny sample code will be helpful. I am confused after seeing the Samples TestPrn3 etc etc. like CMSay()\nI would also like to use Boxes and Lines instead of the character \"-----\" so that the print out appears neat and tidy\n\nRegards\n\nAnser",
"time": "13:04",
"topic": "Best way to print Invoice ?",
"username": "anserkk"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "EasyReport\n\nBest regards,\nOtto\n\n\nPRINTAREA's : you can have as many as you want\n\nPRINTAREA 1 = header\nPRINTAREA 2 = items\nPRINTAREA 3 = footer\n\nYou have a Report designer which creates the vrd-files.\nThese are ASCII files. You can edit them also with an editor.\n\n10=Image||700| 0|1|1|26|119|28|33|C:\\whtouch\\logo\\LOGO.JPG|0|\n11=Text|Firma|401| 0|1|1|27|115|70|5|1|3|2|3|0|0||0\n12=Text|Adr1|402| 0|1|1|24|115|70|4|11|3|2|3|0|0||0\n13=Text|Adr2|403| 0|1|1|30|115|70|4|11|3|2|3|0|0||0\n14=Text|Adr3|404| 0|1|1|36|115|70|4|11|3|2|3|0|0||0\n\n[code=fw:mzfm3qh4]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /> EASYREPORT oVRD <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\x</span>VRD<span style=\"color: #000000;\">\\W</span>ellnessTermine.vrd\"</span> ;<br /> PREVIEW lPreview <span style=\"color: #0000ff;\">TO</span> cPrinter PRINTDIALOG IIF<span style=\"color: #000000;\">(</span> lPreview, .F., .F. <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">IF</span> oVRD:<span style=\"color: #000000;\">lDialogCancel</span> = .T.<br /><span style=\"color: #00C800;\">RETURN</span><span style=\"color: #000000;\">(</span> .F. <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">ENDIF</span><br /><br />PRINTAREA <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">OF</span> oVRD ;<br /> ITEMIDS <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">102</span> <span style=\"color: #000000;\">}</span> ;<br /> ITEMVALUES <span style=\"color: #000000;\">{</span> kunden->name <span style=\"color: #000000;\">}</span><br /><br /><span style=\"color: #00C800;\">do</span> <span style=\"color: #00C800;\">while</span> .not. eof<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> PRINTAREA <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">OF</span> oVRD ;<br /> ITEMIDS <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">100</span>,<span style=\"color: #000000;\">101</span>,<span style=\"color: #000000;\">102</span> <span style=\"color: #000000;\">}</span> ;<br /> ITEMVALUES <span style=\"color: #000000;\">{</span>test->test1, test->test2, test->test3 <span style=\"color: #000000;\">}</span><br /><br /><br /> <span style=\"color: #0000ff;\">select</span> test<br /> skip<br /><br /><span style=\"color: #00C800;\">enddo</span><br /><br /><br />PRINTAREA <span style=\"color: #000000;\">3</span> <span style=\"color: #0000ff;\">OF</span> oVRD ;<br /> ITEMIDS <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">102</span>,<span style=\"color: #000000;\">102</span>,<span style=\"color: #000000;\">103</span>,<span style=\"color: #000000;\">104</span> <span style=\"color: #000000;\">}</span> ;<br /> ITEMVALUES <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"here\"</span>,<span style=\"color: #ff0000;\">\"are\"</span>,<span style=\"color: #ff0000;\">\"your\"</span>,<span style=\"color: #ff0000;\">\"test\"</span> <span style=\"color: #000000;\">}</span><br /><br /><br /><br />oVRD:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <br /> <br /> <br /> <br /> <br /> </div>[/code:mzfm3qh4]",
"time": "14:14",
"topic": "Best way to print Invoice ?",
"username": "Otto"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Mr.Otto,\n\nThank you very much for the information <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \nI think EasyReport is a commercial one right ? With FWH purchase 1 License is free right ? I don't remember whether this is 1 developer license and whether I can use this while distributing the application <!-- s:? --><img src=\"{SMILIES_PATH}/icon_confused.gif\" alt=\":?\" title=\"Confused\" /><!-- s:? --> \n\nMy fisrt preference is to stick on to FWH itself without relying on a third party control. Anyway if getiing this done using FWH is too complicated then I may have to think about EasyReport.\n\nI beleive that the EasyReport report file will be an external file (.rpt) which needs to be there along with FWH Application.\n\nRegards\n\nAnser",
"time": "14:29",
"topic": "Best way to print Invoice ?",
"username": "anserkk"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Anser,\n\n>I think EasyReport is a commercial one right ?\nYes – but worth the money. \n\n>My fisrt preference is to stick on to FWH itself without relying on a third party control.\n >Anyway if getiing this done using FWH is too complicated then I may have to think about EasyReport.\nI had for a very long time hardcoded reports. But a report designer is the better choice.\n\nI beleive that the EasyReport report file will be an external file (.rpt) which needs to be there along with FWH Application.\nYes.\n\nAs EasyReport is written in Fivewin you have full control over your reports.\nNo installation/setup is necessary – if your Fivewin application executes on the client machine also the report is working!\n(I had so many problems with CR. )\nAlso the speed to create reports is high.\n\nBest regards,\nOtto",
"time": "14:41",
"topic": "Best way to print Invoice ?",
"username": "Otto"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\ntake a look at <!-- m --><a class=\"postlink\" href=\"http://www.paritetsoft.ru/frh.htm\">http://www.paritetsoft.ru/frh.htm</a><!-- m -->\n\nIt's the xharbour wrapper (class) for Fast Report. It's really easy to use and with great features.",
"time": "14:58",
"topic": "Best way to print Invoice ?",
"username": "Marco Turco"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"anserkk\":1p5xygw0]I am very much new to printing using FWH. I need to print Invoices from the application using FWH on a laser printer. \nI am trying to convert only the printing portion of an old Clipper application. My new FWH application will have a dialog with a text box in it accepting the Invoice no. Once the user keys in the Invoice no. the FWH application should print on an Blank A4 paper on a laser printer with all the Heading, Address, Invoice No, Date, Boxes/Lines and then the detailed lines containing the Items and then at the end of the page with the Bill Total and other Statuatory declarations.[/quote:1p5xygw0]Hi Anser:\n\nWith TCliPrt class you can use your original clipper printig code in FWH\\xHarbour programs. It's free.\n\nYou can download it from here:\n\n<!-- m --><a class=\"postlink\" href=\"http://www.box.net/shared/5ac0n9e88g\">http://www.box.net/shared/5ac0n9e88g</a><!-- m -->\n\nBest regards.\n\nManuel Mercado",
"time": "19:08",
"topic": "Best way to print Invoice ?",
"username": "mmercado"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Anserkk\n\nI use the PDF class to generate all my invoices and reports - this also makes\nit easier to email the report or invoice as an attachment.\n\nRegards\n\nColin",
"time": "00:00",
"topic": "Best way to print Invoice ?",
"username": "Colin Haig"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Colin Haig\":3vr67fmk]Hi Anserkk\n\nI use the PDF class to generate all my invoices and reports - this also makes\nit easier to email the report or invoice as an attachment.\n\nRegards\n\nColin[/quote:3vr67fmk]\n\nMr Colin \n\nCan you please enlighten us more about how do you use the PDF class to prepare and print reports? Where can we get the PDF class?\n\nThanks in advance",
"time": "00:18",
"topic": "Best way to print Invoice ?",
"username": "nageswaragunupudi"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr Rao\n\nHere is a sample - I have removed some of the code but it should be enough to see how it works.\n\nI am not sure where you can get pdf.prg but I can send you a copy\n\n\nPUBLIC aReport := array( PARAMLEN )\n\naStyle := { \"Normal\", \"Bold\", \"Italic\", \"BoldItalic\" }\n\naFonts := { { \"Times\", .t., .t., .t., .t. },;\n { \"Helvetica\", .t., .t., .t., .t. },;\n { \"Courier\", .t., .t., .t., .t. } }\n\ncPdf := cPath + 'PO' + alltrim(cPoNum) + '.pdf'\n\npdfOpen(cPdf, 200, .t.,cPath)\n\npdfSetLPI( 48 ) // allows best placement of text on graphics\ndo while ! oPoitms:eof()\n cJbNo := oPoitms:jb_no\n fnHeader(aSupplier,cPoNum,dPo,@nPage,@nPrRow,cPath,lConfirm,lEmail,aShipTo,cSub)\n pdfAtSay(oPoitms:code,nPrRow, 0 ,\"R\")\n pdfAtSay(oPoitms:desc,nPrRow, 28 ,\"R\")\n pdfAtSay(str(oPoitms:qty,7,2),nPrRow, 114 ,\"R\")\n oPoitms:skip()\n nPrRow++\nenddo\nSysRefresh()\npdfAtSay('Document Type ',nMaxRow - 5, 0 ,\"R\")\npdfBold()\npdfAtSay(cType,nMaxRow - 5, 30 ,\"R\")\npdfNormal()\npdfBox( 255 , 150, 280 , 206, 0.01, 8 , \"M\" ,,)\npdfAtSay('Sub Total',nMaxRow - 5, 151 ,\"R\")\npdfAtSay(str(nTotal,9,2),nMaxRow -5, 171 ,\"R\")\npdfAtSay('Raised By ',nMaxRow - 3, 0 ,\"R\")\npdfBold()\npdfAtSay(alltrim(cUserName) + '/' + alltrim(cNetName),nMaxRow - 3, 30 ,\"R\")\npdfNormal()\nif lPrices\n pdfAtSay(' G.S.T',nMaxRow - 3, 151 ,\"R\")\n pdfAtSay(str(nTotGst,9,2),nMaxRow - 3, 171 ,\"R\")\nendif\npdfAtSay('Job Number ',nMaxRow - 1, 0 ,\"R\")\npdfBold()\npdfAtSay(cJbNo,nMaxRow - 1, 30 ,\"R\")\npdfNormal()\nif lPrices\n pdfAtSay(' Total',nMaxRow - 1, 151 ,\"R\")\n pdfAtSay(str(nTotal + nTotGst,9,2),nMaxRow -1, 171 ,\"R\")\nendif\npdfClose()\n\nWinExec(\"acrord32 \" + (cPdf))\nreturn(nil)\n//--------------------------------------------------------------------------------------//\nfunction fnheader(aSupplier,cPoNum,dPo,nPage,nPrRow,cPath,lConfirm,lEmail,aShipTo,cSub)\nif nPage == 0 .or. nPrRow > 55\n nPage++\n pdfNewPage( \"A4\", \"P\", 6 )\n if lEmail\n pdfImage(cPath + 'cbdlogo2.jpg',0,0,\"M\",25,105)\n pdfSetFont(aFonts[3,1], 0, 14,)\n pdfAtSay('xxxxxxxxxxxxx', 0, 145, \"R\" )\n pdfAtSay('xxxxxxxxxxxxx', 1, 145, \"R\" )\n pdfSetFont(aFonts[3,1], 0, 13,)\n pdfAtSay('Phone (08)123456789', 3, 145, \"R\" )\n pdfAtSay('Fax (08)234567890', 4, 145, \"R\" )\n pdfAtSay('ABN 00 001 111 xxx', 5, 145, \"R\" )\n endif\n pdfSetFont(aFonts[3,1], 0, 10,)\n pdfBox( 30 , 5 , 38 , 205 ,0.01, 10 , \"M\" ,,)\n pdfAtSay('Date : ' + dtoc(dPo), 7.5, 1 ,\"R\")\n pdfAtSay('Printed Date : ' + dtoc(date()), 7.5, 70 ,\"R\")\n pdfAtSay('P.O. No.: ' + alltrim(cPoNum) + '/' + cSub, 7.5, 160 ,\"R\")\n pdfBox( 40 , 5 , 48 , 205 ,0.01, 10 , \"M\" ,,)\n pdfBold()\n pdfAtSay('Supplier Details', 9.5, 1 ,\"R\")\n pdfAtSay('Shipping Details', 9.5, 110 ,\"R\")\n pdfNormal()\n pdfBox( 48 , 5 , 80 , 205 ,0.01, 10 , \"M\" ,,)\n pdfAtSay(aSupplier[1], 12, 1 ,\"R\")\n if ! empty(aShipTo[1])\n pdfAtSay(aShipTo[1], 12, 110 ,\"R\")\n endif\n if ! empty(aSupplier[2])\n pdfAtSay(aSupplier[2], 13, 1 ,\"R\")\n endif\n if ! empty(aShipTo[2])\n pdfAtSay(aShipTo[2], 13, 110 ,\"R\")\n endif\n if ! empty(aShipTo[3])\n pdfAtSay(aShipTo[3], 14, 110 ,\"R\")\n endif\n if ! empty(aSupplier[3])\n pdfAtSay(aSupplier[3], 14, 1 ,\"R\")\n if ! empty(aSupplier[4])\n pdfAtSay(aSupplier[4], 15, 1 ,\"R\")\n endif\n else\n if ! empty(aSupplier[4])\n pdfAtSay(aSupplier[4], 15, 1 ,\"R\")\n endif\n endif\n if lConfirm\n pdfBold()\n pdfAtSay('*** Please Note - Confirmation Only ***', 19.5, 45 ,\"R\")\n pdfNormal()\n endif\n pdfSetFont(aFonts[3,1], 0, 9,)\n pdfBox( 90 , 5 , 100 , 205 ,0.01, 10 , \"M\" ,,)\n pdfAtSay('Code', 22, .1 ,\"R\")\n pdfAtSay('Description', 22, 28 ,\"R\")\n pdfAtSay('Qty', 22, 121 ,\"R\")\n pdfAtSay('Rate', 22, 147 ,\"R\")\n pdfAtSay('Amount', 22, 177 ,\"R\")\n nPrRow := 24\nendif\nreturn(nil)\n//--------------------------------------------------------------------------------------------------//",
"time": "01:20",
"topic": "Best way to print Invoice ?",
"username": "Colin Haig"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Try the fw tReport class. Easy, simple, powerful, you already own it. You can actually print just about anything with it (reports as well invoices). No 3rd parties. Always compatible. And there is a free tmreport class that inherits from treport that allows you to export your reports/invoices to excel.\n\nLook at the samples in fwh\\samples folder. It is a good place to get started.\n\nHope it helps.\n\n\nReinaldo.",
"time": "01:36",
"topic": "Best way to print Invoice ?",
"username": "reinaldocrespo"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Colin:\n\nMay I have a copy of PDF sources ?.\n\nMy e-mail address\n\nsoisa2002 at prodigy dot net dot mx\n\nBest regards and thank you very much",
"time": "02:18",
"topic": "Best way to print Invoice ?",
"username": "Armando"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr Colin\n\nThank you very much.\nWould you mind sending me the pdf.prg ? \nMy email is <!-- e --><a href=\"mailto:nageswaragunupudi@gmail.com\">nageswaragunupudi@gmail.com</a><!-- e -->\n\nThank you in advance",
"time": "04:05",
"topic": "Best way to print Invoice ?",
"username": "nageswaragunupudi"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear All,\n\nI thank each and every one of you for providing these information's regarding the printing of an Invoice. Now I will have to decide the one, which I should use to get a simple invoice printed without spending too much time.\n\nBy the way Mr.Colin, I would also like to have the copy of the pdf.prg, my email id is <!-- e --><a href=\"mailto:anserkk@gmail.com\">anserkk@gmail.com</a><!-- e --> (Please remember that gmail does not accept .zip file attachment, if it is a zip file, then please rename .zip to .zop )\n\nRegards\n\nAnser",
"time": "05:41",
"topic": "Best way to print Invoice ?",
"username": "anserkk"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr reinaldocrespo\n\n>\nAnd there is a free tmreport class that inherits from treport that allows you to export your reports/invoices to excel.\n>\n\nWhere can we get the Tmreport class please ?",
"time": "07:30",
"topic": "Best way to print Invoice ?",
"username": "nageswaragunupudi"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Anser,\n\nfor a complete list of printing solutions:\nPageScript from <!-- m --><a class=\"postlink\" href=\"http://www.abeelabs.com\">http://www.abeelabs.com</a><!-- m -->.\n\nFrank",
"time": "07:53",
"topic": "Best way to print Invoice ?",
"username": "frose"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thank you Mr.Frank for the information. \n\nPrinting/reporting a very simple thing which we used to do it in clipper & DOS has turned out to be a very complicated thing in Windows environment. <!-- s:o --><img src=\"{SMILIES_PATH}/icon_surprised.gif\" alt=\":o\" title=\"Surprised\" /><!-- s:o --> and hence many third party tools. I prefer not to depend on a third party tool and do it from FWH itself. I understand that I have to learn the trick to do it from FWH and it is not that simple.\n\nRegards\nAnser",
"time": "09:26",
"topic": "Best way to print Invoice ?",
"username": "anserkk"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Mr.Otto,\n\n[quote:1x57o7gp]No installation/setup is necessary – if your Fivewin application executes on the client machine also the report is working![/quote:1x57o7gp]\n\nDo you mean that we don't have to install EasyReport on each client machine ? Instead, all the contents of the Folder Distribution (ErStart.Exe, many DLL's etc) and the .vrd file (Report File) should be distributed along with our FWH application and from FWH we can call EasyReport using the following command\nShellExecute( 0, \"Open\", \"ERStart.exe\", \"-File=.\\test.vrd -PREVIEW\", NIL, 1 ) \n\nAny idea where should be the Distribution folder copied while we distribute the FWH application ?\nCan we use EasyReport to create reports using the data from MySQL tables ?\n\nI have got 1 developer/designer License (Free) which is bundled along with the FWH Purchase. (That's what I understand). I am planning to try this and distribute the ErStart.Exe and .vrd file on my Client's PC. Would you mind giving me some useful hints so that I get a push in the right direction. \n\nIn my DOS clipper Invoice.Prg, I have the Company name, Address, VAT Reg No etc kept in one DBF and the Line Items ie Item Code, Item Name, Qty, Price etc. in another [b:1x57o7gp]Temporary DBF which is created at Run Time and deleted after the printing of the invoice[/b:1x57o7gp]\n\nThe Grand Total, VAT Total, discount Totals etc (Printed at the bottom) are calculated values while processing the Temporary DBF in a Do While loop.\n\nHow and where do I start with the above said Scenario ?\n\nThanks & Regards\nAnser",
"time": "10:09",
"topic": "Best way to print Invoice ?",
"username": "anserkk"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr. Anser,\n\nI am happy. You are on the right way!\n\n[quote:xglsdrei]Do you mean that we don't have to install EasyReport on each client machine ? Instead, all the contents of the Folder Distribution (ErStart.Exe, many DLL's etc) and the .vrd file (Report File) should be distributed along with our FWH application \n[/quote:xglsdrei]\n\nYes. I have a directory inside my program where the EasyReport files are located and one or more where I have the reports.\n\nYou define the report – you can also locate the reports on a net drive. Then all the WS have the same. \n\n\n EASYREPORT oVRD NAME \".\\xVRD\\Paketaufkleber.vrd\" ;\n PREVIEW lPreview TO cPrinter OF oWnd PRINTDIALOG IIF( lPreview, .F., .F. )\n\n\n[quote:xglsdrei]and from FWH we can call EasyReport using the following command\nShellExecute( 0, \"Open\", \"ERStart.exe\", \"-File=.\\test.vrd -PREVIEW\", NIL, 1 ) \n\n[/quote:xglsdrei]no this is all handled automatically.\n\n#include \"VRD.CH\"\n\n1. define the report \n2. define you PRINTAREA’s which is in practice an ARRAY with an ID and the value you want to be print to this ID which you have given in your design.\n\nPRINTAREA 1 OF oVRD ;\n ITEMIDS { 101,102,103,104,204,205,206,207,208 } ;\n ITEMVALUES { cCompany,cAddr1,cAddr2,cAddr3,cAnrede,cName,cStrasse,cOrt,cLandFeld }\n\n[quote:xglsdrei]Any idea where should be the Distribution folder copied while we distribute the FWH application ?\n[/quote:xglsdrei]\n\nIn the same folder as your program.\n\n[quote:xglsdrei]Can we use EasyReport to create reports using the data from MySQL tables ?\n[/quote:xglsdrei]\n\nYes.\n\nHere a very easy – but much used report. This prints a client address on a white paper:\n\n[code=fw:xglsdrei]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> f_paket<br /> <span style=\"color: #00C800;\">local</span> oVRD<br /> <span style=\"color: #00C800;\">local</span> lPreview :=.t.<br /> <span style=\"color: #00C800;\">local</span> cPrinter := GetPvProfString<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"DRUCKER\"</span>,<span style=\"color: #ff0000;\">\"Standard\"</span>,<span style=\"color: #ff0000;\">\"Standard\"</span>, <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\I</span>NI<span style=\"color: #000000;\">\\W</span>INHOTEL.INI\"</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">local</span> cCompany := <span style=\"color: #ff0000;\">\"\"</span><br /> <span style=\"color: #00C800;\">local</span> cAddr1 := <span style=\"color: #ff0000;\">\"\"</span><br /> <span style=\"color: #00C800;\">local</span> cAddr2 := <span style=\"color: #ff0000;\">\"\"</span><br /> <span style=\"color: #00C800;\">local</span> cAddr3 := <span style=\"color: #ff0000;\">\"\"</span><br /><br /> <span style=\"color: #00C800;\">local</span> cAnrede := <span style=\"color: #ff0000;\">\"\"</span><br /> <span style=\"color: #00C800;\">local</span> cName := <span style=\"color: #ff0000;\">\"\"</span><br /> <span style=\"color: #00C800;\">local</span> cStrasse := <span style=\"color: #ff0000;\">\"\"</span><br /> <span style=\"color: #00C800;\">local</span> cOrt := <span style=\"color: #ff0000;\">\"\"</span><br /> <span style=\"color: #00C800;\">local</span> cLandFeld := <span style=\"color: #ff0000;\">\"\"</span><br /> <br /> cCompany := ALLTRIM<span style=\"color: #000000;\">(</span>setup->company<span style=\"color: #000000;\">)</span><br /> cAddr1 := ALLTRIM<span style=\"color: #000000;\">(</span>setup->addr1<span style=\"color: #000000;\">)</span><br /> cAddr2 := ALLTRIM<span style=\"color: #000000;\">(</span>setup->addr2<span style=\"color: #000000;\">)</span><br /> cAddr3 := ALLTRIM<span style=\"color: #000000;\">(</span>setup->addr3<span style=\"color: #000000;\">)</span><br /><br /> cAnrede := kunden->anrede<br /> cName := ALLTRIM<span style=\"color: #000000;\">(</span>kunden->name<span style=\"color: #000000;\">)</span>+<span style=\"color: #ff0000;\">\" \"</span>+ALLTRIM<span style=\"color: #000000;\">(</span>kunden->vorname<span style=\"color: #000000;\">)</span>+<span style=\"color: #ff0000;\">\" \"</span>+Trim<span style=\"color: #000000;\">(</span>kunden->titel<span style=\"color: #000000;\">)</span><br /> cStrasse := kunden->strasse<br /> cOrt := ALLTRIM<span style=\"color: #000000;\">(</span>kunden->plz<span style=\"color: #000000;\">)</span>+<span style=\"color: #ff0000;\">\" \"</span>+kunden->ort<br /> cLandFeld := f_landfeld<span style=\"color: #000000;\">(</span>kunden->lkz<span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /> EASYREPORT oVRD <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\x</span>VRD<span style=\"color: #000000;\">\\P</span>aketaufkleber.vrd\"</span> ;<br /> PREVIEW lPreview <span style=\"color: #0000ff;\">TO</span> cPrinter <span style=\"color: #0000ff;\">OF</span> oWnd PRINTDIALOG IIF<span style=\"color: #000000;\">(</span> lPreview, .F., .F. <span style=\"color: #000000;\">)</span><br /><br /> PRINTAREA <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">OF</span> oVRD ;<br /> ITEMIDS <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">101</span>,<span style=\"color: #000000;\">102</span>,<span style=\"color: #000000;\">103</span>,<span style=\"color: #000000;\">104</span>,<span style=\"color: #000000;\">204</span>,<span style=\"color: #000000;\">205</span>,<span style=\"color: #000000;\">206</span>,<span style=\"color: #000000;\">207</span>,<span style=\"color: #000000;\">208</span> <span style=\"color: #000000;\">}</span> ;<br /> ITEMVALUES <span style=\"color: #000000;\">{</span> cCompany,cAddr1,cAddr2,cAddr3,cAnrede,cName,cStrasse,cOrt,cLandFeld <span style=\"color: #000000;\">}</span><br /><br /> oVRD:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /> </div>[/code:xglsdrei]\n\n[img:xglsdrei]http://www.atzwanger-software.com/fw/easy1.jpg[/img:xglsdrei]\n\n\nThen you define the header for your bodytext.\n[code=fw:xglsdrei]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">//Print position header</span><br /> PRINTAREA <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">OF</span> oVRD<br /> </div>[/code:xglsdrei]\n\n\nThen you define a PRINTAREA for the data that changes.\nYou request for example the data in a do while and you print every line like this:\n\nIn my case the PRINTAREA3 is defined with a high of 5 mm.\n(Order positions)\n\n[img:xglsdrei]http://www.atzwanger-software.com/fw/easy3.jpg[/img:xglsdrei]\n\n\n\n[code=fw:xglsdrei]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">do</span> <span style=\"color: #00C800;\">while</span> .not. eof<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br />PRINTAREA <span style=\"color: #000000;\">3</span> <span style=\"color: #0000ff;\">OF</span> oVRD ;<br /> ITEMIDS <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">101</span>,<span style=\"color: #000000;\">102</span>,<span style=\"color: #000000;\">105</span>,<span style=\"color: #000000;\">106</span>,<span style=\"color: #000000;\">107</span> <span style=\"color: #000000;\">}</span> ;<br /> ITEMVALUES <span style=\"color: #000000;\">{</span> cMenge, ;<br /> cBezeichnung, ;<br /> cPreis, ;<br /> cWert, ;<br /> cRabatt <span style=\"color: #000000;\">}</span><br /><span style=\"color: #00C800;\">enddo</span><br /> </div>[/code:xglsdrei]\n\nHere democode for the footer:\n\n[code=fw:xglsdrei]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <span style=\"color: #B900B9;\">//Print order footer</span><br /> cText1 := <span style=\"color: #ff0000;\">\"Fortsetzung Seite: \"</span> + ALLTRIM<span style=\"color: #000000;\">(</span>str<span style=\"color: #000000;\">(</span>nSeite<span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><br /> cText2 := <span style=\"color: #ff0000;\">\"Zwischensumme \"</span> + ALLTRIM<span style=\"color: #000000;\">(</span>transform<span style=\"color: #000000;\">(</span> rgsumm ,<span style=\"color: #ff0000;\">\"999,999.99\"</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">//text Fortsetzungsblatt</span><br /> PRINTAREA <span style=\"color: #000000;\">9</span> <span style=\"color: #0000ff;\">OF</span> oVRD ;<br /> ITEMIDS <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">101</span>, <span style=\"color: #000000;\">102</span> <span style=\"color: #000000;\">}</span> ;<br /> ITEMVALUES <span style=\"color: #000000;\">{</span> cText1, cText2 <span style=\"color: #000000;\">}</span><br /> </div>[/code:xglsdrei]\n\nImportant: you have to take care for the pagebreak - but the code is easy: \n[quote:xglsdrei]\n IF oVRD:nNextRow > oVRD:nPageBreak\n nSeite := nSeite + 1\n //Print order footer\n cText1 := \"Fortsetzung Seite: \" + ALLTRIM(str(nSeite))\n cText2 := \"Zwischensumme \" + ALLTRIM(transform( rgsumm ,\"999,999.99\")) //text Fortsetzungsblatt\n PRINTAREA 9 OF oVRD ;\n ITEMIDS { 101, 102 } ;\n ITEMVALUES { cText1, cText2 }\n\n PAGEBREAK oVRD\n\n //Print position header\n cText1 := \"Seite: \" + ALLTRIM(str(nSeite))\n cText2 := \"Rechnung-NR: \" + cOrderNr\n PRINTAREA 6 OF oVRD ;\n ITEMIDS { 101, 102,105 ,106} ;\n ITEMVALUES { cText1, cText2,\"Übertrag:\",ALLTRIM(transform( rgsumm ,\"999,999.99\")) }\n PRINTAREA 2 OF oVRD\n\n\n[/quote:xglsdrei]\n\n\n[img:xglsdrei]http://www.atzwanger-software.com/fw/easy2.jpg[/img:xglsdrei]\n\n\nBest regards,\nOtto",
"time": "11:15",
"topic": "Best way to print Invoice ?",
"username": "Otto"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "You can create some rather complex invoices using the standard FW Report class. I have made invoices that are more complex than your example using TReport. I do not have a complete simple example since my reports are part of more complex classes, like a Sales Order and Invoice classes.\n\nHere is a partial example:\n\n[code=fw:1fgumcd2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> REPORT oReport;<br /> HEADER ;<br /> <span style=\"color: #ff0000;\">\"Invoice: \"</span>+trim<span style=\"color: #000000;\">(</span>::<span style=\"color: #000000;\">invno</span><span style=\"color: #000000;\">)</span>, <span style=\"color: #ff0000;\">\"Page: \"</span>+;<br /> ltrim<span style=\"color: #000000;\">(</span>str<span style=\"color: #000000;\">(</span>oReport:<span style=\"color: #000000;\">nPage</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span> <span style=\"color: #0000ff;\">RIGHT</span>;<br /> <span style=\"color: #0000ff;\">TITLE</span> ::<span style=\"color: #000000;\">oSysdata</span>:<span style=\"color: #000000;\">company</span>, ;<br /> ::<span style=\"color: #000000;\">oSysdata</span>:<span style=\"color: #000000;\">address</span>,;<br /> trim<span style=\"color: #000000;\">(</span>::<span style=\"color: #000000;\">oSysdata</span>:<span style=\"color: #000000;\">city</span><span style=\"color: #000000;\">)</span>+<span style=\"color: #ff0000;\">\", \"</span>+trim<span style=\"color: #000000;\">(</span>::<span style=\"color: #000000;\">oSysdata</span>:<span style=\"color: #000000;\">state</span><span style=\"color: #000000;\">)</span>+<span style=\"color: #ff0000;\">\" \"</span>+::<span style=\"color: #000000;\">oSysdata</span>:<span style=\"color: #000000;\">zip</span>,;<br /> <span style=\"color: #ff0000;\">\" \"</span>,<span style=\"color: #ff0000;\">\" \"</span>,;<br /> <span style=\"color: #ff0000;\">\"Ship to:\"</span>, ;<br /> <span style=\"color: #ff0000;\">\" \"</span>,;<br /> ::<span style=\"color: #000000;\">oCustomer</span>:<span style=\"color: #000000;\">Contact</span>,;<br /> ::<span style=\"color: #000000;\">oCustomer</span>:<span style=\"color: #000000;\">company</span>,;<br /> trim<span style=\"color: #000000;\">(</span>::<span style=\"color: #000000;\">oCustomer</span>:<span style=\"color: #000000;\">address1</span><span style=\"color: #000000;\">)</span>+<span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span>!empty<span style=\"color: #000000;\">(</span>::<span style=\"color: #000000;\">oCustomer</span>:<span style=\"color: #000000;\">address2</span><span style=\"color: #000000;\">)</span>,<span style=\"color: #ff0000;\">\", \"</span>+::<span style=\"color: #000000;\">oCustomer</span>:<span style=\"color: #000000;\">address2</span>,<span style=\"color: #ff0000;\">\"\"</span><span style=\"color: #000000;\">)</span>,;<br /> trim<span style=\"color: #000000;\">(</span>::<span style=\"color: #000000;\">oCustomer</span>:<span style=\"color: #000000;\">city</span><span style=\"color: #000000;\">)</span>+<span style=\"color: #ff0000;\">\", \"</span>+trim<span style=\"color: #000000;\">(</span>::<span style=\"color: #000000;\">oCustomer</span>:<span style=\"color: #000000;\">state</span><span style=\"color: #000000;\">)</span>+<span style=\"color: #ff0000;\">\" \"</span>+::<span style=\"color: #000000;\">oCustomer</span>:<span style=\"color: #000000;\">zip</span>,;<br /> ::<span style=\"color: #000000;\">oCustomer</span>:<span style=\"color: #000000;\">phone</span>,<span style=\"color: #ff0000;\">\" \"</span>,<span style=\"color: #ff0000;\">\" \"</span>,;<br /> <span style=\"color: #ff0000;\">\"PO No: \"</span>+::<span style=\"color: #000000;\">oInvmast</span>:<span style=\"color: #000000;\">PONum</span>+<span style=\"color: #ff0000;\">\" Invoice date: \"</span>+dtoc<span style=\"color: #000000;\">(</span>::<span style=\"color: #000000;\">oInvmast</span>:<span style=\"color: #000000;\">invdte</span><span style=\"color: #000000;\">)</span>+;<br /> <span style=\"color: #ff0000;\">\" Terms: \"</span>+::<span style=\"color: #000000;\">oInvmast</span>:<span style=\"color: #000000;\">pterms</span> <span style=\"color: #0000ff;\">LEFT</span>;<span style=\"color: #B900B9;\">//+\" Salesperson: \",\" \" LEFT;</span><br /> FOOTER cFooter1,cFooter2 <span style=\"color: #0000ff;\">CENTER</span>;<br /> <span style=\"color: #0000ff;\">FONT</span> oFont;<br /> <span style=\"color: #0000ff;\">TO</span> DEVICE oDevice</div>[/code:1fgumcd2]\n\nRegards,\nJames",
"time": "12:28",
"topic": "Best way to print Invoice ?",
"username": "James Bott"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Mr.Otto\n\nThank you for providing the samples. Now I understand the trick behind the Report Designer and Passing the values to it. I have not used any report designers till now. EasyReport is really Easy <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\n[quote:1v9lv8qv]IF oVRD:nNextRow > oVRD:nPageBreak[/quote:1v9lv8qv]\nI understand that we should write the code to do the necessary things as per our requirement when a PageBreak is reached. \nBut how is this oVRD:nPageBreak identified ? Do we have to set the PageBreak (When should a PageBreak should occur) or Will EasyReport automatically finds the PageBreak based on the Page Length of the opted PaperSize (A4) of the Report\n\nDear Mr.James,\nThere are very few samples on the usage of TReport. Would have been better if we had a small sample showing the power of TReport to print a sample invoice with a regular simple invoice model containing \n\nThe Company Name\nCompany Address\n\nInvoice Details like Invoice No, Invoice Date etc.\nCustomer Details like Customer Name, Customer Address etc\n\nColumn Heading with Lines/Boxes seperating the Columns\nLine Items with Lines/Boxes seperating the Columns\n\nSub Total\nGrand Total\nStatuatory Declarations etc.\n\nWith both of your samples and explanations, now the concepts are getting more clear. \n\nRegards\n\nAnser",
"time": "05:31",
"topic": "Best way to print Invoice ?",
"username": "anserkk"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Mr. Anser,\n\nI am sorry I posted yesterday screenshots from EasyReport where the language was set to German.\nYou can setup the language of EasyReport-designer.\n\nThere are general report settings you can make.\n\n\nThese settings are stored in the file with the extension … . vrd\n and the printareas then as … . v01 to … . vn\n\nThis is the setting vrd of the screenshot RECHNUNG I posted. You see I use 17 ! PRINTAREAS.\nHeader, Subheader, Folio, Items, invoice endtext and so on.\n\n[img:2yx8kids]http://www.atzwanger-software.com/fw/easy4.jpg[/img:2yx8kids]\n\nYou don’t have to care about the vrd-files. Only if you want you can manipulate the file directly with an editor.\nSometimes this is much faster. \n\n[code=fw:2yx8kids]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #000000;\">[</span>General<span style=\"color: #000000;\">]</span><br />EditProperties=<span style=\"color: #000000;\">1</span><br />EditAreaProperties=<span style=\"color: #000000;\">1</span><br />EditLanguage=<span style=\"color: #000000;\">1</span><br />DeveloperMode=<span style=\"color: #000000;\">1</span><br />InsertMode=<span style=\"color: #000000;\">1</span><br /><span style=\"color: #0000ff;\">Title</span>=Rechnung<br />Measure=<span style=\"color: #000000;\">1</span><br />GridWidth=<span style=\"color: #000000;\">1</span><br />GridHeight=<span style=\"color: #000000;\">1</span><br />ShowGrid=<span style=\"color: #000000;\">0</span><br />TopMargin=<span style=\"color: #000000;\">26</span><br />LeftMargin=<span style=\"color: #000000;\">11</span><br />Expressions=<span style=\"color: #000000;\">1</span><br />GeneralExpressions=EasyReport General.dbf<br />UserExpressions=EasyReport User.dbf<br />DataExpressions=EasyReport Database.dbf<br />PageBreak=<span style=\"color: #000000;\">240</span><br />Orientation=<span style=\"color: #000000;\">1</span><br />ShowInfoMsg=<span style=\"color: #000000;\">1</span><br />PrintIDs=<span style=\"color: #000000;\">1</span><br />Group=Order<br />AreaFilesDir=.\\xVRD\\<br />PaperSize=<span style=\"color: #000000;\">9</span><br />PaperWidth=<span style=\"color: #000000;\">0</span><br />PaperHeight=<span style=\"color: #000000;\">0</span><br /><br /><span style=\"color: #000000;\">[</span>Fonts<span style=\"color: #000000;\">]</span><br /><span style=\"color: #B900B9;\">// maximal 20</span><br /><span style=\"color: #B900B9;\">// Parameters: name| nWidth| nHeight| bold| italic| underline| strikeout| escapement</span><br /><span style=\"color: #000000;\">1</span>=Arial| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">-12</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span><br /><span style=\"color: #000000;\">2</span>=Arial| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">-20</span>| <span style=\"color: #000000;\">1</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span><br /><span style=\"color: #000000;\">3</span>=Arial| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">-9</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span><br /><span style=\"color: #000000;\">4</span>=Arial| <span style=\"color: #000000;\">5</span>| <span style=\"color: #000000;\">-12</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">1</span>| <span style=\"color: #000000;\">1</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span><br /><span style=\"color: #000000;\">5</span>=Arial| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">-18</span>| <span style=\"color: #000000;\">1</span>| <span style=\"color: #000000;\">1</span>| <span style=\"color: #000000;\">1</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">200</span><br /><span style=\"color: #000000;\">6</span>=Arial| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">-7</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span><br /><span style=\"color: #000000;\">7</span>=Arial| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">-12</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span><br /><span style=\"color: #000000;\">8</span>=Arial| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">-12</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">2700</span><br /><span style=\"color: #000000;\">9</span>=Arial| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">-12</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">900</span><br /><span style=\"color: #000000;\">10</span>=Arial| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">-14</span>| <span style=\"color: #000000;\">1</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span><br /><span style=\"color: #000000;\">11</span>=Arial| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">-8</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span>| <span style=\"color: #000000;\">0</span><br /><br /><span style=\"color: #000000;\">[</span>Colors<span style=\"color: #000000;\">]</span><br /><span style=\"color: #B900B9;\">// Parameters: RGB - A numeric (RGB) value corresponding to the red| green</span><br /><span style=\"color: #B900B9;\">// and blue values specified.</span><br /><span style=\"color: #000000;\">1</span>=<span style=\"color: #000000;\">0</span><br /><span style=\"color: #000000;\">2</span>=<span style=\"color: #000000;\">16777215</span><br /><span style=\"color: #000000;\">3</span>=<span style=\"color: #000000;\">0</span><br /><span style=\"color: #000000;\">4</span>=<span style=\"color: #000000;\">4227072</span><br /><span style=\"color: #000000;\">5</span>=<span style=\"color: #000000;\">8421376</span><br /><span style=\"color: #000000;\">6</span>=<span style=\"color: #000000;\">65535</span><br /><span style=\"color: #000000;\">7</span>=<span style=\"color: #000000;\">13500148</span><br /><span style=\"color: #000000;\">8</span>=<span style=\"color: #000000;\">16250871</span><br /><span style=\"color: #000000;\">9</span>=<span style=\"color: #000000;\">8355711</span><br /><span style=\"color: #000000;\">11</span>=<span style=\"color: #000000;\">0</span><br /><br /><br /><span style=\"color: #000000;\">[</span>Infos<span style=\"color: #000000;\">]</span><br />Author=Mag. Otto Atzwanger<br />Company=Atzwanger Tourismussoftware<br />Comment=Rechnung<br />Revision=<span style=\"color: #000000;\">1996</span><br />SaveDate=<span style=\"color: #000000;\">20.05</span><span style=\"color: #000000;\">.2009</span><br />SaveTime=<span style=\"color: #000000;\">08</span>:<span style=\"color: #000000;\">30</span>:<span style=\"color: #000000;\">47</span><br /><span style=\"color: #000000;\">[</span>Areas<span style=\"color: #000000;\">]</span><br /><span style=\"color: #000000;\">1</span>=rechnung.v01<br /><span style=\"color: #000000;\">2</span>=rechnung.v02<br /><span style=\"color: #000000;\">3</span>=rechnung.v03<br /><span style=\"color: #000000;\">4</span>=rechnung.v04<br /><span style=\"color: #000000;\">5</span>=rechnung.v05<br /><span style=\"color: #000000;\">6</span>=rechnung.v06<br /><span style=\"color: #000000;\">7</span>=rechnung.v07<br /><span style=\"color: #000000;\">8</span>=rechnung.v08<br /><span style=\"color: #000000;\">9</span>=rechnung.v09<br /><span style=\"color: #000000;\">10</span>=rechnung.v10<br /><span style=\"color: #000000;\">11</span>=rechnung.v11<br /><span style=\"color: #000000;\">12</span>=rechnung.v12<br /><span style=\"color: #000000;\">13</span>=rechnung.v13<br /><span style=\"color: #000000;\">14</span>=rechnung.v14<br /><span style=\"color: #000000;\">15</span>=rechnung.v15<br /><span style=\"color: #000000;\">16</span>=rechnung.v16<br /><span style=\"color: #000000;\">17</span>=rechnung.v17<br /><br /> </div>[/code:2yx8kids]\n\nBest regards,\nOtto \n\n \n\n\n\nBest regards,\nOtto",
"time": "07:48",
"topic": "Best way to print Invoice ?",
"username": "Otto"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Mr.Otto,\n\nThank you. I shall try and test.\n\nRegards\n\nAnser",
"time": "15:49",
"topic": "Best way to print Invoice ?",
"username": "anserkk"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Anserkk,\nI am very much new to printing using FWH. I think more than you!\nI think (like you) that in the beginning, the simplest way is not to use 3rd party applications.\nThere are many other problems in my mind that make confusion. \nAnd how printing better from my FWH applications in this moment is not the most important problem in this moment! \nI have to solve first HOW PRINTING. Only after, i will spend my time for doing it better.\nSo, for me the better thing is to consider 3rd party applications for printing in a second time.\nAs first step, for printing i'm using the syntax:\nPRINT oPRN NAME \"Title\" \n PAGE\n oprn:say() && for printing text\n oprn:line() && for printing line\n ENDPAGE\nENDPRINT\nand it works fine.\nNow after reading your post, i'm trying the free library TCLIPPRT from Manuel Mercado, and i think is good because it give me the possibility not change my mind and my way of developing.\n\nTo Manuel:\nyour library is simple so is great ! One question: how can i use different fonts in the same print? Is it possible or not?\nI haven't find this issue in the example..\n\nThanks\n\nMax",
"time": "07:54",
"topic": "Best way to print Invoice ?",
"username": "max"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Mr.Max,\n\nBoth of us are on the same route <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nFrom where can I get the Class TCLIPPRT so that I can also test printing using the class\n\n[quote:3iumc2xw]oprn:line() && for printing line[/quote:3iumc2xw]\nWhat about printing a vertical line ? Boxes\n\n[quote:3iumc2xw]PRINT oPRN NAME \"Title\"\nPAGE\noprn:say() && for printing text\noprn:line() && for printing line\nENDPAGE\nENDPRINT[/quote:3iumc2xw]\n\nI am looking for more samples on printing like the way quoted above. At least a simple sample showing how to print a simple Invoice as I have already said above in this thread\n\nRegards\nAnser",
"time": "08:36",
"topic": "Best way to print Invoice ?",
"username": "anserkk"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Mr.Max,\n\nI got the Class TCLIPPRT after searching the forum. I shall test.\n\nRegards\nAnser",
"time": "09:28",
"topic": "Best way to print Invoice ?",
"username": "anserkk"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Anser,\n[quote=\"anserkk\":3dl6zfx7]\nFrom where can I get the Class TCLIPPRT so that I can also test printing using the class\n[/quote:3dl6zfx7]\n\nLook in the bottom of the first page of [b:3dl6zfx7][u:3dl6zfx7]your[/u:3dl6zfx7][/b:3dl6zfx7] post: Manuel Mercado directly suggest you tu use TCLIPPRT class and wrote you the link . Only thanks to this post now i know that TCLIPPRT exist, so I'm trying this free class for the first time.\nHowever, oprn:line() and oprn:say() is included by default to standard class TPRINTER. \nClass TCLIPPRT is another way for simple printing like your invoice example.\n\n[quote:3dl6zfx7]What about printing a vertical line ? Boxes[/quote:3dl6zfx7]\n\nWith oprn:line() you can draw vertical lines and boxes too.\nLook at TESTPRN2.PRG in your \\FWH\\SAMPLES and to help file FWCLASS in \\FWH\\MANUAL .\n\nMax",
"time": "09:31",
"topic": "Best way to print Invoice ?",
"username": "max"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello mr. Anser,\n\nI feel you are not convinced.\nHere you have your example with the help of EasyReport.\nDesign of the invoice you can change with the designer like in WORD.\n\nBest regards,\nOtto\n[code=fw:21cvis9o]<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;\">\"VRD.CH\"</span><br /><br /><span style=\"color: #00C800;\">static</span> oWnd<br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</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> oBar<br /> <span style=\"color: #00C800;\">local</span> oPopup<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">20</span>, <span style=\"color: #000000;\">60</span> ;<br /> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Printing an invoice\"</span><br /> @ <span style=\"color: #000000;\">3</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"invoice\"</span> <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">100</span>,<span style=\"color: #000000;\">50</span> <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">ACTION</span> PrintInvoice<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">function</span> PrintInvoice<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">local</span> oVRD<br /> <span style=\"color: #00C800;\">local</span> company := <span style=\"color: #ff0000;\">\"ABC Company\"</span><br /> <span style=\"color: #00C800;\">local</span> add1 := <span style=\"color: #ff0000;\">\"Address 12/123445\"</span><br /> <span style=\"color: #00C800;\">local</span> add2 := <span style=\"color: #ff0000;\">\"That Street\"</span><br /> <span style=\"color: #00C800;\">local</span> Pincode := <span style=\"color: #ff0000;\">\"Pincode : 999999\"</span><br /> <span style=\"color: #00C800;\">local</span> InvoiceNo := <span style=\"color: #ff0000;\">\"23\"</span><br /> <span style=\"color: #00C800;\">local</span> InvoiceDt := <span style=\"color: #ff0000;\">\"15-05-2009\"</span><br /> <span style=\"color: #00C800;\">local</span> I := <span style=\"color: #000000;\">0</span><br /> <span style=\"color: #00C800;\">local</span> nTotal := <span style=\"color: #000000;\">0</span><br /> <span style=\"color: #00C800;\">local</span> aArr := <span style=\"color: #000000;\">{</span>; <br /> <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"1\"</span> , <span style=\"color: #ff0000;\">\"Item 1\"</span>, <span style=\"color: #ff0000;\">\"3\"</span>, <span style=\"color: #ff0000;\">\"10.00\"</span> , <span style=\"color: #ff0000;\">\" 4%\"</span> , <span style=\"color: #ff0000;\">\"0.40\"</span>, <span style=\"color: #ff0000;\">\"10.40\"</span> <span style=\"color: #000000;\">}</span>,; <br /> <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"2\"</span> , <span style=\"color: #ff0000;\">\"Item 2\"</span>, <span style=\"color: #ff0000;\">\"5\"</span>, <span style=\"color: #ff0000;\">\"15.00\"</span> , <span style=\"color: #ff0000;\">\" 4%\"</span> , <span style=\"color: #ff0000;\">\"0.40\"</span>, <span style=\"color: #ff0000;\">\"15.40\"</span> <span style=\"color: #000000;\">}</span>,; <br /> <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"3\"</span> , <span style=\"color: #ff0000;\">\"Item 3\"</span>, <span style=\"color: #ff0000;\">\"2\"</span>, <span style=\"color: #ff0000;\">\"20.00\"</span> , <span style=\"color: #ff0000;\">\" 4%\"</span> , <span style=\"color: #ff0000;\">\"0.40\"</span>, <span style=\"color: #ff0000;\">\"20.40\"</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <br /><br /><br /> EASYREPORT oVRD <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\x</span>VRD<span style=\"color: #000000;\">\\i</span>nvoice.vrd\"</span> <br /><br /> PRINTAREA <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">OF</span> oVRD;<br /> ITEMIDS <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">101</span>,<span style=\"color: #000000;\">102</span>,<span style=\"color: #000000;\">103</span>,<span style=\"color: #000000;\">104</span>,<span style=\"color: #000000;\">105</span>,<span style=\"color: #000000;\">106</span> <span style=\"color: #000000;\">}</span> ;<br /> ITEMVALUES <span style=\"color: #000000;\">{</span> company,add1,add2,Pincode,InvoiceNo,InvoiceDt <span style=\"color: #000000;\">}</span><br /> <br /> PRINTAREA <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">OF</span> oVRD<br /> <span style=\"color: #00C800;\">FOR</span> I = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> len<span style=\"color: #000000;\">(</span>aArr<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">IF</span> oVRD:<span style=\"color: #000000;\">nNextRow</span> > oVRD:<span style=\"color: #000000;\">nPageBreak</span><br /> PAGEBREAK oVRD<br /> <span style=\"color: #00C800;\">endif</span><br /> nTotal := nTotal + VAL<span style=\"color: #000000;\">(</span>aArr<span style=\"color: #000000;\">[</span>I,<span style=\"color: #000000;\">7</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span><br /> PRINTAREA <span style=\"color: #000000;\">3</span> <span style=\"color: #0000ff;\">OF</span> oVRD ; <br /> ITEMIDS <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">101</span>,<span style=\"color: #000000;\">102</span>,<span style=\"color: #000000;\">103</span>,<span style=\"color: #000000;\">104</span>,<span style=\"color: #000000;\">105</span>,<span style=\"color: #000000;\">106</span>,<span style=\"color: #000000;\">107</span> <span style=\"color: #000000;\">}</span> ;<br /> ITEMVALUES <span style=\"color: #000000;\">{</span> aArr<span style=\"color: #000000;\">[</span>I,<span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>,aArr<span style=\"color: #000000;\">[</span>I,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span>,aArr<span style=\"color: #000000;\">[</span>I,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">]</span>,aArr<span style=\"color: #000000;\">[</span>I,<span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">]</span>,aArr<span style=\"color: #000000;\">[</span>I,<span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">]</span>,aArr<span style=\"color: #000000;\">[</span>I,<span style=\"color: #000000;\">6</span><span style=\"color: #000000;\">]</span>,aArr<span style=\"color: #000000;\">[</span>I,<span style=\"color: #000000;\">7</span><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">next</span><br /> PRINTAREA <span style=\"color: #000000;\">4</span> <span style=\"color: #0000ff;\">OF</span> oVRD ; <br /> ITEMIDS <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">107</span> <span style=\"color: #000000;\">}</span> ;<br /> ITEMVALUES <span style=\"color: #000000;\">{</span> str<span style=\"color: #000000;\">(</span>nTotal<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /><br /> oVRD:<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:21cvis9o]\n\n[img:21cvis9o]http://www.atzwanger-software.com/fw/aclip3.jpg[/img:21cvis9o]\n\n\n[img:21cvis9o]http://www.atzwanger-software.com/fw/aclip2.jpg[/img:21cvis9o]",
"time": "09:53",
"topic": "Best way to print Invoice ?",
"username": "Otto"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr. Anser,\n\nand if your client wants another design:\n\n\n[img:r8qpnfrm]http://www.atzwanger-software.com/fw/clip4.jpg[/img:r8qpnfrm]",
"time": "10:02",
"topic": "Best way to print Invoice ?",
"username": "Otto"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Mr.Otto,\n\nThank you very much for the Sample.\n\n[quote:2zyg4z6c]I feel you are not convinced.[/quote:2zyg4z6c]\nI am convinced with EasyReport. I understand that it is very easy to create report using any Visual Report Designer and EasyReport is a very simple and elegant tool and as it is developed using FiveWin, the developers of EasyReport definitely knows the xBase way.\n\nIn windows environment it is difficult to design a report without a visual report designer. It is difficult to calculate the printing coordinates especially when using different fonts.\n\nThe latest sample which you have provided is very useful to me. The ID nos 107,108 etc are they generated automatically while you design the report ?. Do you modify these id numbers ? When I tried I was getting values -1, etc\n\nThe only thing bothering me is the external dependencies. I understand that while distributing the application there will be few EasyReport DLL files + For each report there will be a .vrd file and for each PrintArea in that particular report there will be .V01 .V02 ... files. One of the threats faced by me here is that I get calls from my clients saying that files are missing, due to accidental deletion of files. The same problem exists when using DBF files too. But for my new applications I am using MySQL and thus eliminated missing DBF files. One advantage of using the FWH's builtin classes is that I reduce the chances of this problem, because everything is bundled inside the FWH application exe. Of course the strain and time taken to write the report is too much and I am also exploring other possibilities to simplify the report generation. \n\nRegards\n\nAnser",
"time": "11:09",
"topic": "Best way to print Invoice ?",
"username": "anserkk"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear MR.Max,\n\n[quote:3778cljy]Look in the bottom of the first page of your post: Manuel Mercado directly suggest you tu use TCLIPPRT class and wrote you the link .[/quote:3778cljy]\nI think I was blind. I don't know how I missed Mr.Manuel's post in this thread. \nWhen I tried the sample which cam along with class, I am getting a Linking error about a missing AlphaBlend Brushes function in FiveHc.Lib\n\nRegards\nAnser",
"time": "11:13",
"topic": "Best way to print Invoice ?",
"username": "anserkk"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote:2z1pkgye]There are very few samples on the usage of TReport.[/quote:2z1pkgye] \n\nThere are lots of examples in fw\\samples\\report.\n\n[quote:2z1pkgye]Would have been better if we had a small sample showing the power of TReport to print a sample invoice with a regular simple invoice model containing \n\nThe Company Name\nCompany Address\n\nInvoice Details like Invoice No, Invoice Date etc.\nCustomer Details like Customer Name, Customer Address etc[/quote:2z1pkgye]\n\nThese were all shown in my example in my previous message.\n\n[quote:2z1pkgye]Column Heading with Lines/Boxes seperating the Columns\nLine Items with Lines/Boxes seperating the Columns\n\nSub Total\nGrand Total\nStatuatory Declarations etc.[/quote:2z1pkgye]\n\nThe above are all standard TReport features. There should be examples of all them in the sample reports.\n\nRegards,\nJames",
"time": "11:20",
"topic": "Best way to print Invoice ?",
"username": "James Bott"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr. Otto,\ni am testing my EASY REPORT 2.1 PERSONAL EDITION with using your (precious!) examples in this post.\nI use FWH 8.04 , XHARBOUR 1.1.0 and BCC 5.5 .\nI add the VRD_XHARBOUR99.LIB found in \\easyreport2\\fivewin\\lib and \nCompiling and linking apparently all is ok.\nBut when i execute my .exe, this error immediately occurs and stop my application:\n\n[quote:ryoa1oit]UNRECOVERABLE ERROR 9000:\nModule: 'vrd.prg' was compiled into PCODE version: 5,this version of xHarbour expects version: 9[/quote:ryoa1oit]\n\nI note that the VRD_XHARBOUR99.LIB is dated 23/10/2004.\nPerhaps an updated VRD.LIB is requested ? Or other issue?\nIf i bore you with my request don't reply to me: don't worry, i know that the right thing to do is to ask help to developers of EasyReport.\nThank you in any case!\n\nMax",
"time": "11:50",
"topic": "Best way to print Invoice ?",
"username": "max"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr. Anser,\n\n[quote:1jj3tdij]Do you modify these id numbers ? When I tried I was getting values -1, etc\n[/quote:1jj3tdij]\n\nThis is like with resource workshop. You only give to these items Ids which you want substitute through the program.\n\n[quote:1jj3tdij]The only thing bothering me is the external dependencies[/quote:1jj3tdij]\n\n\nIf you do not give the designer to your clients you have no dependencies.\n\nThe print engine is linked in through the files:\nVrd.prg\nVrdbcode.prg\nVrditem.prg\n\n <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) --> You could use a trick if you don’t want to publish the report files:\nYou could store them in your exe and when you start your exe you could write them to the disk – or you change the vrd.prgs to access directly variables instate of reading . <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) --> \n\nBut I think the freedom that the clients can change the reports is the advantage.\n\nBest regards,\nOtto",
"time": "11:59",
"topic": "Best way to print Invoice ?",
"username": "Otto"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Mr.Otto,\n\nSorry to trouble you again.\n\n[quote:3shz2243]If you do not give the designer to your clients you have no dependencies.\n\nThe print engine is linked in through the files:\nVrd.prg\nVrdbcode.prg\nVrditem.prg\n[/quote:3shz2243]\n\nDo you mean that if I include the PRG's Vrd.Prg, Vrdbcode.Prg & Vrditem.Prg in my project then I don't have to distribute the DLL and other EasyReport dependent files available in the Folder \\EasyReport2\\Distribution. So that while distributing my application there is only the FWH Application.Exe file and the required Report files like .Vrd and .V01 .V02 .Vo3 ... etc. \nWhat about the Report Preview ?\n\nThanks & Regards\n\nAnser",
"time": "12:20",
"topic": "Best way to print Invoice ?",
"username": "anserkk"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Max,\nHave you tried to include the 3 vrd-files to your project. I don't have ER libs.\n\nBest regards,\nOtto",
"time": "12:07",
"topic": "Best way to print Invoice ?",
"username": "Otto"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Otto,\ncompiling the 3 vrd*.prg files without the .lib now is ok!\nthank you.\n\nMax",
"time": "12:19",
"topic": "Best way to print Invoice ?",
"username": "max"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2009-05-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr. Anser,\nrpreview.prg is the file for the preview.\nBest regards,\nOtto",
"time": "12:36",
"topic": "Best way to print Invoice ?",
"username": "Otto"
}
] |
Best way to print Invoice ?
|
[
{
"date": "2014-11-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "We have already included Paco Garcia's new clause TRUEPIXEL into the next version of FWH.\n\nWe are almost ready to publish the new version FWH 14.11 but we would like to beta test Paco's feature before publishing it.\n\nIf you are a FWH 14.09 please send me an email to me to receive these new libs. We will only take a few beta testers so please don't ask for it all of you <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nThanks!",
"time": "14:02",
"topic": "Beta tester required for new clause TRUEPIXEL",
"username": "Antonio Linares"
}
] |
Beta tester required for new clause TRUEPIXEL
|
[
{
"date": "2014-11-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":3d5wi3iw]We have already included Paco Garcia's new clause TRUEPIXEL into the next version of FWH.\n\nWe are almost ready to publish the new version FWH 14.11 but we would like to beta test Paco's feature before publishing it.\n\nIf you are a FWH 14.09 please send me an email to me to receive these new libs. We will only take a few beta testers so please don't ask for it all of you <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nThanks![/quote:3d5wi3iw]\n\nDear Antonio,\n\ninclude FWH64 version.",
"time": "17:48",
"topic": "Beta tester required for new clause TRUEPIXEL",
"username": "richard-service"
}
] |
Beta tester required for new clause TRUEPIXEL
|
[
{
"date": "2014-12-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "If you tell me what I must make I wish become a tester",
"time": "08:44",
"topic": "Beta tester required for new clause TRUEPIXEL",
"username": "Silvio.Falconi"
}
] |
Beta tester required for new clause TRUEPIXEL
|
[
{
"date": "2014-12-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Silvio,\n\nWe already published it <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nFWH 14.11",
"time": "08:47",
"topic": "Beta tester required for new clause TRUEPIXEL",
"username": "Antonio Linares"
}
] |
Beta tester required for new clause TRUEPIXEL
|
[
{
"date": "2014-11-29",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Ya hemos incluido la nueva claúsula TRUEPIXEL de Paco García para la próxima versión de FWH.\n\nEstos ya casi listos para publicar la nueva versión 14.11 pero nos gustaria probar este cambio de Paco antes de publicarlo.\n\nSi eres usuario de FWH 14.09 por favor envíame un email para recibir las nuevas librerías. Solo usaremos a unos pocos beta testers así que por favor no la pidais todos <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nGracias!",
"time": "14:05",
"topic": "Beta testers requeridos para probar TRUEPIXEL",
"username": "Antonio Linares"
}
] |
Beta testers requeridos para probar TRUEPIXEL
|
[
{
"date": "2017-07-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "The height and width from gradientfill() is ::nHeight and ::nWidth from the window/dialog. This includes caption, borders, etc and this seems to be wrong. \nWe should use the real ClientArea! \nUse for a test {{0.49,CLR_GRAY,CLR_WHITE},{0.02,CLR_BLACK,CLR_BLACK},{0.49,CLR_WHITE,CLR_GRAY}} as gradient. The black line should located in the middle (V or H) from window/dialog\n\n[code=fw:34ghtoku]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">METHOD</span> Gradient<span style=\"color: #000000;\">(</span> aGradColors <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TWindow<br /><br /> <span style=\"color: #00C800;\">local</span> hDC, hBmp, hBmpOld, aClient := GetClientRect<span style=\"color: #000000;\">(</span>::<span style=\"color: #000000;\">hWnd</span><span style=\"color: #000000;\">)</span>, nHeight := aClient<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">]</span>-aClient<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>, nWidth := aClient<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">]</span>-aClient<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span><br /><br /> <span style=\"color: #00C800;\">DEFAULT</span> aGradColors := ::<span style=\"color: #000000;\">aGradColors</span><br /><br /> <span style=\"color: #00C800;\">if</span> aGradColors == <span style=\"color: #00C800;\">nil</span><br /> <span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> <span style=\"color: #00C800;\">endif</span><br /><br /> hDC = CreateCompatibleDC<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">GetDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> hBmp = CreateCompatibleBitMap<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hDC</span>, nWidth, nHeight <span style=\"color: #000000;\">)</span><br /> hBmpOld = SelectObject<span style=\"color: #000000;\">(</span> hDC, hBmp <span style=\"color: #000000;\">)</span><br /><br /> GradientFill<span style=\"color: #000000;\">(</span> hDC, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, nHeight, nWidth, aGradColors <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">oBrush</span> != <span style=\"color: #00C800;\">nil</span><br /> ::<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /><br /> ::<span style=\"color: #000000;\">oBrush</span> = TBrush<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBitmap</span> = hBmp<br /> ::<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBrush</span> = CreatePatternBrush<span style=\"color: #000000;\">(</span> hBmp <span style=\"color: #000000;\">)</span><br /><br /> SelectObject<span style=\"color: #000000;\">(</span> hDC, hBmpOld <span style=\"color: #000000;\">)</span><br /><br /> ::<span style=\"color: #000000;\">ReleaseDC</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></div>[/code:34ghtoku]",
"time": "11:35",
"topic": "Better method Gradient() for class TWindow",
"username": "byte-one"
}
] |
Better method Gradient() for class TWindow
|
[
{
"date": "2017-07-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "You get best results by using Gradient Brush rather than using gradient function.\n\nPlease try:\n[code=fw:3852ooio]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <span style=\"color: #00C800;\">local</span> oDlg, aGrad, oBrush<br /><br /> aGrad := <span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">0.49</span>,CLR_GRAY,CLR_WHITE<span style=\"color: #000000;\">}</span>,<span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">0.02</span>,CLR_BLACK,CLR_BLACK<span style=\"color: #000000;\">}</span>,<span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">0.49</span>,CLR_WHITE,CLR_GRAY<span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">}</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush GRADIENT aGrad<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">BRUSH</span> oBrush <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"GRADIENT BRUSH\"</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: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush<br /><br /> </div>[/code:3852ooio]\n[url=https://imageshack.com/i/po5XwBpOp:3852ooio][img:3852ooio]http://imagizer.imageshack.us/v2/xq90/924/5XwBpO.png[/img:3852ooio][/url:3852ooio]",
"time": "03:52",
"topic": "Better method Gradient() for class TWindow",
"username": "nageswaragunupudi"
}
] |
Better method Gradient() for class TWindow
|
[
{
"date": "2017-07-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr. Rao, right, but in method SetSize() the method gradient() is using and should be correct.",
"time": "07:00",
"topic": "Better method Gradient() for class TWindow",
"username": "byte-one"
}
] |
Better method Gradient() for class TWindow
|
[
{
"date": "2017-07-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"byte-one\":2u2ucum2]Mr. Rao, right, but in method SetSize() the method gradient() is using and should be correct.[/quote:2u2ucum2]\n\nSetSize does not affect gradient brush.\n\nWe have 2 alternative approaches to show gradient background for a window/dialog. (A) Use gradient method/clause and (B) create a gradient brush and apply the brush to window/dialog.\n\nA) Using gradient method. (Upto ver 17.06)\n1) Does not fill the client rect correctly. (This is what you rightly pointed out and your fix also is right)\n2) Gradient is not resizeable when the window/dialog is resized.\n3) Painting of some controls (eg. TUrlLink) fails.\n\nB) Using Gradient Brushes\n1) Exactly fits the ClientRect\n2) Resizeable\n3) All transparent controls are painted properly\n\nThis is a test program to compare:\n[code=fw:2u2ucum2]<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> oDlg, aGrad, oBrush, oBar, oUrl<br /> <span style=\"color: #00C800;\">local</span> nChoice<br /><br /> nChoice := Alert<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Select\"</span>, <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"GRADIENT BRUSH\"</span>, <span style=\"color: #ff0000;\">\"GRADIENT METHOD\"</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /><br /> aGrad := <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.02</span>, CLR_HGREEN, CLR_HGREEN <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.47</span>, CLR_GRAY, CLR_WHITE <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.02</span>, CLR_BLACK, CLR_BLACK <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.47</span>, CLR_WHITE, CLR_GRAY <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.02</span>, CLR_HRED, CLR_HRED <span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush GRADIENT aGrad<br /><br /> <span style=\"color: #00C800;\">if</span> nChoice == <span style=\"color: #000000;\">1</span><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg TRUEPIXEL <span style=\"color: #0000ff;\">BRUSH</span> oBrush <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"GRADIENT BRUSH\"</span><br /> <span style=\"color: #00C800;\">else</span><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg TRUEPIXEL GRADIENT aGrad <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"GRADIENT METHOD\"</span><br /> <span style=\"color: #00C800;\">endif</span><br /><br /> <span style=\"color: #B900B9;\">// Make Dialog resizeable</span><br /> oDlg:<span style=\"color: #000000;\">nStyle</span> += <span style=\"color: #000000;\">(</span> WS_MAXIMIZEBOX + WS_MINIMIZEBOX + WS_THICKFRAME <span style=\"color: #000000;\">)</span><br /><br /> @ <span style=\"color: #000000;\">110</span>,<span style=\"color: #000000;\">20</span> URLLINK oUrl URL <span style=\"color: #ff0000;\">\"www.fivetechsoft.com\"</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br /> oUrl:<span style=\"color: #000000;\">lTransparent</span> := .t.<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: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:2u2ucum2]\n\n[url=https://imageshack.com/i/po9YKwszp:2u2ucum2][img:2u2ucum2]http://imagizer.imageshack.us/v2/xq90/924/9YKwsz.png[/img:2u2ucum2][/url:2u2ucum2]\n\nFWH17.07\n1) Adopted your suggestion to fix issue (1)\n2) Also modified Gradient method and now gradient is resizeable like brushes\n3) Yet to find a fix for issue No.3",
"time": "18:33",
"topic": "Better method Gradient() for class TWindow",
"username": "nageswaragunupudi"
}
] |
Better method Gradient() for class TWindow
|
[
{
"date": "2017-07-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "What next?\nFrom FWH17.07, both brush and gradient method function the same way.\nLet is add buttonbar and see.\n\nGradient fills ClientRect, but part of it is occupied by buttonbar, hiding the top part of the gradient. In case we like the gradient to fit the visible client area (excluding oTop(oBar), oBottom(MsgBar),oLeft and oRight) what we can do is:\n\noDlg:oBrush:lClientArea := .T. // FWH17.07\n\n[url=https://imageshack.com/i/pmWenYDfp:145fw42i][img:145fw42i]http://imagizer.imageshack.us/v2/xq90/922/WenYDf.png[/img:145fw42i][/url:145fw42i]",
"time": "18:55",
"topic": "Better method Gradient() for class TWindow",
"username": "nageswaragunupudi"
}
] |
Better method Gradient() for class TWindow
|
[
{
"date": "2017-07-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thanks, Mr. Rao! This is perfect.",
"time": "19:15",
"topic": "Better method Gradient() for class TWindow",
"username": "byte-one"
}
] |
Better method Gradient() for class TWindow
|
[
{
"date": "2010-03-02",
"forum": "Off Topic / Otros temas",
"text": "Better than free:\n[url:6cui6wrb]http://www.kk.org/thetechnium/archives/2008/01/better_than_fre.php[/url:6cui6wrb]\n\nMejor que gratis:\n[url:6cui6wrb]http://www.uncafelitoalasonce.com/mejor-que-gratis/[/url:6cui6wrb]",
"time": "22:40",
"topic": "Better than free / Mejor que gratis",
"username": "Antonio Linares"
}
] |
Better than free / Mejor que gratis
|
[
{
"date": "2019-08-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Buenas tardes, soy nuevo en este lenguaje y estaba buscando bibliografía. Aclaro que no vengo de Clipper. Desde ya Muchas Gracias!",
"time": "19:02",
"topic": "Bibliografía",
"username": "santidedos"
}
] |
Bibliografía
|
[
{
"date": "2019-08-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Santi, bienvenido\nQué version estás utilizando?\n<!-- m --><a class=\"postlink\" href=\"http://wiki.fivetechsoft.com/doku.php\">http://wiki.fivetechsoft.com/doku.php</a><!-- m -->",
"time": "19:53",
"topic": "Bibliografía",
"username": "cnavarro"
}
] |
Bibliografía
|
[
{
"date": "2019-08-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Bienvenido <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nAl fin, alguien al que podré ayudarle jejejejejeje",
"time": "19:56",
"topic": "Bibliografía",
"username": "leandro"
}
] |
Bibliografía
|
[
{
"date": "2019-08-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"santidedos\":1mdol1jz]Buenas tardes, soy nuevo en este lenguaje y estaba buscando bibliografía. Aclaro que no vengo de Clipper. Desde ya Muchas Gracias![/quote:1mdol1jz]\n\nHola amigo:\n\nYo tambien soy novato, aunque programe en Clipper + Fivewin , hace muchos años.\nComo ya sabras ahora es Harbour/XHarbour + Fivewin .\n\nDe Harbour todos los libros de Clipper te valen, bueno a partir de la version 5.2 muchisimo mejor. A mi el libro \nque me ayudo mas (A pesar de que tiene muchos errores ) es \"Curso de programacion en Clipper 5\" Ed. Ra-ma. \nEn la web.\n[url]\n<!-- m --><a class=\"postlink\" href=\"https://harbour.github.io/doc/\">https://harbour.github.io/doc/</a><!-- m -->\n<!-- m --><a class=\"postlink\" href=\"http://www.fivetechsoft.com/harbour-docs/harbour.html\">http://www.fivetechsoft.com/harbour-docs/harbour.html</a><!-- m -->\n<!-- m --><a class=\"postlink\" href=\"https://harbour.github.io/doc/harbour.html#compiler-options\">https://harbour.github.io/doc/harbour.h ... er-options</a><!-- m -->\n<!-- m --><a class=\"postlink\" href=\"https://harbour.wiki/\">https://harbour.wiki/</a><!-- m -->\n<!-- m --><a class=\"postlink\" href=\"http://www.fivetechsoft.com/harbour-docs/harbour-reference-guide.htm\">http://www.fivetechsoft.com/harbour-doc ... -guide.htm</a><!-- m -->\n<!-- m --><a class=\"postlink\" href=\"https://code.google.com/archive/p/fivewin-contributions/downloads\">https://code.google.com/archive/p/fivew ... /downloads</a><!-- m -->\n[/url]\n\nCon esto tienes material de sobra para empezar. Y luego pregunta como seran preguntas faciles(Por ahora )\nSi los las se prometo contestarte, de todas formas es un foro muy colaborador, ya lo veras.\n\nAnimo.\n\nJose.\nCon esto puedes",
"time": "21:01",
"topic": "Bibliografía",
"username": "jvtecheto"
}
] |
Bibliografía
|
[
{
"date": "2019-08-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola muy bienvenido. En mi humilde opinión, la mejor bibliografía de fivewin son los usuarios del foro. Pregunta a voluntad. Saludos",
"time": "21:05",
"topic": "Bibliografía",
"username": "karinha"
}
] |
Bibliografía
|
[
{
"date": "2019-08-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Muchas Gracias a todos! Muy atentos. Ya estoy mirando lo que me pasaron. En cuanto a qué versión uso: FWH 17.01, harbour 3.2 y Bcc7. De nuevo Muchas Gracias. Estaré preguntando cuando surjan dudas. Saludos!",
"time": "23:50",
"topic": "Bibliografía",
"username": "santidedos"
}
] |
Bibliografía
|
[
{
"date": "2015-06-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Boa tarde, alguém pode me ajudar a implementar estas rotinas para serem usadas pelo FIVEWIN?\nSão rotinas para capturar código de barras de imagens ou cameras, ele suporta EAN/UPC, Code 128, Code 39, Interleaved 2 of 5 and QR Code\nO link que contém o projeto:\n<!-- m --><a class=\"postlink\" href=\"http://sourceforge.net/projects/zbar/\">http://sourceforge.net/projects/zbar/</a><!-- m -->\n\nGrato. <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "19:55",
"topic": "Biblioteca para ler codigo de barras de imagem e camera",
"username": "zekasan"
}
] |
Biblioteca para ler codigo de barras de imagem e camera
|
[
{
"date": "2016-10-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Olá, vc conseguiu adaptar esta rotina para FiveWin + xHarbour?\n\nestou precisando para um sistema com Tablet com Windows...\n\nSe sim, e se puder compartilhar, por favor enviar para <!-- e --><a href=\"mailto:ronecoura@bol.com.br\">ronecoura@bol.com.br</a><!-- e -->\n\nObgdão!!! Fk com Deus!!!",
"time": "23:19",
"topic": "Biblioteca para ler codigo de barras de imagem e camera",
"username": "theotokos"
}
] |
Biblioteca para ler codigo de barras de imagem e camera
|
[
{
"date": "2009-10-06",
"forum": "FiveWin para Pocket PC",
"text": "Biel, como eu configuro o xmate com pocket pc?",
"time": "12:12",
"topic": "Biel - Como configuro xMate para pocket pc",
"username": "MGA"
}
] |
Biel - Como configuro xMate para pocket pc
|
[
{
"date": "2008-06-07",
"forum": "FiveWin para Harbour/xHarbour",
"text": "En FiveWin siempre hay algo nuevo que no me atrevo a usar por ignorancia, hoy he comenzado a usar TActiveX y veo una maravilla en ello.\r\n\r\nEn \\Samples he encontrado (y aplicado) varios ejemplos pero no sé como usar los métodos y propiedades.\r\n\r\nSiguiendo algunos hilos encontré esto: <!-- m --><a class=\"postlink\" href=\"http://www.despachoarteaga.com.mx/ActiveXXX.zip\">http://www.despachoarteaga.com.mx/ActiveXXX.zip</a><!-- m --> \r\n\r\nEspero no violar derechos y si lo hago avísenme o los hago cómplices.\r\n\r\nBueno, lo que intento es encontrar la forma de modificar el contenido de los campos editables de un archivo PDF y me pregunto si alguien ya lo ha logrado para que comparta la forma de como hacerlo.\r\n\r\nEspero respuesta. Gracias.",
"time": "03:20",
"topic": "Bien por TActiveX!",
"username": "Alfredo Arteaga"
}
] |
Bien por TActiveX!
|
[
{
"date": "2008-06-09",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Alfredo,\r\nCon Activex no me fue posible realizar la fusión de datos con un formulario PDF, aunque, tal vez me faltó investigar más este asunto. Sigo interesado en ello, por si acaso avanzaras con el tema.\r\nLo conseguido lo puedes ver en <!-- m --><a class=\"postlink\" href=\"http://www.fivetechsoft.com/forums/viewtopic.php?t=4897&start=0\">http://www.fivetechsoft.com/forums/view ... 97&start=0</a><!-- m -->",
"time": "17:15",
"topic": "Bien por TActiveX!",
"username": "Manuel Aranda"
}
] |
Bien por TActiveX!
|
[
{
"date": "2008-06-10",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias Manuel. Reviso y te comento.",
"time": "00:24",
"topic": "Bien por TActiveX!",
"username": "Alfredo Arteaga"
}
] |
Bien por TActiveX!
|
[
{
"date": "2008-06-10",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Manuel,\r\n\r\npara hacer la fusion de pdfs puedes usar pdftk, que es open source. Entre otras cosas, es capaz de procesar forms de pdfs, mezclar y/o separar pdfs, etc. Hechale un vistazo.\r\n\r\nHe logrado combinar pdf usando directamente Ghostscript, y hacer un par de cosas más, tal vez tambien ver este software te valga. Aprendí bastante del tema viendo los ejemplos de uso del PdfCreator, que en realidad es un wrapper a ghostscript, y lo mismo se puede decir de pdftk.\r\n\r\nUn saludo,\r\n\r\nCarlos.",
"time": "14:30",
"topic": "Bien por TActiveX!",
"username": "Carlos Mora"
}
] |
Bien por TActiveX!
|
[
{
"date": "2008-06-11",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias Carlos, lo voy a mirar.",
"time": "13:46",
"topic": "Bien por TActiveX!",
"username": "Manuel Aranda"
}
] |
Bien por TActiveX!
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.