messages
listlengths 1
1
| topic
stringlengths 2
60
|
---|---|
[
{
"date": "2013-02-12",
"forum": "Off Topic / Otros temas",
"text": "Hello Antonio,\nlook at the YouTube view counter of this ad page.\nIt is increasing by more than 10000 each hour.\nBest regards,\nOtto",
"time": "11:24",
"topic": "A new Surface Pro ad is here",
"username": "Otto"
}
] |
A new Surface Pro ad is here
|
[
{
"date": "2013-02-12",
"forum": "Off Topic / Otros temas",
"text": "Dear Otto,\n\nSorry but I don't get it. \n\nSales figures are the exact reflection of the market acceptance of a product, not the number of views of a video...\n\nLots of people watch a movie trailer, but not all of them go to the cinema to watch the movie...",
"time": "11:35",
"topic": "A new Surface Pro ad is here",
"username": "Antonio Linares"
}
] |
A new Surface Pro ad is here
|
[
{
"date": "2013-02-14",
"forum": "Off Topic / Otros temas",
"text": "Hello Antonio,\nyou are totally right.\nBut from the marketing point of view this youtube couter is interesting to follow. \nWhen I first saw the ad there have been 70000 views now 4 days later 340000.\nI am curious what the number will be in 10 days.\nToday there was a DELL advertising supplement in Austrias most read newspaper.\nOn every screen only WINDOWS 8. The main food-discounters over here – all of them also sell PCs <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) --> – have WINWOS 8 PC and notebook in their current offer on the first page.\nEvery company over here who wants a modern touch do have somewhere a product placing with a WINDOWS 8 start screen. \nThis is the situation here in Austria.\nBest regards,\nOtto",
"time": "09:22",
"topic": "A new Surface Pro ad is here",
"username": "Otto"
}
] |
A new Surface Pro ad is here
|
[
{
"date": "2013-02-14",
"forum": "Off Topic / Otros temas",
"text": "Cool thread ...\n\nI like both Surface (RT and PRO) commercials. BTW, the dancer is also featuring in the latest Bob Dylan's video:\n\n<!-- m --><a class=\"postlink\" href=\"http://www.youtube.com/watch?v=mns9VeRguys\">http://www.youtube.com/watch?v=mns9VeRguys</a><!-- m -->\n\nHere is also the remix of both ads by photographer Stay Classy:\n\n<!-- m --><a class=\"postlink\" href=\"http://www.youtube.com/watch?v=2dFcfGwzFTU\">http://www.youtube.com/watch?v=2dFcfGwzFTU</a><!-- m -->\n\n> amazing human beatbox\n\nHere is another one (Sašo Vrabi?) who sings in group Perpetuum Jazzile:\n\n<!-- m --><a class=\"postlink\" href=\"http://www.youtube.com/watch?v=XgAcPRsEKe4\">http://www.youtube.com/watch?v=XgAcPRsEKe4</a><!-- m -->\n<!-- m --><a class=\"postlink\" href=\"http://www.youtube.com/watch?v=yjbpwlqp5Qw\">http://www.youtube.com/watch?v=yjbpwlqp5Qw</a><!-- m -->\n\n\nCheers, Roman",
"time": "18:39",
"topic": "A new Surface Pro ad is here",
"username": "modicr"
}
] |
A new Surface Pro ad is here
|
[
{
"date": "2013-02-15",
"forum": "Off Topic / Otros temas",
"text": "It is quite logical that lots of people will watch the Microsoft's 8 adds as Microsoft is very important in the software industry.\n\nEverybody know about the iPad, so I think that the adds should focus on why people should buy a Microsoft tablet instead of the iPad.\n\nAlong this year we will see whats happens <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "16:22",
"topic": "A new Surface Pro ad is here",
"username": "Antonio Linares"
}
] |
A new Surface Pro ad is here
|
[
{
"date": "2008-09-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\r\n\r\nIt is easy, to repaint xBrowse with stored settings from a database.\r\n\r\nFor a new Template-Manager ( xBrowse ), i stored the complete style \r\nof the browser ( preview ) in a database. With just a change of a record\r\ni can change the xBrowse-display, no extra preview-dialog is needed.\r\nEven the dialog-background is repainted with values, stored in a DBF-record.\r\nIt is a much better solution, than to create a INI-file.\r\n\r\n[img:1fk3jh6k]http://www.pflegeplus.com/pictures/xBrw51.jpg[/img:1fk3jh6k]\r\n\r\n[img:1fk3jh6k]http://www.pflegeplus.com/pictures/xBrw50.jpg[/img:1fk3jh6k]\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "18:52",
"topic": "A nice sample to show, what is possible with xBrowse",
"username": "ukoenig"
}
] |
A nice sample to show, what is possible with xBrowse
|
[
{
"date": "2022-11-13",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[url:q4ijlxyq]https://www.youtube.com/watch?v=Zwlu_FwPFtc[/url:q4ijlxyq] \n[url:q4ijlxyq]https://mybergland.com/fwforum/install_xampp_and_modharbour.exe[/url:q4ijlxyq]\n\n[img:q4ijlxyq]https://mybergland.com/fwforum/installmodhb2.jpg[/img:q4ijlxyq]",
"time": "10:38",
"topic": "A nice sense of achievement",
"username": "Otto"
}
] |
A nice sense of achievement
|
[
{
"date": "2022-11-13",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Otto,\n\nYou are a great mod_harbour ambassador and promoter <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nbig thank you for all you do!",
"time": "21:18",
"topic": "A nice sense of achievement",
"username": "Antonio Linares"
}
] |
A nice sense of achievement
|
[
{
"date": "2009-05-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\n\nI wanted to use the function [color=#FF0000:1nah7vxj]GradientBrush[/color:1nah7vxj] for a transparent Tab-display\nin folders. As long I use a color or a tiled background, there is no problem.\nWith a gradient it shows, the color of the tab-area is not equal with the dialog.\n\nA test-gradient ( direction use .F. = vertical )\naGrad := { { 0.95,8388608,16777215 },{ 0.95,16777215,8388608 } }\n\n[img:1nah7vxj]http://www.pflegeplus.com/pictures/gradpos1.jpg[/img:1nah7vxj]\n\nLike You can see : \nthe calculation to replace the color of the tab-area, starts with the left side of the folder \nuses the left start-color of the dialog. \nIs it possible, to fix this ?\n\nThe same with a Horizontal gradient. The transparent tab-area of the folder must be white\nbut uses the blue from top of the dialog.\n[img:1nah7vxj]http://www.pflegeplus.com/pictures/gradpos3.jpg[/img:1nah7vxj]\n\n\n[code=fw:1nah7vxj]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />...<br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg5 <span style=\"color: #0000ff;\">CENTERED</span> ; <br /><span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> DLG_GRAD<span style=\"color: #000000;\">(</span> oDlg <span style=\"color: #000000;\">)</span> <br /><br /><span style=\"color: #B900B9;\">// ---------- Dialog - Gradient -------------------</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> DLG_GRAD<span style=\"color: #000000;\">(</span> oDlg <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #B900B9;\">// D_DIRECT = Horizontal or Vertical</span><br /><span style=\"color: #B900B9;\">// D_MOVE = Color-Position</span><br /><span style=\"color: #B900B9;\">// D_COLOR1 = 1. Gradient-Color</span><br /><span style=\"color: #B900B9;\">// D_COLOR2 = 2. Gradient-Color</span><br /><br /><span style=\"color: #00C800;\">IF</span> D_DIRECT = <span style=\"color: #000000;\">1</span> <span style=\"color: #B900B9;\">// Gradient direction</span><br /> GradientBrush<span style=\"color: #000000;\">(</span> oDlg, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> D_MOVE, D_COLOR1, D_COLOR2 <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> D_MOVE, D_COLOR2, D_COLOR1 <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>, .T. <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">ELSE</span><br /> GradientBrush<span style=\"color: #000000;\">(</span> oDlg, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> D_MOVE, D_COLOR1, D_COLOR2 <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> D_MOVE, D_COLOR2, D_COLOR1 <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>, .F. <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">RETURN</span><span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #B900B9;\">// --------------------------------</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> GradientBrush<span style=\"color: #000000;\">(</span> oDlg, aColors, lPos <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">local</span> hDC, hBmp, hBmpOld, oBrush<br /><br /><span style=\"color: #00C800;\">if</span> Empty<span style=\"color: #000000;\">(</span> oDlg:<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBitmap</span> <span style=\"color: #000000;\">)</span><br /> hDC = CreateCompatibleDC<span style=\"color: #000000;\">(</span> oDlg:<span style=\"color: #000000;\">GetDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> hBmp = CreateCompatibleBitMap<span style=\"color: #000000;\">(</span> oDlg:<span style=\"color: #000000;\">hDC</span>, oDlg:<span style=\"color: #000000;\">nWidth</span>, oDlg:<span style=\"color: #000000;\">nHeight</span> <span style=\"color: #000000;\">)</span><br /> hBmpOld = SelectObject<span style=\"color: #000000;\">(</span> hDC, hBmp <span style=\"color: #000000;\">)</span><br /> GradientFill<span style=\"color: #000000;\">(</span> hDC, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, oDlg:<span style=\"color: #000000;\">nHeight</span>, oDlg:<span style=\"color: #000000;\">nWidth</span>, aColors, lPos <span style=\"color: #000000;\">)</span><br /> DeleteObject<span style=\"color: #000000;\">(</span> oDlg:<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBrush</span> <span style=\"color: #000000;\">)</span><br /> oDlg:<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBitmap</span> = hBmp<br /> oDlg:<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBrush</span> = CreatePatternBrush<span style=\"color: #000000;\">(</span> hBmp <span style=\"color: #000000;\">)</span> <br /> SelectObject<span style=\"color: #000000;\">(</span> hDC, hBmpOld <span style=\"color: #000000;\">)</span><br /> oDlg:<span style=\"color: #000000;\">ReleaseDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">endif</span> <br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /> </div>[/code:1nah7vxj]\nBest Regards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "16:15",
"topic": "A painting problem Func. GradientBrush and folders ?",
"username": "ukoenig"
}
] |
A painting problem Func. GradientBrush and folders ?
|
[
{
"date": "2012-02-23",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Estoy tratando de compilar con tDolphin me da muchos errores, es la Version de FW el problema?\n\nun Saludo a todos",
"time": "19:43",
"topic": "A partir de que version de FW funciona TDolphin?",
"username": "Miguel Salas"
}
] |
A partir de que version de FW funciona TDolphin?
|
[
{
"date": "2012-02-23",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola...\n\n1. creo que no seria tanto compatibilidad con fivewin sino con [x]Harbour\n\n2. Que version de fivewin estas usando\n\n3. Cuales son los errores que te genera?",
"time": "20:11",
"topic": "A partir de que version de FW funciona TDolphin?",
"username": "Daniel Garcia-Gil"
}
] |
A partir de que version de FW funciona TDolphin?
|
[
{
"date": "2012-02-23",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Daniel..\nxharbour 1.1.0\n\nfw 8.02\n\"sintax error at 'oServer' \"\n\"sintax error at 'aServer' \"\nsaludos",
"time": "23:42",
"topic": "A partir de que version de FW funciona TDolphin?",
"username": "Miguel Salas"
}
] |
A partir de que version de FW funciona TDolphin?
|
[
{
"date": "2012-02-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Miguel\n\nReitero mi peticion por este hilo\n\n[quote=\"Daniel Garcia-Gil\":11du5ot1]Hola\n\nen que linea se genera el error?\npodrias colocar parte del error.log que describa el error... gracias[/quote:11du5ot1]",
"time": "00:22",
"topic": "A partir de que version de FW funciona TDolphin?",
"username": "Daniel Garcia-Gil"
}
] |
A partir de que version de FW funciona TDolphin?
|
[
{
"date": "2012-02-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[code=fw:2rvdlxv1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">FUNCTION</span> ConnectTo<span style=\"color: #000000;\">(</span> n <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> c<br /> <span style=\"color: #00C800;\">LOCAL</span> hIni<br /> <span style=\"color: #00C800;\">LOCAL</span> oServer<br /> <span style=\"color: #00C800;\">LOCAL</span> cServer, cUser, cPassword, nPort, cDBName,nFlags<br /> <span style=\"color: #00C800;\">LOCAL</span> oErr<br /><br /> c = <span style=\"color: #ff0000;\">\"mysql\"</span><br /><br /> <span style=\"color: #00C800;\">if</span> n != <span style=\"color: #00C800;\">NIL</span><br /> c = <span style=\"color: #ff0000;\">\"mysql\"</span> + AllTrim<span style=\"color: #000000;\">(</span> Str<span style=\"color: #000000;\">(</span> n <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /><br /> hIni := HB_ReadIni<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"connect.ini\"</span> <span style=\"color: #000000;\">)</span><br /> oServer := <span style=\"color: #00C800;\">NIL</span><br /> cServer := hIni<span style=\"color: #000000;\">[</span> c <span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"host\"</span><span style=\"color: #000000;\">]</span><br /> cUser := hIni<span style=\"color: #000000;\">[</span> c <span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"user\"</span><span style=\"color: #000000;\">]</span><br /> cPassword := hIni<span style=\"color: #000000;\">[</span> c <span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"psw\"</span><span style=\"color: #000000;\">]</span><br /> nPort := val<span style=\"color: #000000;\">(</span>hIni<span style=\"color: #000000;\">[</span> c <span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"port\"</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span><br /> cDBName := hIni<span style=\"color: #000000;\">[</span> c <span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"dbname\"</span><span style=\"color: #000000;\">]</span><br /> nFlags := val<span style=\"color: #000000;\">(</span>hIni<span style=\"color: #000000;\">[</span> c <span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"flags\"</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">TRY</span><br /> nFlags := <span style=\"color: #000000;\">0</span><br /><br /> CONNECT oServer HOST cServer ; <span style=\"color: #B900B9;\">// aqui marca sintax error at 'oServer'</span><br /> USER cUser ;<br /> PASSWORD cPassword ;<br /> PORT nPort ;<br /> FLAGS nFlags;<br /> DATABASE cDBName<br /><br /> CATCH oErr<br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /> END<br /><br /><span style=\"color: #00C800;\">RETURN</span> oServer<br /><br /><span style=\"color: #00C800;\">FUNCTION</span> ConnectTo2<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> hIni := HB_ReadIni<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"connect.ini\"</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> aServer := <span style=\"color: #000000;\">{</span><span style=\"color: #00C800;\">NIL</span>, <span style=\"color: #00C800;\">NIL</span><span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">LOCAL</span> aHost := <span style=\"color: #000000;\">{</span> hIni<span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"mysql\"</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"host\"</span><span style=\"color: #000000;\">]</span>, hIni<span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"mysql2\"</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"host\"</span><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">}</span> ,;<br /> aUser := <span style=\"color: #000000;\">{</span> hIni<span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"mysql\"</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"user\"</span><span style=\"color: #000000;\">]</span>, hIni<span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"mysql2\"</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"user\"</span><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">}</span>,;<br /> aPassword := <span style=\"color: #000000;\">{</span> hIni<span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"mysql\"</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"psw\"</span><span style=\"color: #000000;\">]</span>, hIni<span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"mysql2\"</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"psw\"</span><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">}</span>,;<br /> aPort := <span style=\"color: #000000;\">{</span> val<span style=\"color: #000000;\">(</span>hIni<span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"mysql\"</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"port\"</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span>, val<span style=\"color: #000000;\">(</span>hIni<span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"mysql2\"</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"port\"</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">}</span>, ;<br /> aDBName := <span style=\"color: #000000;\">{</span> hIni<span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"mysql\"</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"dbname\"</span><span style=\"color: #000000;\">]</span>, hIni<span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"mysql2\"</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"dbname\"</span><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">}</span>,;<br /> aFlags := <span style=\"color: #000000;\">{</span> val<span style=\"color: #000000;\">(</span>hIni<span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"mysql\"</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"flags\"</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span>, val<span style=\"color: #000000;\">(</span>hIni<span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"mysql2\"</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">[</span><span style=\"color: #ff0000;\">\"flags\"</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">LOCAL</span> oError<br /><br /> <span style=\"color: #00C800;\">TRY</span><br /><br /> CONNECT aServer<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span> HOST aHost<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> ; <span style=\"color: #B900B9;\">// \"AQUI MARCA \"SINTAX ERROR AT 'ASERVER' \"</span><br /> USER aUser<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span> ;<br /> PASSWORD aPassword<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span> ;<br /> PORT aPort<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span> ;<br /> FLAGS aFlags<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"CONNECT1\"</span><br /><br /> CONNECT aServer<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span> HOST aHost<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span> ; <span style=\"color: #B900B9;\">// AQUI MARCA \"SINTAX ERROR AT 'ASERVER' \"</span><br /> USER aUser<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span> ;<br /> PASSWORD aPassword<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span> ;<br /> PORT aPort<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span> ;<br /> FLAGS aFlags<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"CONNECT2\"</span><br /><br /> CATCH oError<br /> <span style=\"color: #00C800;\">IF</span> aServer<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span> != <span style=\"color: #00C800;\">NIL</span><br /> aServer<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">nil</span><br /> END<br /><br /><span style=\"color: #00C800;\">RETURN</span> aServer<br /><br /> </div>[/code:2rvdlxv1]\n\n\nSludos Daniel y gracias por tus respuestas\natte Miguel",
"time": "00:28",
"topic": "A partir de que version de FW funciona TDolphin?",
"username": "Miguel Salas"
}
] |
A partir de que version de FW funciona TDolphin?
|
[
{
"date": "2012-02-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Miguel\n\nestas usando la version del SVN?\n\nel error que marca es porque o falta o esta mal el xcommand en el archivo de cabecera tdolphin.ch\n\nverifica que ese comando exista en el ch que tienes, sino existe es porque estas usando una version muy vieja de dolphin y no has actualizado tu codigo del SVN",
"time": "00:38",
"topic": "A partir de que version de FW funciona TDolphin?",
"username": "Daniel Garcia-Gil"
}
] |
A partir de que version de FW funciona TDolphin?
|
[
{
"date": "2012-02-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[code=fw:1zishgcp]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">/*<br /> * $Id: 22-Sep-10 9:27:27 PM tdolphin.ch Z dgarciagil $<br /> */</span><br /> <br /><span style=\"color: #B900B9;\">/*<br /> * TDOLPHIN PROJECT source code:<br /> * Manager MySql server connection<br /> *<br /> * Copyright 2010 Daniel Garcia-Gil<danielgarciagil@gmail.com><br /> * www - <!-- m --><a class=\"postlink\" href=\"http://tdolphin.blogspot.com/\">http://tdolphin.blogspot.com/</a><!-- m --><br /> *<br /> * This program is free software; you can redistribute it and/or modify<br /> * it under the terms of the GNU General Public License as published by<br /> * the Free Software Foundation; either version 2, or (at your option)<br /> * any later version.<br /> *<br /> * This program is distributed in the hope that it will be useful,<br /> * but WITHOUT ANY WARRANTY; without even the implied warranty of<br /> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br /> * GNU General Public License for more details.<br /> *<br /> * You should have received a copy of the GNU General Public License<br /> * along with this software. If not, write to<br /> * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,<br /> * Boston, MA 02111-1307 USA (or visit the web site <!-- m --><a class=\"postlink\" href=\"http://www.gnu.org/\">http://www.gnu.org/</a><!-- m -->).<br /> *<br /> * As a special exception, the tdolphin Project gives permission for<br /> * additional uses of the text contained in its release of tdolphin.<br /> *<br /> * The exception is that, if you link the tdolphin libraries with other<br /> * files to produce an executable, this does not by itself cause the<br /> * resulting executable to be covered by the GNU General Public License.<br /> * Your use of that executable is in no way restricted on account of<br /> * linking the tdolphin library code into it.<br /> *<br /> * This exception does not however invalidate any other reasons why<br /> * the executable file might be covered by the GNU General Public License.<br /> *<br /> * This exception applies only to the code released by the tdolphin<br /> * Project under the name tdolphin. If you copy code from other<br /> * tdolphin Project or Free Software Foundation releases into a copy of<br /> * tdolphin, as the General Public License permits, the exception does<br /> * not apply to the code that you add in this way. To avoid misleading<br /> * anyone as to the status of such modified files, you must delete<br /> * this exception notice from them.<br /> *<br /> * If you write modifications of your own for tdolphin, it is your choice<br /> * whether to permit this exception to apply to your modifications.<br /> * If you do not wish that, delete this exception notice.<br /> *<br /> */</span><br /><br /><span style=\"color: #B900B9;\">// MySQL field types</span><br />#ifndef _TDOLPHIN_CH_<br /><span style=\"color: #00D7D7;\">#define</span> _TDOLPHIN_CH_<br /><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_DECIMAL_TYPE <span style=\"color: #000000;\">0</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_TINY_TYPE <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_SHORT_TYPE <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_LONG_TYPE <span style=\"color: #000000;\">3</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_FLOAT_TYPE <span style=\"color: #000000;\">4</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_DOUBLE_TYPE <span style=\"color: #000000;\">5</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_NULL_TYPE <span style=\"color: #000000;\">6</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_TIMESTAMP_TYPE <span style=\"color: #000000;\">7</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_LONGLONG_TYPE <span style=\"color: #000000;\">8</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_INT24_TYPE <span style=\"color: #000000;\">9</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_DATE_TYPE <span style=\"color: #000000;\">10</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_TIME_TYPE <span style=\"color: #000000;\">11</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_DATETIME_TYPE <span style=\"color: #000000;\">12</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_YEAR_TYPE <span style=\"color: #000000;\">13</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_NEWDATE_TYPE <span style=\"color: #000000;\">14</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_NUMERIC_TYPE <span style=\"color: #000000;\">15</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_ENUMTYPE <span style=\"color: #000000;\">247</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_SET_TYPE <span style=\"color: #000000;\">248</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_TINY_BLOB_TYPE <span style=\"color: #000000;\">249</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_MEDIUM_BLOB_TYPE <span style=\"color: #000000;\">250</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_LONG_BLOB_TYPE <span style=\"color: #000000;\">251</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_BLOB_TYPE <span style=\"color: #000000;\">252</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_VAR_STRING_TYPE <span style=\"color: #000000;\">253</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_STRING_TYPE <span style=\"color: #000000;\">254</span><br /><br />#ifndef MAX_BLOCKSIZE<br /><span style=\"color: #00D7D7;\">#define</span> MAX_BLOCKSIZE <span style=\"color: #000000;\">65535</span><br />#endif<br /><br /><br /><span style=\"color: #B900B9;\">// MySQL field structure </span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_FS_NAME <span style=\"color: #000000;\">1</span> <span style=\"color: #B900B9;\">/* Name of column */</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_FS_TABLE <span style=\"color: #000000;\">2</span> <span style=\"color: #B900B9;\">/* Table of column if column was a field */</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_FS_DEF <span style=\"color: #000000;\">3</span> <span style=\"color: #B900B9;\">/* Default value (set by mysql_list_fields) */</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_FS_TYPE <span style=\"color: #000000;\">4</span> <span style=\"color: #B900B9;\">/* Type of field. Se mysql_com.h for types */</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_FS_LENGTH <span style=\"color: #000000;\">5</span> <span style=\"color: #B900B9;\">/* Width of column */</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_FS_MAXLEN <span style=\"color: #000000;\">6</span> <span style=\"color: #B900B9;\">/* Max width of selected set */</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_FS_FLAGS <span style=\"color: #000000;\">7</span> <span style=\"color: #B900B9;\">/* Div flags */</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_FS_DECIMALS <span style=\"color: #000000;\">8</span> <span style=\"color: #B900B9;\">/* Number of decimals in field */</span><br /><span style=\"color: #00D7D7;\">#define</span> MYSQL_FS_CLIP_TYPE <span style=\"color: #000000;\">9</span> <span style=\"color: #B900B9;\">/* Type of field. clipper field type */</span><br /><br /><span style=\"color: #B900B9;\">// MySQL field flags</span><br /><span style=\"color: #00D7D7;\">#define</span> NOT_NULL_FLAG <span style=\"color: #000000;\">1</span> <span style=\"color: #B900B9;\">/* Field can't be NULL */</span><br /><span style=\"color: #00D7D7;\">#define</span> PRI_KEY_FLAG <span style=\"color: #000000;\">2</span> <span style=\"color: #B900B9;\">/* Field is part of a primary key */</span><br /><span style=\"color: #00D7D7;\">#define</span> UNIQUE_KEY_FLAG <span style=\"color: #000000;\">4</span> <span style=\"color: #B900B9;\">/* Field is part of a unique key */</span><br /><span style=\"color: #00D7D7;\">#define</span> MULTIPLE_KEY_FLAG <span style=\"color: #000000;\">8</span> <span style=\"color: #B900B9;\">/* Field is part of a key */</span><br /><span style=\"color: #00D7D7;\">#define</span> BLOB_FLAG <span style=\"color: #000000;\">16</span> <span style=\"color: #B900B9;\">/* Field is a blob */</span><br /><span style=\"color: #00D7D7;\">#define</span> UNSIGNED_FLAG <span style=\"color: #000000;\">32</span> <span style=\"color: #B900B9;\">/* Field is unsigned */</span><br /><span style=\"color: #00D7D7;\">#define</span> ZEROFILL_FLAG <span style=\"color: #000000;\">64</span> <span style=\"color: #B900B9;\">/* Field is zerofill */</span><br /><span style=\"color: #00D7D7;\">#define</span> BINARY_FLAG <span style=\"color: #000000;\">128</span> <span style=\"color: #B900B9;\">/* Field is binary */</span><br /><span style=\"color: #00D7D7;\">#define</span> ENUM_FLAG <span style=\"color: #000000;\">256</span> <span style=\"color: #B900B9;\">/* field is an enum */</span><br /><span style=\"color: #00D7D7;\">#define</span> AUTO_INCREMENT_FLAG <span style=\"color: #000000;\">512</span> <span style=\"color: #B900B9;\">/* field is a autoincrement field */</span><br /><span style=\"color: #00D7D7;\">#define</span> TIMESTAMP_FLAG <span style=\"color: #000000;\">1024</span> <span style=\"color: #B900B9;\">/* Field is a timestamp */</span><br /><span style=\"color: #00D7D7;\">#define</span> PART_KEY_FLAG <span style=\"color: #000000;\">16384</span> <span style=\"color: #B900B9;\">/* Intern; Part of some key */</span><br /><span style=\"color: #00D7D7;\">#define</span> GROUP_FLAG <span style=\"color: #000000;\">32768</span> <span style=\"color: #B900B9;\">/* Intern group field */</span><br /><br /><br /><span style=\"color: #00D7D7;\">#define</span> DBS_NOTNULL <span style=\"color: #000000;\">5</span> <span style=\"color: #B900B9;\">/* True if field has to be NOT NULL */</span><br /><span style=\"color: #00D7D7;\">#define</span> DBS_DEFAULT <span style=\"color: #000000;\">6</span> <span style=\"color: #B900B9;\">/* Field Value by default */</span><br /><br /><br /><span style=\"color: #B900B9;\">//Create index</span><br /><span style=\"color: #00D7D7;\">#define</span> IDX_UNIQUE <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00D7D7;\">#define</span> IDX_FULLTEXT <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00D7D7;\">#define</span> IDX_SPATIAL <span style=\"color: #000000;\">3</span><br /><span style=\"color: #00D7D7;\">#define</span> IDX_PRIMARY <span style=\"color: #000000;\">4</span><br /> <br /><span style=\"color: #00D7D7;\">#define</span> IDX_ASC <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00D7D7;\">#define</span> IDX_DES <span style=\"color: #000000;\">2</span><br /> <br /><span style=\"color: #00D7D7;\">#define</span> IDX_BTREE <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00D7D7;\">#define</span> IDX_HASH <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00D7D7;\">#define</span> IDX_RTREE <span style=\"color: #000000;\">3</span><br /><br /><span style=\"color: #B900B9;\">// </span><br /><span style=\"color: #00D7D7;\">#define</span> IS_PRIMARY_KEY<span style=\"color: #000000;\">(</span> uValue <span style=\"color: #000000;\">)</span> MyAND<span style=\"color: #000000;\">(</span> uValue, PRI_KEY_FLAG <span style=\"color: #000000;\">)</span> == PRI_KEY_FLAG <br /><span style=\"color: #00D7D7;\">#define</span> IS_MULTIPLE_KEY<span style=\"color: #000000;\">(</span> uValue <span style=\"color: #000000;\">)</span> MyAND<span style=\"color: #000000;\">(</span> uValue, MULTIPLE_KEY_FLAG <span style=\"color: #000000;\">)</span> == MULTIPLE_KEY_FLAG<br /><span style=\"color: #00D7D7;\">#define</span> IS_AUTO_INCREMENT<span style=\"color: #000000;\">(</span> uValue <span style=\"color: #000000;\">)</span> MyAND<span style=\"color: #000000;\">(</span> uValue, AUTO_INCREMENT_FLAG <span style=\"color: #000000;\">)</span> == AUTO_INCREMENT_FLAG<br /><span style=\"color: #00D7D7;\">#define</span> IS_NOT_NULL<span style=\"color: #000000;\">(</span> uValue <span style=\"color: #000000;\">)</span> MyAND<span style=\"color: #000000;\">(</span> uValue, NOT_NULL_FLAG <span style=\"color: #000000;\">)</span> == NOT_NULL_FLAG<br /><br /><span style=\"color: #B900B9;\">// SET NEW FILTER</span><br /><span style=\"color: #00D7D7;\">#define</span> SET_WHERE <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00D7D7;\">#define</span> SET_GROUP <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00D7D7;\">#define</span> SET_HAVING <span style=\"color: #000000;\">3</span><br /><span style=\"color: #00D7D7;\">#define</span> SET_ORDER <span style=\"color: #000000;\">4</span><br /><span style=\"color: #00D7D7;\">#define</span> SET_LIMIT <span style=\"color: #000000;\">5</span><br /><br /><span style=\"color: #B900B9;\">//Privileges type</span><br /><span style=\"color: #00D7D7;\">#define</span> PRIV_ADMIN <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00D7D7;\">#define</span> PRIV_DATA <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00D7D7;\">#define</span> PRIV_TABLE <span style=\"color: #000000;\">3</span><br /><span style=\"color: #00D7D7;\">#define</span> PRIV_ALL <span style=\"color: #000000;\">4</span><br /><br /><span style=\"color: #B900B9;\">//Backup Status process</span><br /><span style=\"color: #00D7D7;\">#define</span> ST_STARTBACKUP <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00D7D7;\">#define</span> ST_LOADINGTABLE <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00D7D7;\">#define</span> ST_ENDBACKUP <span style=\"color: #000000;\">3</span><br /><span style=\"color: #00D7D7;\">#define</span> ST_BACKUPCANCEL <span style=\"color: #000000;\">0</span><br /><span style=\"color: #00D7D7;\">#define</span> ST_FILLBACKUP <span style=\"color: #000000;\">4</span><br /><br /><span style=\"color: #B900B9;\">//Restore Process </span><br /><span style=\"color: #00D7D7;\">#define</span> ST_STARTRESTORE <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00D7D7;\">#define</span> ST_LOADING <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00D7D7;\">#define</span> ST_RESTORING <span style=\"color: #000000;\">3</span><br /><span style=\"color: #00D7D7;\">#define</span> ST_ENDRESTORE <span style=\"color: #000000;\">4</span><br /><span style=\"color: #00D7D7;\">#define</span> ST_RSTCANCEL <span style=\"color: #000000;\">0</span><br /><br /><span style=\"color: #B900B9;\">//export</span><br /><span style=\"color: #00D7D7;\">#define</span> EXP_TEXT <span style=\"color: #000000;\">1</span> <br /><span style=\"color: #00D7D7;\">#define</span> EXP_EXCEL <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00D7D7;\">#define</span> EXP_DBF <span style=\"color: #000000;\">3</span><br /><span style=\"color: #00D7D7;\">#define</span> EXP_HTML <span style=\"color: #000000;\">4</span><br /><span style=\"color: #00D7D7;\">#define</span> EXP_WORD <span style=\"color: #000000;\">5</span><br /><span style=\"color: #00D7D7;\">#define</span> EXP_SQL <span style=\"color: #000000;\">6</span><br /><br /><br /><br />#ifndef __XHARBOUR__<br />#xcommand <span style=\"color: #00C800;\">TRY</span> => BEGIN SEQUENCE WITH <span style=\"color: #000000;\">{</span>|oErr| <span style=\"color: #00C800;\">Break</span><span style=\"color: #000000;\">(</span> oErr <span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">}</span><br />#xcommand CATCH <span style=\"color: #000000;\">[</span><!oErr!><span style=\"color: #000000;\">]</span> => RECOVER <span style=\"color: #000000;\">[</span>USING <oErr><span style=\"color: #000000;\">]</span> <-oErr-><br />#xcommand FINALLY => ALWAYS <br /><br />#xtranslate hb_ReadIni<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">[</span><x,...><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span> => hb_IniRead<span style=\"color: #000000;\">(</span><x><span style=\"color: #000000;\">)</span><br />#xtranslate HASH<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">[</span><x,...><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span> => hb_HASH<span style=\"color: #000000;\">(</span><x><span style=\"color: #000000;\">)</span><br />#xtranslate HGETPOS<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">[</span><x,...><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span> => hb_HPOS<span style=\"color: #000000;\">(</span><x><span style=\"color: #000000;\">)</span><br />#xtranslate HSET<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">[</span><x,...><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span> => hb_HSET<span style=\"color: #000000;\">(</span><x><span style=\"color: #000000;\">)</span><br />#xtranslate HSETCASEMATCH<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">[</span><x,...><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span> => hb_HSETCASEMATCH<span style=\"color: #000000;\">(</span><x><span style=\"color: #000000;\">)</span><br />#xtranslate HCLONE<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">[</span><x,...><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span> => hb_HCLONE<span style=\"color: #000000;\">(</span><x><span style=\"color: #000000;\">)</span><br />#xtranslate HGETKEYS<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">[</span><x,...><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span> => hb_HKEYS<span style=\"color: #000000;\">(</span><x><span style=\"color: #000000;\">)</span> <br /><br /><br /><span style=\"color: #B900B9;\">//#include \"hbcompat.ch\"</span><br />#ifndef RGB<br /><span style=\"color: #00D7D7;\">#define</span> RGB<span style=\"color: #000000;\">(</span> nR,nG,nB <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">(</span> nR + <span style=\"color: #000000;\">(</span> nG * <span style=\"color: #000000;\">256</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #000000;\">(</span> nB * <span style=\"color: #000000;\">256</span> * <span style=\"color: #000000;\">256</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br />#endif <span style=\"color: #B900B9;\">/*RGB*/</span><br />#endif<span style=\"color: #B900B9;\">/*__HARBOUR__*/</span><br /><br /><span style=\"color: #B900B9;\">//-------------------</span><br /><br />#xcommand SET CASESENSITIVE <on:<span style=\"color: #0000ff;\">ON</span>,OFF> => D_SetCaseSensitive<span style=\"color: #000000;\">(</span> Upper<span style=\"color: #000000;\">(</span><<span style=\"color: #000000;\">(</span><span style=\"color: #0000ff;\">on</span><span style=\"color: #000000;\">)</span>><span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"ON\"</span> <span style=\"color: #000000;\">)</span><br />#xcommand SET PADRIGHT <on:<span style=\"color: #0000ff;\">ON</span>,OFF> => D_SetPadRight<span style=\"color: #000000;\">(</span> Upper<span style=\"color: #000000;\">(</span><<span style=\"color: #000000;\">(</span><span style=\"color: #0000ff;\">on</span><span style=\"color: #000000;\">)</span>><span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"ON\"</span> <span style=\"color: #000000;\">)</span><br />#xcommand SET LOGICALVALUE <on:<span style=\"color: #0000ff;\">ON</span>,OFF> => D_LogicalValue<span style=\"color: #000000;\">(</span> Upper<span style=\"color: #000000;\">(</span><<span style=\"color: #000000;\">(</span><span style=\"color: #0000ff;\">on</span><span style=\"color: #000000;\">)</span>><span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"ON\"</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #B900B9;\">//-------------------</span><br /><br />#xcommand CLOSEMYSQL ALL => _CloseHosts<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"ALL\"</span> <span style=\"color: #000000;\">)</span><br />#xcommand CLOSEMYSQL <span style=\"color: #00C800;\">SERVER</span> <on> => _CloseHosts<span style=\"color: #000000;\">(</span> <on> <span style=\"color: #000000;\">)</span><br />#xcommand SELECTSERVER <uParam> => _SelectHost<span style=\"color: #000000;\">(</span> <uParam> <span style=\"color: #000000;\">)</span><br />#xcommand BEGINMYSQL <span style=\"color: #000000;\">[</span> TRANSACTION <span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">[</span><oServer><span style=\"color: #000000;\">]</span> => _BeginTransaction<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">[</span><oServer><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span><br />#xcommand COMMITMYSQL <span style=\"color: #000000;\">[</span><oServer><span style=\"color: #000000;\">]</span> => _CommitTransaction<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">[</span><oServer><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span> <br />#xcommand ROLLBACKMYSQL <span style=\"color: #000000;\">[</span><oServer><span style=\"color: #000000;\">]</span> => _RollBack<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">[</span><oServer><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span> <br /><br /><span style=\"color: #B900B9;\">//-------------------</span><br />#xcommand CONNECT <span style=\"color: #000000;\">[</span> <srv: <span style=\"color: #00C800;\">SERVER</span>, MYSQL, OF> <span style=\"color: #000000;\">]</span> <oServer> ;<br /> HOST <cHost> ;<br /> USER <cUser> ;<br /> PASSWORD <cPassword>;<br /> <span style=\"color: #000000;\">[</span> PORT <nPort> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #000000;\">[</span> FLAGS <nFlags> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #000000;\">[</span> DATABASE <cDBName> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #000000;\">[</span> <span style=\"color: #0000ff;\">ON</span> ERROR <uOnError> <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <span style=\"color: #0000ff;\">NAME</span> <cName> <span style=\"color: #000000;\">]</span>;<br /> => ;<br /> <oServer> := TDolphinSrv<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> <cHost>, <cUser>, <cPassword>, <nPort>, ;<br /> <nFlags>, <cDBName>, <span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">{</span>| <span style=\"color: #00C800;\">Self</span>, nError, lInternal, cExtra | <uOnError> <span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">]</span>, <span style=\"color: #000000;\">[</span> <cName> <span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span><br /><br /><br /><span style=\"color: #B900B9;\">//-------------------</span><br /><br />#xcommand CONNECT EMBEDDED <span style=\"color: #000000;\">[</span> <srv: <span style=\"color: #00C800;\">SERVER</span>, MYSQL, OF> <span style=\"color: #000000;\">]</span> <oServer> ;<br /> <span style=\"color: #000000;\">[</span> DATABASE <cDBName> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #000000;\">[</span> OPTIONS <options,...> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #000000;\">[</span> GROUPS <groups,...> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #000000;\">[</span> <span style=\"color: #0000ff;\">ON</span> ERROR <uOnError> <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <span style=\"color: #0000ff;\">NAME</span> <cName> <span style=\"color: #000000;\">]</span>;<br /> => ;<br /> <oServer> := TDolphinSrv<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #000000;\">Embedded</span><span style=\"color: #000000;\">(</span> <cDBName>, \\<span style=\"color: #000000;\">{</span><options>\\<span style=\"color: #000000;\">}</span>, \\<span style=\"color: #000000;\">{</span><groups>\\<span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">{</span>| <span style=\"color: #00C800;\">Self</span>, nError, lInternal, cExtra | <uOnError> <span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">]</span>, <span style=\"color: #000000;\">[</span> <cName> <span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #B900B9;\">//-------------------</span><br /><br />#xcommand <span style=\"color: #0000ff;\">DEFINE</span> QUERY <oQuery> <span style=\"color: #000000;\">[</span> <cQuery> <span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">[</span> <srv: <span style=\"color: #0000ff;\">OF</span>, <span style=\"color: #00C800;\">SERVER</span>, HOST> <uServer> <span style=\"color: #000000;\">]</span>;<br /> => ;<br /> <oQuery> := TDolphinQry<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">[</span> <cQuery> <span style=\"color: #000000;\">]</span>,<span style=\"color: #000000;\">[</span> <uServer> <span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #B900B9;\">//-------------------</span><br /><br />#xcommand SELECTDB <cdb> <srv: <span style=\"color: #00C800;\">SERVER</span>, MYSQL, OF> <oServer>;<br /> => ;<br /> <oServer>:<span style=\"color: #000000;\">SelectDB</span><span style=\"color: #000000;\">(</span> <cdb> <span style=\"color: #000000;\">)</span><br /><br />#xcommand SELECTDB <cdb>;<br /> => ;<br /> GetServerDefault<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #000000;\">SelectDB</span><span style=\"color: #000000;\">(</span> <cdb> <span style=\"color: #000000;\">)</span><br /> <br /><span style=\"color: #B900B9;\">//-------------------</span><br /> <br />#xcommand INSERTMYSQL <span style=\"color: #0000ff;\">TO</span> <ctable> ;<br /> COLUMNS <acolumns,...> ;<br /> VALUES <avalues,...>;<br /> <span style=\"color: #000000;\">[</span> <srv: <span style=\"color: #0000ff;\">OF</span>, <span style=\"color: #00C800;\">SERVER</span>, HOST><oServer> <span style=\"color: #000000;\">]</span>;<br /> => ;<br /> _InsertMySql<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">[</span><oServer><span style=\"color: #000000;\">]</span>, <ctable>, <span style=\"color: #000000;\">{</span><acolumns><span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span><avalues><span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #B900B9;\">//------------------- </span><br /> <br />#xcommand UPDATEMYSQL <span style=\"color: #0000ff;\">TO</span> <ctable> ;<br /> COLUMNS <acolumns,...> ;<br /> VALUES <avalues,...>;<br /> <span style=\"color: #000000;\">[</span> <srv: <span style=\"color: #0000ff;\">OF</span>, <span style=\"color: #00C800;\">SERVER</span>, HOST><oServer> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #000000;\">[</span> <span style=\"color: #0000ff;\">WHERE</span> <cWhere> <span style=\"color: #000000;\">]</span>;<br /> => ;<br /> _UpdateMysql<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">[</span> <oServer> <span style=\"color: #000000;\">]</span>, <ctable>, <span style=\"color: #000000;\">{</span><acolumns><span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span><avalues><span style=\"color: #000000;\">}</span>, <cWhere> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #B900B9;\">//------------------- </span><br /><br />#xcommand BACKUPMYSQL TABLES <aTables,...>;<br /> FILE <cFile>;<br /> <span style=\"color: #000000;\">[</span> <srv: <span style=\"color: #0000ff;\">OF</span>, <span style=\"color: #00C800;\">SERVER</span>, HOST><oServer> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #000000;\">[</span> < lDrop: <span style=\"color: #000000;\">DROP</span> > <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #000000;\">[</span> < lOverwrite: <span style=\"color: #000000;\">OVERWRITE</span> > <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #000000;\">[</span> STEP <nStep> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #000000;\">[</span> HEADER <cHeader> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #000000;\">[</span> FOOTER <cFooter> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #000000;\">[</span> <lCan: <span style=\"color: #000000;\">CANCEL</span>> <lCancel> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #000000;\">[</span> <span style=\"color: #0000ff;\">ON</span> BACKUP <uOnBackup> <span style=\"color: #000000;\">]</span>;<br /> =>;<br /> _BackUpMysql<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">[</span> <oServer> <span style=\"color: #000000;\">]</span>, <span style=\"color: #000000;\">{</span><aTables><span style=\"color: #000000;\">}</span>, <cFile>, <span style=\"color: #000000;\">[</span><.lDrop.><span style=\"color: #000000;\">]</span>, <span style=\"color: #000000;\">[</span><.lOverwrite.><span style=\"color: #000000;\">]</span>, ;<br /> <span style=\"color: #000000;\">[</span><nStep><span style=\"color: #000000;\">]</span>, <span style=\"color: #000000;\">[</span><cHeader><span style=\"color: #000000;\">]</span>, <span style=\"color: #000000;\">[</span><cFooter><span style=\"color: #000000;\">]</span>, <span style=\"color: #000000;\">[</span><span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> <.lCan.>, @<lCancel>,<span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">]</span>,;<br /> <span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">{</span>| nStatus, cTabFile, nTotTable, nCurrTable, nRecNo | <uOnBackup> <span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span><br /> <br /><span style=\"color: #B900B9;\">//------------------- </span><br /><br />#xcommand RESTOREMYSQL FILE <cFile>;<br /> <span style=\"color: #000000;\">[</span> <srv: <span style=\"color: #0000ff;\">OF</span>, <span style=\"color: #00C800;\">SERVER</span>, HOST><oServer> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #000000;\">[</span> <lCan: <span style=\"color: #000000;\">CANCEL</span>> <lCancel> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #000000;\">[</span> <span style=\"color: #0000ff;\">ON</span> RESTORE <uOnRestore> <span style=\"color: #000000;\">]</span>;<br /> =>;<br /> _RestoreMysql<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">[</span> <oServer> <span style=\"color: #000000;\">]</span>, ;<br /> <cFile>,;<br /> <span style=\"color: #000000;\">[</span><span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> <.lCan.>, @<lCancel>,<span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">]</span>,;<br /> <span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">{</span>| nStatus, cTable, nTotLine, nIdx | <uOnRestore> <span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span> <br /> <br /><span style=\"color: #B900B9;\">//------------------- </span><br /><br />#xcommand EXECUTEESCRIPT FILE <cFile>;<br /> <span style=\"color: #000000;\">[</span> <srv: <span style=\"color: #0000ff;\">OF</span>, <span style=\"color: #00C800;\">SERVER</span>, HOST><oServer> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #000000;\">[</span> <span style=\"color: #0000ff;\">ON</span> SCRIPT <uOnScript> <span style=\"color: #000000;\">]</span>; <br /> =>;<br /> _ExecuteScript<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">[</span> <oServer> <span style=\"color: #000000;\">]</span>, ;<br /> <cFile>, <span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">{</span>| nID, nTotal | <uOnScript> <span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span> <br /> <br />#xcommand SELECTTABLES <span style=\"color: #0000ff;\">TO</span> <oQuery>;<br /> TABLES <cTable,...>;<br /> <span style=\"color: #000000;\">[</span> COLUMNS <cColumns,...> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #000000;\">[</span> <span style=\"color: #0000ff;\">WHERE</span> <cWhere> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #000000;\">[</span> GROUP <cGroup> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #000000;\">[</span> HAVING <cHaving> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #000000;\">[</span> <span style=\"color: #0000ff;\">ORDER BY</span> <cOrder> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #000000;\">[</span> LIMIT <cLimit> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #000000;\">[</span> <lWithRoll: <span style=\"color: #000000;\">WITROLL</span>> <span style=\"color: #000000;\">]</span>;<br /> <span style=\"color: #000000;\">[</span> <srv: <span style=\"color: #0000ff;\">OF</span>, <span style=\"color: #00C800;\">SERVER</span>, HOST><oServer> <span style=\"color: #000000;\">]</span>;<br /> =>;<br /> <oQuery> := _SelectTable<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">[</span><oServer><span style=\"color: #000000;\">]</span>, <span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">{</span><cColumns><span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">]</span>, <span style=\"color: #000000;\">{</span><cTable><span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">[</span><cWhere><span style=\"color: #000000;\">]</span>,;<br /> <span style=\"color: #000000;\">[</span><cGroup><span style=\"color: #000000;\">]</span>, <span style=\"color: #000000;\">[</span><cOrder><span style=\"color: #000000;\">]</span>, <span style=\"color: #000000;\">[</span><cLimit><span style=\"color: #000000;\">]</span>, <span style=\"color: #000000;\">[</span><.lWithRoll.><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span><br />#endif <span style=\"color: #B900B9;\">//_TDOLPHIN_CH_ </span></div>[/code:1zishgcp]\n\nSi lo trae mas no se si este incoorrecto... te dejo el codigo",
"time": "01:03",
"topic": "A partir de que version de FW funciona TDolphin?",
"username": "Miguel Salas"
}
] |
A partir de que version de FW funciona TDolphin?
|
[
{
"date": "2012-02-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Miguel\n\nel ejemplo funciona perfectamente... seguro tienes mal rutado el .CH apuntando hacia otro CH mas viejo, verifica pq el error no esta en el ejemplo ni en dolphin\n\nsi quieres puedo ayudarte por teamviewer, te envie una invitacion para hablar por el chat de gmail",
"time": "01:25",
"topic": "A partir de que version de FW funciona TDolphin?",
"username": "Daniel Garcia-Gil"
}
] |
A partir de que version de FW funciona TDolphin?
|
[
{
"date": "2012-02-28",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Mi sincero agradecimiento a Daniel por su valioso apoyo.\nHe empezado a moverme en estos mares.\n\nSaludos..\nAttte Miguel Salas",
"time": "20:55",
"topic": "A partir de que version de FW funciona TDolphin?",
"username": "Miguel Salas"
}
] |
A partir de que version de FW funciona TDolphin?
|
[
{
"date": "2019-08-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\n\nit seems there is no working solution. <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \nI think it is a nice solution to create multilanguage tools.\nThis is a part of the desktop-alarm tool I created.\n\nOnce again in short the final solution I need :\n[color=#0000FF:1hk00ekw]4 browser using one DBF[/color:1hk00ekw]\n\nThe first browser is showíng only the top record ( english ) as a refrence with header.\nThe second browser is used for the language selection ( could be used for translation as well )\n-- browser 1 should be synchronously to browser 2 ( header-display )\n-- it means moving cells and header in browser 1 related to browser 2 movements\nThe third browser shows the structure and only the fields of record 1 ( english ) \nThe fourth browser is needed for translation with a skipping-option\nThe fields of browser 3 and 4 should work synchronously \n\nPossible to change the fieldsize if the field is to short\n\nDOWNLOAD ( full test )\n<!-- m --><a class=\"postlink\" href=\"http://www.pflegeplus.com/FWH_Downloads/Translate.zip\">http://www.pflegeplus.com/FWH_Downloads/Translate.zip</a><!-- m -->\n\ntesting translations\n\n[img:1hk00ekw]http://www.pflegeplus.com/IMAGES/Translate1.jpg[/img:1hk00ekw]\n\n[color=#0000FF:1hk00ekw][b:1hk00ekw]First tests :[/b:1hk00ekw][/color:1hk00ekw]\n\nmaybe possible to complete the exsample with the defined logic\n\nregards Uwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "13:37",
"topic": "A possible MULTIBROWSE of one DBF ? ( test incl. )",
"username": "ukoenig"
}
] |
A possible MULTIBROWSE of one DBF ? ( test incl. )
|
[
{
"date": "2019-08-26",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Uwe,\n\nJust open four copies of a database object that uses the DBF you wish. Each copy is independent of the others. This works just like it would on a LAN with multiple users.\n\noDBF1 := TDatabase():New(,\"cFilename\")\noDBF1:use()\n\noDBF2 := TDatabase():New(,\"cFilename\")\noDBF2:use()\n\n...\n\nThen use oDBF1:bSkip:= {...} to coordinate movements between two browses.\n\nJames",
"time": "17:33",
"topic": "A possible MULTIBROWSE of one DBF ? ( test incl. )",
"username": "James Bott"
}
] |
A possible MULTIBROWSE of one DBF ? ( test incl. )
|
[
{
"date": "2019-08-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "James thank You \nnow it works in all directions\nJust one little problem :\nthe rows of browser 2 and 3 are drifting apart after a new field selection ( picture 1).\nCould it be possible to force them to show the result with the same row-position ( picture 2 ) ?\nStill a focus-adjustment is needed in browser 1 ( 3. column = focus on selected field )\n\n[img:16w31i17]http://www.pflegeplus.com/IMAGES/Translate6.jpg[/img:16w31i17]\n\nregards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "14:39",
"topic": "A possible MULTIBROWSE of one DBF ? ( test incl. )",
"username": "ukoenig"
}
] |
A possible MULTIBROWSE of one DBF ? ( test incl. )
|
[
{
"date": "2019-10-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\n\nis it possible to make a little hight-adjustment of the imagesize\nclose to the top using a GET with action ?\nWith a background-color it doesn't look very nice.\nI'm using it for a color-selection.\n\nin METHOD CreateButton() CLASS TGet\nI noticed everywhere < ::nHeight - 4 >\n\n[img:2hti5rhq]http://www.pflegeplus.com/IMAGES/Getact1.jpg[/img:2hti5rhq]\n\nI tested\n[color=#0000FF:2hti5rhq]oCGet[2]:lAdjustBtn := .T.[/color:2hti5rhq]\nbut no difference\n\n@ 35, 50 GET oCGet[2] VAR cGet[2] SIZE 80, 18 OF oDlg2 COLOR 0, nBColorB UPDATE ;\nBITMAP c_Path1 + \"Help.bmp\" PIXEL ;\nACTION ( nBColorB := ChooseColor( nBColorB ), oCGet[2]:SetColor( , nBColorB ), ;\noWnd:Refresh(), oDlg2:Refresh() )\n\nbest gegards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "07:31",
"topic": "A possible adjustment of a GET-action bmp ?",
"username": "ukoenig"
}
] |
A possible adjustment of a GET-action bmp ?
|
[
{
"date": "2019-10-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I have asked this topic many times, but if a topic interests no one you will not have an answer.\n Then in a few months or a few years when someone is interested you will have the answer !!",
"time": "09:34",
"topic": "A possible adjustment of a GET-action bmp ?",
"username": "Silvio.Falconi"
}
] |
A possible adjustment of a GET-action bmp ?
|
[
{
"date": "2019-10-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Silvio,\n\nin class tGet line 963\nI moved the bmp 2 pixel to the top and adjusted the height\nthat seems to work\n\nif ! IsAppThemed()\n ::oBtn:SetPos( [color=#0000FF:rp7cpcaz]-2[/color:rp7cpcaz], ::oBtn:nLeft + 2 ) \n [color=#0000FF:rp7cpcaz]::oBtn:nHeight = ::nHeight + 2[/color:rp7cpcaz] // otherwise You get space at the bottom\nendif[/color]\n\n[img:rp7cpcaz]http://www.pflegeplus.com/IMAGES/Testget2.jpg[/img:rp7cpcaz]\n\ntransparent-test\n\n[img:rp7cpcaz]http://www.pflegeplus.com/IMAGES/Testget3.jpg[/img:rp7cpcaz]\n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "19:22",
"topic": "A possible adjustment of a GET-action bmp ?",
"username": "ukoenig"
}
] |
A possible adjustment of a GET-action bmp ?
|
[
{
"date": "2019-10-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Uwe\nI round the soluzione on last Summer but when you use resources not run\nIt 's good if It Is changed from linares",
"time": "21:40",
"topic": "A possible adjustment of a GET-action bmp ?",
"username": "Silvio.Falconi"
}
] |
A possible adjustment of a GET-action bmp ?
|
[
{
"date": "2019-10-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Uwe\nI round the soluzione on last Summer but when you use resources not run\nIt 's good if It Is changed from linares",
"time": "21:40",
"topic": "A possible adjustment of a GET-action bmp ?",
"username": "Silvio.Falconi"
}
] |
A possible adjustment of a GET-action bmp ?
|
[
{
"date": "2019-10-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Silvio,\n\n[quote:3hl53cu4]I round the soluzione on last Summer but when you use resources not run[/quote:3hl53cu4]\na RESOURCE-test color and transparent\nmy solution works as well it looks perfect now\n\n[quote:3hl53cu4]It 's good if It Is changed from linares[/quote:3hl53cu4]\nmaybe Antonio can check it \nit is just a little change\n\n[img:3hl53cu4]http://www.pflegeplus.com/IMAGES/Testget4.jpg[/img:3hl53cu4]\n\nDEFINE DIALOG oDlg2 RESOURCE \"Test\" PIXEL ;\nSTYLE WS_POPUP \n\nREDEFINE GET oCGet[1] VAR cGet[1] ID 110 BITMAP c_Path1 + \"Help.bmp\" ;\nACTION ( nBColorB := ChooseColor( nBColorB ), oCGet[1]:SetColor( , nBColorB ) ) ;\nCOLOR CLR_BLACK, nBColorB of oDlg2 \n\nREDEFINE GET oCGet[2] VAR cGet[2] ID 120 BITMAP c_Path1 + \"Help.bmp\" ;\nACTION ( nBColorF := ChooseColor( nBColorF ), oCGet[2]:SetColor( , nBColorF ) ) ;\nCOLOR CLR_BLACK, nBColorF of oDlg2 \noCGet[2]:lBtnTransparent := .T.\n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "08:06",
"topic": "A possible adjustment of a GET-action bmp ?",
"username": "ukoenig"
}
] |
A possible adjustment of a GET-action bmp ?
|
[
{
"date": "2019-10-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Uwe,\nmy arms have fallen out because often old errors come out that should have already been corrected in old versions of fivewin and every time we start again\n\nI'm sorry Uwe but lately there are too many classes that don't work as they should: rpreview, btnbmp, get btn, .....\n\nOften I have to recompile old applications if I make a small change and always find problems.\n\n[b:2xptvazp]Tget[/b:2xptvazp]\n I have already asked the forum about the problem of tget and button since last year and no one has solved it, of course I could change the source but then I should change it for another program and at the new version of fwh I have to return again because often on the forum someone finds the solutions but then whoever recompiles the libraries doesn't make the changes made.\n\n[b:2xptvazp]BTnbmp[/b:2xptvazp]\nthis summer I raised the problem of the btnbmp class, when it is pressed many times as if you were playing \"super Invader\" and you have to shoot continuously, an error \":: end ()\" comes out blocking the application.\n\n[b:2xptvazp]Rpreview[/b:2xptvazp]\nFor the latest changes I do not know from whom rpreview does not work as it should (style 2007 in windows 10 etc.) and every time I have to recompile one of my sources to override the class.\n\nI have only mentioned a few problems that I have recently encountered but there are so many that at this moment I don't remember well",
"time": "08:51",
"topic": "A possible adjustment of a GET-action bmp ?",
"username": "Silvio.Falconi"
}
] |
A possible adjustment of a GET-action bmp ?
|
[
{
"date": "2009-07-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\n\nTesting the Class BtnBmp, The Bar-display on [color=#FF0000:2kobi24g]RIGHT[/color:2kobi24g] and [color=#FF0000:2kobi24g]LEFT[/color:2kobi24g] Position doesn't look very nice.\n\nIn Class BtnBmp there is a line :\nGradientFill( ::hDC, nAdjustBorder,nAdjustBorder, ::nHeight-nAdjustBorder, ::nWidth-nAdjustBorder, ::aGrad ) \nIt shows a Bar like :\n[img:2kobi24g]http://www.pflegeplus.com/pictures/Rightb1.jpg[/img:2kobi24g]\n\nChanged to :\nGradientFill( ::hDC, nAdjustBorder,nAdjustBorder, ::nHeight-nAdjustBorder, ::nWidth-nAdjustBorder, ::aGrad, [color=#FF0000:2kobi24g].F.[/color:2kobi24g] )\nIt shows a Bar like :\n[img:2kobi24g]http://www.pflegeplus.com/pictures/Rightb2.jpg[/img:2kobi24g]\nThere seems to be still another Gradient at the Bottom to be adjusted.\nIt comes much closer to a defined Position [color=#FF0000:2kobi24g]TOP[/color:2kobi24g]\n[img:2kobi24g]http://www.pflegeplus.com/pictures/Rightb3.jpg[/img:2kobi24g]\n\nMaybe it is possible to define a different GradientFill for Position [color=#FF0000:2kobi24g]RIGHT[/color:2kobi24g] and[color=#BF0000:2kobi24g] LEFT [/color:2kobi24g]?\n\nBest Regards\nUwe <!-- s:roll: --><img src=\"{SMILIES_PATH}/icon_rolleyes.gif\" alt=\":roll:\" title=\"Rolling Eyes\" /><!-- s:roll: -->",
"time": "10:03",
"topic": "A possible change in Class BtnBmp ?",
"username": "ukoenig"
}
] |
A possible change in Class BtnBmp ?
|
[
{
"date": "2013-10-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\n\nI have some small problems, to change TTitle-settings / options\nat RUNTIME within my TTITLE-painter-section ( some more selections will be added ).\nIs it possible to do a complete RESET of all settings before\npainting new selections ?\nAs well I noticed : a BRUSH without SHADOW is not painted.\nI still need to detect TTitle-width and height from RESOURCE to \ndo the calculations for text- and Image-adjustments.\n[color=#0000FF:3hbanklg][b:3hbanklg]aRect := GETCLIENTRECT( oTitle:hWnd )[/b:3hbanklg][/color:3hbanklg] returns [color=#FF0000:3hbanklg][b:3hbanklg]0[/b:3hbanklg][/color:3hbanklg] at startup\n\nI used ( before showing a new selection ) :\n\n[color=#0000FF:3hbanklg]oTitle:lBase := .F. \noTitle:aGrdBack := {} \noTitle:aGrdBase := {}\noTitle:lBorder := .F.\noTitle:nShadow := 0\n// NO_SHADOW 0x00\n// UP_LEFT_SHADOW 0x01\n// UP_RIGHT_SHADOW 0x02\n// DOWN_LEFT_SHADOW 0x03\n// DOWN_RIGHT_SHADOW 0x04\noTitle:lTransparent := .F.\t\noTitle:lRound := .F.\noTitle:lVertical := .T.\noTitle:nClrLine1 := RGB( 141, 178, 227 )\noTitle:nClrLine2 := RGB( 237, 242, 248 )[/color:3hbanklg]\n\n[color=#FF0000:3hbanklg]oTitle:Refresh()[/color:3hbanklg]\n\n[color=#008040:3hbanklg]// some NEW SELECTIONS :\n\nIF nTShadow > 0 // from selection !!!\n oTitle:nShadow := nTShadow\n\toTitle:nXOffSetShadow := 20\n\toTitle:nYOffSetShadow := 20\nENDIF\nIF lTBorder = .T. // from selection !!!\n\toTitle:lBorder := .T.\n\toTitle:nClrLine1 := 8388608\nENDIF\nIF lTDirect = .F.\n\toTitle:lVertical := .F. \nENDIF\n...\n...\n...[/color:3hbanklg]\n\n[color=#FF0000:3hbanklg]oTitle:Refresh()[/color:3hbanklg]\n\nSaving new selections and reopen the Dialog it works, but I don*t want closing the dialog :\n\n[img:3hbanklg]http://www.pflegeplus.com/pictures/T_Title1.jpg[/img:3hbanklg] \n\nWrong results, after runtime-changes :\n\noTitle:nShadow := 1 ) shows a part of TOP / RIGHT\n[img:3hbanklg]http://www.pflegeplus.com/pictures/T_Title2.jpg[/img:3hbanklg] \n\noTitle:nShadow := 2 ) OK\n[img:3hbanklg]http://www.pflegeplus.com/pictures/T_Title3.jpg[/img:3hbanklg] \n\noTitle:nShadow := 3 ) shows NOTHING\n[img:3hbanklg]http://www.pflegeplus.com/pictures/T_Title4.jpg[/img:3hbanklg] \n\noTitle:nShadow := 4 ) shows a part of UP / RIGHT\n[img:3hbanklg]http://www.pflegeplus.com/pictures/T_Title5.jpg[/img:3hbanklg] \n\nBrush WITH shadow oTitle:nShadow := ( from 1 to 4 )\n[img:3hbanklg]http://www.pflegeplus.com/pictures/T_Title6.jpg[/img:3hbanklg] \n\nThe same Brush WITHOUT defined shadow ( oTitle:nShadow := 0 )\n[img:3hbanklg]http://www.pflegeplus.com/pictures/T_Title7.jpg[/img:3hbanklg] \n\nThe BASE-test works, changing from TRANSPARENT to COLOR\n[img:3hbanklg]http://www.pflegeplus.com/pictures/T_Title8.jpg[/img:3hbanklg] \n\nBest Regards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "09:54",
"topic": "A possible complete RESET of a TTITLE at runtime ?",
"username": "ukoenig"
}
] |
A possible complete RESET of a TTITLE at runtime ?
|
[
{
"date": "2008-08-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\r\n\r\nMany functions added to the Bar-tools\r\n\r\nThanks to < nageswaragunupudi >\r\nfor his help on bar-gradient-color-change at runtime.\r\n\r\nThe 3. gradient-color is full supported.\r\n( A extra slider and the 3. color for the mouse added )\r\n\r\nNow it is possible, to create very nice looking bar-gradients.\r\n\r\n[img:8s4qes05]http://www.pflegeplus.com/pictures/gradient57.jpg[/img:8s4qes05]\r\n\r\nMaybe it is possible to do a color-change just for the selected button ?\r\n\r\n[img:8s4qes05]http://www.pflegeplus.com/pictures/gradient55.jpg[/img:8s4qes05]\r\n\r\nIt is possible to define a TOP and RIGHT-buttonbar together.\r\nWhen you like to do this, you have to define a \"BLIND\" - button\r\n( like shown in the picture ) for the top / right-position, \r\notherwise the 1. button on the righthand side is not activated.\r\n\r\n[img:8s4qes05]http://www.pflegeplus.com/pictures/gradient58.jpg[/img:8s4qes05]\r\n\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "13:42",
"topic": "A preview on the BAR-Tools Version 3b ( + download )",
"username": "ukoenig"
}
] |
A preview on the BAR-Tools Version 3b ( + download )
|
[
{
"date": "2008-08-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\r\n\r\nHere is the download with all new functions\r\nFor help, just click on the title-buttons. \r\nThe project-handling and font-using\r\nwill come with the final release ( after FWH 8.08 ).\r\nColor-changing at runtime for the buttons works fine now,\r\nbut i have still to look at the font-color.\r\n\r\nWhat is new :\r\nSliders for Color-move and Button-zize added.\r\n3. Color for rollover added.\r\nTitels changed in buttons ( used as Info / help )\r\nColor-adjust of the button-bar in the main-dialog,\r\nafter closing the test-dialog.\r\nFont-selection added.\r\n\r\n[img:3r8pwvf2]http://www.pflegeplus.com/pictures/Newbar2.jpg[/img:3r8pwvf2]\r\n\r\nDownload :\r\n\r\n<!-- m --><a class=\"postlink\" href=\"http://www.pflegeplus.com/fw_downloads/Bargradient3.zip\">http://www.pflegeplus.com/fw_downloads/Bargradient3.zip</a><!-- m -->\r\n\r\nBest Regards\r\nUwe\r\n <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "11:17",
"topic": "A preview on the BAR-Tools Version 3b ( + download )",
"username": "ukoenig"
}
] |
A preview on the BAR-Tools Version 3b ( + download )
|
[
{
"date": "2008-08-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Nice work Uwe! <!-- s;-) --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\";-)\" title=\"Wink\" /><!-- s;-) -->\r\n\r\nPatrick",
"time": "11:50",
"topic": "A preview on the BAR-Tools Version 3b ( + download )",
"username": "Patrick Mast"
}
] |
A preview on the BAR-Tools Version 3b ( + download )
|
[
{
"date": "2008-08-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\r\n\r\nif somebody noticed the missing help for the color-sliders.\r\nIt is added.\r\n\r\nBest regards\r\nuwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "12:20",
"topic": "A preview on the BAR-Tools Version 3b ( + download )",
"username": "ukoenig"
}
] |
A preview on the BAR-Tools Version 3b ( + download )
|
[
{
"date": "2008-08-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\r\n\r\nthere was a missing ) in the source-code-result\r\nThe problem is solved.\r\nCopy and past works fine now.\r\n\r\nThe version-no. changed to 8b\r\n\r\noBar:bClrGrad := { | lInvert | If( ! lInvert, ;\r\n{ { 0.50,65535,32768 },;\r\n{ 0.50,32768,65535 } },;\r\n{ { 0.50,16777215,32768 },;\r\n{ 0.50,32768,16777215 } } ) } <====\r\noBar:nClrText := 16777215\r\n\r\nA new field for the Bar-object is added.\r\nIt is possible now, to define oBar, oBar1, obar2 ....\r\ninside the tool.\r\n\r\nDownload :\r\n\r\n<!-- m --><a class=\"postlink\" href=\"http://www.pflegeplus.com/fw_downloads/Bargradient3.zip\">http://www.pflegeplus.com/fw_downloads/Bargradient3.zip</a><!-- m -->\r\n\r\n\r\nhere is a complete working sample.\r\nIt is the basic-structure of the bar-tools.\r\n\r\n[img:qg8hbrk3]http://www.pflegeplus.com/pictures/gradient60.jpg[/img:qg8hbrk3]\r\n\r\n[code:qg8hbrk3]\n#include \"FiveWin.ch\"\n#include \"xBrowse.ch\"\n#include \"Slider.ch\"\n\nstatic oWnd\n\nFUNCTION Main()\n\nlocal oBar, oBtn1\n\nSetBalloon( .T. ) // Balloon shape required for tooltips\noProgFont := TFont():New(\"Arial\", ,-14,.F.,.F. , , , ,.F. )\n\nDEFINE WINDOW oWnd TITLE \"Gradient-Selection for\" MDI MENU TMenu():New() \n\nDEFINE BUTTONBAR oBar OF oWnd SIZE 80, 80 2007 RIGHT \n\n// Copy and Past from the tools\n// --------------------------------------\n\noBar:bClrGrad := { | lInvert | If( ! lInvert, ;\n{ { 0.50,8388608,16777215 },;\n{ 0.50,16777215,8388608 } },;\n{ { 0.50,128,16777215 },;\n{ 0.50,16777215,128 } } ) }\noBar:nClrText := 16777215\n\nDEFINE BUTTON oBtn1 OF oBar ACTION ( Tools(oWnd,oBar,oBtn1) ) ;\nRESOURCE \"magic\" PROMPT \"Bar-Selection\" TOOLTIP \"Bar-Select\"\n\nSET MESSAGE OF oWnd TO \"Testing the ButtonBar 2007 Office look\" ;\nCENTERED CLOCK KEYBOARD 2007\n\nACTIVATE WINDOW oWnd MAXIMIZED ;\nON PAINT gradpaint1( hDC, oWnd ) ;\nVALID MsgYesNo( \"Do you want to end?\" )\n\nRETURN NIL\n\n//----------------- DIALOG ( MDI ) ------------------------------------//\n\nFUNCTION Tools(oWnd,oBar)\n\nLOCAL oDlg, oBar1, oBtn10\n\n\nDEFINE DIALOG oDlg RESOURCE \"Tools\" OF oWnd TITLE \"Gradient-Color-Selection\" FONT oProgFont\n\n// ----------- Your fields\n\n// You have to call the BUTTONBAR at INIT\n\nREDEFINE BUTTONBMP oBtn10 ID 10 OF oDlg ;\nACTION ( oDlg:End() ) ;\nBITMAP \"Quit\" PROMPT \" Exit\" TEXTRIGHT\noBtn10:cToolTip = { \"Close\" + CRLF + ;\n \"the Dialog\",\"Gradient-Test\", 1, CLR_BLACK, 14089979 } \n\nACTIVATE DIALOG oDlg CENTERED NOWAIT ;\nON PAINT gradpaint2( hDC, oDlg ) ;\nON INIT NEW_DLGBAR(oDlg)\n\nRETURN NIL \n\n// -----------------------------------------------\n\nstatic func gradpaint1( hDC, oWnd )\n\nlocal aGrad := { { 0.50, 8388608, 16054371 } }\n\nGradientFill( hDC, 0, 0, oWnd:nHeight, oWnd:nWidth, aGrad, .F. )\n\nRETURN NIL\n\n// -----------------------------------------------\n\nstatic func gradpaint2( hDC, oDlg )\n\nlocal aGrad1 := { { 0.50, 16054371, 8388608 } }\n\nGradientFill( hDC, 0, 0, oDlg:nHeight, oDlg:nWidth, aGrad1, .F. )\n\nRETURN NIL\n\n// ------- TEST - BAR --------------------------\n\nFUNCTION NEW_DLGBAR(oDlg)\nLOCAL oBar1\n\nDEFINE BUTTONBAR oBar1 OF oDlg SIZE 80, 80 2007 RIGHT \n\n// Copy and Past from the tools\n// --------------------------------------\n\noBar1:bClrGrad := { | lInvert | If( ! lInvert, ;\n{ { 0.50,128,16777215 },;\n{ 0.50,16777215,128 } },;\n{ { 0.50,128,16777215 },;\n{ 0.50,16777215,128 } } ) }\noBar1:nClrText := 16777215\n\nDEFINE BUTTON OF oBar1 ACTION MsgInfo( \"Attach\" ) ;\nRESOURCE \"attach\" PROMPT \"Attach\" TOOLTIP \"Attach\"\n\nDEFINE BUTTON OF oBar1 ACTION MsgInfo( \"calendar\" ) ;\nRESOURCE \"calendar\" PROMPT \"Calendar\" TOOLTIP \"Calendar\"\n\nDEFINE BUTTON OF oBar1 ACTION MsgInfo( \"Clients\" ) ;\nRESOURCE \"people\" PROMPT \"Clients\" TOOLTIP \"Clients\"\n\nDEFINE BUTTON OF oBar1 ACTION oDlg:End() ;\nRESOURCE \"quit\" PROMPT \"Exit\" TOOLTIP \"Exit\"\n\nRETURN( NIL )\n\n\n// ------------- The RC-File ------------\n\n#ifdef __FLAT__\n 1 24 \"WindowsXP.Manifest\" \n#endif\n\n#define DIALOG_2\t2\n#define DIALOG_1\t1\nattach BITMAP \"attach.bmp\"\ncalendar BITMAP \"calendar.bmp\"\npeople BITMAP \"people.bmp\"\nprint BITMAP \"print.bmp\"\nmagic BITMAP \"magic.bmp\"\nexit BITMAP \"exit.bmp\"\nfloppy BITMAP \"floppy.bmp\"\nopen BITMAP \"open.bmp\"\nquit BITMAP \"quit.bmp\"\nhelp BITMAP \"help.bmp\"\ninfo BITMAP \"info.bmp\"\ncolors BITMAP \"colors.bmp\"\nfonts BITMAP \"fonts.bmp\"\ninfo1 BITMAP \"info1.bmp\"\n\nTools DIALOG 4, 53, 409, 303\nSTYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU\nCAPTION \"DBF-Structure\"\nFONT 10, \"MS Sans Serif\"\n{\n DEFPUSHBUTTON \"Exit\", 10, 282, 271, 68, 27\n}\n\n[/code:qg8hbrk3]\r\n\r\nThe complete working-directory with EXE-file :\r\n\r\n<!-- m --><a class=\"postlink\" href=\"http://www.pflegeplus.com/fw_downloads/TestBar.zip\">http://www.pflegeplus.com/fw_downloads/TestBar.zip</a><!-- m -->\r\n\r\n\r\nBest regards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "09:50",
"topic": "A preview on the BAR-Tools Version 3b ( + download )",
"username": "ukoenig"
}
] |
A preview on the BAR-Tools Version 3b ( + download )
|
[
{
"date": "2008-03-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\n\nNew Version see at Topic Update : 1.6 => 23.03\n\nStill some Tests and the new Infobar-Designer 1.4\nwill be obtained as download in the forum.\nIt is completely redesined with the new FWH 8.03.\nNew : Freeimage.dll is included. So it is possible,\nto use more graphic-formats. The new bar at the bottom \nof the Gradient-Color-Setting, remembers the last design,\nso it is easy to do fine-adjustments of the colors.\n\n[img:2bzdqk5i]http://www.pflegeplus.com/pictures/designer_1_4.jpg[/img:2bzdqk5i]\n\nRegards\nUwe[/img]",
"time": "22:07",
"topic": "A preview on the new Infobar-Designer 1.4",
"username": "ukoenig"
}
] |
A preview on the new Infobar-Designer 1.4
|
[
{
"date": "2008-03-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi ukoenig,\n\nMy Dr3DText Class same as your solution.\n\n[url=http://img179.imageshack.us/my.php?image=20080319110559wz4.jpg:39qp30ee][img:39qp30ee]http://img179.imageshack.us/img179/3448/20080319110559wz4.th.jpg[/img:39qp30ee][/url:39qp30ee]\n\n[img:39qp30ee]http://www.tbus.org.tw/2008-03-19_110559.jpg[/img:39qp30ee]\n\nRegards,\n\nrichard",
"time": "04:03",
"topic": "A preview on the new Infobar-Designer 1.4",
"username": "richard-service"
}
] |
A preview on the new Infobar-Designer 1.4
|
[
{
"date": "2008-03-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Richard,\n\nIt seems, we both had same idea, to make a tool\nfor a special design.\nI have still a source creator included.\nSo you need only to copy and past the source in your program.\n\nToday, i got a E-mail from ViaCoral.\nI think they could have the tool in the forum of Via as well. \n\nRegards\nUwe",
"time": "10:24",
"topic": "A preview on the new Infobar-Designer 1.4",
"username": "ukoenig"
}
] |
A preview on the new Infobar-Designer 1.4
|
[
{
"date": "2008-03-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi ukoenig,\n\n[quote:2t6y0sjc]\nIt seems, we both had same idea, to make a tool \nfor a special design. \nI have still a source creator included. \nSo you need only to copy and past the source in your program. \n[/quote:2t6y0sjc]\nyes, I think we make special design for up our software value. \n\n[quote:2t6y0sjc]\nToday, i got a E-mail from ViaCoral. \nI think they could have the tool in the forum of Via as well.\n[/quote:2t6y0sjc]\nI guess, you got mail from ViaCoral mean your special design \"Maybe\" same as them product.\n\nGO ON, our good design for FWH, Maybe.\n\nRegards,\n\nRichard",
"time": "12:38",
"topic": "A preview on the new Infobar-Designer 1.4",
"username": "richard-service"
}
] |
A preview on the new Infobar-Designer 1.4
|
[
{
"date": "2017-11-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I tested different solutions to keep\na App on top.\n\nAs soon I change the focus it goes to the taskbar\n\nFrom FWH-samples\nchanging the focus ( editor ) the test goes to the taskbar.\n\n[img:1eeh14hr]http://www.pflegeplus.com/IMAGES/Ontop2.jpg[/img:1eeh14hr]\n\nAnother solution with the same effect.\n\n[color=#0000FF:1eeh14hr]FUNCTION TOP_CLOSE(nType)\n\nhWnd := FindWnd( \"Keeping at top\" ) // Title !!!\nIF hWnd != NIL\n\tIF ISICONIC( hWnd ) \n\t\tSHOWWINDOW( hWnd, SW_RESTORE ) \n\tENDIF\n\tIF nType = 1\n\t\tSETFOREGROUNDWINDOW( hWnd )\n\tENDIF\n\tIF nType = 2\n\t\tSENDMESSAGE( hWnd, WM_CLOSE )\n\tENDIF\n//ELSE\n//\tMsgAlert( \"COLORPICKER is not running !\", \"Attention\" )\nENDIF\n\nRETURN NIL[/color:1eeh14hr]\n\nIs there any solution to stay on top even changing the focus ?\n\nregards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "17:15",
"topic": "A problem < keep on top >",
"username": "ukoenig"
}
] |
A problem < keep on top >
|
[
{
"date": "2017-11-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Uwe. I tested it, but here the program always stays on top !!\n\nI had to push the left button once, but I suppose you did also ?\n\nI see that this would be very usefull for the colorpicker",
"time": "19:00",
"topic": "A problem < keep on top >",
"username": "Marc Venken"
}
] |
A problem < keep on top >
|
[
{
"date": "2016-04-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\n\nI want to print a MULTILE get and use\n\n[color=#0000FF:2kyxwp4d][b:2kyxwp4d]oPRINT:cmSay(nRow1,12.2, MEMOLINE(aDatP[20]), oFont1,,CLR_BLACK,,PAD_LEFT )[/b:2kyxwp4d][/color:2kyxwp4d]\n\nalso tested :\n\n[code=fw:2kyxwp4d]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />n := <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00C800;\">WHILE</span> n < <span style=\"color: #000000;\">8</span><br /> oPRINT:<span style=\"color: #000000;\">cmSay</span><span style=\"color: #000000;\">(</span> nZeile1, <span style=\"color: #000000;\">12.2</span>, MEMOLINE<span style=\"color: #000000;\">(</span>aDatP<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">20</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span>, oFont1,,CLR_BLACK,,PAD_LEFT <span style=\"color: #000000;\">)</span><br /> nZeile1+= <span style=\"color: #000000;\">0.5</span> <span style=\"color: #B900B9;\">// linefeed</span><br /> n++<br />END <br /> </div>[/code:2kyxwp4d]\nbut shows 7 lines \"AAAAAAAAAAAAAAAAA\"\n\nbut doesn't work\n\nOk I can search for CRLF inside the get and cut the get in pieces\nbut maybe another solution ?\n\n[img:2kyxwp4d]http://www.pflegeplus.com/IMAGES/Print1.jpg[/img:2kyxwp4d]\n\nbest regards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "11:05",
"topic": "A problem < oPRINT:cmSay( ..> with MULTILINE get ?",
"username": "ukoenig"
}
] |
A problem < oPRINT:cmSay( ..> with MULTILINE get ?
|
[
{
"date": "2016-04-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Maybe, fwh\\samples\\report\\rep20.prg, can help",
"time": "11:35",
"topic": "A problem < oPRINT:cmSay( ..> with MULTILINE get ?",
"username": "cnavarro"
}
] |
A problem < oPRINT:cmSay( ..> with MULTILINE get ?
|
[
{
"date": "2016-04-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Cristobal,\n\nusing the logic of this report sample it is working fine\n\nThe width and hight of the get must be adjusted to the used fontsize\nto get the same result inside the report\n\n[img:19to8fva]http://www.pflegeplus.com/IMAGES/Print2.jpg[/img:19to8fva]\n\n[code=fw:19to8fva]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />nZeile1 := <span style=\"color: #000000;\">2.6</span> <span style=\"color: #B900B9;\">// startrow</span><br />....<br />....<br /><span style=\"color: #00C800;\">IF</span> !EMPTY<span style=\"color: #000000;\">(</span> aDatP<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">20</span><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// multine get</span><br /> <span style=\"color: #00C800;\">FOR</span> nFor := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">7</span> <span style=\"color: #B900B9;\">// 7 Lines</span><br /> cLine := MEMOLINE<span style=\"color: #000000;\">(</span> aDatP<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">20</span><span style=\"color: #000000;\">]</span>, <span style=\"color: #000000;\">40</span>, nFor <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// 40 chars each line</span><br /> oPRINT:<span style=\"color: #000000;\">cmSay</span><span style=\"color: #000000;\">(</span> nZeile1, <span style=\"color: #000000;\">12.2</span>, cLine, oFont1,,CLR_BLACK,,PAD_LEFT <span style=\"color: #000000;\">)</span><br /> nZeile1+= <span style=\"color: #000000;\">0.5</span> <span style=\"color: #B900B9;\">// linefeed</span><br /> <span style=\"color: #00C800;\">NEXT</span><br /><span style=\"color: #00C800;\">ENDIF</span><br />....<br />....<br />nZeile1 += <span style=\"color: #000000;\">3.7</span><br /> </div>[/code:19to8fva]\n\nbest regards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "12:16",
"topic": "A problem < oPRINT:cmSay( ..> with MULTILINE get ?",
"username": "ukoenig"
}
] |
A problem < oPRINT:cmSay( ..> with MULTILINE get ?
|
[
{
"date": "2016-04-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr Uwe\n\noPrn:SayText() is an improved version over earlier methods oPrn:Say(),etc., which handle only single line texts.\nThis method prints both single line and / or multiline text with word-wrapping depending on the size of text and size of the rectangle provided. This method is particulary intended to ease the programmers' work, by avoiding the need to break the text into individual lines and printing line by line.\n\nSyntax:\nSayText( nRow, nCol, cText, [nWidth], [nHeight], [oFont], [cAlign], [nClrText], [nClrBack] ) --> nLastRowInPixels\n\nAll coordinates are in pixels.\nnWidth: It is desirable to provide nWidth parameter.\n\nnHeight: If we do not now how much height the entire text requires to be printed, set nHeight to NIL.\n\ncAlign: Values can be 'T','L','B','R','TL','TR','LB','BR'. Text is aligned within rectangle as specfied in the parameter. Default is TL (TopLeft)\n\nReturn Value: This method returns the Last Row in pixels used for printing the text. We can use this result to know the row from which we can continue printing the next text or images.\n\nHere is a small sample:\n[code=fw:1x4f664t]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><br />func dbtest<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oDlg, oGet, cText := <span style=\"color: #ff0000;\">\"\"</span><br /> <span style=\"color: #00C800;\">local</span> oFont<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;\">300</span>,<span style=\"color: #000000;\">300</span> <span style=\"color: #0000ff;\">PIXEL</span> TRUEPIXEL <span style=\"color: #0000ff;\">FONT</span> oFont<br /><br /> @ <span style=\"color: #000000;\">20</span>,<span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">GET</span> oGet <span style=\"color: #0000ff;\">VAR</span> cText MEMO <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">260</span>,<span style=\"color: #000000;\">220</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br /><br /> @ <span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Print\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">80</span>,<span style=\"color: #000000;\">30</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">ACTION</span> PrintGet<span style=\"color: #000000;\">(</span> cText, oFont <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /><br /> <span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">FONT</span> oFont<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> PrintGet<span style=\"color: #000000;\">(</span> cText, oTextFont <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oPrn, oFont, aPoint, nRow, nCol, nWidth<br /><br /> <span style=\"color: #00C800;\">PRINT</span> oPrn PREVIEW<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">NAME</span> oTextFont:<span style=\"color: #000000;\">cFaceName</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,-oTextFont:<span style=\"color: #000000;\">nHeight</span> <span style=\"color: #0000ff;\">OF</span> oPrn<br /><br /> <span style=\"color: #0000ff;\">PAGE</span><br /><br /> aPoint := oPrn:<span style=\"color: #000000;\">Cmtr2Pix</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">2.6</span>, <span style=\"color: #000000;\">10.0</span> <span style=\"color: #000000;\">)</span><br /> nRow := aPoint<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span><br /> nCol := aPoint<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span><br /><br /> nRow := oPrn:<span style=\"color: #000000;\">SayText</span><span style=\"color: #000000;\">(</span> nRow, nCol, cText, @nWidth, <span style=\"color: #00C800;\">nil</span>, oFont <span style=\"color: #000000;\">)</span><br /> oPrn:<span style=\"color: #000000;\">Line</span><span style=\"color: #000000;\">(</span> nRow, nCol, nRow, nCol + nWidth <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">ENDPAGE</span><br /><br /> <span style=\"color: #0000ff;\">ENDPRINT</span><br /><br /> <span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">FONT</span> oFont<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:1x4f664t]\nNote: The word wrapping of the printed text depends on the font size and width provided and may not exactly match the text in the Get. However if each line in the Get is terminated by CRLF then the printed text also honors the same CRLFs while word wrapping.\n[url=https://imageshack.com/i/pnUC3scEp:1x4f664t][img:1x4f664t]http://imagizer.imageshack.us/v2/xq90/923/UC3scE.png[/img:1x4f664t][/url:1x4f664t]",
"time": "16:46",
"topic": "A problem < oPRINT:cmSay( ..> with MULTILINE get ?",
"username": "nageswaragunupudi"
}
] |
A problem < oPRINT:cmSay( ..> with MULTILINE get ?
|
[
{
"date": "2016-04-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr. Rao,\n\nworks fine !!!\n\nmy changes :\n\n[code=fw:34syuwf0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">IF</span> !EMPTY<span style=\"color: #000000;\">(</span> aDatP<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">20</span><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span><br /> aPoint := oPRINT:<span style=\"color: #000000;\">Cmtr2Pix</span><span style=\"color: #000000;\">(</span> nZeile1, <span style=\"color: #000000;\">12.2</span> <span style=\"color: #000000;\">)</span><br /> nWidth := <span style=\"color: #000000;\">720</span><br /> nRow := aPoint<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span><br /> nCol := aPoint<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span><br /> nRow := oPRINT:<span style=\"color: #000000;\">SayText</span><span style=\"color: #000000;\">(</span> nRow, nCol, aDatP<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">20</span><span style=\"color: #000000;\">]</span>, @nWidth, <span style=\"color: #00C800;\">NIL</span>, oFont1 <span style=\"color: #000000;\">)</span> <br /> oPRINT:<span style=\"color: #000000;\">Line</span><span style=\"color: #000000;\">(</span> nRow, nCol, nRow, nCol + nWidth <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #B900B9;\">// old</span><br /><span style=\"color: #B900B9;\">// IF !EMPTY( aDatP[20] )</span><br /><span style=\"color: #B900B9;\">// FOR nFor := 1 TO 7 // 7 Lines</span><br /><span style=\"color: #B900B9;\">// cLine := MEMOLINE( aDatP[20], 40, nFor ) // 40 chars</span><br /><span style=\"color: #B900B9;\">// oPRINT:cmSay( nZeile1,12.2, cLine, oFont1,,CLR_BLACK,,PAD_LEFT )</span><br /><span style=\"color: #B900B9;\">// nZeile1+= 0.5</span><br /><span style=\"color: #B900B9;\">// NEXT</span><br /><span style=\"color: #B900B9;\">//ENDIF</span><br /> </div>[/code:34syuwf0]\n\nbest regards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "19:50",
"topic": "A problem < oPRINT:cmSay( ..> with MULTILINE get ?",
"username": "ukoenig"
}
] |
A problem < oPRINT:cmSay( ..> with MULTILINE get ?
|
[
{
"date": "2016-04-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "In your case. because you know the width of the column, you may specify nWidth",
"time": "22:52",
"topic": "A problem < oPRINT:cmSay( ..> with MULTILINE get ?",
"username": "nageswaragunupudi"
}
] |
A problem < oPRINT:cmSay( ..> with MULTILINE get ?
|
[
{
"date": "2019-06-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\n\nduring my tests I noticed a problem with Btnbmp selecting\nany symbol of [color=#0000FF:14kslpq3]\"Segoe UI Symbol\"[/color:14kslpq3] \n\nthe problem in detail :\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=3&t=37314&p=223160#p223160\">viewtopic.php?f=3&t=37314&p=223160#p223160</a><!-- l -->\n\nin short :\n\nYou can use sample < W10btns.prg > and change the defined fonts\nThe symbols defined in HEX-format are used from \"Segoe MDL2 Assets\"\n[color=#0000FF:14kslpq3]The defined fonts are used for the buttontext[/color:14kslpq3]\n\nDEFINE FONT oFont NAME \"Arial\" SIZE 0,-14\nDEFINE FONT oFontG NAME \"Arial\" SIZE 0,-18\nDEFINE FONT oBold NAME \"Arial\" SIZE 0,-14 BOLD\nDEFINE FONT oFont1 NAME \"Arial\" SIZE 0,-24\n\nignored for symbols <!-- s:!: --><img src=\"{SMILIES_PATH}/icon_exclaim.gif\" alt=\":!:\" title=\"Exclamation\" /><!-- s:!: --> \n//DEFINE FONT oFont NAME \"Segoe UI\" SIZE 0,-14\n//DEFINE FONT oFontG NAME \"Segoe UI\" SIZE 0,-18\n//DEFINE FONT oBold NAME \"Segoe UI\" SIZE 0,-14 BOLD\n//DEFINE FONT oFont1 NAME \"Segoe UI Light\" SIZE 0,-24\n\nresults\n\n[img:14kslpq3]http://www.pflegeplus.com/IMAGES/Symbol5.jpg[/img:14kslpq3]\n\n[img:14kslpq3]http://www.pflegeplus.com/IMAGES/Symbol6.jpg[/img:14kslpq3]\n\nregards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "06:36",
"topic": "A problem Btnbmp and HEX-symbols from fonts",
"username": "ukoenig"
}
] |
A problem Btnbmp and HEX-symbols from fonts
|
[
{
"date": "2019-06-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "When we specify\n\nBTNBMP RESOURCE <n> ( hex or normal)\n\nIf <n> is in the appropriate range of symbols, Segoe MDL2 Assets font is used to display the symbol on Windows 10. On Windows 8, Segoe UI Symbol font is used.\n\nFonts defined for the BTNBMP are used for text only.\n\nThis is the behavior.\n\nIf you want to use any character with any other font as image, use bw_texttobmp() and use that bitmap.",
"time": "09:33",
"topic": "A problem Btnbmp and HEX-symbols from fonts",
"username": "nageswaragunupudi"
}
] |
A problem Btnbmp and HEX-symbols from fonts
|
[
{
"date": "2019-06-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thank You very much for the infos \nI got a little bit confused after the tests\n\n[quote:2m69skbk]If <n> is in the appropriate range of symbols, Segoe MDL2 Assets font is used \nto display the symbol on Windows 10. On Windows 8, Segoe UI Symbol font is used.\nFonts defined for the BTNBMP are used for text only.\nThis is the behavior.\nIf you want to use any character with any other font as image, use bw_texttobmp() and use that bitmap.[/quote:2m69skbk]\n\nI included the needed infos\n\n[img:2m69skbk]http://www.pflegeplus.com/IMAGES/Symbol7.jpg[/img:2m69skbk]\n\nwhat is the best for window 8 users <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \n\njust moving the title to the left and keep it like it is desined\nor removing everything about < Segoe MDL2 Assets> <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \n\nI think window 8 users can install < Segoe MDL2 Assets> as well\nI don't have window 8 installed to test the result.\n\nregards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "11:51",
"topic": "A problem Btnbmp and HEX-symbols from fonts",
"username": "ukoenig"
}
] |
A problem Btnbmp and HEX-symbols from fonts
|
[
{
"date": "2015-09-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\n\nI wanted to refresh the bars with new values, defined inside a DBF-file\n\nI don't get it working using folders at RUNTIME.\nClosing and reopening the statistic, it works.\nIn case it doesn't work, I can change it using xBrowse.\n\nThe array is new defined from a DBF\nbut oGraph:Refresh() doesn't work in folder-page 3.\n\noGraph:aData = { { aJS1[1], aJS1[2], aJS1[3], aJS1[4], ; \naJS1[5], aJS1[6], aJS1[7], aJS1[8], ; \naJS1[9], aJS1[10], aJS1[11], aJS1[12] } }\n\nnew oGraph:aData are redefined from a DBF with 12 records\n1 record = 1 month\n\nDBSELECTAREA(\"UMSATZ2\")\n(\"UMSATZ2\")->(DBGOTOP())\nI := 1\nDO WHILE !EOF()\naJS1[I] := (\"UMSATZ2\")->RE_SUMME\n(\"UMSATZ2\")->(DBSKIP(+1))\nI++\nENDDO\n(\"UMSATZ2\")->(DBGOTOP())\n\nAlso tested from a folder-page change :\nsetting new bar-values from the DBF with no difference\n\nIIF( nPage = 3, ( SET_GRAPH(), oGraph:Update() ), NIL ), ;\n\nThe month-values of a year are defined in folder-page 1\n\n[img:1cmco6ou]http://www.pflegeplus.com/IMAGES/TGraph1.jpg[/img:1cmco6ou]\n\nI can add the total-values to the year-statistic in folder-page 2\n\n[img:1cmco6ou]http://www.pflegeplus.com/IMAGES/TGraph2.jpg[/img:1cmco6ou]\n\nFolder-page 3 must show bars of the values defined in folder-page 2\nbut the bars are not repainted in page 3 showing the new values\nmaybe not possible to change the graph at RUNTIME ?\n\n[img:1cmco6ou]http://www.pflegeplus.com/IMAGES/TGraph3.jpg[/img:1cmco6ou]\n\nusing xBrowse and Dialog, the repainting works fine\n\n[img:1cmco6ou]http://www.pflegeplus.com/IMAGES/TGraph4.jpg[/img:1cmco6ou]\n\nbest regards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "16:36",
"topic": "A problem GRAPH-refresh from folder and DBF-values",
"username": "ukoenig"
}
] |
A problem GRAPH-refresh from folder and DBF-values
|
[
{
"date": "2015-09-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I created a sample to test from dialog and folderpages.\nNo result, to update & repaint the bars with new values\n\ntrying to update from inside the dialog and\nupdate the graph in page 4 with new values defined in page 1\n\n[img:29hg269w]http://www.pflegeplus.com/IMAGES/TGraph5.jpg[/img:29hg269w]\n\n[img:29hg269w]http://www.pflegeplus.com/IMAGES/TGraph6.jpg[/img:29hg269w]\n\n// The defined dialog-data-array to be changed\naJS1[1] := 108\naJS1[2] := 150\naJS1[3] := 120\naJS1[4] := 80 \naJS1[5] := 10\naJS1[6] := 50\naJS1[7] := 70\naJS1[8] := 190 \naJS1[9] := 60\naJS1[10] := 80\naJS1[11] := 90\naJS1[12] := 30\n\nREDEFINE GRAPH oGraph1 ID 120 TYPE 1 OF oDlg // UPDATE NO difference !!!\n\noGraph1:aSeries = { { \"Test\", 16771797 , , } } \noGraph1:nBarSep := 10\noGraph1:lBorders := .T.\noGraph1:lxGrid := .T.\noGraph1:lyGrid := .T.\noGraph1:l3D := .T.\noGraph1:lxVal := .T.\noGraph1:lyVal := .T.\noGraph1:lBordLeg := .T.\noGraph1:lLegends := .T.\noGraph1:lTitle := .T.\noGraph1:nClrX := 8421376 // Green \noGraph1:nClrY := 255 \noGraph1:aYVals := { \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", ;\n \"8\", \"9\", \"10\", \"11\", \"12\" } \noGraph1:lViewVal := .T.\noGraph1:aFont[2]\t := oFont \noGraph1:aFont[3]\t := oFont \noGraph1:aFont[8]\t := oFont \n\n// The data-array \noGraph1:aData = { { aJS1[1], aJS1[2], aJS1[3], aJS1[4], ; \n aJS1[5], aJS1[6], aJS1[7], aJS1[8], ; \n aJS1[9], aJS1[10], aJS1[11], aJS1[12] } } \n\n[color=#0000FF:29hg269w]doesn't work !!!\n\n// array with new values from button-action\nREDEFINE BUTTON ID 130 OF oDlg ; \nACTION ( oGraph1:aData = { { aJS1[1] := 10, aJS1[2] := 10, aJS1[3] := 10, aJS1[4] := 10, ; \n aJS1[5] := 10, aJS1[6] := 10, aJS1[7] := 10, aJS1[8] := 10, ; \n aJS1[9] := 10, aJS1[10] := 10, aJS1[11] := 10, aJS1[12] := 10 } }, ;\n\t\t oGraph1:Refresh() ) [/color:29hg269w]\n\n[color=#008000:29hg269w]another test doesn't work !!!\n\n//REDEFINE BUTTON ID 130 OF oDlg ; \n//ACTION ( aJS1[1] := 10, aJS1[2] := 10, aJS1[3] := 10, aJS1[4] := 10, ; \n// aJS1[5] := 10, aJS1[6] := 10, aJS1[7] := 10, aJS1[8] := 10, ; \n// aJS1[9] := 10, aJS1[10] := 10, aJS1[11] := 10, aJS1[12] := 10, ;\n//\t\t oGraph1:Refresh() ) [/color:29hg269w]\n\nany idea ?\notherwise I have to find another solution.\n\nbest regards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "13:26",
"topic": "A problem GRAPH-refresh from folder and DBF-values",
"username": "ukoenig"
}
] |
A problem GRAPH-refresh from folder and DBF-values
|
[
{
"date": "2015-09-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Uwe\n\nAlthough not a proper technique, try to call the Display method, instead of the Refresh",
"time": "14:21",
"topic": "A problem GRAPH-refresh from folder and DBF-values",
"username": "cnavarro"
}
] |
A problem GRAPH-refresh from folder and DBF-values
|
[
{
"date": "2015-09-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Cristobal,\n\nthank You very much.\n\nI think I have to use\n\n[b:1jhfe6q3]oGraph1:AddSerie( aJS1,\"Serie\", 16771797 )\n// AddSerie( aDat, cLegend, nColor, nType, l3D )[/b:1jhfe6q3]\n\nchanging the array, the refresh is working fine\n\n[img:1jhfe6q3]http://www.pflegeplus.com/IMAGES/Tgraph7.jpg[/img:1jhfe6q3]\n\nChanging the values :\n\n[color=#0040FF:1jhfe6q3]REDEFINE BUTTON ID 150 OF oDlg ; \nACTION ( aJS1[1] := 108, aJS1[2] := 150, aJS1[3] := 120, aJS1[4] := 80, ; \n aJS1[5] := 10, aJS1[6] := 50, aJS1[7] := 70, aJS1[8] := 190, ; \n aJS1[9] := 60, aJS1[10] := 80, aJS1[11] := 90, aJS1[12] := 30, ;\n\t\t oGraph1:Refresh() ) [/color:1jhfe6q3]\n\n[color=#008000:1jhfe6q3]REDEFINE BUTTON ID 130 OF oDlg ; \nACTION ( aJS1[1] := 100, aJS1[2] := 200, aJS1[3] := 400, aJS1[4] := 500, ; \n aJS1[5] := 700, aJS1[6] := 300, aJS1[7] := 600, aJS1[8] := 800, ; \n aJS1[9] := 900, aJS1[10] := 50, aJS1[11] := 400, aJS1[12] := 200, ;\n\t\t oGraph1:Refresh() ) [/color:1jhfe6q3] \n\nbest regards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "15:07",
"topic": "A problem GRAPH-refresh from folder and DBF-values",
"username": "ukoenig"
}
] |
A problem GRAPH-refresh from folder and DBF-values
|
[
{
"date": "2015-09-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Ah !, Ok, Uwe\nSometimes we take the hard way\n\nRegards",
"time": "16:37",
"topic": "A problem GRAPH-refresh from folder and DBF-values",
"username": "cnavarro"
}
] |
A problem GRAPH-refresh from folder and DBF-values
|
[
{
"date": "2015-10-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Here is the calculation to show the \nTOOLTIPS of comparing any defined 3 years / 12 month each ( a little bit complicated )\neach month is splitted in 10 groups ( kind of the different invoices ) to be counted to get the < month-total >\n\n[img:sttyjkfc]http://www.pflegeplus.com/IMAGES/TGraph8.jpg[/img:sttyjkfc]\n\n[code=fw:sttyjkfc]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #0000ff;\">REDEFINE</span> GRAPH oGraph <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">310</span> TYPE <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">OF</span> oDlg1 <span style=\"color: #0000ff;\">UPDATE</span><br />...<br />...<br />oGraph:<span style=\"color: #000000;\">aYVals</span> = <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"Jan\"</span>, <span style=\"color: #ff0000;\">\"Feb\"</span>, <span style=\"color: #ff0000;\">\"Mär\"</span>, <span style=\"color: #ff0000;\">\"Apr\"</span>, <span style=\"color: #ff0000;\">\"Mai\"</span>, <span style=\"color: #ff0000;\">\"Jun\"</span>, <span style=\"color: #ff0000;\">\"Jul\"</span>, <span style=\"color: #ff0000;\">\"Aug\"</span>, <span style=\"color: #ff0000;\">\"Sep\"</span>, <span style=\"color: #ff0000;\">\"Okt\"</span>, <span style=\"color: #ff0000;\">\"Nov\"</span>, <span style=\"color: #ff0000;\">\"Dez\"</span> <span style=\"color: #000000;\">}</span> <br /><br />oGraph:<span style=\"color: #000000;\">AddSerie</span><span style=\"color: #000000;\">(</span> aJS1,<span style=\"color: #ff0000;\">\"year 1\"</span>, aVal<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">91</span><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// a array to define any year</span><br />oGraph:<span style=\"color: #000000;\">AddSerie</span><span style=\"color: #000000;\">(</span> aJS2,<span style=\"color: #ff0000;\">\"year 2\"</span>, aVal<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">92</span><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span><br />oGraph:<span style=\"color: #000000;\">AddSerie</span><span style=\"color: #000000;\">(</span> aJS3,<span style=\"color: #ff0000;\">\"year 3\"</span>, aVal<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">93</span><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span><br /><br />oGraph:<span style=\"color: #000000;\">cToolTip</span> = <span style=\"color: #000000;\">{</span> | nAt, nSerie | nSerie := <span style=\"color: #00C800;\">IF</span><span style=\"color: #000000;\">(</span> nAt % ;<br /> Len<span style=\"color: #000000;\">(</span> oGraph:<span style=\"color: #000000;\">aSeries</span> <span style=\"color: #000000;\">)</span> == <span style=\"color: #000000;\">0</span>, Len<span style=\"color: #000000;\">(</span> oGraph:<span style=\"color: #000000;\">aSeries</span> <span style=\"color: #000000;\">)</span>, ;<br /> Int<span style=\"color: #000000;\">(</span> nAt % Len<span style=\"color: #000000;\">(</span> oGraph:<span style=\"color: #000000;\">aSeries</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>, ;<br /> cBarData := G_TOOLTIP<span style=\"color: #000000;\">(</span>nAt, nSerie<span style=\"color: #000000;\">)</span>, ;<br /> <span style=\"color: #ff0000;\">\"year : \"</span> + cBarData<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> + CRLF + ; <br /> <span style=\"color: #ff0000;\">\"total : \"</span> + cBarData<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">}</span> <br />...<br />...<br /><span style=\"color: #B900B9;\">// --------------</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> G_TOOLTIP<span style=\"color: #000000;\">(</span> nAt, nSerie <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">LOCAL</span> ctotal := <span style=\"color: #ff0000;\">\"\"</span>, nBar := <span style=\"color: #000000;\">1</span>, I := <span style=\"color: #000000;\">1</span>, cyear := <span style=\"color: #ff0000;\">\"\"</span><br /><br /><span style=\"color: #00C800;\">IF</span> nSerie = <span style=\"color: #000000;\">1</span> <span style=\"color: #B900B9;\">// 3 years / serie</span><br /> cyear := cyearsel<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> <span style=\"color: #B900B9;\">// year-array ( selected year )</span><br />ELSEIF nSerie = <span style=\"color: #000000;\">2</span><br /> cyear := cyearsel<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span><br />ELSEIF nSerie = <span style=\"color: #000000;\">3</span><br /> cyear := cyearsel<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">]</span><br /><span style=\"color: #00C800;\">ENDIF</span><br /><br />nBar := INT<span style=\"color: #000000;\">(</span> nAt / LEN<span style=\"color: #000000;\">(</span> oGraph:<span style=\"color: #000000;\">aSeries</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #000000;\">1</span> + ;<br /> <span style=\"color: #00C800;\">IF</span><span style=\"color: #000000;\">(</span> nAt % LEN<span style=\"color: #000000;\">(</span> oGraph:<span style=\"color: #000000;\">aSeries</span> <span style=\"color: #000000;\">)</span> == <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-1</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span> <br /><br />I := <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00C800;\">FOR</span> I := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">12</span> <span style=\"color: #B900B9;\">// 12 month</span><br /> <span style=\"color: #00C800;\">IF</span> nBar = I<br /> <span style=\"color: #00C800;\">IF</span> nSerie = <span style=\"color: #000000;\">1</span><br /> cTotal := ALLTRIM<span style=\"color: #000000;\">(</span> STR<span style=\"color: #000000;\">(</span> aJS1<span style=\"color: #000000;\">[</span>I<span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// array of the year total-value</span><br /> ELSEIF nSerie = <span style=\"color: #000000;\">2</span><br /> cTotal := ALLTRIM<span style=\"color: #000000;\">(</span> STR<span style=\"color: #000000;\">(</span> aJS2<span style=\"color: #000000;\">[</span>I<span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> ELSEIF nSerie = <span style=\"color: #000000;\">3</span><br /> cTotal := ALLTRIM<span style=\"color: #000000;\">(</span> STR<span style=\"color: #000000;\">(</span> aJS3<span style=\"color: #000000;\">[</span>I<span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">NEXT</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #000000;\">{</span> cyear, cTotal <span style=\"color: #000000;\">}</span><br /><br /> </div>[/code:sttyjkfc]\n\nbest regards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "14:40",
"topic": "A problem GRAPH-refresh from folder and DBF-values",
"username": "ukoenig"
}
] |
A problem GRAPH-refresh from folder and DBF-values
|
[
{
"date": "2011-08-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\n\nI noticed a Problem with Ribbonbar-groups and Windows min / max\nFor my Test I used empty Groups and Groups < Window-width.\nI think there is no Reason to iconize a Group.\nWithout Window min / max, all Groups are displayed normal.\nIs it possible, to force a group to be displayed in full size ?\n\n[img:d5rcps8o]http://www.pflegeplus.com/pictures/ribbgroup.jpg[/img:d5rcps8o]\n\nI used Ribbon2.prg, changed to 1 Group and sized to Ribbonbar-length.\nI got the same Effect. \nIt seems, there is a difference in Group-Length after using Windows min/max.\n \n[img:d5rcps8o]http://www.pflegeplus.com/pictures/ribbgroup1.jpg[/img:d5rcps8o]\n\nLength used in Sample 1 :\n\nDEFINE WINDOW oWnd TITLE \"NConvert - Script-editor => Release 1.1 / August 2011\" FROM 1,1 to 730[b:d5rcps8o],[color=#FF0000:d5rcps8o]1020[/color:d5rcps8o][/b:d5rcps8o] PIXEL ICON oIcon \n\nDEFINE RIBBONBAR oRBar WINDOW oWnd PROMPT \"Image-select\",\"Sharpen, Contrast, Lens\", \"Watermark\", \"Resize, Rotate\",\"EXPORT\", \"Crop, Brightn., Alpha\",\"Gray, Mosaic, Swirl, Emboss\", \"EXIT\" ;\n...\n\noRBar:nHeight := 180\noRBar:nHeightFld = 30\noRBar:nLeftMargin = 10\noRBar:hSeparation = 5\noRBar:SetFont( oFont3 )\noRBar:CalcPos()\n\n[color=#0000FF:d5rcps8o][b:d5rcps8o]all Groups are < Window-width !!![/b:d5rcps8o][/color:d5rcps8o]\n\nADD GROUP oGr1 RIBBON oRBar TO OPTION 1 PROMPT \"Image-Selection\" width [color=#FF0000:d5rcps8o][b:d5rcps8o]895[/b:d5rcps8o] [/color:d5rcps8o]\noGr1:SetFont( oFont2 )\n\n\nBest Regards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "12:52",
"topic": "A problem Ribbonbar-groups and Window min / max",
"username": "ukoenig"
}
] |
A problem Ribbonbar-groups and Window min / max
|
[
{
"date": "2019-11-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "both browser are working now and are synchron.\nOnly one get is used for all fields\nChanging the get both browser are updated with the save-button.\n\nJust one question :\nwith a double-click I can change the cellvalue\nA return saves the new value and is visible in browser 1 as well. \nBoth browsers are updated.\nHow can I update the get as well as soon I use Return ?\nThe get is showing the new value only on row change\n\nI tested a get-refresh but doesn't work \n\n[code=fw:ulooow26]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">// the get</span><br />@ <span style=\"color: #000000;\">250</span>, <span style=\"color: #000000;\">175</span> <span style=\"color: #0000ff;\">GET</span> oGet <span style=\"color: #0000ff;\">VAR</span> cVar <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">160</span>, <span style=\"color: #000000;\">15</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">FONT</span> oFont2 <span style=\"color: #0000ff;\">COLOR</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">16769734</span> <span style=\"color: #0000ff;\">UPDATE</span><br /><br /><span style=\"color: #B900B9;\">// the get-update from inside the browser</span><br />:<span style=\"color: #000000;\">bLClicked</span> := <span style=\"color: #000000;\">{</span> || oCol := oBrw2:<span style=\"color: #000000;\">SelectedCol</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, ; <br /> cVar := PADR<span style=\"color: #000000;\">(</span> oCol:<span style=\"color: #000000;\">Value</span>, <span style=\"color: #000000;\">80</span>, <span style=\"color: #ff0000;\">\" \"</span> <span style=\"color: #000000;\">)</span>, oGet:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <br /><br />WITH OBJECT oBrw2:<span style=\"color: #000000;\">Street</span><br /> :<span style=\"color: #000000;\">nEditType</span> = EDIT_GET <br /> :<span style=\"color: #000000;\">bClrEdit</span> := <span style=\"color: #000000;\">{</span> || <span style=\"color: #000000;\">{</span> CLR_BLACK, CLR_YELLOW <span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">}</span><br />END<br /><br /><span style=\"color: #B900B9;\">// the GET update on celledit return ?????</span><br /><br />:<span style=\"color: #000000;\">PostMsg</span><span style=\"color: #000000;\">(</span> WM_SETFOCUS <span style=\"color: #000000;\">)</span><br />:<span style=\"color: #000000;\">bKeyDown</span> := <span style=\"color: #000000;\">{</span> | nKey, nFlags | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nKey == VK_RETURN, ;<br /> <span style=\"color: #000000;\">(</span> oCol := oBrw2:<span style=\"color: #000000;\">SelectedCol</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, ; <br /> Eval<span style=\"color: #000000;\">(</span> oBrw2:<span style=\"color: #000000;\">bChange</span> <span style=\"color: #000000;\">)</span>, ;<br /> cVar := PADR<span style=\"color: #000000;\">(</span> oCol:<span style=\"color: #000000;\">Value</span>, <span style=\"color: #000000;\">80</span>, <span style=\"color: #ff0000;\">\" \"</span> <span style=\"color: #000000;\">)</span>, ; <span style=\"color: #B900B9;\">// new get-value</span><br /> oGet:<span style=\"color: #0000ff;\">Refresh</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;\">}</span><br /> </div>[/code:ulooow26]\n\n[img:ulooow26]http://www.pflegeplus.com/IMAGES/Testget5.jpg[/img:ulooow26]\n\nregards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "10:44",
"topic": "A problem TDatabase and xBrowse using < edit_get >",
"username": "ukoenig"
}
] |
A problem TDatabase and xBrowse using < edit_get >
|
[
{
"date": "2019-11-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\n\nI noticed a problem saving values with [color=#0000FF:12ooglqa]xBrowse edit_get[/color:12ooglqa]\nusing\n\nBrowser 1\n[color=#0000FF:12ooglqa]oCustomer := TDatabase():Open( , c_Path + \"Customer\", \"DBFCDX\", .T. )[/color:12ooglqa]\n\nonly field LAST is working with some extracode\n\nthe same using\nBrowser 2\n[color=#0000FF:12ooglqa]USE customer NEW SHARED ALIAS CUST VIA 'DBFCDX'[/color:12ooglqa]\nedit_get is working\n\n[code=fw:12ooglqa]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />WITH OBJECT oBrw1:<span style=\"color: #000000;\">First</span><br /> :<span style=\"color: #000000;\">nEditType</span> = EDIT_GET <br />END<br />WITH OBJECT oBrw1:<span style=\"color: #000000;\">Last</span><br /> :<span style=\"color: #000000;\">nEditType</span> = EDIT_GET <br /> :<span style=\"color: #000000;\">bOnPostEdit</span> := <span style=\"color: #000000;\">{</span>|o, v, n| IIF<span style=\"color: #000000;\">(</span> n != VK_ESCAPE, ; <br /> oCustomer:<span style=\"color: #000000;\">FieldPut</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">3</span>, v <span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">)</span>, ; <span style=\"color: #B900B9;\">// Field no 3 defined for saving !!!</span><br /> oCustomer:<span style=\"color: #000000;\">Save</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, oBrw1:<span style=\"color: #000000;\">RefreshCurrent</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br />END<br />WITH OBJECT oBrw1:<span style=\"color: #000000;\">Street</span><br /> :<span style=\"color: #000000;\">nEditType</span> = EDIT_GET <br />END<br /><br /> </div>[/code:12ooglqa]\n\n2 testbrowser\n\n@ 20,10 XBROWSE oBrw1 ;\nCOLUMNS \"Id\", 'First' , 'Last', 'Street', 'City' OF oDlg ;\nSIZE -10,-160 PIXEL ;\nCOLSIZES \"50, 120, 120, 110, 110\" ;\n[color=#4000FF:12ooglqa]DATASOURCE oCustomer [/color:12ooglqa]\n\n@ 130,10 XBROWSE oBrw2 ;\nCOLUMNS \"Id\", 'First' , 'Last', 'Street', 'City' OF oDlg ;\nSIZE -10,-50 PIXEL ;\nCOLSIZES \"50, 120, 120, 110, 110\" ;\n[color=#4000FF:12ooglqa]ALIAS 'CUST' [/color:12ooglqa]\n\n[img:12ooglqa]http://www.pflegeplus.com/IMAGES/TDatab1.jpg[/img:12ooglqa]\n\nwhere does the difference comes from\n\nregards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "13:56",
"topic": "A problem TDatabase and xBrowse using < edit_get >",
"username": "ukoenig"
}
] |
A problem TDatabase and xBrowse using < edit_get >
|
[
{
"date": "2019-11-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Will work correctly if you remove bOnPostEdit.",
"time": "14:33",
"topic": "A problem TDatabase and xBrowse using < edit_get >",
"username": "nageswaragunupudi"
}
] |
A problem TDatabase and xBrowse using < edit_get >
|
[
{
"date": "2019-11-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Here is my complete test that can be used like it is from inside the sample-folder\n\n[quote:35ev37o3]Will work correctly if you remove bOnPostEdit.[/quote:35ev37o3]\n\nbOnPostEdit is only included because otherwise in browser 1 ( tDatabase ) values are not saved !\n\n[code=fw:35ev37o3]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">'fivewin.ch'</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">'ord.ch'</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">'xbrowse.ch'</span><br /><br />REQUEST DBFCDX<br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">LOCAL</span> oDlg, oBrw1, oBrw2, oFont, oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">]</span>, oSay<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span><br /><span style=\"color: #00C800;\">LOCAL</span> oCustomer<br /><span style=\"color: #00C800;\">LOCAL</span> nColPos := <span style=\"color: #000000;\">1</span>, nRowPos := <span style=\"color: #000000;\">1</span><br /><br /><span style=\"color: #00C800;\">LOCAL</span> c_path := cFilePath<span style=\"color: #000000;\">(</span>GetModuleFileName<span style=\"color: #000000;\">(</span> GetInstance<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <br /><br />USE customer <span style=\"color: #00C800;\">NEW</span> SHARED <span style=\"color: #0000ff;\">ALIAS</span> CUST VIA <span style=\"color: #ff0000;\">'DBFCDX'</span><br />GO TOP<br /><br />oCustomer := TDatabase<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #000000;\">Open</span><span style=\"color: #000000;\">(</span> , c_Path + <span style=\"color: #ff0000;\">\"Customer\"</span>, <span style=\"color: #ff0000;\">\"DBFCDX\"</span>, .T. <span style=\"color: #000000;\">)</span><br />oCustomer:<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;\">-14</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;\">800</span>, <span style=\"color: #000000;\">550</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br /><span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"XBrowse EDIT_GET\"</span> ;<br /><span style=\"color: #0000ff;\">FONT</span> oFont<br /> <br />@ <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">30</span> <span style=\"color: #0000ff;\">SAY</span> oSay<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;\">\"Row : \"</span> + LTRIM<span style=\"color: #000000;\">(</span>STR<span style=\"color: #000000;\">(</span>nRowPos<span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">COLOR</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">12124088</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">OF</span> oDlg <br />@ <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">90</span> <span style=\"color: #0000ff;\">SAY</span> oSay<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;\">\"Column : \"</span> + LTRIM<span style=\"color: #000000;\">(</span>STR<span style=\"color: #000000;\">(</span>nColPos<span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">60</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">COLOR</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">12124088</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">OF</span> oDlg <br /><br />@ <span style=\"color: #000000;\">20</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrw1 ;<br />COLUMNS <span style=\"color: #ff0000;\">\"Id\"</span>, <span style=\"color: #ff0000;\">'First'</span> , <span style=\"color: #ff0000;\">'Last'</span>, <span style=\"color: #ff0000;\">'Street'</span>, <span style=\"color: #ff0000;\">'City'</span> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br /><span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">-10</span>,<span style=\"color: #000000;\">-160</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br />PICTURES <span style=\"color: #00C800;\">nil</span>, <span style=\"color: #00C800;\">nil</span>, <span style=\"color: #00C800;\">nil</span>, <span style=\"color: #00C800;\">nil</span>, <span style=\"color: #00C800;\">nil</span> ;<br />COLSIZES <span style=\"color: #ff0000;\">\"50, 120, 120, 110, 110\"</span> ;<br />DATASOURCE oCustomer ;<br />CELL LINES AUTOSORT NOBORDER FOOTERS <br /><br />oBrw1:<span style=\"color: #000000;\">bClrSelFocus</span> := <span style=\"color: #000000;\">{</span> || <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">14540287</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <br />oBrw1:<span style=\"color: #000000;\">bClrSel</span> := <span style=\"color: #000000;\">{</span> || <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">15132365</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <br />oBrw1:<span style=\"color: #000000;\">nMarqueeStyle</span> := <span style=\"color: #000000;\">3</span><br />oBrw1:<span style=\"color: #000000;\">nRowHeight</span> := <span style=\"color: #000000;\">25</span><br />oBrw1:<span style=\"color: #000000;\">nRecSelWidth</span> := <span style=\"color: #000000;\">50</span><br />oBrw1:<span style=\"color: #000000;\">bRecSelHeader</span> := <span style=\"color: #000000;\">{</span> |brw| <span style=\"color: #ff0000;\">\"No.\"</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #B900B9;\">// or simply \"SlNo\"</span><br />oBrw1:<span style=\"color: #000000;\">bRecSelFooter</span> := <span style=\"color: #000000;\">{</span> |brw| brw:<span style=\"color: #000000;\">nLen</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #B900B9;\">// or Simpy any value</span><br />oBrw1:<span style=\"color: #000000;\">bRecSelData</span> := <span style=\"color: #000000;\">{</span> |brw| brw:<span style=\"color: #000000;\">KeyNo</span> <span style=\"color: #000000;\">}</span><br />oBrw1:<span style=\"color: #000000;\">lColChangeNotify</span> := .T.<br /><br />WITH OBJECT oBrw1:<span style=\"color: #000000;\">First</span><br /> :<span style=\"color: #000000;\">nEditType</span> = EDIT_GET <span style=\"color: #B900B9;\">// doesn't save data !!!</span><br />END<br />WITH OBJECT oBrw1:<span style=\"color: #000000;\">Last</span><br /> :<span style=\"color: #000000;\">nEditType</span> = EDIT_GET <br /> :<span style=\"color: #000000;\">bOnPostEdit</span> := <span style=\"color: #000000;\">{</span>|o, v, n| IIF<span style=\"color: #000000;\">(</span> n != VK_ESCAPE, ; <br /> oCustomer:<span style=\"color: #000000;\">FieldPut</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">3</span>, v <span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">)</span>, ; <br /> oCustomer:<span style=\"color: #000000;\">Save</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, oBrw1:<span style=\"color: #000000;\">RefreshCurrent</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br />END<br />WITH OBJECT oBrw1:<span style=\"color: #000000;\">Street</span><br /> :<span style=\"color: #000000;\">nEditType</span> = EDIT_GET <span style=\"color: #B900B9;\">// doesn't save data !!!</span><br />END<br /><br />WITH OBJECT oBrw1<br /> :<span style=\"color: #000000;\">nStretchCol</span> := <span style=\"color: #000000;\">1</span><br /> :<span style=\"color: #000000;\">bChange</span> := <span style=\"color: #000000;\">{</span> | nRow, nCol, nKey | nColPos := oBrw1:<span style=\"color: #000000;\">SelectedCol</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #000000;\">nCreationOrder</span>, ;<br /> nRowPos := oBrw1:<span style=\"color: #000000;\">Keyno</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, ;<br /> oSay<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, oBrw2:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, ; <br /> oSay<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <br /><br /> :<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br />END<br /> <br /><span style=\"color: #B900B9;\">// -------------------------</span><br /><br />@ <span style=\"color: #000000;\">130</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrw2 ;<br />COLUMNS <span style=\"color: #ff0000;\">\"Id\"</span>, <span style=\"color: #ff0000;\">'First'</span> , <span style=\"color: #ff0000;\">'Last'</span>, <span style=\"color: #ff0000;\">'Street'</span>, <span style=\"color: #ff0000;\">'City'</span> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br /><span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">-10</span>,<span style=\"color: #000000;\">-50</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br />COLSIZES <span style=\"color: #ff0000;\">\"50, 120, 120, 110, 110\"</span> ;<br /><span style=\"color: #0000ff;\">ALIAS</span> <span style=\"color: #ff0000;\">'CUST'</span> ;<br />CELL LINES AUTOSORT NOBORDER FOOTERS <br /><br />oBrw2:<span style=\"color: #000000;\">bClrSelFocus</span> := <span style=\"color: #000000;\">{</span> || <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">14540287</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <br />oBrw2:<span style=\"color: #000000;\">bClrSel</span> := <span style=\"color: #000000;\">{</span> || <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">15132365</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <br />oBrw2:<span style=\"color: #000000;\">nMarqueeStyle</span> := <span style=\"color: #000000;\">3</span><br />oBrw2:<span style=\"color: #000000;\">nRowHeight</span> := <span style=\"color: #000000;\">25</span><br />oBrw2:<span style=\"color: #000000;\">nRecSelWidth</span> := <span style=\"color: #000000;\">50</span><br />oBrw2:<span style=\"color: #000000;\">bRecSelHeader</span> := <span style=\"color: #000000;\">{</span> |brw| <span style=\"color: #ff0000;\">\"No.\"</span> <span style=\"color: #000000;\">}</span> <br />oBrw2:<span style=\"color: #000000;\">bRecSelFooter</span> := <span style=\"color: #000000;\">{</span> |brw| brw:<span style=\"color: #000000;\">nLen</span> <span style=\"color: #000000;\">}</span> <br />oBrw2:<span style=\"color: #000000;\">bRecSelData</span> := <span style=\"color: #000000;\">{</span> |brw| brw:<span style=\"color: #000000;\">KeyNo</span> <span style=\"color: #000000;\">}</span><br />oBrw2:<span style=\"color: #000000;\">lColChangeNotify</span> := .T.<br /><br /><span style=\"color: #B900B9;\">// works !!!</span><br />WITH OBJECT oBrw2:<span style=\"color: #000000;\">First</span><br /> :<span style=\"color: #000000;\">nEditType</span> = EDIT_GET <br />END<br />WITH OBJECT oBrw2:<span style=\"color: #000000;\">Last</span><br /> :<span style=\"color: #000000;\">nEditType</span> = EDIT_GET <br />END<br /><br />WITH OBJECT oBrw2<br /> :<span style=\"color: #000000;\">nStretchCol</span> := <span style=\"color: #000000;\">1</span><br /> :<span style=\"color: #000000;\">bChange</span> := <span style=\"color: #000000;\">{</span> | nRow, nCol, nKey | nColPos := oBrw2:<span style=\"color: #000000;\">SelectedCol</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #000000;\">nCreationOrder</span>, ;<br /> nRowPos := oBrw2:<span style=\"color: #000000;\">Keyno</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, ;<br /> oSay<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, oBrw1:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, ; <br /> oSay<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <br /><br /> :<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br />END<br /><br />@ <span style=\"color: #000000;\">240</span>, <span style=\"color: #000000;\">340</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br /><span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #000000;\">2007</span> ; <span style=\"color: #B900B9;\">// B / H</span><br /><span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&Exit\"</span> ;<br /><span style=\"color: #0000ff;\">ACTION</span> oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> ;<br /><span style=\"color: #0000ff;\">FONT</span> oFont ;<br /><span style=\"color: #0000ff;\">CENTER</span><br /><br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /><br />CLOSE DATABASE<br /><span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">FONT</span> oFont<br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /> </div>[/code:35ev37o3]\n\nregards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "14:47",
"topic": "A problem TDatabase and xBrowse using < edit_get >",
"username": "ukoenig"
}
] |
A problem TDatabase and xBrowse using < edit_get >
|
[
{
"date": "2015-06-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\n\ntrying to change the cursor on metro-button-focus, I use :\n\n[color=#0000FF:1mahprvq][b:1mahprvq]AEval( oMetro:aControls, { | o | o:oCursor := oHand } )[/b:1mahprvq][/color:1mahprvq]\n\n[color=#0000FF:1mahprvq][b:1mahprvq]AEval( oMenu1:aControls, { | o | o:oCursor := oHand } )[/b:1mahprvq][/color:1mahprvq]\n...\n...\n\nit works, but the cursor doesn't change back to arrow, loosing the button-focus.\n\nalso tested :\n\n[color=#0000FF:1mahprvq][b:1mahprvq]AEval( oMetro:aControls, { | o | IF( o:ClassName() = \"TMETROBTN\", o:oCursor := oHand, ) } )[/b:1mahprvq][/color:1mahprvq]\n\nbut NO difference\n\nwith a only a single button it works.\n\nbest regards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "21:16",
"topic": "A problem changing the cursor of METRO-buttons ?",
"username": "ukoenig"
}
] |
A problem changing the cursor of METRO-buttons ?
|
[
{
"date": "2015-06-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Uwe,\n\nTry this:\n\nAEval( oMetro:aControls, { | o | IF( o:ClassName() = \"TMETROBTN\", ( o:oCursor := oHand, o:bLostFocus := { || o:oCursor := nil } ), ) } )",
"time": "22:01",
"topic": "A problem changing the cursor of METRO-buttons ?",
"username": "Antonio Linares"
}
] |
A problem changing the cursor of METRO-buttons ?
|
[
{
"date": "2015-06-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\nthank You very much.\n\nThe problem :\nthere is NO response in metrobutton\nwith using bGotfocus or bLostfocus.\n\nbest regards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "08:15",
"topic": "A problem changing the cursor of METRO-buttons ?",
"username": "ukoenig"
}
] |
A problem changing the cursor of METRO-buttons ?
|
[
{
"date": "2011-02-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi, Mr.Antonio\n\nI tested example testbtb.prg and got error :\n \n Error description: Error BASE/1004 Class: 'NIL' has no exported method: HFONT\n Args:\n [ 1] = U \n\nStack Calls\n===========\n Called from: => HFONT(0)\n Called from: .\\source\\classes\\BTNBMP.PRG => TBTNBMP:PAINT(1176)\n Called from: .\\source\\classes\\BTNBMP.PRG => (b)TBTNBMP:TBTNBMP(112)\n Called from: => TBTNBMP:DISPLAY(0)\n Called from: .\\source\\classes\\CONTROL.PRG => TCONTROL:HANDLEEVENT(1459)\n Called from: .\\source\\classes\\BTNBMP.PRG => TBTNBMP:HANDLEEVENT(1453)\n Called from: .\\source\\classes\\WINDOW.PRG => _FWH(3408)\n Called from: => UPDATEWINDOW(0)\n Called from: .\\source\\classes\\WINDOW.PRG => TWINDOW:ACTIVATE(976)\n Called from: testbtb.prg => MAIN(92)\n\n\nAs I can solve this problem ?\n\nThanks.",
"time": "13:37",
"topic": "A problem in FWH11.01",
"username": "Natter"
}
] |
A problem in FWH11.01
|
[
{
"date": "2011-02-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\n\nsame prob on my machine, can't update to 1101, downgraded to 1011 <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( -->",
"time": "09:26",
"topic": "A problem in FWH11.01",
"username": "frose"
}
] |
A problem in FWH11.01
|
[
{
"date": "2011-02-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "It is possible to make so :\n \n oBar:aControls[nnn]:lBarBtn:=.F.",
"time": "14:13",
"topic": "A problem in FWH11.01",
"username": "Natter"
}
] |
A problem in FWH11.01
|
[
{
"date": "2011-02-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Natter,\n\nthank you very much, it works with: [code=fw:ry6kmqru]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">AEval<span style=\"color: #000000;\">(</span> oBar:<span style=\"color: #000000;\">aControls</span>, <span style=\"color: #000000;\">{</span> | oBtn | oBtn:<span style=\"color: #000000;\">lBarBtn</span> := .F. <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span></div>[/code:ry6kmqru]\nBut I don't want the border around each button, so it would be nice if 'lBarBtn := [color=#0000FF:ry6kmqru].T.[/color:ry6kmqru]' is functional again in the future <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->",
"time": "14:56",
"topic": "A problem in FWH11.01",
"username": "frose"
}
] |
A problem in FWH11.01
|
[
{
"date": "2011-02-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "hi, dont work for me... the background of buttons is not same of buttonbar, maybe i should use alpha channel bitmap, but in changelog of fwh1101 dont say this.",
"time": "19:08",
"topic": "A problem in FWH11.01",
"username": "norberto"
}
] |
A problem in FWH11.01
|
[
{
"date": "2011-02-26",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Please see this posting of Mr. Antonio.\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=3&t=20880\">viewtopic.php?f=3&t=20880</a><!-- l -->\n\nThis is implemented in fwh11.1 which has this side effect.\nI removed the comments for the time being till Mr. Antonio finds a better fix.",
"time": "03:56",
"topic": "A problem in FWH11.01",
"username": "nageswaragunupudi"
}
] |
A problem in FWH11.01
|
[
{
"date": "2011-03-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Just tested 11.01 and can confirm that i have the same problem - even if i remove the comments Antonio recently put in.\n\nAny updates on how to fix this?\n\nBest regards,\n\nPete",
"time": "17:12",
"topic": "A problem in FWH11.01",
"username": "PeterHarmes"
}
] |
A problem in FWH11.01
|
[
{
"date": "2011-03-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "2 weeks and no solution, only back to fwh1011??? whats is happend?? no fix, no path, no new release.",
"time": "18:32",
"topic": "A problem in FWH11.01",
"username": "norberto"
}
] |
A problem in FWH11.01
|
[
{
"date": "2011-03-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Bumped up for Daniel",
"time": "04:28",
"topic": "A problem in FWH11.01",
"username": "TimStone"
}
] |
A problem in FWH11.01
|
[
{
"date": "2011-03-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello\n\nline 1176\n\n[code=fw:2h0h7osy]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">hOldFont = SelectObject<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hDC</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">lBarBtn</span>, ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oFont</span>:<span style=\"color: #000000;\">hFont</span>, ::<span style=\"color: #000000;\">oFont</span>:<span style=\"color: #000000;\">hFont</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span></div>[/code:2h0h7osy]\n\nchange to \n\n[code=fw:2h0h7osy]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">hOldFont = SelectObject<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hDC</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">lBarBtn</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oFont</span> != <span style=\"color: #00C800;\">nil</span>, ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oFont</span>:<span style=\"color: #000000;\">hFont</span>, ::<span style=\"color: #000000;\">oFont</span>:<span style=\"color: #000000;\">hFont</span> <span style=\"color: #000000;\">)</span>, ::<span style=\"color: #000000;\">oFont</span>:<span style=\"color: #000000;\">hFont</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span></div>[/code:2h0h7osy]\n\nalready fixed",
"time": "05:18",
"topic": "A problem in FWH11.01",
"username": "Daniel Garcia-Gil"
}
] |
A problem in FWH11.01
|
[
{
"date": "2011-03-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Daniel Garcia-Gil\":3ouvepth]Hello\n\nline 1176\n\n[code=fw:3ouvepth]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">hOldFont = SelectObject<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hDC</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">lBarBtn</span>, ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oFont</span>:<span style=\"color: #000000;\">hFont</span>, ::<span style=\"color: #000000;\">oFont</span>:<span style=\"color: #000000;\">hFont</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span></div>[/code:3ouvepth]\n\nchange to \n\n[code=fw:3ouvepth]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">hOldFont = SelectObject<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hDC</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">lBarBtn</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oFont</span> != <span style=\"color: #00C800;\">nil</span>, ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oFont</span>:<span style=\"color: #000000;\">hFont</span>, ::<span style=\"color: #000000;\">oFont</span>:<span style=\"color: #000000;\">hFont</span> <span style=\"color: #000000;\">)</span>, ::<span style=\"color: #000000;\">oFont</span>:<span style=\"color: #000000;\">hFont</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span></div>[/code:3ouvepth]\n\nalready fixed[/quote:3ouvepth]\n\nDaniel , \nCual es la liberia que contiene este modulo, se puede retirar un colocar el corregido para corregir la libreria , como se hace.\nGracias",
"time": "15:15",
"topic": "A problem in FWH11.01",
"username": "ruben Dario"
}
] |
A problem in FWH11.01
|
[
{
"date": "2011-03-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Ruben...\n\nBTNBMP....",
"time": "15:19",
"topic": "A problem in FWH11.01",
"username": "Daniel Garcia-Gil"
}
] |
A problem in FWH11.01
|
[
{
"date": "2011-11-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "In the following sample, try to hit TAB on the keyboard: the focus doesn't go to the button:\n\n[code=fw:1sqmutn4]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oDlg, oBrw<br /><br /> USE CUSTOMER<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">800</span>, <span style=\"color: #000000;\">600</span><br /><br /> @ <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">LISTBOX</span> oBrw FIELDS;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">400</span>, <span style=\"color: #000000;\">200</span><br /><br /> @ <span style=\"color: #000000;\">250</span>,<span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Chiudi\"</span>;<br /> <span style=\"color: #0000ff;\">ACTION</span> oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #0000ff;\">PIXEL</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg;<br /> <span style=\"color: #0000ff;\">CENTER</span><br /><br /> CLOSE<br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:1sqmutn4]\n\nEMG",
"time": "00:22",
"topic": "A problem in TAB handling",
"username": "Enrico Maria Giordano"
}
] |
A problem in TAB handling
|
[
{
"date": "2011-11-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nThese changes are required in window.prg:\n\n[code=fw:5rhyyu6f]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">METHOD</span> GoNextCtrl<span style=\"color: #000000;\">(</span> hCtrl <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TWindow<br /><br /> <span style=\"color: #00C800;\">local</span> hCtlNext, nAt<br /><br /> <span style=\"color: #00C800;\">if</span> Upper<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">ClassName</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> != <span style=\"color: #ff0000;\">\"TDIALOG\"</span> .or. GetClassName<span style=\"color: #000000;\">(</span> hCtrl <span style=\"color: #000000;\">)</span> $ <span style=\"color: #ff0000;\">\"TWBROWSE\"</span><br /> nAt = AScan<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span>, <span style=\"color: #000000;\">{</span> | o | o:<span style=\"color: #000000;\">hWnd</span> == hCtrl <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">if</span> nAt != <span style=\"color: #000000;\">0</span><br /> nAt = <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nAt < Len<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span> <span style=\"color: #000000;\">)</span>, nAt + <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">while</span> ! lAnd<span style=\"color: #000000;\">(</span> GetWindowLong<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">[</span> nAt <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">hWnd</span>, GWL_STYLE <span style=\"color: #000000;\">)</span>, WS_TABSTOP <span style=\"color: #000000;\">)</span><br /> nAt = <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nAt < Len<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span> <span style=\"color: #000000;\">)</span>, nAt + <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> end<br /> SetFocus<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">[</span> nAt <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">endif</span><br /><br /> <span style=\"color: #00C800;\">if</span> ! Empty<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span> <span style=\"color: #000000;\">)</span> .and. hCtrl == ::<span style=\"color: #000000;\">LastActiveCtrl</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #000000;\">hWnd</span><br /> <span style=\"color: #00C800;\">if</span> ! Empty<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span> <span style=\"color: #000000;\">)</span> .and. ;<br /> <span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">(</span> Upper<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">ClassName</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> $ <span style=\"color: #ff0000;\">\"TFOLDER;TPAGES;TFOLDEREX\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> hCtlNext = NextDlgTab<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">hWnd</span>, ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">hCtlFocus</span> = hCtrl<br /> SetFocus<span style=\"color: #000000;\">(</span> hCtlNext <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">else</span><br /> SendKey<span style=\"color: #000000;\">(</span> VK_TAB <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:5rhyyu6f]",
"time": "02:18",
"topic": "A problem in TAB handling",
"username": "Antonio Linares"
}
] |
A problem in TAB handling
|
[
{
"date": "2011-11-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\nIt is included in current revised FWH build?.",
"time": "09:27",
"topic": "A problem in TAB handling",
"username": "ukservice"
}
] |
A problem in TAB handling
|
[
{
"date": "2011-11-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "John,\n\nNot yet. We are pending to know the users, that reported problems, tests results",
"time": "09:42",
"topic": "A problem in TAB handling",
"username": "Antonio Linares"
}
] |
A problem in TAB handling
|
[
{
"date": "2011-11-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Great.\n\nPlease, indicate when it´s ready.\n\nThank you.",
"time": "09:45",
"topic": "A problem in TAB handling",
"username": "ukservice"
}
] |
A problem in TAB handling
|
[
{
"date": "2011-11-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "My sample is working now but the problem seems wider:\n\n[code=fw:em8efr0g]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oDlg, oBrw<br /><br /> USE CUSTOMER<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">800</span>, <span style=\"color: #000000;\">600</span><br /><br /> @ <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">LISTBOX</span> oBrw FIELDS;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">400</span>, <span style=\"color: #000000;\">200</span><br /><br /> @ <span style=\"color: #000000;\">250</span>,<span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">BTNBMP</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Chiudi\"</span>;<br /> <span style=\"color: #0000ff;\">ACTION</span> oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #0000ff;\">PIXEL</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg;<br /> <span style=\"color: #0000ff;\">CENTER</span><br /><br /> CLOSE<br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:em8efr0g]\n\nEMG",
"time": "10:44",
"topic": "A problem in TAB handling",
"username": "Enrico Maria Giordano"
}
] |
A problem in TAB handling
|
[
{
"date": "2011-11-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I have tested with new code, but not functioning! The TAB steps outside from the TFOLDEX and the dialog from TFOLDEX becomes never the focus. It seems also, when a combobox is in the dialog, the TAB stops and the app hangs. (sendkey()??)",
"time": "11:05",
"topic": "A problem in TAB handling",
"username": "byte-one"
}
] |
A problem in TAB handling
|
[
{
"date": "2011-11-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Ok, it seems clear why the hangs that Günther reports: If the user has pressed a Tab and we send another tab, then we go into a loop and the app hangs...\n\nSo, for now, this seems to be the code to use. Please test it and report your results, thanks! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\n[code=fw:10anqkad]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">METHOD</span> GoNextCtrl<span style=\"color: #000000;\">(</span> hCtrl <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TWindow<br /><br /> <span style=\"color: #00C800;\">local</span> hCtlNext, nAt<br /> <br /> <span style=\"color: #00C800;\">if</span> ! Empty<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span> <span style=\"color: #000000;\">)</span> .and. hCtrl == ::<span style=\"color: #000000;\">LastActiveCtrl</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #000000;\">hWnd</span> .and. ;<br /> ! Empty<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span> <span style=\"color: #000000;\">)</span> .and. <span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">(</span> Upper<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">ClassName</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> $ <span style=\"color: #ff0000;\">\"TFOLDER;TPAGES;TFOLDEREX\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> hCtlNext = NextDlgTab<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">hWnd</span>, ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">hCtlFocus</span> = hCtrl<br /> SetFocus<span style=\"color: #000000;\">(</span> hCtlNext <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">else</span><br /> nAt = AScan<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span>, <span style=\"color: #000000;\">{</span> | o | o:<span style=\"color: #000000;\">hWnd</span> == hCtrl <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">if</span> nAt != <span style=\"color: #000000;\">0</span><br /> nAt = <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nAt < Len<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span> <span style=\"color: #000000;\">)</span>, nAt + <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">while</span> ! lAnd<span style=\"color: #000000;\">(</span> GetWindowLong<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">[</span> nAt <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">hWnd</span>, GWL_STYLE <span style=\"color: #000000;\">)</span>, WS_TABSTOP <span style=\"color: #000000;\">)</span><br /> nAt = <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nAt < Len<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span> <span style=\"color: #000000;\">)</span>, nAt + <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> end<br /> SetFocus<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">[</span> nAt <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">endif</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:10anqkad]",
"time": "12:27",
"topic": "A problem in TAB handling",
"username": "Antonio Linares"
}
] |
A problem in TAB handling
|
[
{
"date": "2011-11-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio, now is functioning, but the TAB-order from the controls not in all cases are as in the RC defined and the dotted rectangle is not shown on the first stop at listbox,etc.. GoPrevCtrl() is OK. You should go back to 11/9 for this methods for the moment!?\n\nAnother point in Class TWindow:\nI have adapted the method SayRect() similar to method Say(). Can you add this?\n\n[code=fw:222qr691]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">METHOD</span> SayRect<span style=\"color: #000000;\">(</span> nRow, nCol, cText, nClrFore, nClrBack, nWidth, oFont, lTransparent, nAlign, nHeight <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TWindow<br /><br /> <span style=\"color: #00C800;\">DEFAULT</span> nClrFore := ::<span style=\"color: #000000;\">nClrText</span>,;<br /> nClrBack := ::<span style=\"color: #000000;\">nClrPane</span>,;<br /> oFont := ::<span style=\"color: #000000;\">oFont</span>,;<br /> lTransparent := .t.,;<br /> nWidth := <span style=\"color: #000000;\">200</span>,;<br /> nHeight := <span style=\"color: #000000;\">20</span><br /><br /> <span style=\"color: #00C800;\">if</span> ValType<span style=\"color: #000000;\">(</span> nClrFore <span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"C\"</span> <span style=\"color: #B900B9;\">// xBase Color string</span><br /> nClrBack = nClrFore<br /> nClrFore = nGetForeRGB<span style=\"color: #000000;\">(</span> nClrFore <span style=\"color: #000000;\">)</span><br /> nClrBack = nGetBackRGB<span style=\"color: #000000;\">(</span> nClrBack <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /><br /> ::<span style=\"color: #000000;\">GetDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> nAlign := GetTextAlign<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hDC</span> <span style=\"color: #000000;\">)</span><br /> nHeight := <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> oFont != <span style=\"color: #00C800;\">nil</span>, oFont:<span style=\"color: #000000;\">nHeight*</span><span style=\"color: #000000;\">1.5</span>, nHeight <span style=\"color: #000000;\">)</span><br /><br /> WSayRect<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hWnd</span>, ::<span style=\"color: #000000;\">hDC</span>, nRow, nCol, cText, nClrFore, nClrBack, nWidth, ;<br /> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> oFont != <span style=\"color: #00C800;\">nil</span>, oFont:<span style=\"color: #000000;\">hFont</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span>, lTransparent, nAlign, nHeight <span style=\"color: #000000;\">)</span><br /><br /> ::<span style=\"color: #000000;\">ReleaseDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br />*/<br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">(</span> WSAYRECT <span style=\"color: #000000;\">)</span><br /><span style=\"color: #000000;\">{</span><br /> HWND hWnd = <span style=\"color: #000000;\">(</span> HWND <span style=\"color: #000000;\">)</span> hb_parnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span>;<br /> HDC hDC = <span style=\"color: #000000;\">(</span> HDC <span style=\"color: #000000;\">)</span> hb_parnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span>;<br /> WORD wRow = hb_parni<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">)</span>;<br /> WORD wCol = hb_parni<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">)</span>;<br /> LPSTR szText = <span style=\"color: #000000;\">(</span> LPSTR <span style=\"color: #000000;\">)</span> hb_parc<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">)</span>;<br /> COLORREF clrFore = <span style=\"color: #000000;\">(</span> hb_pcount<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> > <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">)</span> ? hb_parnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">)</span>: <span style=\"color: #000000;\">0</span>;<br /> COLORREF clrBack = <span style=\"color: #000000;\">(</span> hb_pcount<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> > <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">)</span> ? hb_parnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">7</span> <span style=\"color: #000000;\">)</span>: <span style=\"color: #000000;\">RGB</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">)</span>;<br /> WORD wRectLen = hb_parni<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">8</span> <span style=\"color: #000000;\">)</span>;<br /> HFONT hFont = <span style=\"color: #000000;\">(</span> HFONT <span style=\"color: #000000;\">)</span> hb_parnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">)</span>;<br /> BOOL bTransparent = hb_parl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">)</span>;<br /> UINT uiAlign = hb_parnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">11</span> <span style=\"color: #000000;\">)</span>, uiOldAlign;<br /> WORD wRectHight = hb_parni<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">12</span> <span style=\"color: #000000;\">)</span>;<br /> HFONT hOldFont;<br /> BOOL bDestroyDC = <span style=\"color: #00C800;\">FALSE</span>;<br /> RECT rct;<br /> #ifdef UNICODE<br /> LPWSTR pW;<br /> #endif<br /> COLORREF clrForeOld, clrBackOld;<br /><br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> ! hDC <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> bDestroyDC = <span style=\"color: #00C800;\">TRUE</span>;<br /> hDC = GetDC<span style=\"color: #000000;\">(</span> hWnd <span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #000000;\">}</span><br /><br /> SetTextColor<span style=\"color: #000000;\">(</span> hDC, clrFore <span style=\"color: #000000;\">)</span>;<br /> SetBkColor<span style=\"color: #000000;\">(</span> hDC, clrBack <span style=\"color: #000000;\">)</span>;<br /><br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> bTransparent <span style=\"color: #000000;\">)</span><br /> SetBkMode<span style=\"color: #000000;\">(</span> hDC, TRANSPARENT <span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #00C800;\">else</span><br /> SetBkMode<span style=\"color: #000000;\">(</span> hDC, OPAQUE <span style=\"color: #000000;\">)</span>;<br /><br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> hFont <span style=\"color: #000000;\">)</span><br /> hOldFont = <span style=\"color: #000000;\">(</span> HFONT <span style=\"color: #000000;\">)</span> SelectObject<span style=\"color: #000000;\">(</span> hDC, hFont <span style=\"color: #000000;\">)</span>;<br /><br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> uiAlign <span style=\"color: #000000;\">)</span><br /> uiOldAlign = SetTextAlign<span style=\"color: #000000;\">(</span> hDC, uiAlign <span style=\"color: #000000;\">)</span>;<br /><br /> rct.top = wRow;<br /> rct.bottom = rct.top + wRectHight;<br /> rct.<span style=\"color: #0000ff;\">left</span> = wCol;<br /> rct.<span style=\"color: #0000ff;\">right</span> = rct.<span style=\"color: #0000ff;\">left</span> + wRectLen;<br /><br /> #ifndef UNICODE<br /> DrawText<span style=\"color: #000000;\">(</span> hDC, szText, lstrlen<span style=\"color: #000000;\">(</span> szText <span style=\"color: #000000;\">)</span>, &rct, DT_WORDBREAK<span style=\"color: #000000;\">)</span>;<br /> #else<br /> pW = AnsiToWide<span style=\"color: #000000;\">(</span> szText <span style=\"color: #000000;\">)</span>;<br /> DrawText<span style=\"color: #000000;\">(</span> hDC, pW, <span style=\"color: #0000ff;\">strlen</span><span style=\"color: #000000;\">(</span> szText <span style=\"color: #000000;\">)</span>, &rct, DT_WORDBREAK<span style=\"color: #000000;\">)</span>;<br /> _xfree<span style=\"color: #000000;\">(</span> pW <span style=\"color: #000000;\">)</span>;<br /> #endif<br /><br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> uiAlign <span style=\"color: #000000;\">)</span><br /> SetTextAlign<span style=\"color: #000000;\">(</span> hDC, uiOldAlign <span style=\"color: #000000;\">)</span>;<br /><br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> hFont <span style=\"color: #000000;\">)</span><br /> SelectObject<span style=\"color: #000000;\">(</span> hDC, hOldFont <span style=\"color: #000000;\">)</span>;<br /><br /> SetTextColor<span style=\"color: #000000;\">(</span> hDC, clrForeOld <span style=\"color: #000000;\">)</span>;<br /> SetBkColor<span style=\"color: #000000;\">(</span> hDC, clrBackOld <span style=\"color: #000000;\">)</span>;<br /><br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> bDestroyDC <span style=\"color: #000000;\">)</span><br /> ReleaseDC<span style=\"color: #000000;\">(</span> hWnd, hDC <span style=\"color: #000000;\">)</span>;<br /><span style=\"color: #000000;\">}</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span></div>[/code:222qr691]",
"time": "13:55",
"topic": "A problem in TAB handling",
"username": "byte-one"
}
] |
A problem in TAB handling
|
[
{
"date": "2011-11-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio, he preparado un video \n[url:13yhpo09]http://www.donboscocorp.com/carlos/falla2.rar[/url:13yhpo09]\nhe modificado el metodo segun tu indicacion\n[code=fw:13yhpo09]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">METHOD</span> GoNextCtrl<span style=\"color: #000000;\">(</span> hCtrl <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TWindow<br /> <span style=\"color: #00C800;\">local</span> hCtlNext, nAt<br /><br /> ???ProcName<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">if</span> !Empty<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span> <span style=\"color: #000000;\">)</span> .and. hCtrl == ::<span style=\"color: #000000;\">LastActiveCtrl</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #000000;\">hWnd</span> .and. ;<br /> !Empty<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span> <span style=\"color: #000000;\">)</span> .and. <span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">(</span> Upper<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">ClassName</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> $ <span style=\"color: #ff0000;\">\"TFOLDER;TPAGES;TFOLDEREX\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> hCtlNext := NextDlgTab<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">hWnd</span>, ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span><br /> ???<span style=\"color: #000000;\">1</span>, hCtrl<br /> ::<span style=\"color: #000000;\">hCtlFocus</span> := hCtrl<br /> SetFocus<span style=\"color: #000000;\">(</span> hCtlNext <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">ELSE</span><br /><br /> nAt := AScan<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span>, <span style=\"color: #000000;\">{</span> | o | o:<span style=\"color: #000000;\">hWnd</span> == hCtrl <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> ???<span style=\"color: #ff0000;\">\"2->\"</span>, Len<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span> <span style=\"color: #000000;\">)</span>, hCtrl, nAt<br /> <span style=\"color: #00C800;\">if</span> nAt != <span style=\"color: #000000;\">0</span><br /> nAt := <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nAt < Len<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span> <span style=\"color: #000000;\">)</span>, nAt + <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">while</span> ! lAnd<span style=\"color: #000000;\">(</span> GetWindowLong<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">[</span> nAt <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">hWnd</span>, GWL_STYLE <span style=\"color: #000000;\">)</span>, WS_TABSTOP <span style=\"color: #000000;\">)</span><br /> nAt = <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nAt < Len<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span> <span style=\"color: #000000;\">)</span>, nAt + <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> end<br /> ???<span style=\"color: #ff0000;\">\"entro\"</span>, nAt, ::<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">[</span> nAt <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">hWnd</span><br /> SetFocus<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">[</span> nAt <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">endif</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:13yhpo09]\n\nhe agregado unas lineas para poder depurar y ver como se disparan las acciones, \neh aqui mis observaciones:\n[quote:13yhpo09]\n*cuando estamos en un dialogo sencillo, todo funciona muy bien.\nal pasar de un get a otro se dispara el evento gonextctrl una sola vez cada salto.\n\n*cuanto estamos en un dialogo, el salto entre get y get dispara dos veces el metodo gonexctrl.\n*en el caso del checkbox observa que con enter no funciona el salto al siguiente control.\n*al llegar al ultimo get, y presionar enter el proximo control a tomar foco serian unos botones (son tres consecutivos ya que los get que tiene cada boton estan desabilitatos)\n[/quote:13yhpo09]",
"time": "21:42",
"topic": "A problem in TAB handling",
"username": "carlos vargas"
}
] |
A problem in TAB handling
|
[
{
"date": "2011-11-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[url:35elqhxy]http://www.donboscocorp.com/carlos/falla.rar[/url:35elqhxy]\nvideo actualizado.\n\nsalu2",
"time": "23:48",
"topic": "A problem in TAB handling",
"username": "carlos vargas"
}
] |
A problem in TAB handling
|
[
{
"date": "2011-11-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Carlos,\n\nEn vez de usar ?? ó MsgInfo(), usa LogFile( cFileName, { Valores, ... } ) para hacer el seguimiento, pues si usas un medio que altere el foco esta afectando al comportamiento por defecto.",
"time": "01:58",
"topic": "A problem in TAB handling",
"username": "Antonio Linares"
}
] |
A problem in TAB handling
|
[
{
"date": "2011-11-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "ok Antonio, lo hare y te comento los resultados.\naunque ??? es un comando preprocesado para usar la funcion OutputDebugString\nno tengo claro si este tipo de depuración afecta el foco o algo asi <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) --> \n\n[code=fw:3oml3tn5]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />#xcommand ???<xData> <span style=\"color: #000000;\">[</span>, <xDataN> <span style=\"color: #000000;\">]</span> => KDSDebug<span style=\"color: #000000;\">(</span> <xData> <span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #000000;\">[</span>; KDSDebug<span style=\"color: #000000;\">(</span> <xDataN><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">]</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> KDSDebug<span style=\"color: #000000;\">(</span> xVal, lReturn <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">DEFAULT</span> lReturn := <span style=\"color: #00C800;\">FALSE</span><br /><br /> OutPutDebugStringC<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Depuración: \"</span> + CStr<span style=\"color: #000000;\">(</span> xVal <span style=\"color: #000000;\">)</span> + IIf<span style=\"color: #000000;\">(</span> lReturn, FINL, <span style=\"color: #ff0000;\">\"\"</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: #00D7D7;\">#pragma</span> BEGINDUMP<br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"hbapi.h\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"hbapiitm.h\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"hbapierr.h\"</span><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"windows.h\"</span><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">(</span> OUTPUTDEBUGSTRINGC <span style=\"color: #000000;\">)</span><br /><span style=\"color: #000000;\">{</span><br /> PHB_ITEM szMsg = hb_param<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span>, HB_IT_STRING <span style=\"color: #000000;\">)</span>;<br /><br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> szMsg != <span style=\"color: #00C800;\">NULL</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> OutputDebugStringA<span style=\"color: #000000;\">(</span> hb_itemGetC<span style=\"color: #000000;\">(</span> szMsg <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>;<br /> OutputDebugStringA<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\n</span>\"</span> <span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #000000;\">}</span><br /> hb_retc<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">)</span>;<br /><span style=\"color: #000000;\">}</span><br /><br /><span style=\"color: #00D7D7;\">#pragma</span> ENDDUMP<br /> </div>[/code:3oml3tn5]",
"time": "03:00",
"topic": "A problem in TAB handling",
"username": "carlos vargas"
}
] |
A problem in TAB handling
|
[
{
"date": "2011-11-13",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Any news?\n\nEMG",
"time": "11:10",
"topic": "A problem in TAB handling",
"username": "Enrico Maria Giordano"
}
] |
A problem in TAB handling
|
[
{
"date": "2011-11-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I ask also!?? Any news? The last changes are not so good!",
"time": "14:12",
"topic": "A problem in TAB handling",
"username": "byte-one"
}
] |
A problem in TAB handling
|
[
{
"date": "2011-11-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "This is the most recent code. please test with it, thanks:\n\n[code=fw:1ofhn8vv]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">METHOD</span> GoNextCtrl<span style=\"color: #000000;\">(</span> hCtrl <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TWindow<br /><br /> <span style=\"color: #00C800;\">local</span> hCtlNext, nAt<br /> <br /> <span style=\"color: #00C800;\">if</span> ! Empty<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span> <span style=\"color: #000000;\">)</span> .and. hCtrl == ::<span style=\"color: #000000;\">LastActiveCtrl</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #000000;\">hWnd</span> .and. ;<br /> ! Empty<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span> <span style=\"color: #000000;\">)</span> .and. <span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">(</span> Upper<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">ClassName</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> $ <span style=\"color: #ff0000;\">\"TFOLDER;TPAGES;TFOLDEREX\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> hCtlNext = NextDlgTab<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">hWnd</span>, ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">hCtlFocus</span> = hCtrl<br /> SetFocus<span style=\"color: #000000;\">(</span> hCtlNext <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">else</span><br /> nAt = AScan<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span>, <span style=\"color: #000000;\">{</span> | o | o:<span style=\"color: #000000;\">hWnd</span> == hCtrl <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">if</span> nAt != <span style=\"color: #000000;\">0</span><br /> nAt = <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nAt < Len<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span> <span style=\"color: #000000;\">)</span>, nAt + <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">while</span> ! lAnd<span style=\"color: #000000;\">(</span> GetWindowLong<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">[</span> nAt <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">hWnd</span>, GWL_STYLE <span style=\"color: #000000;\">)</span>, WS_TABSTOP <span style=\"color: #000000;\">)</span> .or. ;<br /> ! IsWindowEnabled<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">[</span> nAt <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span><br /> nAt = <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nAt < Len<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span> <span style=\"color: #000000;\">)</span>, nAt + <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> end<br /> SetFocus<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">[</span> nAt <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">endif</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:1ofhn8vv]",
"time": "00:51",
"topic": "A problem in TAB handling",
"username": "Antonio Linares"
}
] |
A problem in TAB handling
|
[
{
"date": "2011-11-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "The only remaining problem that we found is when the first control is a combobox, in this case this seems to be a valid workaround until we find a better solution:\n\n[code=fw:1suaks3x]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oDlg, oCbx, cValue := <span style=\"color: #ff0000;\">\"One\"</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /> <br /> @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oCbx <span style=\"color: #0000ff;\">VAR</span> cValue <span style=\"color: #0000ff;\">ITEMS</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"One\"</span>, <span style=\"color: #ff0000;\">\"Two\"</span>, <span style=\"color: #ff0000;\">\"Three\"</span> <span style=\"color: #000000;\">}</span><br /> <br /> @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"OK\"</span><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;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">(</span> ATail<span style=\"color: #000000;\">(</span> oDlg:<span style=\"color: #000000;\">aControls</span> <span style=\"color: #000000;\">)</span>:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, SysRefresh<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, SendKey<span style=\"color: #000000;\">(</span> VK_TAB <span style=\"color: #000000;\">)</span>, .F. <span style=\"color: #000000;\">)</span> <br /> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:1suaks3x]",
"time": "00:52",
"topic": "A problem in TAB handling",
"username": "Antonio Linares"
}
] |
A problem in TAB handling
|
[
{
"date": "2011-11-23",
"forum": "FiveWin for Harbour/xHarbour",
"text": "<!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->",
"time": "22:32",
"topic": "A problem in TAB handling",
"username": "Patricio Avalos Aguirre"
}
] |
A problem in TAB handling
|
[
{
"date": "2011-02-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Marco:\n\nMy pc has windows 7 premium and I have not problems at all with index files.\n\nregards",
"time": "17:19",
"topic": "A problem in Vista",
"username": "Armando"
}
] |
A problem in Vista
|
[
{
"date": "2011-02-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "A very strange problem in a PC with Vista installed.\nAfter an Invoice creation:\n- I return to main Menu (there is a CLOSE DATABASE instruction)\n- I select \"Invoce\"\n- a list of all invoices appears but the newly created invoice does not appear\n\nIf I Exit from application and re-run it IF I select \"Invoice\" now the Invoice is visible.\n\nAny ideas\n\nIs there any known problem concerning Vista?\n\nmarco",
"time": "14:34",
"topic": "A problem in Vista",
"username": "MarcoBoschi"
}
] |
A problem in Vista
|
[
{
"date": "2011-02-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Marco,\n\nIs the index not open either when the invoice is added or when the invoice list is displayed?\n\nJames",
"time": "15:29",
"topic": "A problem in Vista",
"username": "James Bott"
}
] |
A problem in Vista
|
[
{
"date": "2011-02-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "James, \n Yes of course\nmarco",
"time": "17:23",
"topic": "A problem in Vista",
"username": "MarcoBoschi"
}
] |
A problem in Vista
|
[
{
"date": "2011-02-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Is the database filtered anywhere? Perhaps it the filter is still in effect when you go to look for the invoice and exiting and rerunning it shows the list without the filter. Or, maybe you have a conditional index?\n\nI doubt that this only occurs under Vista. I suspect it is something in your code.\n\nRegards,\nJames",
"time": "18:13",
"topic": "A problem in Vista",
"username": "James Bott"
}
] |
A problem in Vista
|
[
{
"date": "2011-02-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "No filter.\nNo conditional index.\nProbably it it could happen in other situations but not in XP pro, Windows Server and Windows 7\nThank you James\n\nmarco",
"time": "18:18",
"topic": "A problem in Vista",
"username": "MarcoBoschi"
}
] |
A problem in Vista
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.