messages
listlengths 1
1
| topic
stringlengths 2
60
|
---|---|
[
{
"date": "2015-02-26",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Compañeros,\n\n¿Cómo está este tema por favor?.\n\nMuy agradecida.",
"time": "17:16",
"topic": "15.1.2015 Facturae 3.2 ¡ obligatorio !",
"username": "elvira"
}
] | 15.1.2015 Facturae 3.2 ¡ obligatorio ! |
[
{
"date": "2015-12-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Starting with 15.10, using a Resource file, the following code no longer displays properly:\n\n\t\tadd to oLbxcl header \"Account\" data oClients:acrnum ALIGN LEFT ORDER \"eclnum\"\n\t\tadd to oLbxcl Header \"Client\" data oClients:clicom ALIGN LEFT ORDER \"eclcom\"\n\t\tadd to oLbxcl header \"City\" data oClients:clicty ALIGN LEFT\n\t\tadd to oLbxcl Header \"Phone\" data oClients:clipho ALIGN LEFT ORDER \"eclpho\"\n\t\tadd to oLbxcl Header \"Email\" data oClients:clieml ALIGN LEFT\n\nIn the past, the columns always auto sized depeneding on the size of the data fields. Now the first column takes up the first 80% of the browse, and the remainder are scqueezed into the remaining space equally.\n\nPrior to 15.10 this was working correctly. Now I would have to go to every xbrowse and manually set the size for each column.\n\nBuilt with xHarbour ( .com ) latest release. This is used to maintain an older version of our main program.",
"time": "22:25",
"topic": "15.10 Browse problem",
"username": "TimStone"
}
] | 15.10 Browse problem |
[
{
"date": "2015-12-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Tim,\n\nSurely Rao will help you on this",
"time": "09:10",
"topic": "15.10 Browse problem",
"username": "Antonio Linares"
}
] | 15.10 Browse problem |
[
{
"date": "2015-12-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr Tim\n\nI can not see any modification to xbrowse that could have this effect. Nor I have seen any such change in any browse recently.\n\nCan you please send me to my email\n1) the dbf file with some sample records\n2) exact program code relating to this browse",
"time": "10:30",
"topic": "15.10 Browse problem",
"username": "nageswaragunupudi"
}
] | 15.10 Browse problem |
[
{
"date": "2015-12-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Good Morning,\n\nHere is an example. The W setting is for widescreen monitors ( 1920 x 1080 ) and the other is the older VGA setting:\n\n[code=fw:3dvgoarf]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> <span style=\"color: #00C800;\">IF</span> cWSshow = <span style=\"color: #ff0000;\">\"W\"</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm header sLbl<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">vehlic</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> ORDER <span style=\"color: #ff0000;\">\"evelic\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">180</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm Header <span style=\"color: #ff0000;\">\"Client\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">clicom</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> ORDER <span style=\"color: #ff0000;\">\"evecom\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">300</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm Header <span style=\"color: #ff0000;\">\"Account\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">acrnum</span> ALIGN <span style=\"color: #0000ff;\">CENTER</span> ORDER <span style=\"color: #ff0000;\">\"evenum\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">130</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm Header sLbl<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">vehidn</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> ORDER <span style=\"color: #ff0000;\">\"eveidn\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">300</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm Header <span style=\"color: #ff0000;\">\"Year\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">vehyer</span> ALIGN <span style=\"color: #0000ff;\">CENTER</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">80</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm header <span style=\"color: #ff0000;\">\"Make\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">vehmak</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> ORDER <span style=\"color: #ff0000;\">\"evemod\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">250</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm Header <span style=\"color: #ff0000;\">\"Model\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">vehmod</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">250</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm Header <span style=\"color: #ff0000;\">\"SubModel\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">vehsmd</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">250</span><br /> <span style=\"color: #00C800;\">ELSE</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm header sLbl<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">vehlic</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> ORDER <span style=\"color: #ff0000;\">\"evelic\"</span> <br /> add <span style=\"color: #0000ff;\">to</span> oLbvm Header <span style=\"color: #ff0000;\">\"Client\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">clicom</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> ORDER <span style=\"color: #ff0000;\">\"evecom\"</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm Header sLbl<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">vehidn</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> ORDER <span style=\"color: #ff0000;\">\"eveidn\"</span> <br /> add <span style=\"color: #0000ff;\">to</span> oLbvm Header <span style=\"color: #ff0000;\">\"Year\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">vehyer</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm header <span style=\"color: #ff0000;\">\"Make\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">vehmak</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> ORDER <span style=\"color: #ff0000;\">\"evemod\"</span> <br /> add <span style=\"color: #0000ff;\">to</span> oLbvm Header <span style=\"color: #ff0000;\">\"Model\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">vehmod</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> <br /> <span style=\"color: #00C800;\">ENDIF</span><br /><br /> </div>[/code:3dvgoarf]\n\nThis is using xHarbour ( .com ) and if I do the build with FWH 15.10, there is no auto spacing of columns on the lower section ( where SIZE is not set ). If I build it with FWH 15.06, it is fine. I have not tried later additions, but the change comes in somewhere between 15.06 and 15.10.\n\nTim",
"time": "18:10",
"topic": "15.10 Browse problem",
"username": "TimStone"
}
] | 15.10 Browse problem |
[
{
"date": "2015-12-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I tried to reproduce the problem at my end. In the absence of dbf, I created a dummy dbf with some adhoc structure. Used TDatabase and exactly your syntax to create the columns.\n\nMy test program:\n[code=fw:3cpjr2gm]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><br />REQUEST DBFCDX<br /><br /><span style=\"color: #00C800;\">static</span> oUnt<br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> OpenDBF<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> BrowseData<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> OpenDbf<br /><br /> CreateDBF<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> oUnt := TDataBase<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">nil</span>, <span style=\"color: #ff0000;\">\"UNT.DBF\"</span>, <span style=\"color: #ff0000;\">\"DBFCDX\"</span>, .t. <span style=\"color: #000000;\">)</span><br /> oUnt:<span style=\"color: #000000;\">Use</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 /><br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> CreateDBF<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> n<br /> <span style=\"color: #00C800;\">local</span> aCols := <span style=\"color: #000000;\">{</span> ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"VEHLIC\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"CLICOM\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #000000;\">25</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"ACRNUM\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"VEHIDN\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"VEHYER\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #000000;\">4</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"VEHMAK\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"VEHMOD\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"VEHSMD\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span><br /><br /> DBCREATE<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"UNT.DBF\"</span>, aCols, <span style=\"color: #ff0000;\">\"DBFCDX\"</span>, .T., <span style=\"color: #ff0000;\">\"UNT\"</span> <span style=\"color: #000000;\">)</span><br /> APPEND BLANK<br /> <span style=\"color: #00C800;\">for</span> n := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> Len<span style=\"color: #000000;\">(</span> aCols <span style=\"color: #000000;\">)</span><br /> FieldPut<span style=\"color: #000000;\">(</span> n, Replicate<span style=\"color: #000000;\">(</span> Chr<span style=\"color: #000000;\">(</span> n + <span style=\"color: #000000;\">64</span> <span style=\"color: #000000;\">)</span>, FieldLen<span style=\"color: #000000;\">(</span> n <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">next</span><br /> CLOSE UNT<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> BrowseData<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oDlg, oLbvm, sLbl<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span><br /> <span style=\"color: #00C800;\">local</span> cWSShow := <span style=\"color: #ff0000;\">'S'</span><br /><br /> sLbl<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span> := <span style=\"color: #ff0000;\">\"Lab-1\"</span><br /> sLbl<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span> := <span style=\"color: #ff0000;\">\"Lab-2\"</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">700</span>,<span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">TITLE</span> FWVERSION<br /><br /> @ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">XBROWSE</span> oLbvm <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">-10</span>,<span style=\"color: #000000;\">-10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br /> DATASOURCE oUnt CELL LINES NOBORDER<br /><br /> <span style=\"color: #00C800;\">IF</span> cWSshow = <span style=\"color: #ff0000;\">\"W\"</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm header sLbl<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">vehlic</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> ORDER <span style=\"color: #ff0000;\">\"evelic\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">180</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm Header <span style=\"color: #ff0000;\">\"Client\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">clicom</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> ORDER <span style=\"color: #ff0000;\">\"evecom\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">300</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm Header <span style=\"color: #ff0000;\">\"Account\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">acrnum</span> ALIGN <span style=\"color: #0000ff;\">CENTER</span> ORDER <span style=\"color: #ff0000;\">\"evenum\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">130</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm Header sLbl<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">vehidn</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> ORDER <span style=\"color: #ff0000;\">\"eveidn\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">300</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm Header <span style=\"color: #ff0000;\">\"Year\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">vehyer</span> ALIGN <span style=\"color: #0000ff;\">CENTER</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">80</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm header <span style=\"color: #ff0000;\">\"Make\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">vehmak</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> ORDER <span style=\"color: #ff0000;\">\"evemod\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">250</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm Header <span style=\"color: #ff0000;\">\"Model\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">vehmod</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">250</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm Header <span style=\"color: #ff0000;\">\"SubModel\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">vehsmd</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">250</span><br /> <span style=\"color: #00C800;\">ELSE</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm header sLbl<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">vehlic</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> ORDER <span style=\"color: #ff0000;\">\"evelic\"</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm Header <span style=\"color: #ff0000;\">\"Client\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">clicom</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> ORDER <span style=\"color: #ff0000;\">\"evecom\"</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm Header sLbl<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">vehidn</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> ORDER <span style=\"color: #ff0000;\">\"eveidn\"</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm Header <span style=\"color: #ff0000;\">\"Year\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">vehyer</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm header <span style=\"color: #ff0000;\">\"Make\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">vehmak</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> ORDER <span style=\"color: #ff0000;\">\"evemod\"</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbvm Header <span style=\"color: #ff0000;\">\"Model\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">vehmod</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span><br /> <span style=\"color: #00C800;\">ENDIF</span><br /><br /> oLbvm:<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:3cpjr2gm]\n\nResult:\n[url=https://imageshack.com/i/p7eHMwwBj:3cpjr2gm][img:3cpjr2gm]http://imagizer.imageshack.us/v2/xq90/907/eHMwwB.jpg[/img:3cpjr2gm][/url:3cpjr2gm]\n\nI do not see any problem.\nCan you help me to recreate the problem?\nProbably it has something to do with the code after all \"add columns\" and before oLbvm:CreateFromCode().",
"time": "04:00",
"topic": "15.10 Browse problem",
"username": "nageswaragunupudi"
}
] | 15.10 Browse problem |
[
{
"date": "2015-12-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Here is a better sample:\n\n[code=fw:bhq1l8xu]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> <span style=\"color: #B900B9;\">// Create the dialog to get type of workorder, search type , browse list</span><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDpw0 <span style=\"color: #0000ff;\">BRUSH</span> oBrush TRANSPARENT <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"PRO100r\"</span> <span style=\"color: #0000ff;\">OF</span> oWdlg <span style=\"color: #0000ff;\">FONT</span> oMFont<br /> <span style=\"color: #B900B9;\">// Create radio controls</span><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">RADIO</span> aRadio<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">VAR</span> aRadOpts<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">417</span>, <span style=\"color: #000000;\">418</span>, <span style=\"color: #000000;\">419</span> <span style=\"color: #0000ff;\">OF</span> oDpw0 <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CLICK</span> oLbwlu:<span style=\"color: #000000;\">setfocus</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">RADIO</span> aRadio<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">VAR</span> aRadOpts<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">427</span>, <span style=\"color: #000000;\">429</span>, <span style=\"color: #000000;\">430</span> <span style=\"color: #0000ff;\">OF</span> oDpw0 ;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CLICK</span> <span style=\"color: #000000;\">(</span> IIF<span style=\"color: #000000;\">(</span> aRadOpts<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> = <span style=\"color: #000000;\">3</span>, oUnt:<span style=\"color: #000000;\">setOrder</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"evecom\"</span><span style=\"color: #000000;\">)</span> , oUnt:<span style=\"color: #000000;\">setOrder</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"evelic\"</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>, oUnt:<span style=\"color: #000000;\">gotop</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, oLbwlu:<span style=\"color: #000000;\">setfocus</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #B900B9;\">// Create button control</span><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"HROK\"</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">416</span> <span style=\"color: #0000ff;\">OF</span> oDpw0 TOOLTIP <span style=\"color: #ff0000;\">\"Create workorder\"</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Accept\"</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> oDpw0:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> NOBORDER TRANSPARENT<br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"APPT\"</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">415</span> <span style=\"color: #0000ff;\">OF</span> oDpw0 TOOLTIP <span style=\"color: #ff0000;\">\"Create from an appointment\"</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Appointment\"</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> aAppt := ShowAppts<span style=\"color: #000000;\">(</span> aAppt <span style=\"color: #000000;\">)</span>, lByAppt := .T. , oDpw0:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> NOBORDER TRANSPARENT<br /><br /> <span style=\"color: #B900B9;\">// Create the browse</span><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">XBROWSE</span> oLbwlu <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">440</span> <span style=\"color: #0000ff;\">OF</span> oDpw0<br /> <span style=\"color: #B900B9;\">// Attach the database</span><br /> oLbwlu:<span style=\"color: #000000;\">setoDBF</span><span style=\"color: #000000;\">(</span> oUnt <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #B900B9;\">// Add the columns</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbwlu Header <span style=\"color: #ff0000;\">\"Client\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">clicom</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbwlu header sLbl<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">]</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">VehLic</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbwlu Header <span style=\"color: #ff0000;\">\"Year\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">VehYer</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbwlu Header <span style=\"color: #ff0000;\">\"Make\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">VehMak</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbwlu Header <span style=\"color: #ff0000;\">\"Model\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">VehMod</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span><br /><br /> <span style=\"color: #B900B9;\">// Provide the header gradient</span><br /> oLbwlu:<span style=\"color: #000000;\">bClrGrad</span> := <span style=\"color: #000000;\">{</span> | lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! lInvert, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.50</span>,<span style=\"color: #000000;\">16776960</span>,<span style=\"color: #000000;\">16777215</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.50</span>,<span style=\"color: #000000;\">16777215</span>,<span style=\"color: #000000;\">16776960</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.50</span>,<span style=\"color: #000000;\">128</span>,<span style=\"color: #000000;\">16777215</span> <span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.50</span>,<span style=\"color: #000000;\">16777215</span>,<span style=\"color: #000000;\">128</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #B900B9;\">// Set the header and row heights</span><br /> oLbwlu:<span style=\"color: #000000;\">nHeaderHeight</span> := <span style=\"color: #000000;\">30</span><br /> oLbwlu:<span style=\"color: #000000;\">nRowHeight</span> := <span style=\"color: #000000;\">24</span><br /> oLbwlu:<span style=\"color: #000000;\">nStretchCol</span> := STRETCHCOL_WIDEST<br /><br /> <span style=\"color: #B900B9;\">// Turn off horizontal scrolling</span><br /> oLbwlu:<span style=\"color: #000000;\">lHScroll</span> := .F.<br /> <span style=\"color: #B900B9;\">// Set the styles</span><br /> oLbwlu:<span style=\"color: #000000;\">nMarqueeStyle</span> := MARQSTYLE_HIGHLROW<br /> oLbwlu:<span style=\"color: #000000;\">nColDividerStyle</span> := LINESTYLE_RAISED<br /> oLbwlu:<span style=\"color: #000000;\">nRowDividerStyle</span> := LINESTYLE_RAISED<br /> <span style=\"color: #B900B9;\">// Use for incremental search on opened database</span><br /> oLbwlu:<span style=\"color: #000000;\">bSeek</span> := <span style=\"color: #000000;\">{</span> |c| oUnt:<span style=\"color: #000000;\">Seek</span><span style=\"color: #000000;\">(</span> Upper<span style=\"color: #000000;\">(</span> c <span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">FOR</span> nCCol := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> LEN<span style=\"color: #000000;\">(</span> oLbwlu:<span style=\"color: #000000;\">acols</span> <span style=\"color: #000000;\">)</span><br /> oLbwlu:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span>nCCol<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">nHeadStrAlign</span> := AL_CENTER<br /> <span style=\"color: #00C800;\">NEXT</span><br /><br /> <span style=\"color: #B900B9;\">// Activate dialog</span><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDpw0 <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">PAINT</span> oLbwlu:<span style=\"color: #000000;\">setfocus</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> oDpw0:<span style=\"color: #0000ff;\">center</span><span style=\"color: #000000;\">(</span>wndmain<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><br /><br /> </div>[/code:bhq1l8xu]\n\nAnd here is the .RC\n\n[code=fw:bhq1l8xu]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />PRO100R <span style=\"color: #0000ff;\">DIALOG</span> DISCARDABLE <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">650</span>, <span style=\"color: #000000;\">245</span><br /><span style=\"color: #0000ff;\">STYLE</span> WS_POPUP|DS_MODALFRAME|WS_CAPTION|WS_VISIBLE<br />CAPTION <span style=\"color: #ff0000;\">\"Start Workorder\"</span><br /><span style=\"color: #0000ff;\">FONT</span> <span style=\"color: #000000;\">8</span>, <span style=\"color: #ff0000;\">\"Arial\"</span><br />BEGIN<br /> CONTROL <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #000000;\">440</span>, <span style=\"color: #ff0000;\">\"TXBROWSE\"</span>, WS_TABSTOP|0x00a00000, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">630</span>, <span style=\"color: #000000;\">130</span><br /> CONTROL <span style=\"color: #ff0000;\">\"Estimate\"</span>, <span style=\"color: #000000;\">417</span>, <span style=\"color: #ff0000;\">\"Button\"</span>, BS_RADIOBUTTON, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">6</span>, <span style=\"color: #000000;\">60</span>, <span style=\"color: #000000;\">10</span><br /> CONTROL <span style=\"color: #ff0000;\">\"Invoice\"</span>, <span style=\"color: #000000;\">418</span>, <span style=\"color: #ff0000;\">\"Button\"</span>, BS_RADIOBUTTON, <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">6</span>, <span style=\"color: #000000;\">60</span>, <span style=\"color: #000000;\">10</span><br /> CONTROL <span style=\"color: #ff0000;\">\"Counter Sale\"</span>, <span style=\"color: #000000;\">419</span>, <span style=\"color: #ff0000;\">\"Button\"</span>, BS_RADIOBUTTON, <span style=\"color: #000000;\">150</span>, <span style=\"color: #000000;\">6</span>, <span style=\"color: #000000;\">60</span>, <span style=\"color: #000000;\">10</span><br /> CONTROL <span style=\"color: #ff0000;\">\"Cash Sale\"</span>, <span style=\"color: #000000;\">427</span>, <span style=\"color: #ff0000;\">\"Button\"</span>, BS_RADIOBUTTON, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">20</span>, <span style=\"color: #000000;\">60</span>, <span style=\"color: #000000;\">10</span><br /> CONTROL <span style=\"color: #ff0000;\">\"Search by License\"</span>, <span style=\"color: #000000;\">429</span>, <span style=\"color: #ff0000;\">\"Button\"</span>, BS_RADIOBUTTON, <span style=\"color: #000000;\">150</span>, <span style=\"color: #000000;\">20</span>, <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">10</span><br /> CONTROL <span style=\"color: #ff0000;\">\"Search by Client\"</span>, <span style=\"color: #000000;\">430</span>, <span style=\"color: #ff0000;\">\"Button\"</span>, BS_RADIOBUTTON, <span style=\"color: #000000;\">260</span>, <span style=\"color: #000000;\">20</span>, <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">10</span><br /> CONTROL <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #000000;\">416</span>, <span style=\"color: #ff0000;\">\"Button\"</span>, WS_TABSTOP, <span style=\"color: #000000;\">195</span>, <span style=\"color: #000000;\">175</span>, <span style=\"color: #000000;\">60</span>, <span style=\"color: #000000;\">60</span><br /> CONTROL <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #000000;\">415</span>, <span style=\"color: #ff0000;\">\"Button\"</span>, WS_TABSTOP, <span style=\"color: #000000;\">245</span>, <span style=\"color: #000000;\">175</span>, <span style=\"color: #000000;\">60</span>, <span style=\"color: #000000;\">60</span><br />END<br /><br /> </div>[/code:bhq1l8xu]\n\nAnd the .dbf structure:\n\n[code=fw:bhq1l8xu]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />VEHLIC C <span style=\"color: #000000;\">12</span> <span style=\"color: #000000;\">0</span> License<br />VEHYER C <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">0</span> Model <span style=\"color: #0000ff;\">year</span><br />VEHMAK C <span style=\"color: #000000;\">25</span> <span style=\"color: #000000;\">0</span> Make<br />VEHMOD C <span style=\"color: #000000;\">25</span> <span style=\"color: #000000;\">0</span> Model<br />CLICOM C <span style=\"color: #000000;\">25</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #00C800;\">Client</span> <span style=\"color: #0000ff;\">name</span><br /> </div>[/code:bhq1l8xu]\n\nAs I indicated, it has worked perfectly for years, up through ( and including ) 15.06. \n\nTim",
"time": "04:42",
"topic": "15.10 Browse problem",
"username": "TimStone"
}
] | 15.10 Browse problem |
[
{
"date": "2015-12-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Even this is working well for me.\nbcc + xharbour\n[url=https://imageshack.com/i/p59S2jRoj:20b95mjd][img:20b95mjd]http://imagizer.imageshack.us/v2/xq90/905/9S2jRo.jpg[/img:20b95mjd][/url:20b95mjd]\n\nThis is the code:\n[code=fw:20b95mjd]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><br />REQUEST DBFCDX<br /><br /><span style=\"color: #00C800;\">static</span> oUnt<br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> OpenDBF<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> BrowseData<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> OpenDbf<br /><br /> CreateDBF<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> oUnt := TDataBase<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">nil</span>, <span style=\"color: #ff0000;\">\"UNT.DBF\"</span>, <span style=\"color: #ff0000;\">\"DBFCDX\"</span>, .t. <span style=\"color: #000000;\">)</span><br /> oUnt:<span style=\"color: #000000;\">Use</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 /><br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> CreateDBF<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> n<br /> <span style=\"color: #00C800;\">local</span> aCols := <span style=\"color: #000000;\">{</span> ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"VEHLIC\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #000000;\">12</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"CLICOM\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #000000;\">25</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"ACRNUM\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"VEHIDN\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"VEHYER\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #000000;\">4</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"VEHMAK\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #000000;\">25</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"VEHMOD\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #000000;\">25</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"VEHSMD\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #000000;\">25</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span><br /><br /> DBCREATE<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"UNT.DBF\"</span>, aCols, <span style=\"color: #ff0000;\">\"DBFCDX\"</span>, .T., <span style=\"color: #ff0000;\">\"UNT\"</span> <span style=\"color: #000000;\">)</span><br /> APPEND BLANK<br /> <span style=\"color: #00C800;\">for</span> n := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> Len<span style=\"color: #000000;\">(</span> aCols <span style=\"color: #000000;\">)</span><br /> FieldPut<span style=\"color: #000000;\">(</span> n, Replicate<span style=\"color: #000000;\">(</span> Chr<span style=\"color: #000000;\">(</span> n + <span style=\"color: #000000;\">64</span> <span style=\"color: #000000;\">)</span>, FieldLen<span style=\"color: #000000;\">(</span> n <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">next</span><br /> CLOSE UNT<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> BrowseData<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oDpw0, oLbwlu<br /> <span style=\"color: #00C800;\">local</span> aRadio<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span><br /> <span style=\"color: #00C800;\">local</span> aRadOpts := <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">local</span> oBrush, oMFont,nccol<br /> <span style=\"color: #00C800;\">local</span> slbl := <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"lab-1\"</span>, <span style=\"color: #ff0000;\">\"lab-2\"</span>, <span style=\"color: #ff0000;\">\"lab-3\"</span>, <span style=\"color: #ff0000;\">\"lab-4\"</span> <span style=\"color: #000000;\">}</span><br /><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oMfont <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"TAHOMA\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-10</span><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush FILE <span style=\"color: #ff0000;\">\"c:<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\b</span>ackgrnd<span style=\"color: #000000;\">\\s</span>tone.bmp\"</span><br /><br /> <span style=\"color: #B900B9;\">// Create the dialog to get type of workorder, search type , browse list</span><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDpw0 <span style=\"color: #0000ff;\">BRUSH</span> oBrush TRANSPARENT <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"PRO100r\"</span> <span style=\"color: #B900B9;\">/* OF oWdlg */</span> <span style=\"color: #0000ff;\">FONT</span> oMFont<br /> <span style=\"color: #B900B9;\">// Create radio controls</span><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">RADIO</span> aRadio<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">VAR</span> aRadOpts<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">417</span>, <span style=\"color: #000000;\">418</span>, <span style=\"color: #000000;\">419</span> <span style=\"color: #0000ff;\">OF</span> oDpw0 <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CLICK</span> oLbwlu:<span style=\"color: #000000;\">setfocus</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">RADIO</span> aRadio<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">VAR</span> aRadOpts<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">427</span>, <span style=\"color: #000000;\">429</span>, <span style=\"color: #000000;\">430</span> <span style=\"color: #0000ff;\">OF</span> oDpw0 ;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CLICK</span> <span style=\"color: #000000;\">(</span> IIF<span style=\"color: #000000;\">(</span> aRadOpts<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> = <span style=\"color: #000000;\">3</span>, oUnt:<span style=\"color: #000000;\">setOrder</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"evecom\"</span><span style=\"color: #000000;\">)</span> , oUnt:<span style=\"color: #000000;\">setOrder</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"evelic\"</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>, oUnt:<span style=\"color: #000000;\">gotop</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, oLbwlu:<span style=\"color: #000000;\">setfocus</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #B900B9;\">// Create button control</span><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"HROK\"</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">416</span> <span style=\"color: #0000ff;\">OF</span> oDpw0 TOOLTIP <span style=\"color: #ff0000;\">\"Create workorder\"</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Accept\"</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> oDpw0:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> NOBORDER TRANSPARENT<br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"APPT\"</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">415</span> <span style=\"color: #0000ff;\">OF</span> oDpw0 TOOLTIP <span style=\"color: #ff0000;\">\"Create from an appointment\"</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Appointment\"</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> <span style=\"color: #B900B9;\">/*aAppt := ShowAppts( aAppt ), lByAppt := .T. , */</span> oDpw0:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> NOBORDER TRANSPARENT<br /><br /> <span style=\"color: #B900B9;\">// Create the browse</span><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">XBROWSE</span> oLbwlu <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">440</span> <span style=\"color: #0000ff;\">OF</span> oDpw0<br /> <span style=\"color: #B900B9;\">// Attach the database</span><br /> oLbwlu:<span style=\"color: #000000;\">setoDBF</span><span style=\"color: #000000;\">(</span> oUnt <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #B900B9;\">// Add the columns</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbwlu Header <span style=\"color: #ff0000;\">\"Client\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">clicom</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbwlu header sLbl<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">]</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">VehLic</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbwlu Header <span style=\"color: #ff0000;\">\"Year\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">VehYer</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbwlu Header <span style=\"color: #ff0000;\">\"Make\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">VehMak</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbwlu Header <span style=\"color: #ff0000;\">\"Model\"</span> <span style=\"color: #00C800;\">data</span> oUnt:<span style=\"color: #000000;\">VehMod</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span><br /><br /> <span style=\"color: #B900B9;\">// Provide the header gradient</span><br /> oLbwlu:<span style=\"color: #000000;\">bClrGrad</span> := <span style=\"color: #000000;\">{</span> | lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! lInvert, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.50</span>,<span style=\"color: #000000;\">16776960</span>,<span style=\"color: #000000;\">16777215</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.50</span>,<span style=\"color: #000000;\">16777215</span>,<span style=\"color: #000000;\">16776960</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.50</span>,<span style=\"color: #000000;\">128</span>,<span style=\"color: #000000;\">16777215</span> <span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.50</span>,<span style=\"color: #000000;\">16777215</span>,<span style=\"color: #000000;\">128</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #B900B9;\">// Set the header and row heights</span><br /> oLbwlu:<span style=\"color: #000000;\">nHeaderHeight</span> := <span style=\"color: #000000;\">30</span><br /> oLbwlu:<span style=\"color: #000000;\">nRowHeight</span> := <span style=\"color: #000000;\">24</span><br /> oLbwlu:<span style=\"color: #000000;\">nStretchCol</span> := STRETCHCOL_WIDEST<br /><br /> <span style=\"color: #B900B9;\">// Turn off horizontal scrolling</span><br /> oLbwlu:<span style=\"color: #000000;\">lHScroll</span> := .F.<br /> <span style=\"color: #B900B9;\">// Set the styles</span><br /> oLbwlu:<span style=\"color: #000000;\">nMarqueeStyle</span> := MARQSTYLE_HIGHLROW<br /> oLbwlu:<span style=\"color: #000000;\">nColDividerStyle</span> := LINESTYLE_RAISED<br /> oLbwlu:<span style=\"color: #000000;\">nRowDividerStyle</span> := LINESTYLE_RAISED<br /> <span style=\"color: #B900B9;\">// Use for incremental search on opened database</span><br /> oLbwlu:<span style=\"color: #000000;\">bSeek</span> := <span style=\"color: #000000;\">{</span> |c| oUnt:<span style=\"color: #000000;\">Seek</span><span style=\"color: #000000;\">(</span> Upper<span style=\"color: #000000;\">(</span> c <span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">FOR</span> nCCol := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> LEN<span style=\"color: #000000;\">(</span> oLbwlu:<span style=\"color: #000000;\">acols</span> <span style=\"color: #000000;\">)</span><br /> oLbwlu:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span>nCCol<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">nHeadStrAlign</span> := AL_CENTER<br /> <span style=\"color: #00C800;\">NEXT</span><br /><br /> <span style=\"color: #B900B9;\">// Activate dialog</span><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDpw0 <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">PAINT</span> oLbwlu:<span style=\"color: #000000;\">setfocus</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> oDpw0:<span style=\"color: #0000ff;\">center</span><span style=\"color: #000000;\">(</span>wndmain<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush<br /> <span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">FONT</span> oMFont<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:20b95mjd]\nNow, can you test this code (exactly without altering anything) with the above rc in a separate folder with xharbour commercial and VC2013 and see if you get any different results?",
"time": "07:56",
"topic": "15.10 Browse problem",
"username": "nageswaragunupudi"
}
] | 15.10 Browse problem |
[
{
"date": "2015-12-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I built with 15.11. The sample works, but my code still has the same problem. \n\nI will need to go back and look more closely at other programs I link in to see if I can find an issue. I will let you know if I find anything.",
"time": "18:20",
"topic": "15.10 Browse problem",
"username": "TimStone"
}
] | 15.10 Browse problem |
[
{
"date": "2015-12-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "OK ... here is what I found ... \n\nAs a stand alone program, with just the one file, it works. However, when I added it into a build with all of the programs in the executable, the same spacing problem arises.\n\nI went back to 15.09 r5 and it seemed to work in many cases, but there were issues still. In addition, we found that the older versions were now doing a wash of the brush after a number of subroutines were called. If I maximized the display, it fixed the problem, but if I resized the window smaller, it was problematic.\n\nI finally went all the way back to 15.04 and most of the issues cleared up. \n\nFinally, I removed png.lib and xfw.lib and the problems went away completely.\n\nSo, we are apparently getting conflicts in 15.10 and 15.11 with the existing png.lib and xfw.lib, using xHarbour ( .com ) builds. The problems are being reported by a number of clients. \n\nThis is an older version of my software which needs to be updated from time to time. Hopefully in the coming months I can get everyone moved to the new Harbour / MSVC++ 2013 version and get past these issues. However, for those using xHarbour ( .com ) finding out what is actually causing the issues here might be helpful.\n\nTim",
"time": "01:03",
"topic": "15.10 Browse problem",
"username": "TimStone"
}
] | 15.10 Browse problem |
[
{
"date": "2015-12-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Good that the problem is resolved. With bcc and msvc builds we never experienced any such problems\n\nThe requirement of png.lib was removed many versions earlier.\n\nGeneral advice about the recommended syntax for creation of xbrowse:\n\nThe syntaxes:\n... XBROWSE .. FIELDS ...\nand\nADD TO oBrw DATA ...\n\nwere provided only for easier migration from WBrowse and TCBrowse, but not well suited.\nIn these cases, the column data is provided to xbrowse as codeblocks and xbrowse can not learn any more information about these columns.\n\n\nRecommended sytanx is :\n\n@ r.c (or) REDEFINE XBROWSE ...... DATASOURCE <Alias/oDbf/oRs/oQry/Array> ;\nCOLUMNS \"col1\", \"col2\", ......\n\nIn this case, XBrowse examines the field properties of the columns and decides the optimal behavior required, like datat type, data defined width, actual width, index order corresponding to the fields and so on.\nWe recommend this usage to avail the full capabilities of xbrowse including a more ingelligent behavior suitable to the data",
"time": "04:57",
"topic": "15.10 Browse problem",
"username": "nageswaragunupudi"
}
] | 15.10 Browse problem |
[
{
"date": "2015-12-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I will try that. I haven't had problems in the past, but the column issue is still unresolved. I'll try reformatting the command structure.",
"time": "21:46",
"topic": "15.10 Browse problem",
"username": "TimStone"
}
] | 15.10 Browse problem |
[
{
"date": "2016-01-06",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I have a couple of questions on that preferred formatting. I checked, but can't find full samples or documentation.\n\n1) With the command, instead of ALIGN I see you use the word JUSTIFY. In one browse, the first column is a BMP which I want centered. I've set the column to JUSTIFY 2 which is the value for center, but it won't make a change there. Of course, to assign the BMP I had to use class data assigns after creating the control. How could I get it to center the value bmp under the new structure ?\n\n2) In the same browse, one of the values is calculated based on the value in a field. When I used the ADD COLUMN format previously, I was able to use an := IIF( ) clause to assign the value. I tried that here and the compiler then comes up with an error in another part of the code ( centering all headers ) which is several lines later. Without the clause, it compiles fine. Here is the original line:\n\n\tadd to oLbxo Header \"Action\" data IIF( oOrders:duedat = DATE( ), \"< TODAY >\",IIF( oOrders:duedat < DATE( ),\"Overdue\" ,\" \" )) ALIGN CENTER SIZE 150\n\nI tried to use this:\n\n\toLbxo:aCols[9] := IIF( oOrders:duedat = DATE( ), \"< TODAY >\",IIF( oOrders:duedat < DATE( ),\"Overdue\" ,\" \" )) \n\nWhich then created an error with the following line during compile.\n\n\toLbxo:aCols[nCCol]:nHeadStrAlign := AL_CENTER\n\nIt tells me nHeadStrAlign is not a recognized method. Of course without the aCols[9] assign line it compiles fine and works.\n\nAny guidance would be appreciated.",
"time": "23:34",
"topic": "15.10 Browse problem",
"username": "TimStone"
}
] | 15.10 Browse problem |
[
{
"date": "2016-01-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "This is an example how to use expressions as part of COLUMN syntax:\n[code=fw:1hx2utw1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><br />REQUEST DBFCDX<br /><br /><span style=\"color: #00C800;\">function</span> testa<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oDlg, oBrw, oDbf, oFont<br /><br /> FWNumFormat<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">'A'</span>, .t. <span style=\"color: #000000;\">)</span><br /><br /> oDbf := TDataBase<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">nil</span>, <span style=\"color: #ff0000;\">\"CUSTOMER\"</span>, <span style=\"color: #ff0000;\">\"DBFCDX\"</span> <span style=\"color: #000000;\">)</span><br /> oDbf:<span style=\"color: #000000;\">Use</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oDbf:<span style=\"color: #000000;\">GoTop</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"TAHOMA\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-16</span><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">700</span>,<span style=\"color: #000000;\">500</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">FONT</span> oFont<br /><br /> @ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrw <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">-10</span>,<span style=\"color: #000000;\">-10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br /> DATASOURCE oDbf ;<br /> COLUMNS <span style=\"color: #ff0000;\">\"MARRIED\"</span>, <span style=\"color: #ff0000;\">\"Trim(First) + ', ' + Last\"</span>, <span style=\"color: #ff0000;\">\"HireDate\"</span>, ;<br /> <span style=\"color: #ff0000;\">\"IF(YEAR(HIREDATE) < 1990, 'VERYOLD', 'RECENT' )\"</span>, <span style=\"color: #ff0000;\">\"Salary\"</span> ;<br /> HEADERS <span style=\"color: #ff0000;\">\"Status\"</span>, <span style=\"color: #ff0000;\">\"Name\"</span>, <span style=\"color: #00C800;\">nil</span>, <span style=\"color: #ff0000;\">\"HowOld\"</span> ;<br /> SORT <span style=\"color: #00C800;\">nil</span>, <span style=\"color: #ff0000;\">\"First\"</span>, <span style=\"color: #00C800;\">nil</span>, <span style=\"color: #ff0000;\">\"hiredate\"</span> ;<br /> AUTOSORT ;<br /> CELL LINES NOBORDER FOOTERS<br /><br /> WITH OBJECT oBrw<br /> :<span style=\"color: #000000;\">nEditTypes</span> := EDIT_GET<br /> :<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">SetCheck</span><span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">nil</span>, .t. <span style=\"color: #000000;\">)</span><br /> :<span style=\"color: #000000;\">Salary</span>:<span style=\"color: #000000;\">nFooterType</span> := AGGR_SUM<br /> :<span style=\"color: #000000;\">MakeTotals</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #B900B9;\">//</span><br /> :<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> END<br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /> <span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">FONT</span> oFont<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:1hx2utw1]\n\n[url=https://imageshack.com/i/p8aHUvGUp:1hx2utw1][img:1hx2utw1]http://imagizer.imageshack.us/v2/xq90/908/aHUvGU.png[/img:1hx2utw1][/url:1hx2utw1]\n\nAlignment:\nWe use JUSTIFY clause for alignment. This alignment applies to only Data in the cells. But mostly it is not necessary to specify alignment because XBrowse, by default, automatically aligns\n- Numeric and date values to Right\n- Character values to Left\n- Bitmaps without any text to Center.\nWe need to use Justify clause or specify alignment only when we want an unusual alignment of numbers to left/center or text to right/center.\n\nFine tuning of alignments:\nnHeadStrAlign\nnDataStrAlign\nnDataBmpAlign\nnFootStrAlign\n\nPlease also note that the above syntax is fully portable across RDD, TDataBase, ADO.\nBy simply changing the variable following \"DATASOURCE\" clause to oDbf, cAlias, oRs this code without changing even one character works for RDD, TDataBAse, ADO recordset ( of any SQL database)",
"time": "15:45",
"topic": "15.10 Browse problem",
"username": "nageswaragunupudi"
}
] | 15.10 Browse problem |
[
{
"date": "2016-01-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Having said that I started thinking. I found some programmers, in addition to you, have been extensively using \"add to obrw...\" syntax. Naturally they are comfortable with that syntax. I am wondering if i can modify this syntax also to be equally powerful. I need a little time.",
"time": "19:06",
"topic": "15.10 Browse problem",
"username": "nageswaragunupudi"
}
] | 15.10 Browse problem |
[
{
"date": "2016-01-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I'm actually working to make the changes. I do not have a problem with it, though it means a lot of changes. Once I get used to it, it becomes clear.\n\nI do have one question. If I use the JUSTIFY can I do ,,,2,,,2,, or do I then have to specify each column, ie. 0,0,2,1,1,2,0,0 In some cases I have text I want to center, and not left justify.\n\nAlso, I'm not seeing bitmaps centering in a column. They are left justifying with what I provided in the sample. \n\nFinally, my code is all RESOURCE driven, so create from code does not work out. That may be part of the issue with some of the problems.\n\nTim",
"time": "19:19",
"topic": "15.10 Browse problem",
"username": "TimStone"
}
] | 15.10 Browse problem |
[
{
"date": "2016-01-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote:1nhdxoxy]\nI'm actually working to make the changes. I do not have a problem with it, though it means a lot of changes. Once I get used to it, it becomes clear.\n[/quote:1nhdxoxy]\n\nI know what it means to change existing code. We are likely to create more problems than we solve. I do not advise changing existing code. Please keep my advice for future. I shall also post another variant of the syntax. (My personal preference)\n\n[quote:1nhdxoxy]\nI do have one question. If I use the JUSTIFY can I do ,,,2,,,2,, or do I then have to specify each column, ie. 0,0,2,1,1,2,0,0 In some cases I have text I want to center, and not left justify.\n[/quote:1nhdxoxy]\n1. \",,,2,,,2,,\" Ths is ok. We also do not need trailing commas. \",,,2,,,2\" is enough.\n[quote:1nhdxoxy]\nAlso, I'm not seeing bitmaps centering in a column. They are left justifying with what I provided in the sample. \n[/quote:1nhdxoxy]\nI can help better if I see some examples.\n[quote:1nhdxoxy]\nFinally, my code is all RESOURCE driven, so create from code does not work out. That may be part of the issue with some of the problems.\n[/quote:1nhdxoxy]\nThis should not make any difference. You should not use CreateFromCode(). If you ceate browse with command syntax, you should not use CreateFromResource() also.",
"time": "19:34",
"topic": "15.10 Browse problem",
"username": "nageswaragunupudi"
}
] | 15.10 Browse problem |
[
{
"date": "2016-01-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote:3gxcuiiz]\nI know what it means to change existing code. We are likely to create more problems than we solve. I do not advise changing existing code. Please keep my advice for future. I shall also post another variant of the syntax. (My personal preference)\n[/quote:3gxcuiiz]\n\nThis is a different situation. My main software program has been extensively revised over the past year. So going in and making this change at this time is good because it is not yet in full distribution. All I'm doing here is substituting code that is actually more compact for longer lines of code. I do each one individually, and thus nothing is \"broken\"\n\nSo here is another section of code that we have to add to all browses. Are any of these covered in the COMMAND structure you are using:\n\n[code=fw:3gxcuiiz]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #B900B9;\">// This is the new call we are using:</span><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">XBROWSE</span> oLbxo ;<br /> DATASOURCE oOrders ;<br /> HEADERS <span style=\"color: #ff0000;\">\"Stage\"</span>, <span style=\"color: #ff0000;\">\"Type\"</span>, <span style=\"color: #ff0000;\">\"W/O #\"</span>, <span style=\"color: #ff0000;\">\"Company\"</span>, sLbl<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>, <span style=\"color: #ff0000;\">\"Due Date\"</span>, <span style=\"color: #ff0000;\">\"Time\"</span>, <span style=\"color: #ff0000;\">\"Status\"</span> ;<br /> COLUMNS <span style=\"color: #00C800;\">NIL</span>, <span style=\"color: #ff0000;\">\"status\"</span>, <span style=\"color: #ff0000;\">\"wrkord\"</span>, <span style=\"color: #ff0000;\">\"ordcom\"</span>, <span style=\"color: #ff0000;\">\"ordveh\"</span>, <span style=\"color: #ff0000;\">\"duedat\"</span>, <span style=\"color: #ff0000;\">\"duetim\"</span>, <span style=\"color: #ff0000;\">\"CliUs1\"</span> ; <br /> JUSTIFY <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">2</span> ;<br /> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">390</span> ;<br /> <span style=\"color: #0000ff;\">OF</span> oWdlg ;<br /> <span style=\"color: #0000ff;\">ON</span> DBLCLICK <span style=\"color: #000000;\">(</span> tWorkorder<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> oOrders:<span style=\"color: #000000;\">WrkOrd</span> <span style=\"color: #000000;\">)</span>:<span style=\"color: #000000;\">FullEdit</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">)</span>, oLbxo:<span style=\"color: #000000;\">skip</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">)</span>, aDis := LoadDispValues<span style=\"color: #000000;\">(</span> aDis, oOrders <span style=\"color: #000000;\">)</span>, oWdlg:<span style=\"color: #0000ff;\">update</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> <span style=\"color: #000000;\">(</span> aDis := LoadDispValues<span style=\"color: #000000;\">(</span> aDis, oOrders <span style=\"color: #000000;\">)</span>, oWdlg:<span style=\"color: #0000ff;\">update</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #0000ff;\">UPDATE</span> <br /><br /> oLbxo:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">AddResource</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"CM1\"</span><span style=\"color: #000000;\">)</span><br /> oLbxo:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">AddResource</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"CM2\"</span><span style=\"color: #000000;\">)</span><br /> oLbxo:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">AddResource</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"CM3\"</span><span style=\"color: #000000;\">)</span><br /> oLbxo:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bBmpData</span> := <span style=\"color: #000000;\">{</span> || IIF<span style=\"color: #000000;\">(</span> oOrders:<span style=\"color: #000000;\">totals</span>, <span style=\"color: #000000;\">3</span>, IIF<span style=\"color: #000000;\">(</span> oOrders:<span style=\"color: #000000;\">ordnot</span>, <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /><br /><span style=\"color: #B900B9;\">// And this is the code that we still have from the old method with Add columns. Can any of this be incorporated in the section above</span><br /><br /> <span style=\"color: #B900B9;\">// Provide the header gradient</span><br /> oLbxo:<span style=\"color: #000000;\">bClrGrad</span> := <span style=\"color: #000000;\">{</span> | lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! lInvert, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.50</span>,<span style=\"color: #000000;\">16776960</span>,<span style=\"color: #000000;\">16777215</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.50</span>,<span style=\"color: #000000;\">16777215</span>,<span style=\"color: #000000;\">16776960</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.50</span>,<span style=\"color: #000000;\">128</span>,<span style=\"color: #000000;\">16777215</span> <span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.50</span>,<span style=\"color: #000000;\">16777215</span>,<span style=\"color: #000000;\">128</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #B900B9;\">// Set the header and row heights</span><br /> oLbxo:<span style=\"color: #000000;\">nHeaderHeight</span> := <span style=\"color: #000000;\">30</span><br /> oLbxo:<span style=\"color: #000000;\">nRowHeight</span> := <span style=\"color: #000000;\">24</span><br /> oLbxo:<span style=\"color: #000000;\">nStretchCol</span> := STRETCHCOL_WIDEST<br /> <span style=\"color: #B900B9;\">// Turn off horizontal scrolling</span><br /> oLbxo:<span style=\"color: #000000;\">lHScroll</span> := .F.<br /> <span style=\"color: #B900B9;\">// Set the styles</span><br /> oLbxo:<span style=\"color: #000000;\">nMarqueeStyle</span> := MARQSTYLE_HIGHLROW<br /> oLbxo:<span style=\"color: #000000;\">nColDividerStyle</span> := LINESTYLE_RAISED<br /> oLbxo:<span style=\"color: #000000;\">nRowDividerStyle</span> := LINESTYLE_RAISED<br /> <span style=\"color: #00C800;\">FOR</span> nCCol := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> LEN<span style=\"color: #000000;\">(</span> oLbxo:<span style=\"color: #000000;\">acols</span> <span style=\"color: #000000;\">)</span><br /> oLbxo:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span>nCCol<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">nHeadStrAlign</span> := AL_CENTER<br /> <span style=\"color: #00C800;\">NEXT</span><br /><br /> </div>[/code:3gxcuiiz]\n\nAny compaction of code is good !",
"time": "20:08",
"topic": "15.10 Browse problem",
"username": "TimStone"
}
] | 15.10 Browse problem |
[
{
"date": "2016-01-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote:2rnd4rfq]\nCan any of this be incorporated in the section above\n[/quote:2rnd4rfq]\nNo\n[quote:2rnd4rfq]\nAny compaction of code\n[/quote:2rnd4rfq]\nFollowing lines\n[code=fw:2rnd4rfq]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oLbxo:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">AddResource</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"CM1\"</span><span style=\"color: #000000;\">)</span><br />oLbxo:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">AddResource</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"CM2\"</span><span style=\"color: #000000;\">)</span><br />oLbxo:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">AddResource</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"CM3\"</span><span style=\"color: #000000;\">)</span><br /> </div>[/code:2rnd4rfq]\ncan be written as:\n[code=fw:2rnd4rfq]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oLbxo:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">AddBitmap</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"CM1\"</span>, <span style=\"color: #ff0000;\">\"CM2\"</span>, <span style=\"color: #ff0000;\">\"CM3\"</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> </div>[/code:2rnd4rfq]\nEach element of this array can be either resource or any image file.\n\nThe following code \n[code=fw:2rnd4rfq]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> <span style=\"color: #00C800;\">FOR</span> nCCol := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> LEN<span style=\"color: #000000;\">(</span> oLbxo:<span style=\"color: #000000;\">acols</span> <span style=\"color: #000000;\">)</span><br /> oLbxo:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span>nCCol<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">nHeadStrAlign</span> := AL_CENTER<br /> <span style=\"color: #00C800;\">NEXT</span><br /> </div>[/code:2rnd4rfq]\ncan be written as:\n[code=fw:2rnd4rfq]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oLbxo:<span style=\"color: #000000;\">nHeadStrAligns</span> := AL_CENTER<br /> </div>[/code:2rnd4rfq]\n\nAssigning oBrw:<data>s := x is internally translated as assigning x to <data> of every column.\nInstead of assigning a single value, we can also assign an array of values.\n\noBrw:nFootStrAligns := { AL_CENTER, AL_RIGHT, AL_LEFT }\nis same as assigning oBrw:oCol( 1 ):nFootStrAlign := AL_CENTER, oBrw:oCol( 2 ):nFootStrAlign := AL_RIGHT, and so on.",
"time": "01:10",
"topic": "15.10 Browse problem",
"username": "nageswaragunupudi"
}
] | 15.10 Browse problem |
[
{
"date": "2016-01-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I edited that and apparently it did not update:\n\n\t\tadd to oLbxo Header \"Action\" data ; \n\t\t IIF( oOrders:duedat = DATE( ), \"< TODAY >\",IIF( oOrders:duedat < DATE( ),\"Overdue\" ,\" \" )) ;\n\t\t ALIGN CENTER SIZE 150\n\nIn this segment, a string value is placed in the cells of a column based on the value of duedate.\n\nI tried using oLbx:aCols[10] := IIF( .... ) but that led to an error when centering headers at runtime.\n\nHow should this be rewritten\n\nAnd one other thing. The Row and Col line styles end at the last row of data using my setup in the earlier provided code. However, if I simply use LINES in the XBROWSE statement, it creates them but continues the column lines to the bottom of the page. The Style looks nicer because it doesn't have a lot of blank lines.",
"time": "01:18",
"topic": "15.10 Browse problem",
"username": "TimStone"
}
] | 15.10 Browse problem |
[
{
"date": "2016-01-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "While using the COLUMNS syntax use this entire expression in Quotes as one of the columns;\neg:\nCOLUMNS \"fld1\", \"fld2\", \"IIF( duedat = DATE( ), '< TODAY >',IIF( duedat < DATE( ),'Overdue' ,'' ))\", \"fld5\", .. etc",
"time": "05:36",
"topic": "15.10 Browse problem",
"username": "nageswaragunupudi"
}
] | 15.10 Browse problem |
[
{
"date": "2016-01-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Here is the final format:\n\n[code=fw:2w2aixsy]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> <br /><span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">XBROWSE</span> oLbxo ;<br /> DATASOURCE oOrders ;<br /> HEADERS <span style=\"color: #ff0000;\">\" Stage \"</span>, <span style=\"color: #ff0000;\">\"Type\"</span>, <span style=\"color: #ff0000;\">\"W/O #\"</span>, <span style=\"color: #ff0000;\">\"Company\"</span>, sLbl<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>, <span style=\"color: #ff0000;\">\"Due Date\"</span>, <span style=\"color: #ff0000;\">\"Time\"</span>, <span style=\"color: #ff0000;\">\" Status \"</span>, <span style=\"color: #ff0000;\">\" Action \"</span> ;<br /> COLUMNS <span style=\"color: #00C800;\">nil</span>, <span style=\"color: #ff0000;\">\"status\"</span>, <span style=\"color: #ff0000;\">\"wrkord\"</span>, <span style=\"color: #ff0000;\">\"ordcom\"</span>, <span style=\"color: #ff0000;\">\"ordveh\"</span>, <span style=\"color: #ff0000;\">\"duedat\"</span>, <span style=\"color: #ff0000;\">\"duetim\"</span>, <span style=\"color: #ff0000;\">\"CliUs1\"</span>, ;<br /> <span style=\"color: #ff0000;\">\"IIF( duedat = DATE( ), '< TODAY >',IIF( duedat < DATE( ),'Overdue' ,' ' ))\"</span>; <br /> JUSTIFY ,<span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span>,,,<span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span> ;<br /> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">390</span> ;<br /> <span style=\"color: #0000ff;\">OF</span> oWdlg ;<br /> <span style=\"color: #0000ff;\">ON</span> DBLCLICK <span style=\"color: #000000;\">(</span> tWorkorder<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> oOrders:<span style=\"color: #000000;\">WrkOrd</span> <span style=\"color: #000000;\">)</span>:<span style=\"color: #000000;\">FullEdit</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">)</span>, oLbxo:<span style=\"color: #000000;\">skip</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">)</span>, aDis := LoadDispValues<span style=\"color: #000000;\">(</span> aDis, oOrders <span style=\"color: #000000;\">)</span>, oWdlg:<span style=\"color: #0000ff;\">update</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> <span style=\"color: #000000;\">(</span> aDis := LoadDispValues<span style=\"color: #000000;\">(</span> aDis, oOrders <span style=\"color: #000000;\">)</span>, oWdlg:<span style=\"color: #0000ff;\">update</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #0000ff;\">UPDATE</span> <br /><br /> <span style=\"color: #B900B9;\">// Column 1 status bitmaps </span><br /> oLbxo:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">AddBitmap</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"CM1\"</span>, <span style=\"color: #ff0000;\">\"CM2\"</span>, <span style=\"color: #ff0000;\">\"CM3\"</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> oLbxo:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bBmpData</span> := <span style=\"color: #000000;\">{</span> || IIF<span style=\"color: #000000;\">(</span> oOrders:<span style=\"color: #000000;\">totals</span>, <span style=\"color: #000000;\">3</span>, IIF<span style=\"color: #000000;\">(</span> oOrders:<span style=\"color: #000000;\">ordnot</span>, <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #B900B9;\">// Provide the header gradient</span><br /> oLbxo:<span style=\"color: #000000;\">bClrGrad</span> := <span style=\"color: #000000;\">{</span> | lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! lInvert, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.50</span>,<span style=\"color: #000000;\">16776960</span>,<span style=\"color: #000000;\">16777215</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.50</span>,<span style=\"color: #000000;\">16777215</span>,<span style=\"color: #000000;\">16776960</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.50</span>,<span style=\"color: #000000;\">128</span>,<span style=\"color: #000000;\">16777215</span> <span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.50</span>,<span style=\"color: #000000;\">16777215</span>,<span style=\"color: #000000;\">128</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #B900B9;\">// Set the styles</span><br /> oLbxo:<span style=\"color: #000000;\">nMarqueeStyle</span> := MARQSTYLE_HIGHLROW<br /> oLbxo:<span style=\"color: #000000;\">nColDividerStyle</span> := LINESTYLE_RAISED<br /> oLbxo:<span style=\"color: #000000;\">nRowDividerStyle</span> := LINESTYLE_RAISED<br /> oLbxo:<span style=\"color: #000000;\">nHeadStrAlign</span> := AL_CENTER<br /><br /> </div>[/code:2w2aixsy]\n\nUsing the IIF clause for the last column, at runtime, the program has an error with nHeadStrAlign as an undeclared method.\nIf I comment out the IIF clause, no error. If I comment out the nHeadStrAlign everything displays correctly. However with this last option, I do not have centered headers which looks much better.\n\nAny thoughts on this ?\n\nAlso, the bitmaps defined for column 1 left justify. I can't get them to center. With the Add Column syntax, they did center. The two bitmaps are a checkmark and a star.",
"time": "06:44",
"topic": "15.10 Browse problem",
"username": "TimStone"
}
] | 15.10 Browse problem |
[
{
"date": "2016-01-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Not\n[code=fw:22mfcffo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oLbxo:<span style=\"color: #000000;\">nHeadStrAlign</span> := AL_CENTER<br /> </div>[/code:22mfcffo]\nPlease use PLURAL\n[code=fw:22mfcffo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oLbxo:<span style=\"color: #000000;\">nHeadStrAligns</span> := AL_CENTER<br /> </div>[/code:22mfcffo]\n\nSuggestion: Please do not pad Headers with spaces. Where needed better use nHeadStrAlign(s)\n\noLbx0:aCols[ 9 ]:nHeadStrAlign := AL_CENTER should not give any error.",
"time": "08:52",
"topic": "15.10 Browse problem",
"username": "nageswaragunupudi"
}
] | 15.10 Browse problem |
[
{
"date": "2016-01-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "It does give an error so I decided to abandon the column. I'm looking at another approach.\n\nAlso, bitmaps do not center either with JUSTIFY or by specifying it individually. They do with SetCheck but not called bitmaps as shown in this example. They did in the ADD Column method\n\nFinally, the reason I added spaces to the header titles is for appearance. If the data width is smaller than the header, the column does set to the header size. However, in the first and last column, the text is squeezed and on my monitor the letters by the column lines fade making it hard to read. By putting in the space, the headers are clear.",
"time": "17:04",
"topic": "15.10 Browse problem",
"username": "TimStone"
}
] | 15.10 Browse problem |
[
{
"date": "2016-01-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Are you using TDataBase?",
"time": "17:58",
"topic": "15.10 Browse problem",
"username": "nageswaragunupudi"
}
] | 15.10 Browse problem |
[
{
"date": "2016-01-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "tData ( James Bott ) which is an extension of tDatabase.\n\nActually, all of my databases are themselves object classes as subclasses of tdata, thus:\n\noOrders <- tData <- tDatabase",
"time": "18:18",
"topic": "15.10 Browse problem",
"username": "TimStone"
}
] | 15.10 Browse problem |
[
{
"date": "2016-01-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "See my previous response, then here is some new stuff:\n\nOld code:\n[code=fw:1gxrn4j2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> <span style=\"color: #B900B9;\">// Define the browse contol</span><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">XBROWSE</span> oLBxcl <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">860</span> <span style=\"color: #0000ff;\">OF</span> oFldCSE:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> <span style=\"color: #000000;\">(</span> oClientsr:<span style=\"color: #000000;\">load</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, oFldCSE:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">update</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #0000ff;\">ON</span> DBLCLICK <span style=\"color: #000000;\">(</span> lCliScoped := oServiceUnits:<span style=\"color: #000000;\">ScopeUnits</span><span style=\"color: #000000;\">(</span> oClientsr, lCliScoped <span style=\"color: #000000;\">)</span>, oLbvm:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">)</span>,;<br /> oServiceUnitsr:<span style=\"color: #000000;\">load</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">)</span>, oFldCSE:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">update</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">)</span>,oFldCSE:<span style=\"color: #000000;\">setoption</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #0000ff;\">UPDATE</span><br /><br /> <span style=\"color: #B900B9;\">// Attach the database</span><br /> oLbxcl:<span style=\"color: #000000;\">setoDBF</span><span style=\"color: #000000;\">(</span> oClients <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #B900B9;\">// Add the columns</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbxcl header <span style=\"color: #ff0000;\">\"Account\"</span> <span style=\"color: #00C800;\">data</span> oClients:<span style=\"color: #000000;\">acrnum</span> ALIGN <span style=\"color: #0000ff;\">CENTER</span> ORDER <span style=\"color: #ff0000;\">\"eclnum\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbxcl Header <span style=\"color: #ff0000;\">\"Client\"</span> <span style=\"color: #00C800;\">data</span> oClients:<span style=\"color: #000000;\">clicom</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> ORDER <span style=\"color: #ff0000;\">\"eclcom\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">300</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbxcl header <span style=\"color: #ff0000;\">\"City\"</span> <span style=\"color: #00C800;\">data</span> oClients:<span style=\"color: #000000;\">clicty</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">200</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbxcl Header <span style=\"color: #ff0000;\">\"Phone\"</span> <span style=\"color: #00C800;\">data</span> oClients:<span style=\"color: #000000;\">clipho</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> ORDER <span style=\"color: #ff0000;\">\"eclpho\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">170</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbxcl Header <span style=\"color: #ff0000;\">\"Cellular\"</span> <span style=\"color: #00C800;\">data</span> oClients:<span style=\"color: #000000;\">clicel</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">170</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbxcl Header <span style=\"color: #ff0000;\">\"Email\"</span> <span style=\"color: #00C800;\">data</span> oClients:<span style=\"color: #000000;\">clieml</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">250</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbxcl Header <span style=\"color: #ff0000;\">\"Last Visit\"</span> <span style=\"color: #00C800;\">data</span> oClients:<span style=\"color: #000000;\">clidls</span> ALIGN <span style=\"color: #0000ff;\">RIGHT</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span><br /> add <span style=\"color: #0000ff;\">to</span> oLbxcl Header <span style=\"color: #ff0000;\">\"Total Sales\"</span> <span style=\"color: #00C800;\">data</span> oClients:<span style=\"color: #000000;\">acrytd</span> ALIGN <span style=\"color: #0000ff;\">RIGHT</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span><br /> </div>[/code:1gxrn4j2]\n\nReplaced with:\n[code=fw:1gxrn4j2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">XBROWSE</span> oLBxcl ;<br /> DATASOURCE oClients ;<br /> HEADERS <span style=\"color: #ff0000;\">\"Account\"</span>, <span style=\"color: #ff0000;\">\"Client\"</span>, <span style=\"color: #ff0000;\">\"City\"</span>, <span style=\"color: #ff0000;\">\"Phone\"</span>, <span style=\"color: #ff0000;\">\"Cellular\"</span>, <span style=\"color: #ff0000;\">\"Last Visti\"</span>, <span style=\"color: #ff0000;\">\"Total Sales\"</span>, <span style=\"color: #ff0000;\">\"Email\"</span> ;<br /> COLUMNS <span style=\"color: #ff0000;\">\"acrnum\"</span>, <span style=\"color: #ff0000;\">\"clicom\"</span>, <span style=\"color: #ff0000;\">\"clicty\"</span>, <span style=\"color: #ff0000;\">\"clipho\"</span>, <span style=\"color: #ff0000;\">\"clicel\"</span>, <span style=\"color: #ff0000;\">\"clidls\"</span>, <span style=\"color: #ff0000;\">\"acrytd\"</span>, <span style=\"color: #ff0000;\">\"clieml\"</span> ;<br /> ORDERS <span style=\"color: #ff0000;\">\"eclnum\"</span>,<span style=\"color: #ff0000;\">\"eclcom\"</span>,,<span style=\"color: #ff0000;\">\"eclpho\"</span> ;<br /> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">860</span> ;<br /> <span style=\"color: #0000ff;\">OF</span> oFldCSE:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> <span style=\"color: #000000;\">(</span> oClientsr:<span style=\"color: #000000;\">load</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, oFldCSE:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">update</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">ON</span> DBLCLICK <span style=\"color: #000000;\">(</span> lCliScoped := oServiceUnits:<span style=\"color: #000000;\">ScopeUnits</span><span style=\"color: #000000;\">(</span> oClientsr, lCliScoped <span style=\"color: #000000;\">)</span>, oLbvm:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">)</span>,;<br /> oServiceUnitsr:<span style=\"color: #000000;\">load</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">)</span>, oFldCSE:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">update</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">)</span>,oFldCSE:<span style=\"color: #000000;\">setoption</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">UPDATE</span> <br /> </div>[/code:1gxrn4j2]\n\nFollowed in both cases by:\n[code=fw:1gxrn4j2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> <span style=\"color: #B900B9;\">// Provide the header gradient</span><br /> oLbxcl:<span style=\"color: #000000;\">bClrGrad</span> := <span style=\"color: #000000;\">{</span> | lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! lInvert, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.50</span>,<span style=\"color: #000000;\">16776960</span>,<span style=\"color: #000000;\">16777215</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.50</span>,<span style=\"color: #000000;\">16777215</span>,<span style=\"color: #000000;\">16776960</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.50</span>,<span style=\"color: #000000;\">128</span>,<span style=\"color: #000000;\">16777215</span> <span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.50</span>,<span style=\"color: #000000;\">16777215</span>,<span style=\"color: #000000;\">128</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #B900B9;\">// Set the styles</span><br /> oLbxcl:<span style=\"color: #000000;\">nMarqueeStyle</span> := MARQSTYLE_HIGHLROW<br /> oLbxcl:<span style=\"color: #000000;\">nColDividerStyle</span> := LINESTYLE_RAISED<br /> oLbxcl:<span style=\"color: #000000;\">nRowDividerStyle</span> := LINESTYLE_RAISED<br /> oLbxcl:<span style=\"color: #000000;\">nHeadStrAligns</span> := AL_CENTER<br /> oLbxcl:<span style=\"color: #000000;\">lHScroll</span> := .t.<br /> <span style=\"color: #B900B9;\">// Use for incremental search on opened database</span><br /> oLbxcl:<span style=\"color: #000000;\">bSeek</span> := <span style=\"color: #000000;\">{</span> |c| oClients:<span style=\"color: #000000;\">Seek</span><span style=\"color: #000000;\">(</span> Upper<span style=\"color: #000000;\">(</span> c <span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> </div>[/code:1gxrn4j2]\n\nAnd from the .rc dialog:\n[code=fw:1gxrn4j2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> CONTROL <span style=\"color: #ff0000;\">\"\"</span>,<span style=\"color: #000000;\">860</span>,<span style=\"color: #ff0000;\">\"TxBrowse\"</span>,WS_BORDER | WS_VSCROLL | WS_TABSTOP,<span style=\"color: #000000;\">5</span>,<span style=\"color: #000000;\">195</span>,<span style=\"color: #000000;\">640</span>,<span style=\"color: #000000;\">170</span><br /> </div>[/code:1gxrn4j2]\n\nThe old code worked fine except we have to now specify the SIZE variable in all browses. When clicking on a column header it would apply the index and reorder the column, and show the ^ symbol in the header cell\n\nThe new code requires a change to the .rc file to add WS_HSCROLL to the browse control. In addition, the browse no longer responds to the click on the header to change the order. \n\nPlease note, your samples use the build from code options. These are all REDEFINE of resources. In addition, this is within a folder defined within a dialog.\n\nAll of the old coding works with 15.09 but fails on .11 and .12. I have no problem with new coding, but there do appear to be problems with it still. If you see something in my code that is wrong, I will make changes and test it. This is actual code and it has been working for years with 15.09 and earlier versions.\n\nI actually prefer the new code. Once it works correctly, it is going to be more compact and easier to debug.\n\nBuilt with FWH 15.12, Harbour, MSVC 2013\n\n\nTim",
"time": "21:07",
"topic": "15.10 Browse problem",
"username": "TimStone"
}
] | 15.10 Browse problem |
[
{
"date": "2016-01-13",
"forum": "FiveWin for Harbour/xHarbour",
"text": "This is still an open / unresolved issue",
"time": "18:59",
"topic": "15.10 Browse problem",
"username": "TimStone"
}
] | 15.10 Browse problem |
[
{
"date": "2016-01-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "The original part of this post was never resolved. I did go into our new version of the software and reformatted all of the Browse controls to fit the new command pattern suggested.\n\nThis morning I found another piece of information that may help with understanding the problem in the ADD TO format. In that problem the first column would be very large, and the remaining columns would be scrunched together on the right side. Previously, they would auto format. To resolve it I've had to use the SIZE value to specify widths.\n\nA client showed me one today that was still displaying incorrectly. He then went to one of the column lines in the compressed fields and pulled it to the side a bit. The display then reformatted correctly.\n\nSo it would appear that when the browse displays it is not auto calculating. Try to change the width a bit and it redisplays correctly.\n\nMaybe this can help find the error in that code. The problem surfaced between 15.09 and 15.11/12\n\nTim",
"time": "19:07",
"topic": "15.10 Browse problem",
"username": "TimStone"
}
] | 15.10 Browse problem |
[
{
"date": "2006-08-08",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Amigos del foro tengan todos buen día. <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nEl problema es el siguiente: hace un tiempo hice una aplicacion en 16 bits, esta aplicación funciona correctamente y con una velocidad extraordinaria.\n\nPero resulta que migre a 32 bits y la aplicacion se puso superlenta.\n\nHice las pruebas de los tiempos y los resultados fueron los siguientes:\n\n16 bits -> 45 segundos\n32 bits -> 150 segundos\n\nEn ese proceso no hay problema, pero hay procesos que son mucho mas largos y se vuelve muy molesto para el usuario estar esperando 20 minutos a que termine un proceso que se puede hacer en 5 minutos.\n\nAlguien me puede ayudar. Alguna sugerencia, por que sucede esto?, no si tenga algo que ver con las bases de datos, los indices.? Help?",
"time": "16:23",
"topic": "16 Y 32?",
"username": "leandro"
}
] | 16 Y 32? |
[
{
"date": "2006-08-08",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Bueno amigos... Les cuento que estuve haciendo varias pruebas y llegue a la conclusion que el problema de la velocidad son los filtros..\n\nYa que me muestra la base de datos sin filtro de una manera rapida pero al efectuar el un filtro en cuando se pone terriblemente lenta la aplicación.\n\nYo ejecuto los filtros de la siguiente manera:\n\n[code:1jwr4ixv]\n\nSELE MYDBF\nSET FILT TO CONTRO=\"04\"\nDBGOTOP()\nDO WHILE !EOF()\n\n .......\n \n SKIP\nENDDO\n\nSe debe hacer de otra manera el mysql, o existe alguna otra solicion para este problema?[/code:1jwr4ixv]",
"time": "16:33",
"topic": "16 Y 32?",
"username": "leandro"
}
] | 16 Y 32? |
[
{
"date": "2006-08-08",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Leandro,\n\nHas probado a hacer una llamada a SysRefresh() desde ese do while ?",
"time": "17:10",
"topic": "16 Y 32?",
"username": "Antonio Linares"
}
] | 16 Y 32? |
[
{
"date": "2006-08-09",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola, usando índices CDX puedes aplicar SCOPES, o puedes hacer TAGS condicionados, ésto agiliza de una manera muy significativa el proceso, que hasta el pelo se te volará.\n\nTodo lo anterior es mucho mejor que usar 'hard code' por ejemplo:\n\nIF control = '04' <----- \n\nIntentalo y verás.\n\nSaludos\n\nJosé Luis",
"time": "00:52",
"topic": "16 Y 32?",
"username": "jlaguilars"
}
] | 16 Y 32? |
[
{
"date": "2006-08-09",
"forum": "FiveWin para Harbour/xHarbour",
"text": "por experiencia que he tenido [x]harbor+fwh en manejos de tablas en mucho mas rapido en 32 bits que en 16 bits. <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\n\ndonde es mas rapido el 16 bits es en la salida de datos en aplicaciones modo consola. <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( --> ahi [x]harbour solito es donde pierde. <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\n\nefectivamente el caso de los filtro con los rdd nativos se manejan de una forma mas lenta. pero cuando se usa el rdd ads (en modo local) los filtros son mucho mas rapidos que en el rdd nativo.\n\nuna sugerencia es que utilices los scope para realizar filtros a las tablas, de esta forma la seleccion es muchismo mas rapida.\n\nsalu2\ncarlos vargas",
"time": "16:12",
"topic": "16 Y 32?",
"username": "carlos vargas"
}
] | 16 Y 32? |
[
{
"date": "2006-08-09",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"leandro\":1cdg91ok]\nSELE MYDBF\nSET FILT TO CONTRO=\"04\"\nDBGOTOP()\nDO WHILE !EOF()\n\n .......\n \n SKIP\nENDDO\n[/quote:1cdg91ok]\n\nLeandro,\n\nEn este caso, yo creo que el filtro está fuera de lugar:\n\n1) La base MyDbf debe tener un índice por el campo control\n2) SELE MYDBF\n SET INDEX TO control\n IF DBSEEK (\"O4\")\n WHILE mydbf->CONTROL = \"04\"\n .......\n \n DBSKIP()\n ENDD\n ELSE // opcional\n ALERT (\"PONES LO QUE QUIERAS\")\n ENDI",
"time": "17:17",
"topic": "16 Y 32?",
"username": "Manuel Valdenebro"
}
] | 16 Y 32? |
[
{
"date": "2006-08-09",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Amigos de foro muchas gracias por las respuestas...\n\nPero... y perdonen la ignorancia... la verdad nunca he usado los scopes ... alguien me puede regalar un ejemplillo. De antemano gracias.",
"time": "17:21",
"topic": "16 Y 32?",
"username": "leandro"
}
] | 16 Y 32? |
[
{
"date": "2006-08-09",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"leandro\":rfuwk3bm]Amigos de foro muchas gracias por las respuestas...\n\nPero... y perdonen la ignorancia... la verdad nunca he usado los scopes ... alguien me puede regalar un ejemplillo. De antemano gracias.[/quote:rfuwk3bm]\n\nSeguramente al escribir tu ultimo mensaje, no has leido el mio (lo hemos escrito practicamente al unísono).\n\n¿Los indices que usas son ntx ó cdx?",
"time": "17:34",
"topic": "16 Y 32?",
"username": "Manuel Valdenebro"
}
] | 16 Y 32? |
[
{
"date": "2006-08-10",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Amigo uso indices CDX...\n\nGracias",
"time": "01:03",
"topic": "16 Y 32?",
"username": "leandro"
}
] | 16 Y 32? |
[
{
"date": "2006-08-10",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Leandro\n\nComo te comentan los demas compañeros, debes tener la base indexada sobre los campos que vas a aplicar el scope, ya despues aplicas esto :\n\n0 -> inicio del rango\n1 -> final del rango\n\no a lo que es igual a decir desde-hasta <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: --> \n\n\n// Para Activar el scope\nPAQSDET->( OrdScope( 0, Str( nPaq2Set, 4 ) ) )\nPAQSDET->( OrdScope( 1, Str( nPaq2Set, 4 ) ) )\nPAQSDET->( DbGoTop() )\n\n// Para desactivarlo\nPAQSDET->( OrdScope( 0, NIL ) )\nPAQSDET->( OrdScope( 1, NIL ) )\nPAQSDET->( DbGoTop() )\n\n\nEs importante que al final lo desactives, si no, tu sistema va a \"ver\" solo los registros que apliquen al ultimo scope activado y sobre todo la llave del indexado debe ser identica al del scope.\n\nEspero te sirva\n\nSaludos",
"time": "01:18",
"topic": "16 Y 32?",
"username": "Raymundo Islas M."
}
] | 16 Y 32? |
[
{
"date": "2006-02-02",
"forum": "FiveWin para CA-Clipper",
"text": "Qué embidia de diálogos tranparentes con los 32 bits. Menos mal que con 16 bits tambien se puede: Ahí va una clase que ayyuda\n\n#Include \"FiveWin.ch\"\n*#Include \"MisFunc.ch\"\n\n#define GWL_STYLE -16\n\nCLASS TDIAG OF TDIALOG\n\n CLASSDATA lRegistered AS LOGICAL\n\n DATA lSomb\t\tAS LOGICAL\tINIT .F.\n DATA hFond,hPen,nDif\n\n METHOD Activate( bClicked, bMoved, bPainted, lCentered, bValid, lModal, bInit, bRClicked, bWhen, nClrShadow )\n METHOD Initiate( hWndFocus, hWnd )\n METHOD Paint()\n METHOD StartPaint()\n METHOD PintSombra()\n METHOD Destroy()\n\nENDCLASS\n\n\nMETHOD Activate( bClicked, bMoved, bPainted, lCentered, bValid, lModal, bInit, bRClicked, bWhen, nClrShadow ) CLASS TDIAG\n IF nClrShadow # NIL\n ::lSomb := .T.\n ::hPen := CreatePen( 0,1,nClrShadow )\n ENDIF\n DEFINE BRUSH ::oBrush NULL\nRETURN Super:Activate( bClicked, bMoved, bPainted, lCentered, bValid, lModal, bInit, bRClicked, bWhen )\n\nMETHOD Initiate( hWndFocus, hWnd ) CLASS TDIAG\n LOCAL lFocus := Super:Initiate( hWndFocus, hWnd )\n *\n ::nDif := IF(lAnd(GetWindowLong(::hWnd,GWL_STYLE),WS_BORDER),1,0)\n ::bStart := { || ::StartPaint() }\nRETURN lFocus\n\nMETHOD Paint() CLASS TDIAG\n DrawBitmap( ::hDc, ::hFond, -::nDif, -::nDif )\n IF ::bPainted # NIL\n EVAL(::bPainted,::hDc)\n ENDIF\nRETURN NIL\n*\nMETHOD StartPaint() CLASS TDIAG\n ::GetDc()\n ::PintSombra(::hDc)\n ::ReleaseDc()\n IF ::bPainted # NIL\n ENDIF\n ::hFond := WndBitmap(::hWnd)\nRETURN NIL\n*\nMETHOD PintSombra(hDc) CLASS TDIAG\n LOCAL hOldP := SelectObject( hDc,::hPen )\n LOCAL nCont1,nCont2 := 0\n LOCAL nDesde := 2\n LOCAL nHasta := ::nWidth+::nHeight-2\n *\n FOR nCont1 = nDesde TO nHasta STEP 2\n nCont2 := nCont1 - ::nHeight\n MoveTo(hDc,nCont1,0)\n LineTo(hDc,nCont2,::nHeight)\n MoveTo(hDc,nCont2,0)\n LineTo(hDc,nCont1,::nHeight)\n NEXT\n SelectObject( hDc,hOldP )\nRETURN NIL\n\nMETHOD Destroy() CLASS TDIAG\n DeleteObject(::hFond)\n DeleteObject(::hPen)\nRETURN NIL\n\nPor favor, si alguien la perfecciona, le agradecería que me mandara el nuevo código a mi e-mail (<!-- e --><a href=\"mailto:[email protected]\">[email protected]</a><!-- e -->)\n\nY EL FONDO NO SE BORRA CUANDO SE REFRESCA. El único inconveniente es que sólo se puede emplear con diálogos estáticos.\n\n[img][url=http://imageshack.us:1t5yujp4][img]http://img72.imageshack.us/img72/5411/ejemplo10dn.jpg[/img][/url:1t5yujp4][/img]\n\nEn este ejemplo, lo uso para la soombra del diaologo de confirmacion\n\n[img][url=http://imageshack.us:1t5yujp4][img]http://img72.imageshack.us/img72/2374/ejemplo20lx.jpg[/img][/url:1t5yujp4][/img]\n\nEn este otro, para la sombra del diálogo naranja, y para el menu que hay por detrástranlucido.",
"time": "18:36",
"topic": "16 bits tranparentes",
"username": "manuramos"
}
] | 16 bits tranparentes |
[
{
"date": "2006-02-03",
"forum": "FiveWin para CA-Clipper",
"text": "Manu,\n\nEstá muy bien!",
"time": "18:05",
"topic": "16 bits tranparentes",
"username": "Antonio Linares"
}
] | 16 bits tranparentes |
[
{
"date": "2006-02-04",
"forum": "FiveWin para CA-Clipper",
"text": "Muy buenos Manuel, pero lo que mas me han impresionado son los folders que utilizas.- ¿Como lo haces?\n\nGracias y un saludo desde Málaga",
"time": "11:43",
"topic": "16 bits tranparentes",
"username": "Manuel Valdenebro"
}
] | 16 bits tranparentes |
[
{
"date": "2006-02-04",
"forum": "FiveWin para CA-Clipper",
"text": "Muchas gracias Manuel, pero no son folders, son BITMAPS, pero da el pego. Los dialogo son NOWAIT sobre un WINDOW normal. Va muy bien; parecido al entorno MDI, pero, en ciertos aspectos, más controlable, si nunca se va a mostrar.\nHay dos BITMAPS para cada solapa, la activa y las otras, inactivas.",
"time": "14:39",
"topic": "16 bits tranparentes",
"username": "manuramos"
}
] | 16 bits tranparentes |
[
{
"date": "2006-02-04",
"forum": "FiveWin para CA-Clipper",
"text": "Bueno, en realidad, son tres BITMAPS por cada solapa, se me olvidaba nombrar los que se 'ReLoadea'n cuando paso el Mouse por encima (un poco más altos, para dar la impresión de que las solapas se elevan al pasar el ratón por encima).",
"time": "14:43",
"topic": "16 bits tranparentes",
"username": "manuramos"
}
] | 16 bits tranparentes |
[
{
"date": "2006-02-05",
"forum": "FiveWin para CA-Clipper",
"text": "Repasando mi clase TDIAG me he dado cuenta de un pequeño error, ::PintSombra sólo debe ejecutarse (en bStartPaint) si ::lSomb es .T.\nPerdon!!\nLo que pasa es que yo siempre la utilizo con color de sombra.",
"time": "00:25",
"topic": "16 bits tranparentes",
"username": "manuramos"
}
] | 16 bits tranparentes |
[
{
"date": "2006-03-08",
"forum": "FiveWin para CA-Clipper",
"text": "excelente trabajo, Felicidades",
"time": "00:34",
"topic": "16 bits tranparentes",
"username": "meskamas"
}
] | 16 bits tranparentes |
[
{
"date": "2013-06-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I have a resource DLL which was created 2003 and it contains dialogs, bitmaps, cursors and icons\nI can local this DLL into Borland Workshop.\nThe problem is that all ICON, BITMAP,CUR are visible in Workshop, but I don't have the files on disk for these resources. So when I \"view resource as text\" is shows the resource in binary form.\n\nWhat I need is to convert this resource DLL into 32-bit or 64-bit DLL\nActually I would be happy if I can export all data into RC file from Borland Workshop. I can do that by \"save as\" and select some RC file. Then I get a huge RC file (about 7MB) with all graphic files as binary form definition, like this:\n[code=fw:2jxojyhz]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">ADDNEW BITMAP LOADONCALL MOVEABLE <br /><span style=\"color: #000000;\">{</span><br /> <span style=\"color: #ff0000;\">'42 4D 16 02 00 00 00 00 00 00 76 00 00 00 28 00'</span><br /> <span style=\"color: #ff0000;\">'00 00 1A 00 00 00 1A 00 00 00 01 00 04 00 00 00'</span><br /> <span style=\"color: #ff0000;\">'00 00 A0 01 00 00 00 00 00 00 00 00 00 00 00 00'</span><br /> <span style=\"color: #ff0000;\">'00 00 10 00 00 00 00 00 00 00 00 00 80 00 00 80'</span><br /> <span style=\"color: #ff0000;\">'00 00 00 80 80 00 80 00 00 00 80 00 80 00 80 80'</span><br /> <span style=\"color: #ff0000;\">'00 00 C0 C0 C0 00 80 80 80 00 00 00 FF 00 00 FF'</span><br /> <span style=\"color: #ff0000;\">'00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'</span><br /> <span style=\"color: #ff0000;\">'00 00 FF FF FF 00 77 77 77 77 77 77 77 77 77 77'</span><br /> <span style=\"color: #ff0000;\">'77 77 77 00 00 00 77 77 77 77 77 77 77 77 77 77'</span><br /> <span style=\"color: #ff0000;\">'77 77 77 00 00 00 77 77 77 77 77 77 77 77 77 77'</span><br /> <span style=\"color: #ff0000;\">'77 77 77 00 00 00 77 77 88 88 88 88 88 88 88 77'</span><br /> <span style=\"color: #ff0000;\">'77 77 77 00 00 00 77 77 88 88 88 88 88 88 88 77'</span><br /> <span style=\"color: #ff0000;\">'77 77 77 00 00 00 77 74 44 44 44 44 44 40 00 00'</span><br /> <span style=\"color: #ff0000;\">'77 77 77 00 00 00 77 74 BF BF BF BF BF B0 EE E0'</span><br /> <span style=\"color: #ff0000;\">'77 77 77 00 00 00 77 74 FB FB FB FB FB F0 EE E0'</span><br /> <span style=\"color: #ff0000;\">'77 77 77 00 00 00 77 74 BF BF BF BF BF B0 EE E0'</span><br /> <span style=\"color: #ff0000;\">'77 77 77 00 00 00 77 74 FB FB FB F0 00 00 EE E0'</span><br /> <span style=\"color: #ff0000;\">'00 00 77 00 00 00 77 74 BF BF BF B0 EE EE EE EE'</span><br /> <span style=\"color: #ff0000;\">'EE E0 77 00 00 00 77 74 FB FB FB F0 EE EE EE EE'</span><br /> <span style=\"color: #ff0000;\">'EE E0 77 00 00 00 77 74 BF BF BF B0 EE EE EE EE'</span><br /> <span style=\"color: #ff0000;\">'EE E0 77 00 00 00 77 74 FB FB FB F0 EE EE EE EE'</span><br /> <span style=\"color: #ff0000;\">'EE E0 77 00 00 00 77 74 BF BF BF B0 00 00 EE E0'</span><br /> <span style=\"color: #ff0000;\">'00 00 77 00 00 00 77 74 FB FB FB FB FB F0 EE E0'</span><br /> <span style=\"color: #ff0000;\">'77 77 77 00 00 00 77 74 BF BF BF B4 44 40 EE E0'</span><br /> <span style=\"color: #ff0000;\">'77 77 77 00 00 00 77 74 FB FB FB F4 FB 40 EE E0'</span><br /> <span style=\"color: #ff0000;\">'77 77 77 00 00 00 77 74 BF BF BF B4 B4 70 00 00'</span><br /> <span style=\"color: #ff0000;\">'77 77 77 00 00 00 77 74 FB FB FB F4 47 77 77 77'</span><br /> <span style=\"color: #ff0000;\">'77 77 77 00 00 00 77 74 44 44 44 44 77 77 77 77'</span><br /> <span style=\"color: #ff0000;\">'77 77 77 00 00 00 77 77 77 77 77 77 77 77 77 77'</span><br /> <span style=\"color: #ff0000;\">'77 77 77 00 00 00 77 77 77 77 77 77 77 77 77 77'</span><br /> <span style=\"color: #ff0000;\">'77 77 77 00 00 00 77 77 77 77 77 77 77 77 77 77'</span><br /> <span style=\"color: #ff0000;\">'77 77 77 00 00 00 77 77 77 77 77 77 77 77 77 77'</span><br /> <span style=\"color: #ff0000;\">'77 77 77 00 00 00 77 77 77 77 77 77 77 77 77 77'</span><br /> <span style=\"color: #ff0000;\">'77 77 77 00 00 00'</span><br /><span style=\"color: #000000;\">}</span></div>[/code:2jxojyhz]\nIf I then try to import this RC file using Pelles C the error I get is\n-------------------\nError reading from file \"somefile.RC\"\nNot enough storage is available to complete this operation\n--------------------\n\nMy question is, how can I use the data in this old DLL to create a 32-bit or 64-bit program, because the 32-bit or 64-bit program cannot use 16-bit DLL created 10+ years ago....\n\nAny help/idea is apreciated",
"time": "23:35",
"topic": "16-bit DLL to 32-bit DLL",
"username": "codemaker"
}
] | 16-bit DLL to 32-bit DLL |
[
{
"date": "2013-06-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Codemaker:\n\nPerhaps you can open your 16bits DLL using Pelles C, then FILE => SAVE AS ... to\nexport to .RC or .RES files.\n\nRegards",
"time": "23:46",
"topic": "16-bit DLL to 32-bit DLL",
"username": "Armando"
}
] | 16-bit DLL to 32-bit DLL |
[
{
"date": "2013-06-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "<!-- m --><a class=\"postlink\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=6&t=14830&hilit=convertir+a+dll+de+32+bits#p76597\">http://forums.fivetechsupport.com/viewt ... its#p76597</a><!-- m -->\n\nCONVERT A 16b DLL TO 32b DLL using the 4.3 PellesC (Google traduction)\n\n1 - Open the 16b Dll with Resource WorkShop\n2 - Save as RC\n3 - Open the newly created RC with PellesC\n4 - On the PellesC menu: NEW, PROJECT WIZARD choose WIN32 DLL and put the name and PATH where it will be create\n5 - Click OK, NEXT, FINISH\n6 - In the tree on the right, right click, ADD FILES TO PROJECT (add the newly created RC)\n7 - Click PROJECT, BUILD DLL32. Sub-folder will be created with this name and within this, the DLL32\n8 - copy it to the appropriate directory of your program.",
"time": "02:24",
"topic": "16-bit DLL to 32-bit DLL",
"username": "FranciscoA"
}
] | 16-bit DLL to 32-bit DLL |
[
{
"date": "2013-06-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Boris,\n\nIf you cannot succeed with the suggestions of our friends, try to send me the DLL and I'll see what I can do.\n\nEMG",
"time": "15:36",
"topic": "16-bit DLL to 32-bit DLL",
"username": "Enrico Maria Giordano"
}
] | 16-bit DLL to 32-bit DLL |
[
{
"date": "2013-06-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Boris\n\nIf I recall .. ( if you have BRW ) you can open your .dll and export all the images out to disk ( save resource as like Francisco mentions) .. then use your 32 bit editor and re-import them back in individually. I know that can be long and tedious work, but I do not know of any tool than can convert your 16 bit .dll to 32 bit. <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: --> \n\nRick Lipkin\n\n[url=http://imageshack.us/photo/my-images/819/8crr.jpg/:14x67eus][img:14x67eus]http://img819.imageshack.us/img819/1264/8crr.jpg[/img:14x67eus][/url:14x67eus]",
"time": "16:03",
"topic": "16-bit DLL to 32-bit DLL",
"username": "Rick Lipkin"
}
] | 16-bit DLL to 32-bit DLL |
[
{
"date": "2013-06-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "If there are a lot of bitmaps and icons to export, I think its relatively simple to parse the RC and get the bytes and create the output file.\n\nI have not tested it myself, but if there are lots of files to export, it seems as a possible valid solution <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "21:28",
"topic": "16-bit DLL to 32-bit DLL",
"username": "Antonio Linares"
}
] | 16-bit DLL to 32-bit DLL |
[
{
"date": "2016-02-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "The following code is used to build a browse:\n\n// Create the browse\nREDEFINE XBROWSE oLbxo ;\n DATASOURCE oOrders ;\n HEADERS \" Done \", \"Paid\", \"Type\", \"W/O #\", \"Company\", sLbl[1], \"Due Date\", \"Time\", \" Status \" ;\n COLUMNS \"ordnot\", \"Totals\", \"status\", \"wrkord\", \"ordcom\", \"ordveh\", \"duedat\", \"duetim\", \"CliUs1\" ;\n JUSTIFY ,,2,2,,,2,2,2 ;\n ID 390 OF oWdlg ;\n ON DBLCLICK ( tWorkorder():New( oOrders:WrkOrd ):FullEdit( ), oLbxo:update(), aDis := LoadDispValues( aDis, oOrders ), oWdlg:update()) ;\n ON CHANGE ( aDis := LoadDispValues( aDis, oOrders ), oWdlg:update() ) UPDATE \n\nThis is the next line:\n\n oLbxo:aCols[ 1 ]:SetCheck( nil, .t. )\n\nUsing Harbour / MSVC, there is no problem\nUsing xHarbour ( .com ), this now throws a windows error ( program stopped working )\n\nThis was working in FWH 15.12, but fails in 16.01\n\nTim",
"time": "01:37",
"topic": "16.01 B2 error w/ xHarbour",
"username": "TimStone"
}
] | 16.01 B2 error w/ xHarbour |
[
{
"date": "2016-02-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Tim,\n\nIs it an EXE (your app) runtime error or a compiling time error ?",
"time": "08:55",
"topic": "16.01 B2 error w/ xHarbour",
"username": "Antonio Linares"
}
] | 16.01 B2 error w/ xHarbour |
[
{
"date": "2016-02-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Runtime error\n\n\nSent from my iPhone using Tapatalk",
"time": "15:40",
"topic": "16.01 B2 error w/ xHarbour",
"username": "TimStone"
}
] | 16.01 B2 error w/ xHarbour |
[
{
"date": "2016-02-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Tim,\n\nDo you get a list of modules when the app GPFs ?\n\nPlease post here the complete report that you get, thanks",
"time": "18:22",
"topic": "16.01 B2 error w/ xHarbour",
"username": "Antonio Linares"
}
] | 16.01 B2 error w/ xHarbour |
[
{
"date": "2016-02-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "There is no FW error. It just says the program stopped working. It does work with Harbour but not xHarbour. This worked with 15.12 but not 16.01. \n\nThis unicode stuff with xbrowse is breaking a lot of code that worked previously. The changes in 15.12 broke the column auto spacing that was written to match the documentation and which worked correctly for years. That issue led to a lot of complaints from clients and I may have lost some as a result. \n\n\nSent from my iPhone using Tapatalk",
"time": "20:05",
"topic": "16.01 B2 error w/ xHarbour",
"username": "TimStone"
}
] | 16.01 B2 error w/ xHarbour |
[
{
"date": "2016-02-13",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Tim,\n\nWe are going to review it asap, thanks for your feedback",
"time": "12:44",
"topic": "16.01 B2 error w/ xHarbour",
"username": "Antonio Linares"
}
] | 16.01 B2 error w/ xHarbour |
[
{
"date": "2016-02-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "What is in HB_OUT.LOG?",
"time": "23:42",
"topic": "16.01 B2 error w/ xHarbour",
"username": "modicr"
}
] | 16.01 B2 error w/ xHarbour |
[
{
"date": "2016-02-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "It did not create one.",
"time": "00:27",
"topic": "16.01 B2 error w/ xHarbour",
"username": "TimStone"
}
] | 16.01 B2 error w/ xHarbour |
[
{
"date": "2016-02-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "AHA, it's Harbour only feature ...",
"time": "14:59",
"topic": "16.01 B2 error w/ xHarbour",
"username": "modicr"
}
] | 16.01 B2 error w/ xHarbour |
[
{
"date": "2016-02-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I recompiled a function to send mails with new fwh 1602 and I saw a big problem \n\nfirst the controls are not on the same places and the sizes are different from fwh15_01\n\nalso the ttitle class is not how I see on fwh15_01\nI think we have a big problem why I must re-write many procedures ?\n\n\n[img:1c4rbwkm]http://www.eoeo.it/wp-content/uploads/2016/02/error_fwh16_02.jpg[/img:1c4rbwkm]\n\n\n\n\n[b:1c4rbwkm]this the source test [/b:1c4rbwkm]\n\n[code=fw:1c4rbwkm]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"constant.ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"ttitle.ch\"</span><br /><br /><span style=\"color: #00D7D7;\">#define</span> LIGHTCYAN nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">203</span>, <span style=\"color: #000000;\">225</span>, <span style=\"color: #000000;\">252</span> <span style=\"color: #000000;\">)</span><br /><br /><br /><br /><span style=\"color: #00C800;\">function</span> Email<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">Local</span> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">]</span><br /> <span style=\"color: #00C800;\">Local</span> oDlgMail<br /> <span style=\"color: #00C800;\">Local</span> nBottom := <span style=\"color: #000000;\">29.2</span><br /> <span style=\"color: #00C800;\">Local</span> nRight := <span style=\"color: #000000;\">58</span><br /> <span style=\"color: #00C800;\">Local</span> nWidth := <span style=\"color: #0000ff;\">Max</span><span style=\"color: #000000;\">(</span> nRight * DLG_CHARPIX_W, <span style=\"color: #000000;\">180</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">Local</span> nHeight := nBottom * DLG_CHARPIX_H<br /><br /> <span style=\"color: #00C800;\">Local</span> cDlgTitle := <span style=\"color: #ff0000;\">\"Configurazione Invio emal\"</span><br /> <span style=\"color: #00C800;\">Local</span> aItemMail := <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"- Programma di posta predefinito - \"</span>,<span style=\"color: #ff0000;\">\"Invio diretto al server di posta in uscita ( SMTP )\"</span><span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">Local</span> aGet<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">10</span><span style=\"color: #000000;\">]</span><br /> <span style=\"color: #00C800;\">Local</span> cTipo := <span style=\"color: #ff0000;\">\"- Programma di posta predefinito - \"</span><br /> <span style=\"color: #00C800;\">Local</span> oTitle1, oImageTitle,oFont,oFontBold<br /> <span style=\"color: #00C800;\">Local</span> cImageTitle:= <span style=\"color: #ff0000;\">\"Mail.bmp\"</span><br /><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">'Tahoma'</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-12</span><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFontBold <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">'Tahoma'</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-18</span> BOLD<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlgMail ;<br /> <span style=\"color: #0000ff;\">SIZE</span> nWidth, nHeight <span style=\"color: #0000ff;\">PIXEL</span> TRUEPIXEL ;<br /> <span style=\"color: #0000ff;\">TITLE</span> cDlgTitle TRANSPARENT<br /><br /><br /><br /> oDlgMail:<span style=\"color: #000000;\">lHelpIcon</span> := .F.<br /> oDlgMail:<span style=\"color: #000000;\">nStyle</span> := nOR<span style=\"color: #000000;\">(</span> DS_MODALFRAME, WS_POPUP, WS_CAPTION, <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">)</span><br /><br /> @ <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">TITLE</span> oTitle1 <span style=\"color: #0000ff;\">OF</span> oDlgMail <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">500</span>, <span style=\"color: #000000;\">40</span> SHADOW NOSHADOW GRADIENT <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>,CLR_WHITE, LIGHTCYAN <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span><br /> @ <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">12</span> TITLETEXT <span style=\"color: #0000ff;\">OF</span> oTitle1 <span style=\"color: #0000ff;\">TEXT</span> <span style=\"color: #ff0000;\">\"Impostazione Invio e-mail\"</span> <span style=\"color: #0000ff;\">FONT</span> oFontBold <span style=\"color: #0000ff;\">COLOR</span> CLR_BLACK<br /> @ <span style=\"color: #000000;\">38</span>, <span style=\"color: #000000;\">42</span> TITLETEXT <span style=\"color: #0000ff;\">OF</span> oTitle1 <span style=\"color: #0000ff;\">TEXT</span> <span style=\"color: #ff0000;\">\" Seleziona modalità di invio\"</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">COLOR</span> CLR_BLACK<br /> @ <span style=\"color: #000000;\">10</span>, oTitle1:<span style=\"color: #000000;\">nWidth</span><span style=\"color: #000000;\">-120</span> TITLEIMG oImagetitle <span style=\"color: #0000ff;\">OF</span> oTitle1 BITMAP cImageTitle TRANSPARENT<br /><br /><br /> @ <span style=\"color: #000000;\">50</span> , <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #ff0000;\">\" Invio le mail tramite :\"</span> <span style=\"color: #0000ff;\">of</span> oDlgMail <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">80</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">COLOR</span> CLR_BLACK<br /><br /> @ <span style=\"color: #000000;\">60</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">COMBOBOX</span> aGet<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">var</span> cTipo <span style=\"color: #0000ff;\">ITEMS</span> aItemMail <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">214</span>,<span style=\"color: #000000;\">45</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">of</span> oDlgMail;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> <span style=\"color: #000000;\">(</span>Allarga<span style=\"color: #000000;\">(</span>aGet,oDlgMail,obtn<span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><br /><br /> @ <span style=\"color: #000000;\">190</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">Button</span> obtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">Prompt</span> <span style=\"color: #ff0000;\">\"&Conferma\"</span> <span style=\"color: #0000ff;\">of</span> oDlgMail <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">12</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #00C800;\">DEFAULT</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> oDlgMail:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">(</span> IDOK <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> @ <span style=\"color: #000000;\">190</span>, <span style=\"color: #000000;\">65</span> <span style=\"color: #0000ff;\">Button</span> obtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">Prompt</span> <span style=\"color: #ff0000;\">\"&e-mail di prova\"</span> <span style=\"color: #0000ff;\">of</span> oDlgMail <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">12</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #00C800;\">NIL</span><br /> @ <span style=\"color: #000000;\">190</span>, <span style=\"color: #000000;\">120</span> <span style=\"color: #0000ff;\">Button</span> obtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">Prompt</span> <span style=\"color: #ff0000;\">\"&Annulla\"</span> <span style=\"color: #0000ff;\">of</span> oDlgMail <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">12</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">FONT</span> oFont CANCEL <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> oDlgMail:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">(</span> IDCANCEL <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> @ <span style=\"color: #000000;\">190</span>, <span style=\"color: #000000;\">175</span> <span style=\"color: #0000ff;\">Button</span> obtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">Prompt</span> <span style=\"color: #ff0000;\">\"Ai&uto\"</span> <span style=\"color: #0000ff;\">of</span> oDlgMail <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">12</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">ACTION</span> Helpindex<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlgMail ;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> Allarga<span style=\"color: #000000;\">(</span>aGet,oDlgMail,obtn<span style=\"color: #000000;\">)</span><br /><br /><br /><br /><br /><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------------------------------------//</span><br /> <span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">Function</span> Allarga<span style=\"color: #000000;\">(</span>oControl, oDlgMail,obtn<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">Local</span> oDlgMail_Height<br /> <span style=\"color: #00C800;\">Local</span> nValue<br /> <span style=\"color: #00C800;\">local</span> nTipo:= oControl<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">nAt</span><br /> <span style=\"color: #00C800;\">local</span> ntopDlgMail:=oDlgMail:<span style=\"color: #000000;\">ntop</span><br /> <span style=\"color: #00C800;\">local</span> nLeftDlgMail:= oDlgMail:<span style=\"color: #000000;\">nleft</span><br /> <span style=\"color: #00C800;\">local</span> nTopMail,nLeftMail<br /><br /> <span style=\"color: #00C800;\">Do</span> <span style=\"color: #00C800;\">case</span><br /> <span style=\"color: #00C800;\">case</span> nTipo= <span style=\"color: #000000;\">2</span><br /> nValue:= <span style=\"color: #000000;\">29.2</span><br /> oDlgMail_Height := nValue * DLG_CHARPIX_H<br /><br /> <span style=\"color: #00C800;\">for</span> n=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">4</span><br /> obtn<span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">nTop</span> = <span style=\"color: #000000;\">380</span><br /> <span style=\"color: #00C800;\">next</span><br /><br /><br /> <span style=\"color: #00C800;\">case</span> nTipo= <span style=\"color: #000000;\">1</span><br /> nValue:= <span style=\"color: #000000;\">14.1</span><br /> oDlgMail_Height := nValue * DLG_CHARPIX_H<br /><br /> <span style=\"color: #00C800;\">for</span> n=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">4</span><br /> obtn<span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">nTop</span> = <span style=\"color: #000000;\">150</span><br /> <span style=\"color: #00C800;\">next</span><br /><br /><br /> <span style=\"color: #00C800;\">endcase</span><br /> sysrefresh<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> nTopMail := <span style=\"color: #000000;\">(</span> GetSysmetrics<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> - oDlgMail_Height <span style=\"color: #000000;\">)</span> / <span style=\"color: #000000;\">2</span><br /> nLeftMail := <span style=\"color: #000000;\">(</span> GetSysmetrics<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span> - oDlgMail:<span style=\"color: #000000;\">nWidth</span> <span style=\"color: #000000;\">)</span> / <span style=\"color: #000000;\">2</span><br /> oDlgMail:<span style=\"color: #0000ff;\">Move</span><span style=\"color: #000000;\">(</span> nTopMail, nLeftMail, oDlgMail:<span style=\"color: #000000;\">nWidth</span>, oDlgMail_Height, .f. <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:1c4rbwkm]",
"time": "15:33",
"topic": "16.01 Build 2 error",
"username": "Silvio.Falconi"
}
] | 16.01 Build 2 error |
[
{
"date": "2016-02-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "resolved !!\nI must erase truepixel",
"time": "15:42",
"topic": "16.01 Build 2 error",
"username": "Silvio.Falconi"
}
] | 16.01 Build 2 error |
[
{
"date": "2016-11-06",
"forum": "FiveWin for Harbour/xHarbour",
"text": "xLINK: error: Unresolved external symbol '_hb_partdt referenced from FiveHMX.lib(VALTOSTR.obj)'.\n\nI'm using xHarbour.com",
"time": "16:34",
"topic": "16.10 Unresolved external symbol _hb_partdt",
"username": "Diego Decandia"
}
] | 16.10 Unresolved external symbol _hb_partdt |
[
{
"date": "2016-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Diego,\n\nWe are checking it to implement a solution for it asap\n\nmany thanks",
"time": "18:11",
"topic": "16.10 Unresolved external symbol _hb_partdt",
"username": "Antonio Linares"
}
] | 16.10 Unresolved external symbol _hb_partdt |
[
{
"date": "2016-11-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\n\nCan you provide the library name that contains the subject unresolved external symbol?\n\nTurbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland\nError: Unresolved external '_HB_FUN_HB_TSTOUTC' referenced from C:\\FWH1212\\LIB\\FIVEH.LIB|VALTOSTR",
"time": "19:29",
"topic": "16.10 Unresolved external symbol _hb_partdt",
"username": "cdmmaui"
}
] | 16.10 Unresolved external symbol _hb_partdt |
[
{
"date": "2016-11-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Darrell,\n\nPlease try with hbformat.lib",
"time": "20:24",
"topic": "16.10 Unresolved external symbol _hb_partdt",
"username": "Antonio Linares"
}
] | 16.10 Unresolved external symbol _hb_partdt |
[
{
"date": "2016-11-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Antonio,\n\nThat LIB does not exist in the latest FWH version.\n\nSincerely,",
"time": "20:43",
"topic": "16.10 Unresolved external symbol _hb_partdt",
"username": "cdmmaui"
}
] | 16.10 Unresolved external symbol _hb_partdt |
[
{
"date": "2016-11-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"cdmmaui\":3szu49yu]Hi Antonio,\n\nThat LIB does not exist in the latest FWH version.\n\nSincerely,[/quote:3szu49yu]\n\nThis lib It's a lib of harbour distribution",
"time": "21:11",
"topic": "16.10 Unresolved external symbol _hb_partdt",
"username": "cnavarro"
}
] | 16.10 Unresolved external symbol _hb_partdt |
[
{
"date": "2016-11-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\n\nI am still getting the same error. Do you need to upgrade to Harbour BCC7?\n\nSincerely,",
"time": "21:32",
"topic": "16.10 Unresolved external symbol _hb_partdt",
"username": "cdmmaui"
}
] | 16.10 Unresolved external symbol _hb_partdt |
[
{
"date": "2016-11-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\n\nI tried to build (BUILDH.BAT) a sample application and got the following errors.\n\n\fÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿\n³ FiveWin for Harbour 16.10 - Oct. 2016 Harbour development power ³Ü\n³ (c) FiveTech 1993-2016 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 ³Û\nÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ\nÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß\nCompiling...\nHarbour 3.2.0dev (Rev. 18449)\nCopyright (c) 1999-2012, <!-- m --><a class=\"postlink\" href=\"http://harbour-project.org/\">http://harbour-project.org/</a><!-- m -->\nCompiling 'testxbrw.prg' and generating preprocessed output to 'testxbrw.ppo'...\n.\n.\n.\nLines 6095, Functions/Procedures 24\nGenerating C source output to 'testxbrw.c'... Done.\nBorland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland\ntestxbrw.c:\nBorland Resource Compiler Version 5.40\nCopyright (c) 1990, 1999 Inprise Corporation. All rights reserved.\nTurbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland\nError: Unresolved external '_HB_FUN_OCCURS' referenced from C:\\FWH1212\\LIB\\FIVEH.LIB|XBROWSE\nError: Unresolved external '_hb_extIsNil' referenced from C:\\FWH1212\\LIB\\FIVEHC.LIB|RICHEDIT\nError: Unresolved external '_HB_FUN_HB_TSTOUTC' referenced from C:\\FWH1212\\LIB\\FIVEH.LIB|VALTOSTR\n* Linking errors *",
"time": "21:37",
"topic": "16.10 Unresolved external symbol _hb_partdt",
"username": "cdmmaui"
}
] | 16.10 Unresolved external symbol _hb_partdt |
[
{
"date": "2016-11-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Darrell,\n\nYou are using FWH 16.10 but you are linking libs from C:\\FWH1212\n\nError: Unresolved external '_HB_FUN_OCCURS' referenced from C:\\[color=#FF0000:1qfqinfa]FWH1212[/color:1qfqinfa]\\LIB\\FIVEH.LIB|XBROWSE\nError: Unresolved external '_hb_extIsNil' referenced from C:\\[color=#FF0000:1qfqinfa]FWH1212[/color:1qfqinfa]\\LIB\\FIVEHC.LIB|RICHEDIT\nError: Unresolved external '_HB_FUN_HB_TSTOUTC' referenced from C:\\[color=#FF0000:1qfqinfa]FWH1212[/color:1qfqinfa]\\LIB\\FIVEH.LIB|VALTOSTR",
"time": "21:51",
"topic": "16.10 Unresolved external symbol _hb_partdt",
"username": "Antonio Linares"
}
] | 16.10 Unresolved external symbol _hb_partdt |
[
{
"date": "2016-11-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Darrell,\n\nYes, if you plan to use FWH 16.10 then you need bcc 7",
"time": "21:52",
"topic": "16.10 Unresolved external symbol _hb_partdt",
"username": "Antonio Linares"
}
] | 16.10 Unresolved external symbol _hb_partdt |
[
{
"date": "2016-11-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "You also need to use the latest version of Harbour",
"time": "02:43",
"topic": "16.10 Unresolved external symbol _hb_partdt",
"username": "nageswaragunupudi"
}
] | 16.10 Unresolved external symbol _hb_partdt |
[
{
"date": "2012-09-12",
"forum": "Off Topic / Otros temas",
"text": "I think this video is so great that I post it again as a own topic\n\nBill Gates - at this time 39 year old - in 1994:\nInformation At Your Fingertips\nVIDEO\nComdex 1994 – Keynote Bill Gates – Information At Your Fingertips (2005)\n<!-- m --><a class=\"postlink\" href=\"http://yukon.twi.tudelft.nl/commercials/index.html\">http://yukon.twi.tudelft.nl/commercials/index.html</a><!-- m -->\n\n<!-- m --><a class=\"postlink\" href=\"mms://yukon.twi.tudelft.nl/pub/commercials/BillGatesKeynote.wmv\">mms://yukon.twi.tudelft.nl/pub/commerci ... eynote.wmv</a><!-- m -->\n\nBest regards,\nOtto",
"time": "07:53",
"topic": "1994",
"username": "Otto"
}
] | 1994 |
[
{
"date": "2017-01-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[url:3qhc5rlm]http://www.bergland.info/allgemein/fivewin-seminar-july-2017/[/url:3qhc5rlm]\n\n[img:3qhc5rlm]https://bitbucket.org/fivetech/screenshots/downloads/sillian1.JPG[/img:3qhc5rlm]",
"time": "23:48",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "Antonio Linares"
}
] | 1st FWH + [x]Harbour 2017 international conference |
[
{
"date": "2017-01-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "EXITOS...! y no suerte...ya que esa, la suerte, es la excusa de los fracasados...saludos... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->",
"time": "02:07",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "joseluisysturiz"
}
] | 1st FWH + [x]Harbour 2017 international conference |
[
{
"date": "2017-01-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Count me in! Thats great!\nGünther",
"time": "10:51",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "byte-one"
}
] | 1st FWH + [x]Harbour 2017 international conference |
[
{
"date": "2017-01-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "We need 25 attendees to cover the expenses\n\nAlso if we could get some sponsors that would be really great <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "11:59",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "Antonio Linares"
}
] | 1st FWH + [x]Harbour 2017 international conference |
[
{
"date": "2017-01-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "This looks great. I will try to make it although it is a bit far from California. My tentative plan is to fly into Milan/Malpensa, head up through Switzerland through Zurich, then Munich and Salzburg, into Austria, check out Vienna, then perhaps over to Budapest, down through Slovenia to Trieste and back to Milan. Does anybody remember the conference Ashton Tate put on in San Diego back around 1996? They were trying to promote Visual Objects but of course no one was interested in that. Nonetheless the conference was instrumental in helping me decide to use Fivewin to migrate from DoS to Windows.",
"time": "21:33",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "dtussman"
}
] | 1st FWH + [x]Harbour 2017 international conference |
[
{
"date": "2017-01-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "dtussman, the place of FWH-seminar is <200 km far from Salzburg!",
"time": "11:27",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "byte-one"
}
] | 1st FWH + [x]Harbour 2017 international conference |
[
{
"date": "2017-01-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I attended all of the Ashton Tate ( dBase ), Clipper, and Computer Associates ( CA ) conferences. They were held in Southern California ( Culver City was the headquarters of Ashton Tate and Nantucket ), Palm Springs, and then the Clipper User's Group sponsored some in San Diego. ( Mik coordinated those ).",
"time": "19:26",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "TimStone"
}
] | 1st FWH + [x]Harbour 2017 international conference |
[
{
"date": "2017-01-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Tim,\n\nDo you have photos of them to share with us ? <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "19:52",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "Antonio Linares"
}
] | 1st FWH + [x]Harbour 2017 international conference |
[
{
"date": "2017-01-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I wish I did ... but if I have any, they are stored in a box of very old stuff. The best I have are original dBase II and dBase III disks, the original Clipper disks ( and manuals ) ... and likely the CA ( Visual Objects ) disks.\n\nI'm very close to the area where all of this took place ( less than an hour drive to the westside of LA where they were based ). Thus I was able to enjoy time at Ashton Tate headquarters ... back in the day ( 80's ).",
"time": "20:12",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "TimStone"
}
] | 1st FWH + [x]Harbour 2017 international conference |
[
{
"date": "2017-01-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Very good !\nI will be there +1 .\nI think you have to talk about FiveWeb and Tools to put an apps on the web .\nHow long did you plan the meeting 1 day 2 days ?\n\nThanks and see you in July !",
"time": "15:37",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "Jack"
}
] | 1st FWH + [x]Harbour 2017 international conference |
[
{
"date": "2017-01-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Two full days and half day the third one\n\nVery good <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "17:05",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "Antonio Linares"
}
] | 1st FWH + [x]Harbour 2017 international conference |
[
{
"date": "2017-01-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Master Antonio i'm from Quito Ecuador \nwath route airport ? near this city ?\nPlease we need to know for tickets purpose\nbest regards\n\nWilson",
"time": "21:23",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "wilsongamboa"
}
] | 1st FWH + [x]Harbour 2017 international conference |
[
{
"date": "2017-01-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "wilsongamboa, i am from Austria. The nearest international airport is Klagenfurt (KLU) ca. 150 km from the conference.",
"time": "22:25",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "byte-one"
}
] | 1st FWH + [x]Harbour 2017 international conference |
[
{
"date": "2017-01-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr Günther\n\nIs Klagenfurt an International airport? May be Innsbruck is better connected for international passengers from out-side Europe.",
"time": "04:33",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "nageswaragunupudi"
}
] | 1st FWH + [x]Harbour 2017 international conference |
[
{
"date": "2017-01-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr. Rao, maybe Innsbruck is better connected but the transfer to the conference is shorter from Klagenfurt. Potentially you must at first fly to Vienna or Munich as an direct flight is not very probably.",
"time": "09:38",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "byte-one"
}
] | 1st FWH + [x]Harbour 2017 international conference |
[
{
"date": "2017-01-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Mr. Rao,\nwe will offer a shuttle service. Let’s wait how the attendees plan to come.\nThen we coordinate the transfer. Any how we personally care about the transfer.\nMunich Airport seems for me the best connected one. \n\nBest regards,\nOtto",
"time": "11:15",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "Otto"
}
] | 1st FWH + [x]Harbour 2017 international conference |
[
{
"date": "2017-01-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Good afternoon\nwe plan to travel with my wife\nwill be a pleasure to Know all the master and monsters of harbour - fivewin programing\nI'll wait till the even will confirm to start sell our tickets ( are expensive )\nMany Thanks\nWilson\nFrom Quito Ecuador\nSudamerica",
"time": "18:50",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "wilsongamboa"
}
] | 1st FWH + [x]Harbour 2017 international conference |
[
{
"date": "2017-01-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear FiveWinners,\n\nthe FWH + [x]Harbour 2017 international conference in the Dolomites is just a few month away.\nPlease can you tell us if you are interested in participating so that we can go on in the planning process.\nKind regards and hope to see you this summer \n\nFamily Atzwanger (Otto, Renate, Iris und Ruth)\n<!-- e --><a href=\"mailto:[email protected]\">[email protected]</a><!-- e -->\n\n[url:1so04jao]http://www.bergland.info[/url:1so04jao]\n\n\n\n[img:1so04jao]http://www.atzwanger-software.com/fw/atzwanger.jpg[/img:1so04jao]",
"time": "22:38",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "Otto"
}
] | 1st FWH + [x]Harbour 2017 international conference |
[
{
"date": "2017-02-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Current list of speakers and attendees:\n\nCristobal Navarro\nReinaldo Crespo\nNageswararao Gunupudi\nAntonio Linares\n\nOtto\nGünther\nDTussman\nJack\nWilson\nBiel\nPhilippe Jacquet",
"time": "11:49",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "Antonio Linares"
}
] | 1st FWH + [x]Harbour 2017 international conference |
[
{
"date": "2017-02-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio, \nPlease add me to the list.\n\nMaurizio \n<!-- w --><a class=\"postlink\" href=\"http://www.nipeservice.com\">www.nipeservice.com</a><!-- w -->",
"time": "18:47",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "Maurizio"
}
] | 1st FWH + [x]Harbour 2017 international conference |
[
{
"date": "2017-02-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "thanks,\n\nCurrent list of speakers and attendees:\n\nCristobal Navarro\nReinaldo Crespo\nNageswararao Gunupudi\nAntonio Linares\n\nOtto\nGünther\nDTussman\nJack\nWilson\nBiel\nPhilippe Jacquet\nMaurizio",
"time": "23:38",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "Antonio Linares"
}
] | 1st FWH + [x]Harbour 2017 international conference |
[
{
"date": "2017-02-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "To start with I am considering discussing the following topics in the seminar. This is a draft and will be improved on the basis of feedback and suggestions.\n\n[b:5e6sem4o]XBROWSE[/b:5e6sem4o]\n\n[b:5e6sem4o]Creation and configuration:[/b:5e6sem4o]\n\n- Recommended ways to create and cofigure. Comparision of alternatives. Merits of using command syntax.\n- Parametrized creation of xbrowse.\n- Recommended ways to create columns, alternative methods and when to use / not to use alterntiave methods.\n- Extending configuration of browse and columns: \n Detailed discussion of Switches, codeblocks and usage\n- Deprecated and discouraged methods and datas\n- Important DO's AND DONT's\n- How to use minimal code to avail the full power of XBrowse\n- Advantages of using XBrowse's built-in defaults and when only to over-ride with programmers' own settings.\n- What to avoid. Based on examples taken from several postings of code snippets in the forums.\n- Images, bitmaps, brushes, Progress-bars, Charts, etc in Cells.\n- Cell formattig, like positioning of various elements inside the cell, usage of multiple fonts.\n- Additional formatting available in xbrowse.\n- Ownerdraw of cells, rows, headers and footers\n- Issues when browsing slow access datasources.\n- Fastdraw\n- Auto-calculation of columns, user defined computation of columns, group computations and other inbuilt computational capabilities\n- Pivot table browses and swapping.\n- Getbars and Seekbars\n- Built-in incremental seek/filters\n- Forgotten and less known switches, methods and features and their uses.\n\n[b:5e6sem4o]Database maintenance:[/b:5e6sem4o]\n\n XBrowse, along with integrated datarow, is a lot more than simple data display tool. It provides a complete database maintaienace system, which is simple to use yet robust.\n\n- Using methods Edit(), EditSource(), Delete() etc for total maintenance of tables providing browsing with add/edit/delete facilities.\n- Advantages of using these methods compared to alternatives.\n- Customization of these methods for user requirements.\n- Combining browse and edit dialog in the same dialog\n- etc\n\n[b:5e6sem4o]Portable Code:[/b:5e6sem4o]\n\n XBrowse and DataRow classes are carefully designed to create highly portable code across different databases, eg dbf, ado, various rdbms, mysql, etc. \n Discussion as to how to write portable code that works with all different databases without any change. Limitations, do's and dont's.\n \n[b:5e6sem4o]Discussion on special issues with Other controls.[/b:5e6sem4o]\n Eg less known capabilities of buttonbars, buttons, new controls, etc.\n\nTranslucent backgrounds and usage of alpha colors.\n\n[b:5e6sem4o]FWH : TOUCH AND TABLET CAPABILITIES PROVIDED.[/b:5e6sem4o]\n\n- Touch and gesture functions already provided in FWH and usage\n- Touch friendly controls, like listboxes and comboboxes\n- Controls that automatically recognize touch gestures and their behavior.\n- Extending touch functionality by the programmer using the functions provided.\n- Recognition of Tablet mode and Orientation.\n- FWH automatic recognition and adjustment to Tablet Mode and orientation.\n- FWH automatic switching between desktop look and universal look and switching\n to tablet mode from desktop mode and [i:5e6sem4o]vice-versa[/i:5e6sem4o].\n- Issues to the considered by the programmer while programming for touch enabled\n devices including touch keyboards.\n- Issues for designing applications to work on different form-factors viz., desktop,\n tablet and mobile phone.\n- Related issues.\n\n[b:5e6sem4o]FWH Support for ADO[/b:5e6sem4o]\n\n- How FWH Ado functions simplify handling different ADO datasources, with same functions.\n- Explanation of functions\n- Classes: TRecSet, TAdoCommand\n\n[b:5e6sem4o]FWH-MYSQL/MARIADB LIBRARY\n[/b:5e6sem4o]\n- Introduction\n- Benefits in comparision with other alternatives including ADO.\n- Hybrid applications. How applications mainly using others like ADO, Dolphin, etc\n can also take benefit of FWHMYSQL, without changing the present code.\n\nIn addition, further developments to FWH in the ensuing months also will be discussed.\n\nThis list is tentative. Likely to be expanded based on friends' suggestions.\nWe also request proposals for inclusion of other subjects which may be considered more useful to the participants.\n\nThe ultimate idea is that the particpants should be benefited by the discussions and deliberations in the forum resulting in a significant improvement of productivity.",
"time": "02:34",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "nageswaragunupudi"
}
] | 1st FWH + [x]Harbour 2017 international conference |
[
{
"date": "2017-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Current list of speakers and attendees:\n\nCristobal Navarro\nReinaldo Crespo\nNageswararao Gunupudi\nAntonio Linares\n\nOtto\nGünther\nDTussman\nJack\nWilson\nBiel\nPhilippe Jacquet\nMaurizio\nTomas (Cybertel from Seoul) (two attendees)",
"time": "22:56",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "Antonio Linares"
}
] | 1st FWH + [x]Harbour 2017 international conference |
[
{
"date": "2017-03-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "As this week is the Barcelona Mobile International show, my great friend and client Back Nam Sam from Seul\nhas come to Marbella for two days to visit me.\n\nHe told me that he will assist to the 1st international FWH and Harbour users conference and also he will do\na presentation of his company PTT (Push to Talk) software to all attendees. The PTT server has been entirely\ndeveloped using Harbour.\n\nGreat experts in many areas will assist (SQL, Browse, Google Docs access, ADS, PTT, etc.) so we will have very \ninteresting technical sessions and it makes this a unique oportunity to meet personally and to share knowledge and \ngreat moments together <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "07:14",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "Antonio Linares"
}
] | 1st FWH + [x]Harbour 2017 international conference |
[
{
"date": "2017-03-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[url:38knpt9w]https://groups.google.com/forum/#!topic/harbour-users/tXgmb0XZLTg[/url:38knpt9w]",
"time": "07:33",
"topic": "1st FWH + [x]Harbour 2017 international conference",
"username": "Antonio Linares"
}
] | 1st FWH + [x]Harbour 2017 international conference |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.