messages
listlengths 1
1
| topic
stringlengths 2
60
|
|---|---|
[
{
"date": "2007-04-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "use fwh 7.01 \n\n<!-- m --><a class=\"postlink\" href=\"http://img255.imageshack.us/img255/1310/seta1cb3.jpg\">http://img255.imageshack.us/img255/1310/seta1cb3.jpg</a><!-- m --> \n\n<!-- m --><a class=\"postlink\" href=\"http://img150.imageshack.us/img150/7351/seta2fz5.jpg\">http://img150.imageshack.us/img150/7351/seta2fz5.jpg</a><!-- m --> \n\nwhat is this?\n\nAokisantos <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: -->",
"time": "13:31",
"topic": "Bug xbrowse - help- me",
"username": "AOKISANTOS"
}
] |
Bug xbrowse - help- me
|
[
{
"date": "2007-04-26",
"forum": "FiveWin for Harbour/xHarbour",
"text": "THANKS ROSSINE, YOU IS SHOW !!!\n\n\nAOKISANTOS",
"time": "01:04",
"topic": "Bug xbrowse - help- me",
"username": "AOKISANTOS"
}
] |
Bug xbrowse - help- me
|
[
{
"date": "2008-02-26",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Bug xbrowse click header from test:\n \n\nSTATIC FUNCTION NewDialog( oWnd )\n\n local oDlg, oBrw,cod:=10,oget\n\n DEFINE DIALOG oDlg RESOURCE \"TEST\" OF oWnd\n\n REDEFINE GET oget var cod id 4001 of odlg picture \"999999\" valid bod(cod)\n\n\n\n oBrw := TXBrowse():New( oWnd )\n\n oBrw:CreateFromResource( 101 )\n\n oBrw:SetArray( { { \"first\", \"row\" }, { \"second\", \"row\" } } )\n oBrw:aCols[ 1 ]:cHeader = \"An array\"\n oBrw:aCols[ 2 ]:cHeader = \"test\"\n oBrw:aCols[ 1 ]:bClrStd = { || { CLR_WHITE, CLR_BLUE } }\n oBrw:aCols[ 2 ]:bClrStd = { || { CLR_WHITE, CLR_BLUE } }\n\n ACTIVATE DIALOG oDlg ;\n ON INIT ( oBrw:SetColor( CLR_WHITE, CLR_BLUE ) )\n\nRETURN NIL\n\n\nFUNCTION test(COD)\n\nLOCAL LRET:=.F.\n\nIF COD>5\n msginfo(\"depois de confirmar esta mensagem o header fica louco\")\n LRET:=.F.\nELSE\n LRET:=.T.\nENDIF\n\nRETURN(LRET)",
"time": "20:25",
"topic": "Bug xbrowse Header",
"username": "MGA"
}
] |
Bug xbrowse Header
|
[
{
"date": "2008-02-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "up!!!",
"time": "12:00",
"topic": "Bug xbrowse Header",
"username": "MGA"
}
] |
Bug xbrowse Header
|
[
{
"date": "2008-02-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Sera que é só eu que tenho este problema???",
"time": "17:58",
"topic": "Bug xbrowse Header",
"username": "MGA"
}
] |
Bug xbrowse Header
|
[
{
"date": "2008-02-26",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Amigos, no exemplo abaixo tirado do c:\\fwh802\\samples\\testxbrw,\nse logo na entrada clicar no header, o sistema vai mostrar a mensagem e em seguida o header vai ficar louco.\n\n \n\nSTATIC FUNCTION NewDialog( oWnd )\n\n local oDlg, oBrw,cod:=10,oget\n\n DEFINE DIALOG oDlg RESOURCE \"TEST\" OF oWnd\n\n REDEFINE GET oget var cod id 4001 of odlg picture \"999999\" valid bod(cod)\n\n\n\n oBrw := TXBrowse():New( oWnd )\n\n oBrw:CreateFromResource( 101 )\n\n oBrw:SetArray( { { \"first\", \"row\" }, { \"second\", \"row\" } } )\n oBrw:aCols[ 1 ]:cHeader = \"An array\"\n oBrw:aCols[ 2 ]:cHeader = \"test\"\n oBrw:aCols[ 1 ]:bClrStd = { || { CLR_WHITE, CLR_BLUE } }\n oBrw:aCols[ 2 ]:bClrStd = { || { CLR_WHITE, CLR_BLUE } }\n\n ACTIVATE DIALOG oDlg ;\n ON INIT ( oBrw:SetColor( CLR_WHITE, CLR_BLUE ) )\n\nRETURN NIL\n\n\nFUNCTION test(COD)\n\nLOCAL LRET:=.F.\n\nIF COD>5\n msginfo(\"depois de confirmar esta mensagem o header fica louco\")\n LRET:=.F.\nELSE\n LRET:=.T.\nENDIF\n\nRETURN(LRET)\n\n\nComo resolver?\n\n\nGrato",
"time": "20:28",
"topic": "Bug xbrowse header",
"username": "MGA"
}
] |
Bug xbrowse header
|
[
{
"date": "2008-02-27",
"forum": "FiveWin para Harbour/xHarbour",
"text": "UP!",
"time": "18:02",
"topic": "Bug xbrowse header",
"username": "MGA"
}
] |
Bug xbrowse header
|
[
{
"date": "2008-03-05",
"forum": "FiveWin para Harbour/xHarbour",
"text": "UP!!",
"time": "12:22",
"topic": "Bug xbrowse header",
"username": "MGA"
}
] |
Bug xbrowse header
|
[
{
"date": "2010-08-20",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Existe un bug a la hora de guardar/restaurar el estado de un xbrowse.\n\nLa cuestión es que no deja correctamente el orden de las columnas, y las va desplazando.\n\nEjemplo sobre testxbr3.prg modificado.\n\n1.- Selecciona, windows, RDD,Selected Cols.\n2.-Una vez que se abre la MDI, mueve la columna Last, y colocala delante de Married.\n3.-Ahora presiona el boton que he añadido, GUARDAR segundo estado. ( De esta manera tenemos el estado anterior y el actual )\n4.-Ahora ves presionando el boton de al lado, restaura estados, una y otra vez, y verás el efecto que te digo.\n\nModificaciones a testxbr3.prg, no se como subir un fichero al foro ;\n\n[code=fw:3lucldl3]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">... al inicio, antes del Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <br /><span style=\"color: #B900B9;\">// Dos staticas, que guardan el estado inicial y el nuevo</span><br /><span style=\"color: #00C800;\">static</span> cPrg, cFunc<br /><span style=\"color: #00C800;\">static</span> s_RestoreBrowse, s_RestoreBrowse2 <span style=\"color: #B900B9;\">// codigo add</span></div>[/code:3lucldl3]\n\nEn la función static function RddBrwSelColsWin\n [code=fw:3lucldl3]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> ... codigo de fw....<br /> oWnd:<span style=\"color: #000000;\">oClient</span> := oBrw<br /><br /> <span style=\"color: #00C800;\">if</span> empty<span style=\"color: #000000;\">(</span> s_RestoreBrowse <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// Codigo addd</span><br /> s_RestoreBrowse := oBrw:<span style=\"color: #000000;\">SaveState</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// Guardo estado</span><br /> <span style=\"color: #00C800;\">endif</span></div>[/code:3lucldl3]\n\nAhora, en la funcion BtnBar() add estos 2 botones al final\n\n[code=fw:3lucldl3]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">OF</span> oBar ;<br /> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"SAVE\"</span> TOP ;<br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Guardar SEGUNDO Estado\"</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> s_RestoreBrowse2 := oBrw:<span style=\"color: #000000;\">SaveState</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Guarda el estado del browse\"</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">OF</span> oBar ;<br /> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"RESTAURA\"</span> TOP ;<br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Restaura Estados\"</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> rueda<span style=\"color: #000000;\">(</span> oBrw <span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Restaura el estado del browse\"</span><br /><br /> </div>[/code:3lucldl3]\n\nCreamos la funcion rueda()\n[code=fw:3lucldl3]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> rueda<span style=\"color: #000000;\">(</span> oBrw <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">static</span> luno := .T.<br /><br /> <span style=\"color: #00C800;\">if</span> lUno<br /> oBrw:<span style=\"color: #000000;\">RestoreState</span><span style=\"color: #000000;\">(</span> s_RestoreBrowse <span style=\"color: #000000;\">)</span><br /> lUno := .F.<br /> <span style=\"color: #00C800;\">else</span><br /> oBrw:<span style=\"color: #000000;\">RestoreState</span><span style=\"color: #000000;\">(</span> s_RestoreBrowse2 <span style=\"color: #000000;\">)</span><br /> lUno := .T.<br /> <span style=\"color: #00C800;\">endif</span><br /> oBrw:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:3lucldl3]",
"time": "13:01",
"topic": "Bug. XBROWSE y SaveState()",
"username": "thefull"
}
] |
Bug. XBROWSE y SaveState()
|
[
{
"date": "2010-08-22",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Please replace the Method RestoreState( cState ) in the xbrowse.prg with this code:\n[code=fw:q8xpj8sk]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">//--------------------------------------------------------------</span><br /><span style=\"color: #00C800;\">METHOD</span> RestoreState<span style=\"color: #000000;\">(</span> cState <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TXBrowse<br /><br /> <span style=\"color: #00C800;\">local</span> aCols := <span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">local</span> aNewOrder := <span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">local</span> nFor, nLen, nHeight, cCol, oCol, nWidth, cHeader, nOrder, lHide<br /><br /> <span style=\"color: #00C800;\">if</span> Empty<span style=\"color: #000000;\">(</span> cState <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 /><br /> nLen := Len<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aCols</span> <span style=\"color: #000000;\">)</span><br /> nHeight := Val<span style=\"color: #000000;\">(</span>StrToken<span style=\"color: #000000;\">(</span> cState, <span style=\"color: #000000;\">1</span>, <span style=\"color: #ff0000;\">\";\"</span> <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;\">nRowHeight</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 /><br /> <span style=\"color: #00C800;\">for</span> nFor := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> nLen<br /> cCol := StrToken<span style=\"color: #000000;\">(</span> cState, nFor + <span style=\"color: #000000;\">1</span>, <span style=\"color: #ff0000;\">\";\"</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">if</span> Empty<span style=\"color: #000000;\">(</span> cCol <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 /> aadd<span style=\"color: #000000;\">(</span> aNewOrder, Val<span style=\"color: #000000;\">(</span> cCol <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">next</span><br /><br /> ASort<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aCols</span>,,, <span style=\"color: #000000;\">{</span> |x,y| x:<span style=\"color: #000000;\">nCreationOrder</span> < y:<span style=\"color: #000000;\">nCreationOrder</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /><br /> ::<span style=\"color: #000000;\">nRowHeight</span> := nHeight<br /><br /> <span style=\"color: #00C800;\">for</span> nFor := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> nLen<br /> cCol := StrToken<span style=\"color: #000000;\">(</span> cState, nFor + <span style=\"color: #000000;\">1</span>, <span style=\"color: #ff0000;\">\";\"</span> <span style=\"color: #000000;\">)</span><br /> nOrder := Val<span style=\"color: #000000;\">(</span> StrToken<span style=\"color: #000000;\">(</span> cCol, <span style=\"color: #000000;\">1</span>, <span style=\"color: #ff0000;\">\":\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> nWidth := Val<span style=\"color: #000000;\">(</span> StrToken<span style=\"color: #000000;\">(</span> cCol, <span style=\"color: #000000;\">2</span>, <span style=\"color: #ff0000;\">\":\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> cHeader := StrToken<span style=\"color: #000000;\">(</span> cCol, <span style=\"color: #000000;\">3</span>, <span style=\"color: #ff0000;\">\":\"</span> <span style=\"color: #000000;\">)</span><br /> lHide := <span style=\"color: #000000;\">(</span> AllTrim<span style=\"color: #000000;\">(</span> StrToken<span style=\"color: #000000;\">(</span> cCol, <span style=\"color: #000000;\">4</span>, <span style=\"color: #ff0000;\">\":\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"H\"</span> <span style=\"color: #000000;\">)</span><br /> oCol := ::<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span> nOrder <span style=\"color: #000000;\">]</span><br /> oCol:<span style=\"color: #000000;\">lHide</span> := lHide<br /> oCol:<span style=\"color: #000000;\">nWidth</span> := nWidth<br /> oCol:<span style=\"color: #000000;\">cHeader</span> := cHeader<br /> <span style=\"color: #00C800;\">next</span><br /><br /> AEval<span style=\"color: #000000;\">(</span> aNewOrder, <span style=\"color: #000000;\">{</span> |n| AAdd<span style=\"color: #000000;\">(</span> aCols, ::<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span> n <span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">aCols</span> := aCols<br /><br /> ::<span style=\"color: #000000;\">GetDisplayCols</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #00C800;\">Super</span>:<span style=\"color: #0000ff;\">Refresh</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: #B900B9;\">//----------------------------------------------------------------------------//</span><br /> </div>[/code:q8xpj8sk]",
"time": "07:06",
"topic": "Bug. XBROWSE y SaveState()",
"username": "nageswaragunupudi"
}
] |
Bug. XBROWSE y SaveState()
|
[
{
"date": "2011-02-04",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Muchas horas perdidas buscando porque diablos me pasaba eso y con esto se soluciono.\n\nGracias nageswaragunupudi, espero que ya este corregido en versiones mas recientes.",
"time": "23:45",
"topic": "Bug. XBROWSE y SaveState()",
"username": "RodolfoRBG"
}
] |
Bug. XBROWSE y SaveState()
|
[
{
"date": "2011-02-04",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote:1pbabmrc]espero que ya este corregido en versiones mas recientes.[/quote:1pbabmrc]\nYes.",
"time": "23:54",
"topic": "Bug. XBROWSE y SaveState()",
"username": "nageswaragunupudi"
}
] |
Bug. XBROWSE y SaveState()
|
[
{
"date": "2010-12-23",
"forum": "FiveWin para Harbour/xHarbour",
"text": "¿Cómo resolver esto:\n\nFwh 1010 + Vc2008 + Harbour\n\nFiveHCm.lib(FWGIF.obj) : error LNK2019: símbolo externo _GetWindowLongPtr sin resolver al que se hace referencia en la función _FW_WndProc@16\n\nSaluds, Ale",
"time": "15:07",
"topic": "Bug...Fwh1010 + TGif...",
"username": "Ale SB"
}
] |
Bug...Fwh1010 + TGif...
|
[
{
"date": "2010-12-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "estou com mesmo problema <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( -->",
"time": "11:05",
"topic": "Bug...Fwh1010 + TGif...",
"username": "clemerson"
}
] |
Bug...Fwh1010 + TGif...
|
[
{
"date": "2012-11-21",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Please add this code to your app:\n\n[code=fw:3tz58m5t]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#pragma</span> BEGINDUMP<br /><br /><span style=\"color: #00D7D7;\">#include</span> <windows.h><br /><br />#ifndef _WIN64<br /><br />LONG_PTR WINAPI GetWindowLongPtr<span style=\"color: #000000;\">(</span> HWND hWnd, int nIndex <span style=\"color: #000000;\">)</span><br /><span style=\"color: #000000;\">{</span><br /> <span style=\"color: #00C800;\">return</span> GetWindowLong<span style=\"color: #000000;\">(</span> hWnd, nIndex <span style=\"color: #000000;\">)</span>;<br /><span style=\"color: #000000;\">}</span><br /><br />#endif<br /><br /><span style=\"color: #00D7D7;\">#pragma</span> ENDDUMP<br /> </div>[/code:3tz58m5t]\n\n[url:3tz58m5t]http://msdn.microsoft.com/en-us/library/windows/desktop/ms633585(v=vs.85).aspx[/url:3tz58m5t]\n\n[quote:3tz58m5t]Note To write code that is compatible with both 32-bit and 64-bit versions of Windows, use GetWindowLongPtr. When compiling for 32-bit Windows, GetWindowLongPtr is defined as a call to the GetWindowLong function.[/quote:3tz58m5t]",
"time": "08:44",
"topic": "Bug...Fwh1010 + TGif...",
"username": "Antonio Linares"
}
] |
Bug...Fwh1010 + TGif...
|
[
{
"date": "2009-08-13",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Antonio;\n...por favor, revise el método SetRdd de xBrowse( FwH 906 y 907 ), esto es erróneo :\n\n\n If ( \"ADS\"$( ::cAlias )->( RddName() ) .or. 'ADT' $ ( ::cAlias )->( RddName() ) ) [color=#BF0000:1unnpykh].and. ; \n ( ::cAlias )->( LastRec() ) > 200[/color:1unnpykh]\n\nsería la correcta :\n\n If ( \"ADS\"$( ::cAlias )->( RddName() ) .or. 'ADT' $ ( ::cAlias )->( RddName() ) )\n\nNo podía usar [color=#BF0000:1unnpykh].and. ( ::cAlias )->( LastRec() ) > 200[/color:1unnpykh],...\n\n....no seria correcto determinar la quantidade de Registros, de acuerdo?\n\nSaluds, Ale",
"time": "06:57",
"topic": "Bug...xBrowse( FwH 906, 907 )",
"username": "Ale SB"
}
] |
Bug...xBrowse( FwH 906, 907 )
|
[
{
"date": "2009-08-16",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Ale,\n\nCorregido, gracias! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "21:12",
"topic": "Bug...xBrowse( FwH 906, 907 )",
"username": "Antonio Linares"
}
] |
Bug...xBrowse( FwH 906, 907 )
|
[
{
"date": "2020-07-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Mr.Rao\n\nAny news?",
"time": "12:29",
"topic": "Bug? cGetDir() on utf8",
"username": "richard-service"
}
] |
Bug? cGetDir() on utf8
|
[
{
"date": "2020-04-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[code=fw:1b8zlgj9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> HB_SetCodePage<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"UTF8\"</span><span style=\"color: #000000;\">)</span><br /> HB_CDPSELECT<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"UTF8\"</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #B900B9;\">//</span><br /> FW_SetUnicode<span style=\"color: #000000;\">(</span>.T.<span style=\"color: #000000;\">)</span><br /> cIniDir:=<span style=\"color: #ff0000;\">\"c:/temp/????\"</span><br /> cTmpDir := AllTrim<span style=\"color: #000000;\">(</span> cGetDir<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"?????????\"</span>, cIniDir, .T. <span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><br /> </div>[/code:1b8zlgj9]\n\nplease change '/' to '\\'\n\n\nTitle is ugly code!!\n\n[img:1b8zlgj9]https://i.imgur.com/M8aGaU2.jpg[/img:1b8zlgj9]",
"time": "15:57",
"topic": "Bug? cGetDir() on utf8",
"username": "ssbbs"
}
] |
Bug? cGetDir() on utf8
|
[
{
"date": "2020-04-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "As I don't understand Chinese, try this model.\n\n[code=fw:h6ljvgew]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00D7D7;\">#define</span> BIF_NONEWFOLDERBUTTON 0x200<br /><span style=\"color: #00D7D7;\">#define</span> BIF_RETURNONLYFSDIRS 0x0001<br /><span style=\"color: #00D7D7;\">#define</span> BIF_DONTGOBELOWDOMAIN 0x0002<br /><span style=\"color: #00D7D7;\">#define</span> BIF_STATUSTEXT 0x0004<br /><span style=\"color: #00D7D7;\">#define</span> BIF_RETURNFSANCESTORS 0x0008<br /><span style=\"color: #00D7D7;\">#define</span> BIF_EDITBOX 0x0010<br /><span style=\"color: #00D7D7;\">#define</span> BIF_VALIDATE 0x0020<br /><span style=\"color: #00D7D7;\">#define</span> BIF_NEWDIALOGSTYLE 0x0040<br /><span style=\"color: #00D7D7;\">#define</span> BIF_USENEWUI <span style=\"color: #000000;\">(</span>BIF_NEWDIALOGSTYLE | BIF_EDITBOX<span style=\"color: #000000;\">)</span><br /><span style=\"color: #00D7D7;\">#define</span> BIF_BROWSEINCLUDEURLS 0x0080<br /><span style=\"color: #00D7D7;\">#define</span> BIF_BROWSEFORCOMPUTER 0x1000<br /><span style=\"color: #00D7D7;\">#define</span> BIF_BROWSEFORPRINTER 0x2000<br /><span style=\"color: #00D7D7;\">#define</span> BIF_BROWSEINCLUDEFILES 0x4000<br /><span style=\"color: #00D7D7;\">#define</span> BIF_SHAREABLE 0x8000<br /><span style=\"color: #00D7D7;\">#define</span> MAX_PATH <span style=\"color: #000000;\">260</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> cTitle, cPath, cCarpDest, cPathDest<br /><br /> cTitle := <span style=\"color: #ff0000;\">\"Seleccione Carpeta\"</span><br /><br /> cPath := GETCURDIR<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> cCarpDest := <span style=\"color: #ff0000;\">\"Seleccione la carpeta donde copiar las novedades\"</span><br /><br /> cPathDest := cGetDir<span style=\"color: #000000;\">(</span> cTitle, cPath,, cCarpDest, ;<br /> BIF_RETURNONLYFSDIRS + BIF_DONTGOBELOWDOMAIN + ;<br /> BIF_USENEWUI + BIF_NONEWFOLDERBUTTON <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">IF</span> .NOT. EMPTY<span style=\"color: #000000;\">(</span> cPathDest <span style=\"color: #000000;\">)</span><br /> ? cPathDest<br /> <span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /> </div>[/code:h6ljvgew]\n\nRegards, saludos.",
"time": "16:18",
"topic": "Bug? cGetDir() on utf8",
"username": "karinha"
}
] |
Bug? cGetDir() on utf8
|
[
{
"date": "2020-04-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"karinha\":59zttm6o]As I don't understand Chinese, try this model.\n\n[code=fw:59zttm6o]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00D7D7;\">#define</span> BIF_NONEWFOLDERBUTTON 0x200<br /><span style=\"color: #00D7D7;\">#define</span> BIF_RETURNONLYFSDIRS 0x0001<br /><span style=\"color: #00D7D7;\">#define</span> BIF_DONTGOBELOWDOMAIN 0x0002<br /><span style=\"color: #00D7D7;\">#define</span> BIF_STATUSTEXT 0x0004<br /><span style=\"color: #00D7D7;\">#define</span> BIF_RETURNFSANCESTORS 0x0008<br /><span style=\"color: #00D7D7;\">#define</span> BIF_EDITBOX 0x0010<br /><span style=\"color: #00D7D7;\">#define</span> BIF_VALIDATE 0x0020<br /><span style=\"color: #00D7D7;\">#define</span> BIF_NEWDIALOGSTYLE 0x0040<br /><span style=\"color: #00D7D7;\">#define</span> BIF_USENEWUI <span style=\"color: #000000;\">(</span>BIF_NEWDIALOGSTYLE | BIF_EDITBOX<span style=\"color: #000000;\">)</span><br /><span style=\"color: #00D7D7;\">#define</span> BIF_BROWSEINCLUDEURLS 0x0080<br /><span style=\"color: #00D7D7;\">#define</span> BIF_BROWSEFORCOMPUTER 0x1000<br /><span style=\"color: #00D7D7;\">#define</span> BIF_BROWSEFORPRINTER 0x2000<br /><span style=\"color: #00D7D7;\">#define</span> BIF_BROWSEINCLUDEFILES 0x4000<br /><span style=\"color: #00D7D7;\">#define</span> BIF_SHAREABLE 0x8000<br /><span style=\"color: #00D7D7;\">#define</span> MAX_PATH <span style=\"color: #000000;\">260</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> cTitle, cPath, cCarpDest, cPathDest<br /><br /> cTitle := <span style=\"color: #ff0000;\">\"Seleccione Carpeta\"</span><br /><br /> cPath := GETCURDIR<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> cCarpDest := <span style=\"color: #ff0000;\">\"Seleccione la carpeta donde copiar las novedades\"</span><br /><br /> cPathDest := cGetDir<span style=\"color: #000000;\">(</span> cTitle, cPath,, cCarpDest, ;<br /> BIF_RETURNONLYFSDIRS + BIF_DONTGOBELOWDOMAIN + ;<br /> BIF_USENEWUI + BIF_NONEWFOLDERBUTTON <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">IF</span> .NOT. EMPTY<span style=\"color: #000000;\">(</span> cPathDest <span style=\"color: #000000;\">)</span><br /> ? cPathDest<br /> <span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /> </div>[/code:59zttm6o]\n\nRegards, saludos.[/quote:59zttm6o]\n\nSorry!! I test it and still fail.",
"time": "16:37",
"topic": "Bug? cGetDir() on utf8",
"username": "ssbbs"
}
] |
Bug? cGetDir() on utf8
|
[
{
"date": "2020-04-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "you can try this\n\ncDirTmp:=OemToAnsi(HB_UTF8ToStr(cGetDir()))",
"time": "18:09",
"topic": "Bug? cGetDir() on utf8",
"username": "Natter"
}
] |
Bug? cGetDir() on utf8
|
[
{
"date": "2020-04-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Natter\":289iozgz]you can try this\n\ncDirTmp:=OemToAnsi(HB_UTF8ToStr(cGetDir()))[/quote:289iozgz]\n\nThere are two problems!!\n1. Title is showing garbled characters.\n2. The initial directory is not expanded\n\n[img:289iozgz]https://i.imgur.com/oYLXYRQ.jpg[/img:289iozgz]",
"time": "02:49",
"topic": "Bug? cGetDir() on utf8",
"username": "ssbbs"
}
] |
Bug? cGetDir() on utf8
|
[
{
"date": "2020-04-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "The present implementation has limitations in Unicode support.\n\nIf the user selects a folder containting Unicode characters, the function returns the Unicode test correctly.\n\nLimitations:\n1) Title of the dialog can not be Unicode. This is provided in next version.\n Sencond title, inside the dialog can be Unicode even in this version\n2) Initdir can not be Unicode text. We are still to find a solution.\n\nWith the present version, this can be tried:\n[code=fw:ccgzt8w4]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />? cGetDir<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"\"</span>, cInitDir, <span style=\"color: #00C800;\">nil</span>, <span style=\"color: #ff0000;\">\"?????????\"</span> <span style=\"color: #000000;\">)</span><br /><span style=\"color: #B900B9;\">// cInitDir can not contain Unicode characters\"</span><br /> </div>[/code:ccgzt8w4]\n\n[url=https://imageshack.com/i/pm7cHuuDp:ccgzt8w4][img:ccgzt8w4]https://imagizer.imageshack.com/v2/xq90/922/7cHuuD.png[/img:ccgzt8w4][/url:ccgzt8w4]\n\nIn the next version to be released soon we can have dialog title in Unicode\n[code=fw:ccgzt8w4]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> <span style=\"color: #00C800;\">local</span> cTitle := <span style=\"color: #ff0000;\">\"?????????\"</span><br /> ? cGetDir<span style=\"color: #000000;\">(</span> cTitle, cInitDir, <span style=\"color: #00C800;\">nil</span>, cTitle + <span style=\"color: #ff0000;\">\" ????\"</span> <span style=\"color: #000000;\">)</span><br /> </div>[/code:ccgzt8w4]\n\n[url=https://imageshack.com/i/plQ0iV65p:ccgzt8w4][img:ccgzt8w4]https://imagizer.imageshack.com/v2/xq90/921/Q0iV65.png[/img:ccgzt8w4][/url:ccgzt8w4]\n\nStill, cInitDir can not contain Unicode path. We are working on it.",
"time": "03:33",
"topic": "Bug? cGetDir() on utf8",
"username": "nageswaragunupudi"
}
] |
Bug? cGetDir() on utf8
|
[
{
"date": "2020-04-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I have solved this problem!\n[img:250hifvf]https://i.imgur.com/AbfidG4.jpg[/img:250hifvf]",
"time": "09:59",
"topic": "Bug? cGetDir() on utf8",
"username": "ssbbs"
}
] |
Bug? cGetDir() on utf8
|
[
{
"date": "2020-04-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Can you please share with us how did you solve this problem?",
"time": "10:52",
"topic": "Bug? cGetDir() on utf8",
"username": "nageswaragunupudi"
}
] |
Bug? cGetDir() on utf8
|
[
{
"date": "2020-04-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"nageswaragunupudi\":261liuz4]Can you please share with us how did you solve this problem?[/quote:261liuz4]\nGive me some rewards, ex: free update once! <!-- s:mrgreen: --><img src=\"{SMILIES_PATH}/icon_mrgreen.gif\" alt=\":mrgreen:\" title=\"Mr. Green\" /><!-- s:mrgreen: -->",
"time": "14:27",
"topic": "Bug? cGetDir() on utf8",
"username": "ssbbs"
}
] |
Bug? cGetDir() on utf8
|
[
{
"date": "2008-12-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Has anyone have a working copy of the Samples\\Tgraph\\test.prg ? When running it, and you try to open a graph or define a new one, it crashes. Thank you.",
"time": "17:46",
"topic": "Bugs in Samples\\Tgraph\\test.prg",
"username": "HunterEC"
}
] |
Bugs in Samples\Tgraph\test.prg
|
[
{
"date": "2008-12-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello HunterEC,\r\n\r\nI compiled sample : TEST.prg with no problems.\r\nThere have been no errors ( it shows a column-graphic ).\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "19:03",
"topic": "Bugs in Samples\\Tgraph\\test.prg",
"username": "ukoenig"
}
] |
Bugs in Samples\Tgraph\test.prg
|
[
{
"date": "2008-12-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Uwe:\r\n\r\nMy Test.prg has a this timestamp: June 05, 2003 8:53AM. Can you email yours ? Thank you.",
"time": "23:51",
"topic": "Bugs in Samples\\Tgraph\\test.prg",
"username": "HunterEC"
}
] |
Bugs in Samples\Tgraph\test.prg
|
[
{
"date": "2008-12-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\r\n\r\nNo changes. The Timestamp is the same.\r\nI wanted to send a complete working-dir with exe and rmk.\r\nThe Email Returns with delivery-problem.\r\n\r\nI don't know what's wrong.\r\nThe Make-file :\r\n\r\n[code:3dxhm837]\n\n#Borland make sample, (c) FiveTech Software 2005\n\nHBDIR=d:\\xharbour\nBCDIR=d:\\bcc55\nFWDIR=d:\\fwh\n\n.path.OBJ = .\\obj\n.path.PRG = .\\\n.path.CH = $(FWDIR)\\include;$(HBDIR)\\include\n.path.C = .\\\n.path.rc = .\\\n\nPRG = \\\nTest.PRG \n\nPROJECT : Test.exe\n\nTest.exe : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ) \n echo off\n echo $(BCDIR)\\bin\\c0w32.obj + > b32.bc\n\n# OBJ\n# -------------\n echo obj\\Test.obj, + >> b32.bc \n\n echo test.exe, + >> b32.bc\n echo test.map, + >> b32.bc\n\n # Fivewin Lib`s für xHARBOUR\n # --------------------------\n\n echo $(FWDIR)\\lib\\Fivehx.lib $(FWDIR)\\lib\\FiveHC.lib + >> b32.bc\n \n # xHARBOUR-Lib`s\n# -----------------------\n\n echo $(HBDIR)\\lib\\rtl.lib + >> b32.bc\n echo $(HBDIR)\\lib\\vm.lib + >> b32.bc\n echo $(HBDIR)\\lib\\gtgui.lib + >> b32.bc\n echo $(HBDIR)\\lib\\lang.lib + >> b32.bc\n echo $(HBDIR)\\lib\\macro.lib + >> b32.bc\n echo $(HBDIR)\\lib\\rdd.lib + >> b32.bc\n echo $(HBDIR)\\lib\\dbfntx.lib + >> b32.bc\n echo $(HBDIR)\\lib\\dbfcdx.lib + >> b32.bc\n echo $(HBDIR)\\lib\\dbffpt.lib + >> b32.bc\n echo $(HBDIR)\\lib\\hbsix.lib + >> b32.bc\n echo $(HBDIR)\\lib\\debug.lib + >> b32.bc\n echo $(HBDIR)\\lib\\common.lib + >> b32.bc\n echo $(HBDIR)\\lib\\pp.lib + >> b32.bc\n echo $(HBDIR)\\lib\\codepage.lib + >> b32.bc\n echo $(HBDIR)\\lib\\pcrepos.lib + >> b32.bc\n\n# Uncomment these two lines to use Advantage RDD\n# echo $(HBDIR)\\lib\\rddads.lib + >> b32.bc\n# echo $(HBDIR)\\lib\\Ace32.lib + >> b32.bc\n\n echo $(BCDIR)\\lib\\cw32.lib + >> b32.bc\n echo $(BCDIR)\\lib\\import32.lib + >> b32.bc\n echo $(BCDIR)\\lib\\psdk\\odbc32.lib + >> b32.bc\n echo $(BCDIR)\\lib\\psdk\\nddeapi.lib + >> b32.bc\n echo $(BCDIR)\\lib\\psdk\\iphlpapi.lib + >> b32.bc\n echo $(BCDIR)\\lib\\psdk\\msimg32.lib + >> b32.bc\n echo $(BCDIR)\\lib\\psdk\\rasapi32.lib, >> b32.bc\n \n $(BCDIR)\\bin\\ilink32 -Gn -aa -Tpe -s @b32.bc\n del b32.bc\n\n.PRG.OBJ:\n $(HBDIR)\\bin\\harbour $< /L /N /W /Oobj\\ /I$(FWDIR)\\include;$(HBDIR)\\include\n $(BCDIR)\\bin\\bcc32 -c -tWM -I$(HBDIR)\\include -oobj\\$& obj\\$&.c\n\n.C.OBJ:\n echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp\n echo -I$(HBDIR)\\include;$(FWDIR)\\include >> tmp\n $(BCDIR)\\bin\\bcc32 -oobj\\$& @tmp $&.c\n del tmp\n\n//------- Sample 2 ---------\n\nPRG = \\\ncaptura.PRG\n\nPROJECT : Captura.exe\n\ncaptura.exe : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ) \n echo off\n echo $(BCDIR)\\bin\\c0w32.obj + > b32.bc\n\n# OBJ\n# -------------\n echo obj\\captura.obj, + >> b32.bc \n\n echo captura.exe, + >> b32.bc\n echo captura.map, + >> b32.bc\n\n// ----------- sample 3 ---------\n\nPRG = \\\ntsttimer.PRG\n\nPROJECT : tsttimer.exe\n\ntsttimer.exe : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ) \n echo off\n echo $(BCDIR)\\bin\\c0w32.obj + > b32.bc\n\n# OBJ\n# -------------\n echo obj\\Tsttimer.obj, + >> b32.bc \n\n echo tsttimer.exe, + >> b32.bc\n echo tsttimer.map, + >> b32.bc\n\n[/code:3dxhm837]\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "02:28",
"topic": "Bugs in Samples\\Tgraph\\test.prg",
"username": "ukoenig"
}
] |
Bugs in Samples\Tgraph\test.prg
|
[
{
"date": "2008-12-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Uwe:\r\n\r\nPlease send it to this address: [color=blue:36at2gy5]morenoec2007@hotmail.com[/color:36at2gy5] Thank you.",
"time": "08:54",
"topic": "Bugs in Samples\\Tgraph\\test.prg",
"username": "HunterEC"
}
] |
Bugs in Samples\Tgraph\test.prg
|
[
{
"date": "2016-07-23",
"forum": "FiveWin for Harbour/xHarbour",
"text": "1. There are the line [code=fw:d1am8s5p]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">fwlog empty<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">clayout</span> <span style=\"color: #000000;\">)</span>, ! Empty<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hBitmap</span> <span style=\"color: #000000;\">)</span></div>[/code:d1am8s5p] in the method new(). Should be erased.\n2. When i use clausula GDIPLUS and call the method ::loadbitmap() to change the bitmap, no bitmap to see. Without GDIPLUS is ok!",
"time": "14:37",
"topic": "Bugs in TButtonBmp",
"username": "byte-one"
}
] |
Bugs in TButtonBmp
|
[
{
"date": "2016-07-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "1) done.\n2) Working for me with and without GDIP\nbtn:loadbmp( newfile ), btn:refresh()",
"time": "00:11",
"topic": "Bugs in TButtonBmp",
"username": "nageswaragunupudi"
}
] |
Bugs in TButtonBmp
|
[
{
"date": "2016-07-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thanks, but i use a resource, not a file. Without GDIP is functioning perfect. I use a 16x16 bitmap.",
"time": "09:52",
"topic": "Bugs in TButtonBmp",
"username": "byte-one"
}
] |
Bugs in TButtonBmp
|
[
{
"date": "2016-07-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I tried with this code \n[code=fw:29e21t1f]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> @ <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">90</span> BUTTONBMP <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Text\"</span> + CRLF + <span style=\"color: #ff0000;\">\"Top\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">140</span>,<span style=\"color: #000000;\">140</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oWnd ;<br /> BITMAP <span style=\"color: #ff0000;\">\"CLIP\"</span> TEXTTOP GDIP <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">{</span> |b| b:<span style=\"color: #000000;\">loadbitmap</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"STAR\"</span> <span style=\"color: #000000;\">)</span>, b:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> </div>[/code:29e21t1f]\nThis is the relevant part of the rc file\n[code=fw:29e21t1f]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">CLIP BITMAP <span style=\"color: #ff0000;\">\"../bitmaps/clip.bmp\"</span><br />STAR BITMAP <span style=\"color: #ff0000;\">\"../bitmaps/16x16/favorite.bmp\"</span><br /> </div>[/code:29e21t1f]\n\nThis is working for me.\n\nProbably this may not be working with some bitmaps. Can you suggest any bitmap in the fwh\\bitmaps folder to reproduce the problem?",
"time": "14:19",
"topic": "Bugs in TButtonBmp",
"username": "nageswaragunupudi"
}
] |
Bugs in TButtonBmp
|
[
{
"date": "2016-07-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Try with REDEFINE?? If i not change with :loadbitmap() the the bitmap is shown normal. I will tomorrow use a other bitmap.",
"time": "16:03",
"topic": "Bugs in TButtonBmp",
"username": "byte-one"
}
] |
Bugs in TButtonBmp
|
[
{
"date": "2016-07-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Can you please provide a simple rc file with dialog and some fwh bitmaps?",
"time": "16:31",
"topic": "Bugs in TButtonBmp",
"username": "nageswaragunupudi"
}
] |
Bugs in TButtonBmp
|
[
{
"date": "2016-07-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I found that this is only if GDIPLUS [b:2wp2fvtc][u:2wp2fvtc]and[/u:2wp2fvtc][/b:2wp2fvtc] SkinButtons() are using!!! In my program i am using Skinbuttons(). If i switch off the skins all is ok!",
"time": "19:08",
"topic": "Bugs in TButtonBmp",
"username": "byte-one"
}
] |
Bugs in TButtonBmp
|
[
{
"date": "2016-08-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Any news about this? The bug is in the functions of skinbuttons(), but i have not the complete Code. Antonio?",
"time": "15:27",
"topic": "Bugs in TButtonBmp",
"username": "byte-one"
}
] |
Bugs in TButtonBmp
|
[
{
"date": "2016-08-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "As of now, skinbuttons are compatible only with the legacy paint behavior. \nActually skinbuttons replaces the paint method of the button. While the paint method of buttons is greatly enhanced ( any kind of images, auto-resizing of images and also new styles of alignments) the skinbuttons paint method still handles the oldest painting logic.\n\nTill we totally *re-write* skinbuttons code, this is compatible only with simple buttonbmps without gdiplus.",
"time": "16:01",
"topic": "Bugs in TButtonBmp",
"username": "nageswaragunupudi"
}
] |
Bugs in TButtonBmp
|
[
{
"date": "2023-05-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"nageswaragunupudi\":vxyuizvq]As of now, skinbuttons are compatible only with the legacy paint behavior. \nActually skinbuttons replaces the paint method of the button. While the paint method of buttons is greatly enhanced ( any kind of images, auto-resizing of images and also new styles of alignments) the skinbuttons paint method still handles the oldest painting logic.\n\nTill we totally *re-write* skinbuttons code, this is compatible only with simple buttonbmps without gdiplus.[/quote:vxyuizvq]\n\nDear Mr.Rao\n\nAny News ... *re-write* skinbuttons code for TButtonBmp within bmp and TGet Action Button bmp.\n\n[code=fw:vxyuizvq]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">GET</span> ::<span style=\"color: #000000;\">oGet4</span> <span style=\"color: #0000ff;\">VAR</span> ::<span style=\"color: #000000;\">cNo4</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">104</span> <span style=\"color: #0000ff;\">OF</span> ::<span style=\"color: #000000;\">oDlg</span> <span style=\"color: #0000ff;\">UPDATE</span> CHRGROUP CHR_WIDE BITMAP <span style=\"color: #ff0000;\">\"BTN_FIND16\"</span> <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">(</span> oThis:<span style=\"color: #000000;\">Select_DC_NO</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #0000ff;\">REDEFINE</span> BUTTONBMP oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">701</span> <span style=\"color: #0000ff;\">OF</span> ::<span style=\"color: #000000;\">oDlg</span> ;<br /> BITMAP <span style=\"color: #ff0000;\">\"BTN_CALENDAR16\"</span> ;<br /> TOOLTIP <span style=\"color: #ff0000;\">\"????????\"</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> ChooseCal2<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oGet1</span>, ::<span style=\"color: #000000;\">cNo1</span> <span style=\"color: #000000;\">)</span><br /> </div>[/code:vxyuizvq]\n \n[img:vxyuizvq]https://i.postimg.cc/P58QKj5B/Skin-Buttons-problem.jpg[/img:vxyuizvq]",
"time": "06:13",
"topic": "Bugs in TButtonBmp",
"username": "richard-service"
}
] |
Bugs in TButtonBmp
|
[
{
"date": "2023-05-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Good evening Richard, PLS test this example. With XHARBOUR it works fine. With HARBOUR it doesn't work well(fail), it's something for the FiveTech Team(Rao) to check.\n\nBuenas noches Richard, PLS prueba este ejemplo. Con XHARBOUR funciona bien. Con HARBOUR no funciona bien (falla), es algo que debe verificar el equipo de FiveTech (Rao).\n\nDownload complete:\n\n[url:2wmzoqg4]https://mega.nz/file/EF9xUAYK#tk7-xn_ptC-isI6Mlkvizmzp14Va6KOvjNe533lxekU[/url:2wmzoqg4]\n\nRegards, saludos.",
"time": "22:43",
"topic": "Bugs in TButtonBmp",
"username": "karinha"
}
] |
Bugs in TButtonBmp
|
[
{
"date": "2023-05-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"karinha\":1s0xzd5d]Good evening Richard, PLS test this example. With XHARBOUR it works fine. With HARBOUR it doesn't work well(fail), it's something for the FiveTech Team(Rao) to check.\n\nBuenas noches Richard, PLS prueba este ejemplo. Con XHARBOUR funciona bien. Con HARBOUR no funciona bien (falla), es algo que debe verificar el equipo de FiveTech (Rao).\n\nDownload complete:\n\n[url:1s0xzd5d]https://mega.nz/file/EF9xUAYK#tk7-xn_ptC-isI6Mlkvizmzp14Va6KOvjNe533lxekU[/url:1s0xzd5d]\n\nRegards, Saludos.[/quote:1s0xzd5d]\n\nThese code look good, but I don't want it.\n[code=fw:1s0xzd5d]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oGet1:<span style=\"color: #000000;\">lBtnTransparent</span> := .T. <span style=\"color: #B900B9;\">// transparent button get oGet1</span><br />oGet1:<span style=\"color: #000000;\">lAdjustBtn</span> := .T.<br /> </div>[/code:1s0xzd5d]\n\nJust waiting for Mr.Rao",
"time": "01:56",
"topic": "Bugs in TButtonBmp",
"username": "richard-service"
}
] |
Bugs in TButtonBmp
|
[
{
"date": "2023-05-06",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr. Richard\n\nHow can I reproduce your problem at my end so that I can understand what is happening?",
"time": "16:59",
"topic": "Bugs in TButtonBmp",
"username": "nageswaragunupudi"
}
] |
Bugs in TButtonBmp
|
[
{
"date": "2023-05-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"nageswaragunupudi\":l9p2b2h8]Mr. Richard\n\nHow can I reproduce your problem at my end so that I can understand what is happening?[/quote:l9p2b2h8]\n\nMr.Rao\n\nI found problem.\n\nProblem code below:\n[code=fw:l9p2b2h8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">Function</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <br /><br />Dialog1<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br />Dialog2<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br />oSQL_Erp32u := TWinCrane365<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">RETURN</span><br /><br /><span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TWinCrane365<br /><br /> SkinButtons<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> </div>[/code:l9p2b2h8]\n\nNo problem code below:\n[code=fw:l9p2b2h8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">Function</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <br /><br />SkinButtons<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br />Dialog1<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br />Dialog2<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br />oSQL_Erp32u := TWinCrane365<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">RETURN</span><br /><br /><span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TWinCrane365<br /> <br /> </div>[/code:l9p2b2h8]\n\nSkinButtons() put in Function Main() no problem.\nSkinButtons() put in CLASS xxx Method New() problem.",
"time": "07:46",
"topic": "Bugs in TButtonBmp",
"username": "richard-service"
}
] |
Bugs in TButtonBmp
|
[
{
"date": "2016-02-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[code=fw:2l4ap0j0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> cFile , cResname <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> GDIBmp<br />.<br />.<br /> <span style=\"color: #00C800;\">IF</span> FindResource<span style=\"color: #000000;\">(</span> GetResources<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, cResName , <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span> != <span style=\"color: #000000;\">0</span><br /> aBmpPal = PalBmpLoad<span style=\"color: #000000;\">(</span> cResName <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #B900B9;\">// if len(aBmpPal) = 0 -> this line is wrong!! </span><br /> <span style=\"color: #00C800;\">if</span> len<span style=\"color: #000000;\">(</span>aBmpPal<span style=\"color: #000000;\">)</span> > <span style=\"color: #000000;\">1</span><br /> ::<span style=\"color: #000000;\">hBmp</span> = GdiPlusCreateImageFromRes<span style=\"color: #000000;\">(</span> aBmpPal<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span>, aBmpPal<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">else</span><br /> <span style=\"color: #0000ff;\">msginfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Recurso no encontrado\"</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">else</span><br />.<br />.<br /> </div>[/code:2l4ap0j0]\n\nIn declaration and in code:\n[code=fw:2l4ap0j0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">//METHOD DrawImage( oBmp,nTop,nleft, nWidth, nHeight ) -> wrong</span><br /> <span style=\"color: #00C800;\">METHOD</span> DrawImage<span style=\"color: #000000;\">(</span> oBmp,nLeft,nTop, nWidth, nHeight <span style=\"color: #000000;\">)</span></div>[/code:2l4ap0j0]",
"time": "13:27",
"topic": "Bugs in TGgiplus",
"username": "byte-one"
}
] |
Bugs in TGgiplus
|
[
{
"date": "2016-02-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Have anyone see this? (programmer from tgdi-class)",
"time": "20:59",
"topic": "Bugs in TGgiplus",
"username": "byte-one"
}
] |
Bugs in TGgiplus
|
[
{
"date": "2016-02-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Günther,\n\nis it working fine for you with your changes ?",
"time": "21:38",
"topic": "Bugs in TGgiplus",
"username": "Antonio Linares"
}
] |
Bugs in TGgiplus
|
[
{
"date": "2016-02-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "It is included for the next version\n\nThanks",
"time": "21:45",
"topic": "Bugs in TGgiplus",
"username": "cnavarro"
}
] |
Bugs in TGgiplus
|
[
{
"date": "2016-02-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thanks all!",
"time": "22:42",
"topic": "Bugs in TGgiplus",
"username": "byte-one"
}
] |
Bugs in TGgiplus
|
[
{
"date": "2016-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Strange i use fwh gen release and i use drawimage on my slotmachine application and it seems run ok\nperhaphs i change it but i not remember",
"time": "13:23",
"topic": "Bugs in TGgiplus",
"username": "Silvio.Falconi"
}
] |
Bugs in TGgiplus
|
[
{
"date": "2016-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "In case there will be changes\n\na image is displayed normally from TOP, LEFT but in GDI+ reverse -> LEFT, TOP\nAs well maybe checking out why deleted on RESIZE ( happens on BUTTONACTION ) ?.\n\nbest regards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "13:43",
"topic": "Bugs in TGgiplus",
"username": "ukoenig"
}
] |
Bugs in TGgiplus
|
[
{
"date": "2016-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr Antonio and Mr Cristobal\n\nI suggest we may follow standard FWH convention of nTop, nLeft ... etc",
"time": "13:48",
"topic": "Bugs in TGgiplus",
"username": "nageswaragunupudi"
}
] |
Bugs in TGgiplus
|
[
{
"date": "2016-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"nageswaragunupudi\":nina93b1]Mr Antonio and Mr Cristobal\n\nI suggest we may follow standard FWH convention of nTop, nLeft ... etc[/quote:nina93b1]\n\nMr Rao, these are the change updated\n\n[code=fw:nina93b1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /> <span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /> <br /><span style=\"color: #00C800;\">METHOD</span> DrawImage<span style=\"color: #000000;\">(</span> oImage, nTop, nLeft, nWidth, nHeight <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> Graphics<br /> <br />- <span style=\"color: #00C800;\">if</span> Empty<span style=\"color: #000000;\">(</span>nWidth <span style=\"color: #000000;\">)</span> .or. Empty<span style=\"color: #000000;\">(</span> nHeight <span style=\"color: #000000;\">)</span><br />- GdiPlusDrawImage<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hGraphics</span>, oImage:<span style=\"color: #000000;\">hBmp</span>, nTop, nLeft <span style=\"color: #000000;\">)</span><br />- <span style=\"color: #00C800;\">else</span><br />- GdiPlusDrawImage<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hGraphics</span>, oImage:<span style=\"color: #000000;\">hBmp</span>,nTop,nLeft, nWidth, nHeight <span style=\"color: #000000;\">)</span><br />-<span style=\"color: #00C800;\">endif</span><br /><br />+ <span style=\"color: #00C800;\">if</span> Empty<span style=\"color: #000000;\">(</span> nWidth <span style=\"color: #000000;\">)</span> .or. Empty<span style=\"color: #000000;\">(</span> nHeight <span style=\"color: #000000;\">)</span><br />+ GdiPlusDrawImage<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hGraphics</span>, oImage:<span style=\"color: #000000;\">hBmp</span>, nLeft, nTop <span style=\"color: #000000;\">)</span><br />+ <span style=\"color: #00C800;\">else</span><br />+ GdiPlusDrawImage<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hGraphics</span>, oImage:<span style=\"color: #000000;\">hBmp</span>, nLeft, nTop, nWidth, nHeight <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 /><br /> </div>[/code:nina93b1]\n\nan this is function GdiPlusDrawImage\n\n[code=fw:nina93b1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">(</span> GDIPLUSDRAWIMAGE <span style=\"color: #000000;\">)</span><br /><span style=\"color: #000000;\">{</span><br /><br />.../...<br /><br /> <span style=\"color: #00C800;\">switch</span> <span style=\"color: #000000;\">(</span>iParams<span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">{</span><br /><br /> <span style=\"color: #00C800;\">case</span> <span style=\"color: #000000;\">4</span>:<br /> nLeft = hb_parni<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">)</span>;<br /> nTop = hb_parni<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">)</span>;<br /><br /> graphics->DrawImage<span style=\"color: #000000;\">(</span> newImage, nLeft, nTop <span style=\"color: #000000;\">)</span>;<br /><br /> <span style=\"color: #00C800;\">case</span> <span style=\"color: #000000;\">6</span>:<br /> nLeft = hb_parni<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">)</span>;<br /> nTop = hb_parni<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">)</span>;<br /> nWidth = hb_parni<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">)</span>;<br /> nHeight = hb_parni<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">)</span>;<br /><br /> graphics->DrawImage<span style=\"color: #000000;\">(</span> newImage, nLeft, nTop, nWidth, nHeight <span style=\"color: #000000;\">)</span>; <span style=\"color: #B900B9;\">//Rect object whose x-coordinate, y-coordinate, width, and height</span><br /><br /> <span style=\"color: #000000;\">}</span><br /><br /><span style=\"color: #000000;\">}</span><br /><br /> </div>[/code:nina93b1]",
"time": "16:25",
"topic": "Bugs in TGgiplus",
"username": "cnavarro"
}
] |
Bugs in TGgiplus
|
[
{
"date": "2016-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I created a little testtool to add multiple images.\n\nthere is a problem :\n1. Image added ON PAINT\n2. and 3. image added on button-action\nchanging the background, only the image painted with button 2 stays visible.\nThe transparent-painting is OK.\nis there a possible solution to keep ALL images visible ?\nThe same happens on RESIZE\n\nDOWNLOAD\n<!-- m --><a class=\"postlink\" href=\"http://www.pflegeplus.com/DOWNLOADS/Gdiplus3.zip\">http://www.pflegeplus.com/DOWNLOADS/Gdiplus3.zip</a><!-- m -->\n\n[img:2zpib5al]http://www.pflegeplus.com/IMAGES/Gdiplus7.jpg[/img:2zpib5al]\n\nbest regards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "18:44",
"topic": "Bugs in TGgiplus",
"username": "ukoenig"
}
] |
Bugs in TGgiplus
|
[
{
"date": "2016-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Uwe, try this\nI do not know if I understand your problem\n\n[code=fw:2dxe4krb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><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;\">\"constant.ch\"</span><br /><br /><span style=\"color: #00C800;\">Static</span> c_Path<br /><span style=\"color: #00C800;\">Static</span> c_Path1 <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> oWnd<br /> <span style=\"color: #00C800;\">local</span> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">10</span><span style=\"color: #000000;\">]</span><br /> <span style=\"color: #00C800;\">local</span> oTextFont<br /> <span style=\"color: #00C800;\">local</span> cImage := <span style=\"color: #ff0000;\">\"Logo.png\"</span><br /> <span style=\"color: #00C800;\">local</span> nLeft := <span style=\"color: #000000;\">10</span><br /> <span style=\"color: #00C800;\">local</span> nTop := <span style=\"color: #000000;\">10</span><br /> <span style=\"color: #00C800;\">local</span> oBmp<br /> <span style=\"color: #00C800;\">local</span> oImg1<br /> <span style=\"color: #00C800;\">local</span> oImg2<br /> <span style=\"color: #00C800;\">local</span> oImg3<br /> <span style=\"color: #00C800;\">local</span> lIni := .T.<br /><br /> 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 /> c_Path1 := c_Path + <span style=\"color: #ff0000;\">\"IMAGES<span style=\"color: #000000;\">\\\"</span><br /><br /> DEFINE IMAGE oBmp FILENAME c_path1 + \"</span>Back.png<span style=\"color: #ff0000;\">\"<br /><br /> oTextFont := TFont():New( \"</span>Arial<span style=\"color: #ff0000;\">\", 0, 20,.F.,.F., 0, 0, 0,.F.,.F.)<br /><br /> DEFINE WINDOW oWnd FROM 10, 10 TO 700, 900 TITLE \"</span>GDI+ TEST<span style=\"color: #ff0000;\">\" PIXEL // ;<br /> // STYLE WS_POPUP BRUSH oBrush1<br /> oWnd:bRClicked := {|| oWnd:End() }<br /><br /> @ oWnd:nHeight - 100, oWnd:nWidth - 370 BTNBMP oBtn[1] SIZE 100, 50 OF oWnd 2007 ;<br /> FILENAME c_path1 + \"</span><span style=\"color: #0000ff;\">Paint</span>.bmp<span style=\"color: #ff0000;\">\" ;<br /> LEFT ;<br /> PROMPT \"</span>&Paint <span style=\"color: #000000;\">1</span><span style=\"color: #ff0000;\">\" ;<br /> FONT oTextFont ;<br /> ACTION ( cImage := \"</span>Logo.png<span style=\"color: #ff0000;\">\", ; //nLeft := 500, nTop := 10, ;<br /> oImg1 := DRAWIMAGE(oWnd, cImage, 500, 10 ) )<br /> oBtn[1]:bClrGrad = { | lMouseOver | If( ! lMouseOver,; <br /> { { 0.5, 10526975, 16777215 }, ;<br /> { 0.5, 16777215, 10526975 } }, ;<br /> { { 0.5, 16768185, 16777215 }, ;<br /> { 0.5, 16777215, 16768185 } } ) }<br /> oBtn[1]:nLayout := 2<br /> oBtn[1]:SetColor( 128 )<br /> oBtn[1]:cTooltip := { \"</span>Exit<span style=\"color: #ff0000;\">\" + CRLF + ;<br /> \"</span>GDI-test<span style=\"color: #ff0000;\">\",\"</span>EXIT<span style=\"color: #ff0000;\">\", 1, CLR_BLACK, 14089979 }<br /><br /> @ oWnd:nHeight - 100, oWnd:nWidth - 260 BTNBMP oBtn[2] SIZE 100, 50 OF oWnd 2007 ;<br /> FILENAME c_path1 + \"</span><span style=\"color: #0000ff;\">Paint</span>.bmp<span style=\"color: #ff0000;\">\" ;<br /> LEFT ;<br /> PROMPT \"</span>&Paint <span style=\"color: #000000;\">2</span><span style=\"color: #ff0000;\">\" ;<br /> FONT oTextFont ;<br /> ACTION ( cImage := \"</span>Logo.png<span style=\"color: #ff0000;\">\", ; //nLeft := 250, nTop := 250, ;<br /> oImg2 := DRAWIMAGE( oWnd, \"</span>Logo.png<span style=\"color: #ff0000;\">\", 250, 250 ) )<br /> oBtn[2]:bClrGrad = { | lMouseOver | If( ! lMouseOver,; <br /> { { 0.5, 10526975, 16777215 }, ;<br /> { 0.5, 16777215, 10526975 } }, ;<br /> { { 0.5, 16768185, 16777215 }, ;<br /> { 0.5, 16777215, 16768185 } } ) }<br /> oBtn[2]:nLayout := 2<br /> oBtn[2]:SetColor( 128 )<br /> oBtn[2]:cTooltip := { \"</span><span style=\"color: #0000ff;\">Image</span> <span style=\"color: #000000;\">2</span><span style=\"color: #ff0000;\">\" + CRLF + ;<br /> \"</span>test<span style=\"color: #ff0000;\">\",\"</span>TEST<span style=\"color: #ff0000;\">\", 1, CLR_BLACK, 14089979 }<br /> <br />// -------------<br /><br />@ oWnd:nHeight - 100, 20 BTNBMP oBtn[6] SIZE 110, 50 OF oWnd 2007 ;<br />FILENAME c_path1 + \"</span><span style=\"color: #0000ff;\">Color</span>.bmp<span style=\"color: #ff0000;\">\" ;<br />LEFT ;<br />PROMPT \"</span>&Color<span style=\"color: #ff0000;\">\" ;<br />FONT oTextFont ;<br />ACTION DRAW_BACK( oWnd, 1, 3194624 ) <br />oBtn[6]:bClrGrad = { | lMouseOver | If( ! lMouseOver,; <br /> { { 0.5, 16765863, 16777215 }, ;<br /> { 0.5, 16777215, 16765863 } }, ;<br /> { { 0.5, 16768185, 16777215 }, ;<br /> { 0.5, 16777215, 16768185 } } ) }<br />oBtn[6]:nLayout := 2<br />oBtn[6]:SetColor( 128 )<br />oBtn[6]:cTooltip := { \"</span>use <span style=\"color: #0000ff;\">color</span><span style=\"color: #ff0000;\">\" + CRLF + ;<br /> \"</span>Background<span style=\"color: #ff0000;\">\",\"</span><span style=\"color: #0000ff;\">COLOR</span><span style=\"color: #ff0000;\">\", 1, CLR_BLACK, 14089979 }<br /><br />@ oWnd:nHeight - 100, 135 BTNBMP oBtn[7] SIZE 110, 50 OF oWnd 2007 ;<br />FILENAME c_path1 + \"</span>Gradient.bmp<span style=\"color: #ff0000;\">\" ;<br />LEFT ;<br />PROMPT \"</span>&Gradient<span style=\"color: #ff0000;\">\" ;<br />FONT oTextFont ;<br />ACTION DRAW_BACK( oWnd, 2, 16762767, 16773088, .T., 0.5 ) <br />oBtn[7]:bClrGrad = { | lMouseOver | If( ! lMouseOver,; <br /> { { 0.5, 16765863, 16777215 }, ;<br /> { 0.5, 16777215, 16765863 } }, ;<br /> { { 0.5, 16768185, 16777215 }, ;<br /> { 0.5, 16777215, 16768185 } } ) }<br />oBtn[7]:nLayout := 2<br />oBtn[7]:SetColor( 128 )<br />oBtn[7]:cTooltip := { \"</span>use Gradient<span style=\"color: #ff0000;\">\" + CRLF + ;<br /> \"</span>Background<span style=\"color: #ff0000;\">\",\"</span>GRADIENT<span style=\"color: #ff0000;\">\", 1, CLR_BLACK, 14089979 }<br /><br />@ oWnd:nHeight - 100, 250 BTNBMP oBtn[8] SIZE 110, 50 OF oWnd 2007 ;<br />FILENAME c_path1 + \"</span><span style=\"color: #0000ff;\">Brush</span>.bmp<span style=\"color: #ff0000;\">\" ;<br />LEFT ;<br />PROMPT \"</span>&Brush<span style=\"color: #ff0000;\">\" ;<br />FONT oTextFont ;<br />ACTION DRAW_BACK( oWnd, 3, , , , , \"</span><span style=\"color: #0000ff;\">Brush</span>.bmp<span style=\"color: #ff0000;\">\" ) <br />oBtn[8]:bClrGrad = { | lMouseOver | If( ! lMouseOver,; <br /> { { 0.5, 16765863, 16777215 }, ;<br /> { 0.5, 16777215, 16765863 } }, ;<br /> { { 0.5, 16768185, 16777215 }, ;<br /> { 0.5, 16777215, 16768185 } } ) }<br />oBtn[8]:nLayout := 2<br />oBtn[8]:SetColor( 128 )<br />oBtn[8]:cTooltip := { \"</span>use <span style=\"color: #0000ff;\">Brush</span><span style=\"color: #ff0000;\">\" + CRLF + ;<br /> \"</span>Background<span style=\"color: #ff0000;\">\",\"</span><span style=\"color: #0000ff;\">BRUSH</span><span style=\"color: #ff0000;\">\", 1, CLR_BLACK, 14089979 }<br /><br /><br />@ oWnd:nHeight - 100, 365 BTNBMP oBtn[9] SIZE 110, 50 OF oWnd 2007 ;<br />FILENAME c_path1 + \"</span><span style=\"color: #0000ff;\">Image</span>.bmp<span style=\"color: #ff0000;\">\" ;<br />LEFT ;<br />PROMPT \"</span>&Image<span style=\"color: #ff0000;\">\" ;<br />FONT oTextFont ;<br />ACTION DRAW_BACK( oWnd, 4, , , , , ,\"</span>Backgrd.jpg<span style=\"color: #ff0000;\">\" ) <br />oBtn[9]:bClrGrad = { | lMouseOver | If( ! lMouseOver,; <br /> { { 0.5, 16765863, 16777215 }, ;<br /> { 0.5, 16777215, 16765863 } }, ;<br /> { { 0.5, 16768185, 16777215 }, ;<br /> { 0.5, 16777215, 16768185 } } ) }<br />oBtn[9]:nLayout := 2<br />oBtn[9]:SetColor( 128 )<br />oBtn[9]:cTooltip := { \"</span>use <span style=\"color: #0000ff;\">Image</span><span style=\"color: #ff0000;\">\" + CRLF + ;<br /> \"</span>Background<span style=\"color: #ff0000;\">\",\"</span><span style=\"color: #0000ff;\">IMAGE</span><span style=\"color: #ff0000;\">\", 1, CLR_BLACK, 14089979 }<br /><br /><br />@ oWnd:nHeight - 100, oWnd:nWidth - 150 BTNBMP oBtn[10] SIZE 100, 50 OF oWnd 2007 ;<br />FILENAME c_path1 + \"</span>Exit.bmp<span style=\"color: #ff0000;\">\" ;<br />LEFT ;<br />PROMPT \"</span>&Exit<span style=\"color: #ff0000;\">\" ;<br />FONT oTextFont ;<br />ACTION oWnd:End() <br />oBtn[10]:bClrGrad = { | lMouseOver | If( ! lMouseOver,; <br /> { { 0.5, 10526975, 16777215 }, ;<br /> { 0.5, 16777215, 10526975 } }, ;<br /> { { 0.5, 16768185, 16777215 }, ;<br /> { 0.5, 16777215, 16768185 } } ) }<br />oBtn[10]:nLayout := 2<br />oBtn[10]:SetColor( 128 )<br />oBtn[10]:cTooltip := { \"</span>Exit<span style=\"color: #ff0000;\">\" + CRLF + ;<br /> \"</span>GDI-test<span style=\"color: #ff0000;\">\",\"</span>EXIT<span style=\"color: #ff0000;\">\", 1, CLR_BLACK, 14089979 }<br /><br />//oWnd:bPainted := {|| DRAWIMAGE(oWnd, cImage, nLeft, nTop ) }<br /><br />ACTIVATE WINDOW oWnd CENTER ; <br />ON INIT ( oImg3 := DRAWIMAGE( oWnd, cImage, nLeft, nTop ) ) ;<br />ON PAINT ( ABPaint( oWnd:hDC, 30, 30, oBmp:hBitmap, 255 ), ;<br /> if( !lIni, ( DrawImage( oWnd, oImg1, 500, 10 ),;<br /> DrawImage( oWnd, oImg2, 250, 250 ),;<br /> DrawImage( oWnd, oImg3, nLeft, nTop ) ), lIni := .F. ) ) //; <br />oTextFont:End()<br /><br />RETURN NIL <br /><br />// -------------<br /><br />FUNCTION DRAWIMAGE( oWnd, cImage, nLeft, nTop )<br /> <br /> local hDC := oWnd:GetDc()<br /> local cNew<br /> local oGraphics := Graphics():New( oWnd:hDC ) <br /> local oImage<br /> if Valtype( cImage ) = \"</span>C<span style=\"color: #ff0000;\">\"<br /> cNew := c_Path1 + cImage<br /> oImage := GDIBmp():New( cNew ) <br /> else<br /> oImage := cImage<br /> endif<br /> if !Empty( oImage )<br /> oGraphics:DrawImage( oImage, nTop, nLeft ) //, nTop )<br /> oGraphics:Destroy()<br /> endif<br /> oWnd:ReleaseDc() <br /><br />Return oImage<br /><br />// -------- Background ---------------<br /><br />FUNCTION DRAW_BACK( oWnd, nStyle, nColor1, nColor2, lDirect, nMove, cBrush, cImage ) <br /><br /> local hDC<br /> local oBrush<br /> local oImage<br /> local aGrad<br /> local aRect := GETCLIENTRECT( oWnd:hWnd ) <br /> local hBmp<br /> local hBmpOld<br /><br /> IF nStyle = 1 // COLOR<br /> DEFINE BRUSH oBrush COLOR nColor1<br /> ENDIF<br /> IF nStyle = 2 // GRADIENT<br /> aGrad := { { nMove, nColor1, nColor2 }, { nMove, nColor2, nColor1 } }<br /> hDC = CreateCompatibleDC( oWnd:GetDC() )<br /> hBmp = CreateCompatibleBitMap( oWnd:hDC, aRect[4], aRect[3] )<br /> hBmpOld = SelectObject( hDC, hBmp )<br /> GradientFill( hDC, 0, 0, aRect[3], aRect[4], aGrad, lDirect )<br /> oBrush := TBrush():New( ,,,, hBmp )<br /> oBrush:Cargo := aGrad<br /> SelectObject( hDC, hBmpOld )<br /> ReleaseDC(hDC)<br /> ENDIF<br /> IF nStyle = 3 // BMP-BRUSH<br /> IF FILE( c_path1 + cBrush ) <br /> DEFINE BRUSH oBrush FILE c_path1 + cBrush<br /> ELSE<br /> IF !EMPTY(cImage)<br /> MsgAlert( \"</span>File : <span style=\"color: #ff0000;\">\" + cBrush + CRLF + ;<br /> \"</span>does not exist<span style=\"color: #ff0000;\">\" + CRLF + ; <br /> \"</span><span style=\"color: #0000ff;\">to</span> create Background !<span style=\"color: #ff0000;\">\", \"</span>ATTENTION<span style=\"color: #ff0000;\">\" ) <br /> ENDIF<br /> ENDIF<br /> ENDIF<br /> IF nStyle = 4 // Image ADJUSTED<br /> IF FILE( c_path1 + cImage ) <br /> DEFINE IMAGE oImage FILE c_path1 + cImage<br /> oBrush := TBrush():new( ,,,, ResizeBmp( oImage:hBitmap, aRect[4], aRect[3], .T. ) ) <br /> oImage:End()<br /> ELSE<br /> IF !EMPTY(cImage)<br /> MsgAlert( \"</span>File : <span style=\"color: #ff0000;\">\" + cImage + CRLF + ;<br /> \"</span>does not exist<span style=\"color: #ff0000;\">\" + CRLF + ; <br /> \"</span><span style=\"color: #0000ff;\">to</span> create Background !<span style=\"color: #ff0000;\">\", \"</span>ATTENTION<span style=\"color: #ff0000;\">\" ) <br /> ENDIF<br /> ENDIF<br /> ENDIF<br /> oWnd:Setbrush( oBrush )<br /> oBrush:End()<br /> <br />RETURN( NIL) <br /><br /></span></div>[/code:2dxe4krb]\n\nPlease, change for your test\n\n[code=fw:2dxe4krb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> oGraphics:<span style=\"color: #000000;\">DrawImage</span><span style=\"color: #000000;\">(</span> oImage, nTop, nLeft <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">//, nTop )</span><br /> </div>[/code:2dxe4krb]\n\nwith\n\n[code=fw:2dxe4krb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> oGraphics:<span style=\"color: #000000;\">DrawImage</span><span style=\"color: #000000;\">(</span> oImage, nLeft, nTop <span style=\"color: #000000;\">)</span><br /> </div>[/code:2dxe4krb]",
"time": "20:21",
"topic": "Bugs in TGgiplus",
"username": "cnavarro"
}
] |
Bugs in TGgiplus
|
[
{
"date": "2016-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Cristobal,\n\nit comes close to the solution I'm looking for.\nWindows-resize and multiple image-painting is working now.\nStill I have to do some finetuning and I will add a new Download-link \n\nthank You very much\n\nbest regards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "21:08",
"topic": "Bugs in TGgiplus",
"username": "ukoenig"
}
] |
Bugs in TGgiplus
|
[
{
"date": "2016-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I'm working on making a proportional resize the images to resize we do in Windows, but so far without success\n\nRegards",
"time": "21:14",
"topic": "Bugs in TGgiplus",
"username": "cnavarro"
}
] |
Bugs in TGgiplus
|
[
{
"date": "2016-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"ukoenig\":3bv8ezv0]Cristobal,\n\nit comes close to the solution I'm looking for.\nWindows-resize and multiple image-painting is working now.\nStill I have to do some finetuning and I will add a new Download-link \n\nthank You very much\n\nbest regards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->[/quote:3bv8ezv0]\n\nPlease, modify my code, add clausule VALID ( End objects )\n\n[code=fw:3bv8ezv0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">CENTER</span> ; <br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">(</span> oImg3 := DrawImage<span style=\"color: #000000;\">(</span> oWnd, cImage, nLeft, nTop <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">PAINT</span> <span style=\"color: #000000;\">(</span> ABPaint<span style=\"color: #000000;\">(</span> oWnd:<span style=\"color: #000000;\">hDC</span>, <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">30</span>, oBmp:<span style=\"color: #000000;\">hBitmap</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">)</span>, ;<br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> !lIni, <span style=\"color: #000000;\">(</span> DrawImage<span style=\"color: #000000;\">(</span> oWnd, oImg1, <span style=\"color: #000000;\">500</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">)</span>,;<br /> DrawImage<span style=\"color: #000000;\">(</span> oWnd, oImg2, <span style=\"color: #000000;\">250</span>, <span style=\"color: #000000;\">250</span> <span style=\"color: #000000;\">)</span>,;<br /> DrawImage<span style=\"color: #000000;\">(</span> oWnd, oImg3, nLeft, nTop <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>, lIni := .F. <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">VALID</span> <span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> !Empty<span style=\"color: #000000;\">(</span> oImg1 <span style=\"color: #000000;\">)</span>, oImg1:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">)</span>, ;<br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> !Empty<span style=\"color: #000000;\">(</span> oImg2 <span style=\"color: #000000;\">)</span>, oImg2:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">)</span>, ;<br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> !Empty<span style=\"color: #000000;\">(</span> oImg3 <span style=\"color: #000000;\">)</span>, oImg3:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">)</span>, ;<br /> .T. <span style=\"color: #000000;\">)</span><br /><br /> </div>[/code:3bv8ezv0]",
"time": "21:25",
"topic": "Bugs in TGgiplus",
"username": "cnavarro"
}
] |
Bugs in TGgiplus
|
[
{
"date": "2016-02-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Christobal,\n\nI completed the TESTTOOL \nNow RESIZE and BACKGROUND-change works perfect.\nTomorrow I will add a new DOWNLOAD\n\n[img:38h2abt0]http://www.pflegeplus.com/IMAGES/Gdiplus8.jpg[/img:38h2abt0]\n\nThank You very much for Your help\n\nbest regards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "00:38",
"topic": "Bugs in TGgiplus",
"username": "ukoenig"
}
] |
Bugs in TGgiplus
|
[
{
"date": "2016-02-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio, in this context i point to a bug in HB_FUNC( ROUNDRECT ) // hDC, nLeftRect, nTopRect, nRightRect, nBottomRect, nEllipseWidth, nEllipseHeight, hPen )\n\nThere are also changed left and top bzw. right and bottom\n [code=fw:akxqehr1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> BOOL bResult = RoundRect<span style=\"color: #000000;\">(</span> hDC, hb_parnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span>, hb_parnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">)</span>, hb_parnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">)</span>,<br /> hb_parnl<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>, hb_parnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">7</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span></div>[/code:akxqehr1]\nShould be\n [code=fw:akxqehr1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> BOOL bResult = RoundRect<span style=\"color: #000000;\">(</span> hDC, hb_parnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">)</span>, hb_parnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span>, hb_parnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">)</span>,<br /> hb_parnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">)</span>, hb_parnl<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;\">)</span></div>[/code:akxqehr1]\n\nAlso the documentation is wrong.\nPlease call rectangle(...) an roundrect(...) with same parameters! Should be same direction and size!",
"time": "14:27",
"topic": "Bugs in TGgiplus",
"username": "byte-one"
}
] |
Bugs in TGgiplus
|
[
{
"date": "2016-02-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr Günther\n\nThe existing code exactly matches the syntax given along with the function and also gives the correct results.\n\nWill you please recheck?\n\nIncidentally this is not related to GDI+",
"time": "15:25",
"topic": "Bugs in TGgiplus",
"username": "nageswaragunupudi"
}
] |
Bugs in TGgiplus
|
[
{
"date": "2016-02-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr. Rao, not GDI+ but we should follow (as you above said) the FWH-syntax nTop, nLeft ... etc also in normal GDI!?\nPlease call rectangle(...) an roundrect(...) [b:245x38ae]with same parameters in same order[/b:245x38ae]! Should be same direction and size, but is different!",
"time": "16:20",
"topic": "Bugs in TGgiplus",
"username": "byte-one"
}
] |
Bugs in TGgiplus
|
[
{
"date": "2016-02-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"byte-one\":2htyvwcn]Mr. Rao, not GDI+ but we should follow (as you above said) the FWH-syntax nTop, nLeft ... etc also in normal GDI!?\nPlease call rectangle(...) an roundrect(...) [b:2htyvwcn]with same parameters in same order[/b:2htyvwcn]! Should be same direction and size, but is different![/quote:2htyvwcn]\n\nPersonally I too like using the same style everywhere including RoundRect. I am with you. \n\nBut this function with this syntax has been there for quite long. Not only in other parts of FWH library but in many user applications also this syntax is/ might have been used. Any change at this stage may break existing applications. Hope you understand.\n\nI made the suggestion in the above case because the best time to change is the first time.",
"time": "16:35",
"topic": "Bugs in TGgiplus",
"username": "nageswaragunupudi"
}
] |
Bugs in TGgiplus
|
[
{
"date": "2016-01-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Harbour doesn't recognize the following operator:\n\n[code=fw:82eqmcfj]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">^^</div>[/code:82eqmcfj]\n\nCompiling the following sample\n\n[code=fw:82eqmcfj]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">STATIC</span> n<br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> n = <span style=\"color: #000000;\">1</span><br /><br /> ? n<br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:82eqmcfj]\n\nI get\n\n[code=fw:82eqmcfj]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Warning W0003 Variable <span style=\"color: #ff0000;\">'N'</span> declared but not used in <span style=\"color: #00C800;\">function</span> <span style=\"color: #ff0000;\">'TEST(1)'</span><br />Warning W0001 Ambiguous reference <span style=\"color: #ff0000;\">'N'</span><br />Warning W0001 Ambiguous reference <span style=\"color: #ff0000;\">'N'</span></div>[/code:82eqmcfj]\n\nEMG",
"time": "12:13",
"topic": "Bugs in latest Harbour",
"username": "Enrico Maria Giordano"
}
] |
Bugs in latest Harbour
|
[
{
"date": "2016-01-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Impossible. You are wrong. Test function is not defined in your prg sample\n\nOR\n\nDelete /n flag in compiling line",
"time": "18:44",
"topic": "Bugs in latest Harbour",
"username": "hmpaquito"
}
] |
Bugs in latest Harbour
|
[
{
"date": "2016-01-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "This is a sample of the bug:\n\n[code=fw:18wgxglj]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Microsoft Windows <span style=\"color: #000000;\">[</span>Versione <span style=\"color: #000000;\">10.0</span><span style=\"color: #000000;\">.10586</span><span style=\"color: #000000;\">]</span><br /><span style=\"color: #000000;\">(</span>c<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">2015</span> Microsoft Corporation. Tutti i diritti sono riservati.<br /><br />E:\\HARBOUR>SET HARBOURCMD=/a /es2 /gc0 /m /n /q /w3<br /><br />E:\\HARBOUR>harbour test<br />Harbour <span style=\"color: #000000;\">3.2</span>.0dev <span style=\"color: #000000;\">(</span>r1601050904<span style=\"color: #000000;\">)</span><br />Copyright <span style=\"color: #000000;\">(</span>c<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">1999</span><span style=\"color: #000000;\">-2015</span>, http:<span style=\"color: #B900B9;\">//harbour-project.org/</span><br />test.prg<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">)</span> Warning W0003 Variable <span style=\"color: #ff0000;\">'N'</span> declared but not used in <span style=\"color: #00C800;\">function</span> <span style=\"color: #ff0000;\">'TEST(1)'</span><br />test.prg<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">6</span><span style=\"color: #000000;\">)</span> Warning W0001 Ambiguous reference <span style=\"color: #ff0000;\">'N'</span><br />test.prg<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">8</span><span style=\"color: #000000;\">)</span> Warning W0001 Ambiguous reference <span style=\"color: #ff0000;\">'N'</span><br /><br />No code generated.</div>[/code:18wgxglj]\n\n[code=fw:18wgxglj]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">STATIC</span> n<br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> n = <span style=\"color: #000000;\">1</span><br /><br /> ? n<br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:18wgxglj]\n\nEMG",
"time": "19:56",
"topic": "Bugs in latest Harbour",
"username": "Enrico Maria Giordano"
}
] |
Bugs in latest Harbour
|
[
{
"date": "2016-01-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Try with clipper and xharbour compiler.\nAfter write here results.\n\nRemember they are simple warnings.",
"time": "22:32",
"topic": "Bugs in latest Harbour",
"username": "hmpaquito"
}
] |
Bugs in latest Harbour
|
[
{
"date": "2016-01-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I can't try with Clipper. With xHarbour I correctly get:\n\n[code=fw:2evlpu5v]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">E:\\XHARBOUR>SET HARBOURCMD=/a /es2 /gc0 /m /n /q /w3<br /><br />E:\\XHARBOUR>harbour test<br />xHarbour <span style=\"color: #000000;\">1.2</span><span style=\"color: #000000;\">.3</span> Intl. <span style=\"color: #000000;\">(</span>SimpLex<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">(</span>Build <span style=\"color: #000000;\">20151110</span><span style=\"color: #000000;\">)</span><br />Copyright <span style=\"color: #000000;\">1999</span><span style=\"color: #000000;\">-2015</span>, http:<span style=\"color: #B900B9;\">//www.xharbour.org <!-- m --><a class=\"postlink\" href=\"http://www.harbour-project.org/\">http://www.harbour-project.org/</a><!-- m --></span></div>[/code:2evlpu5v]\n\nEMG",
"time": "22:48",
"topic": "Bugs in latest Harbour",
"username": "Enrico Maria Giordano"
}
] |
Bugs in latest Harbour
|
[
{
"date": "2016-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "My try with harbour r1512050958 it's ok.\n[code=fw:2mlqnxra]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />C:\\P>\\hb32\\bin\\harbour test.prg /a /es2 /gc0 /m /n /w3<br />Harbour <span style=\"color: #000000;\">3.2</span>.0dev <span style=\"color: #000000;\">(</span>r1512050958<span style=\"color: #000000;\">)</span><br />Copyright <span style=\"color: #000000;\">(</span>c<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">1999</span><span style=\"color: #000000;\">-2015</span>, http:<span style=\"color: #B900B9;\">//harbour-project.org/</span><br />Compiling <span style=\"color: #ff0000;\">'test.prg'</span>...<br />Lines <span style=\"color: #000000;\">10</span>, Functions/Procedures <span style=\"color: #000000;\">1</span><br />Generating C source output <span style=\"color: #0000ff;\">to</span> <span style=\"color: #ff0000;\">'test.c'</span>... Done.</div>[/code:2mlqnxra]\n\nSo, you are ok. Compiling error is on latest harbour.",
"time": "09:58",
"topic": "Bugs in latest Harbour",
"username": "hmpaquito"
}
] |
Bugs in latest Harbour
|
[
{
"date": "2016-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I just tried with\n\n[code=fw:2g19p3je]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Harbour <span style=\"color: #000000;\">3.2</span>.0dev <span style=\"color: #000000;\">(</span>r1601101942<span style=\"color: #000000;\">)</span></div>[/code:2g19p3je]\n\nSame problem. <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG",
"time": "11:48",
"topic": "Bugs in latest Harbour",
"username": "Enrico Maria Giordano"
}
] |
Bugs in latest Harbour
|
[
{
"date": "2016-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nAlready reported to the Harbour developers group:\n\n[url:3uba1m6u]https://groups.google.com/forum/#!topic/harbour-devel/DEFqWDk-jgQ[/url:3uba1m6u]",
"time": "16:21",
"topic": "Bugs in latest Harbour",
"username": "Antonio Linares"
}
] |
Bugs in latest Harbour
|
[
{
"date": "2016-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thank you! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG",
"time": "16:52",
"topic": "Bugs in latest Harbour",
"username": "Enrico Maria Giordano"
}
] |
Bugs in latest Harbour
|
[
{
"date": "2016-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "And what about\n\n[code=fw:3gdum2sk]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">^^</div>[/code:3gdum2sk]\n\noperator?\n\nEMG",
"time": "16:52",
"topic": "Bugs in latest Harbour",
"username": "Enrico Maria Giordano"
}
] |
Bugs in latest Harbour
|
[
{
"date": "2016-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nPlease post here a small example so Harbour devs review it too, thanks",
"time": "16:55",
"topic": "Bugs in latest Harbour",
"username": "Antonio Linares"
}
] |
Bugs in latest Harbour
|
[
{
"date": "2016-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Here it is:\n\n[code=fw:2c154vpm]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> ? <span style=\"color: #000000;\">1</span> ^^ <span style=\"color: #000000;\">2</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:2c154vpm]\n\n[code=fw:2c154vpm]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Harbour <span style=\"color: #000000;\">3.2</span>.0dev <span style=\"color: #000000;\">(</span>r1601101942<span style=\"color: #000000;\">)</span><br />Copyright <span style=\"color: #000000;\">(</span>c<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">1999</span><span style=\"color: #000000;\">-2015</span>, http:<span style=\"color: #B900B9;\">//harbour-project.org/</span><br />TEST2.prg<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">)</span> Error E0030 Syntax error <span style=\"color: #ff0000;\">\"syntax error at '^'\"</span><br /><span style=\"color: #000000;\">1</span> error<br /><br />No code generated.</div>[/code:2c154vpm]\n\nEMG",
"time": "17:15",
"topic": "Bugs in latest Harbour",
"username": "Enrico Maria Giordano"
}
] |
Bugs in latest Harbour
|
[
{
"date": "2016-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nPrzemek already answered us... <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "17:20",
"topic": "Bugs in latest Harbour",
"username": "Antonio Linares"
}
] |
Bugs in latest Harbour
|
[
{
"date": "2016-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "And what has he answered?\n\nEMG",
"time": "17:33",
"topic": "Bugs in latest Harbour",
"username": "Enrico Maria Giordano"
}
] |
Bugs in latest Harbour
|
[
{
"date": "2016-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Please read the thread, I posted the url <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "17:44",
"topic": "Bugs in latest Harbour",
"username": "Antonio Linares"
}
] |
Bugs in latest Harbour
|
[
{
"date": "2016-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Master Antonio se puede hacer asi, ó no?\n\n[code=fw:2voqjjhq]<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 />MEMVAR x<br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #B900B9;\">// ? 1 ^^ 2</span><br /><br /> x := Cube<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span><br /><br /> ? x<br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #00C800;\">Function</span> Cube<span style=\"color: #000000;\">(</span> n <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">Return</span> n ** <span style=\"color: #000000;\">1.585</span><br /> </div>[/code:2voqjjhq]\n\nAsi, funciona com Harbour y xHarbour, mas no see se está correcto.\n\u001a\n[url:2voqjjhq]https://books.google.com.br/books?id=vrtI4i8kA4EC&pg=PA41&lpg=PA41&dq=operadores+matem%C3%A1ticos+clipper&source=bl&ots=TJukevCRHR&sig=m4pui-IeRVXiRIGHbDlRyk5Mfh4&hl=pt-BR&sa=X&ved=0ahUKEwidhKDsqqLKAhWMIZAKHXKIAo8Q6AEIIjAB#v=onepage&q=operadores%20matem%C3%A1ticos%20clipper&f=false[/url:2voqjjhq]",
"time": "19:11",
"topic": "Bugs in latest Harbour",
"username": "karinha"
}
] |
Bugs in latest Harbour
|
[
{
"date": "2016-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\nops, sorry, I missed the url! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nAnyway, I used both /n and /w3, as in my sample up in this thread.\n\nEMG",
"time": "19:20",
"topic": "Bugs in latest Harbour",
"username": "Enrico Maria Giordano"
}
] |
Bugs in latest Harbour
|
[
{
"date": "2016-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "João,\n\nYo entiendo que debería ser asi:\n\nFunction Cube( n )\n\nReturn n ** 3",
"time": "19:25",
"topic": "Bugs in latest Harbour",
"username": "Antonio Linares"
}
] |
Bugs in latest Harbour
|
[
{
"date": "2016-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "master, in xHarbour:\n\n[img:er3pblwy]http://i.imgur.com/4pDEaqV.png[/img:er3pblwy]",
"time": "19:37",
"topic": "Bugs in latest Harbour",
"username": "karinha"
}
] |
Bugs in latest Harbour
|
[
{
"date": "2016-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Master xHarbour con *:\n\n[img:94wvik0h]http://i.imgur.com/yhdfUFg.png[/img:94wvik0h]\n\n????\n\nCual és el correcto?\n\nGracias, saludos.",
"time": "19:41",
"topic": "Bugs in latest Harbour",
"username": "karinha"
}
] |
Bugs in latest Harbour
|
[
{
"date": "2016-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "João,\n\nIn xHarbour ^^ has this meaning:\n\n[quote:1k6a44sw]<x> ^^ <y> - bit xor[/quote:1k6a44sw]\n\n[url:1k6a44sw]https://github.com/harbour/core/blob/master/doc/xhb-diff.txt[/url:1k6a44sw]",
"time": "19:51",
"topic": "Bugs in latest Harbour",
"username": "Antonio Linares"
}
] |
Bugs in latest Harbour
|
[
{
"date": "2016-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "It looks like SET HARBOURCMD does not work like you expect.\nI get the same error if I use \n[code=fw:2b2hdr6r]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">C:\\HARBOUR>SET HARBOURCMD=/a /es2 /gc0 /m /n /q /w3 <br />C:\\HARBOUR>harbour test<br /> </div>[/code:2b2hdr6r]\nIt compiles ok if I use \n[code=fw:2b2hdr6r]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">C:\\HARBOUR>harbour test /a /es2 /gc0 /m /n /q /w3<br /> </div>[/code:2b2hdr6r]",
"time": "21:46",
"topic": "Bugs in latest Harbour",
"username": "Gale FORd"
}
] |
Bugs in latest Harbour
|
[
{
"date": "2017-06-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I confirm, HARBOURCMD is broken in Harbour, even in the latest nightly build. As an example:\n\nSET HARBOURCMD=-a -es2 -gc0 -ie:\\harbour\\include -n -q -w3\n\nThe switch -i in HARBOURCMD is ignored (while the other switches seem to work). But this work instead:\n\nharbour test -ie:\\harbour\\include\n\n<!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG",
"time": "15:37",
"topic": "Bugs in latest Harbour",
"username": "Enrico Maria Giordano"
}
] |
Bugs in latest Harbour
|
[
{
"date": "2006-03-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio, \nI upgrade to FWH 2.7 to use with xHB comercial due to the _hbstack bug and I found any fixed bugs from 2.6 that came back. \nI'll be glad if you can review this issues: \n\nAnsiUpper() function: \nIn any cases AnsiUpper generate a GPF (I tested under XP) and our app \ncrash (but in any way stay running because the exe can't be erased), we \nmust restart computer... \n--------------------------------------- \nTOutLook.prg: \nBug: \nThe first time we click in button your action isn't fired. We must \nclick button a second time. \n\nPossible solution:\n\nIn method ADDITEM comment the lines: \noBmp:bMMoved := ... \noBmp:blButtonUp := ... \n---------------------------- \nOn change (TGET class) bug: \n\nbChange don't consider last character typed in oGet object. In other words \nthe buffer is updated with one character of \"delay\" \nWorking sample: \n\nCode: \n#include \"FiveWin.ch\" \nfunction Main() \n local oDlg \n local cVar := space(40) \n local oGet \n\n DEFINE DIALOG oDlg TITLE \"Just a get\" \n\n @ 2, 2 SAY \"Text:\" OF oDlg \n @ 2, 6 GET oGet VAR cVar OF oDlg \n\n oGet[2]:bChange := {|| oGet:Assign(), oDlg:SetText(oGet:cText) } \n\n @ 3, 7 BUTTON \"&Ok\" OF oDlg SIZE 30, 12 ACTION oDlg:End() \n @ 3, 16 BUTTON \"&Cancel\" SIZE 30, 12 OF oDlg ACTION oDlg:End() CANCEL \n\n ACTIVATE DIALOG oDlg CENTERED \n\nreturn nil \n\n\nPossible solution (thanks to Rossine): \n\nCode: \nMETHOD KeyChar( nKey, nFlags ) CLASS TGet \n This code is placed on wrong place: \n\n if ::bChange != nil \n lAccept = Eval( ::bChange, nKey, nFlags, Self ) \n if ValType( lAccept ) == \"L\" .and. ! lAccept \n return 0 \n endif \n endif \n\n The correct place if before otherwise clause at end of method \n\nMETHOD KeyChar( nKey, nFlags ) CLASS TGet \n (...) \n if ::oGet:TypeOut \n if ! Set( _SET_CONFIRM ) \n ::oWnd:nLastKey = VK_RETURN \n ::oWnd:GoNextCtrl( ::hWnd ) \n else \n if Set( _SET_BELL ) \n MsgBeep() \n endif \n endif \n endif \n // Rossine \n if ::bChange != nil \n lAccept = Eval( ::bChange, nKey, nFlags, Self ) \n if ValType( lAccept ) == \"L\" .and. ! lAccept \n return 0 \n endif \n endif \n // Rossine \n Eval( ::bPostKey, Self, ::oGet:Buffer ) \n otherwise \n return Super:KeyChar( nKey, nFlags ) \n endcase \n\nreturn 0 \n \n\n\n--------------------------------- \n\nSuggestion: \nWe have any problems to create/activate dialogs with valid/init into classes \nbecause in .ch files the name Self is used. See this sample \n\nMETHOD MyMethod CLASS MyClass \n\ndefine dialog ::oDlg ... \n\nactivate dialog ::oDlg nomodal valid ::MyValid() \n(...) \n\nThe activate code will conflict with Self name, see the PPO: \n::oDlg:Activate(::oDlg:bLClicked,::oDlg:bMoved,::oDlg:bPainted,.T.,,! .T. ,{|Self|::MyValid()},::oDlg:bRClicked,,) \n\n\"valid ::MyValid()\" turn into \"{|Self|::MyValid()}\" \n\nWe suggest change Self to This into .ch files \n-------------------------------------------------------------------- \nA little suggestion to .ch too: Include clause PICT like Clipper: \n\n[ <pict:PICT,PICTURE> <cPicture> ] \n\n------------------------------------------------------------------- \nAnother suggest to .ch: DEFAULT command: \n\n#xcommand DEFAULT <uVar1> := <uVal1> ; \n[, <uVarN> := <uValN> ] => ; \nif( <uVar1> == nil, <uVar1> := <uVal1>, ) ;; \n[ if( <uVarN> == nil, <uVarN> := <uValN>, ); ] \n\nThis translated declararion: \nDEFAULT x := 1 \n\nif(x == nil, x == 1, ) \n\nAppears to be more efficient that: \n\nx := if(x == nil, x == 1, x) \n\nBecause assign a value to variable only when value is nil",
"time": "18:52",
"topic": "Bugs: TGet bchange /Outlook/ suggestion to .ch",
"username": "Maurilio Viana"
}
] |
Bugs: TGet bchange /Outlook/ suggestion to .ch
|
[
{
"date": "2006-03-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Maurilio,\n\nWe have not modified AnsiUpper() at all. It just makes a call to Win32 AnsiUpper() function. Its a one line source code function.",
"time": "20:02",
"topic": "Bugs: TGet bchange /Outlook/ suggestion to .ch",
"username": "Antonio Linares"
}
] |
Bugs: TGet bchange /Outlook/ suggestion to .ch
|
[
{
"date": "2006-03-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Maurilio,\n\nWe have just tested samples\\TestOutL.prg and it works ok. Could you please test it ? Are you using some classes with modifications of your own ?",
"time": "20:06",
"topic": "Bugs: TGet bchange /Outlook/ suggestion to .ch",
"username": "Antonio Linares"
}
] |
Bugs: TGet bchange /Outlook/ suggestion to .ch
|
[
{
"date": "2006-03-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Maurilio,\n\n>\nbChange don't consider last character typed in oGet object. In other words the buffer is updated with one character of \"delay\"\n>\n\nFixed. Thanks! <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->",
"time": "20:12",
"topic": "Bugs: TGet bchange /Outlook/ suggestion to .ch",
"username": "Antonio Linares"
}
] |
Bugs: TGet bchange /Outlook/ suggestion to .ch
|
[
{
"date": "2006-03-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Maurilio,\n\n> We suggest change Self to This into .ch files\n\nIts a good suggestion, but we can't implement it or we will break many users source code.",
"time": "20:15",
"topic": "Bugs: TGet bchange /Outlook/ suggestion to .ch",
"username": "Antonio Linares"
}
] |
Bugs: TGet bchange /Outlook/ suggestion to .ch
|
[
{
"date": "2006-03-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Maurilio,\n\n>\nA little suggestion to .ch too: Include clause PICT like Clipper: \n\n[ <pict:PICT,PICTURE> <cPicture> ] \n>\n\nImplemented, thanks!",
"time": "20:22",
"topic": "Bugs: TGet bchange /Outlook/ suggestion to .ch",
"username": "Antonio Linares"
}
] |
Bugs: TGet bchange /Outlook/ suggestion to .ch
|
[
{
"date": "2006-03-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Maurilio,\n\n> Another suggest to .ch: DEFAULT command: \n\nExcellent suggestion. Implemented. Many thanks! <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->",
"time": "20:31",
"topic": "Bugs: TGet bchange /Outlook/ suggestion to .ch",
"username": "Antonio Linares"
}
] |
Bugs: TGet bchange /Outlook/ suggestion to .ch
|
[
{
"date": "2006-03-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":aefzz47c]\nWe have just tested samples\\TestOutL.prg and it works ok. Could you please test it ? Are you using some classes with modifications of your own ?[/quote:aefzz47c]\n\nNo, I´m using original class. The problem occur when we click any button by first time. In 1st time, the action isn´t launched. Any times it work other times no <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\nWe comment these lines and it worked. I´ll try with a self contained sample...\n\nAbout AnsiUpper( ) I can´t figura what occur. I call ansiupper( ) and my program exit without error messages. I search in my source code if i redefined it in any place but it is ok...\nAny news I post here...\n\nMany thanks to accept my suggestions <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nBest regards,\nMaurilio",
"time": "23:02",
"topic": "Bugs: TGet bchange /Outlook/ suggestion to .ch",
"username": "Maurilio Viana"
}
] |
Bugs: TGet bchange /Outlook/ suggestion to .ch
|
[
{
"date": "2016-02-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "After I switched to build 16.01, I have noticed the problem shown below.\nMenu items are nested as you see.\n\nThis problem occurs only on Win XP machines.\n[img:1wkdws33]https://imagizer.imageshack.us/v2/234x103q90/923/XmAwlQ.png[/img:1wkdws33]\n\nWin 7 and Win 10 there is no problem\n[img:1wkdws33]https://imagizer.imageshack.us/v2/236x137q90/923/8ykgve.png[/img:1wkdws33]\n\nBest regards,",
"time": "11:54",
"topic": "Build 16.01 Menu Problem",
"username": "betoncu"
}
] |
Build 16.01 Menu Problem
|
[
{
"date": "2016-02-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "With Buid 1 or Build 2?",
"time": "12:04",
"topic": "Build 16.01 Menu Problem",
"username": "cnavarro"
}
] |
Build 16.01 Menu Problem
|
[
{
"date": "2016-02-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Build 2 (February 2016)",
"time": "12:07",
"topic": "Build 16.01 Menu Problem",
"username": "betoncu"
}
] |
Build 16.01 Menu Problem
|
[
{
"date": "2016-02-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "With all styles? ( non style, 2007, 2010, 2013, 2015 )?",
"time": "12:13",
"topic": "Build 16.01 Menu Problem",
"username": "cnavarro"
}
] |
Build 16.01 Menu Problem
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.