messages
listlengths 1
1
| topic
stringlengths 2
60
|
|---|---|
[
{
"date": "2017-11-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Mr. Rao,\n\nYour sample works fine.\nTo change the textcolor as well I did the following changes\nwith a included Setcolor() :\n\n[color=#0000FF:g3wsaczt]GRADIENT { |lMouseOver| If( lMouseOver, ( oBtn:SetColor( 16777215, ), 255 ), ;[/color:g3wsaczt] // red with white text\n[color=#0000FF:g3wsaczt]{ { 1, (oBtn:SetColor( 0, ), 3067734 ), 3067734 } } ) }[/color:g3wsaczt] // green with black text\n\nthe gradient-solution\n\n[color=#0000FF:g3wsaczt]GRADIENT { | lMouseOver | If( ! lMouseOver, ;[/color:g3wsaczt]\n[color=#0000FF:g3wsaczt]( oBtn[1]:SetColor( 255, ), ;[/color:g3wsaczt] // red text\n[color=#0000FF:g3wsaczt]{ { 0.5, 3067734, 16777215 }, ;[/color:g3wsaczt] // gradient green - white\n[color=#0000FF:g3wsaczt]{ 0.5, 16777215, 3067734 } } ), ;[/color:g3wsaczt]\n[color=#0000FF:g3wsaczt]( oBtn[1]:SetColor( 8388608, ), ;[/color:g3wsaczt] // blue text \n[color=#0000FF:g3wsaczt]{ { 0.5, 255, 16777215 }, ;[/color:g3wsaczt] // gradient red - white\n[color=#0000FF:g3wsaczt]{ 0.5, 16777215, 255 } } ) ) } UPDATE[/color:g3wsaczt]\n\nIt works but I am not sure if to keep it as the final solution.\n\nregards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "12:30",
"topic": "BTNBMP from resource missing command COLOR ?",
"username": "ukoenig"
}
] |
BTNBMP from resource missing command COLOR ?
|
[
{
"date": "2017-11-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": ":nClrText := { |lMouseOver, oBtn| <color>( lMouseOver, oBtn ) }",
"time": "17:35",
"topic": "BTNBMP from resource missing command COLOR ?",
"username": "nageswaragunupudi"
}
] |
BTNBMP from resource missing command COLOR ?
|
[
{
"date": "2017-11-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thank You very much.\nmuch better and shorter now :\n\n[code=fw:3e8ssbpv]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />GRADIENT <span style=\"color: #000000;\">{</span> |lMouseOver, oBtn| <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> lMouseOver, <span style=\"color: #000000;\">(</span> oBtn:<span style=\"color: #000000;\">nClrText</span> := <span style=\"color: #000000;\">16777215</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">)</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">(</span> oBtn:<span style=\"color: #000000;\">nClrText</span> := <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">3067734</span> <span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">3067734</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /><br />--------------<br /><br />GRADIENT <span style=\"color: #000000;\">{</span> |lMouseOver, oBtn| <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! lMouseOver, ;<br /><span style=\"color: #000000;\">(</span> oBtn:<span style=\"color: #000000;\">nClrText</span> := <span style=\"color: #000000;\">255</span>, ; <span style=\"color: #B900B9;\">// red text</span><br /><span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.5</span>, <span style=\"color: #000000;\">3067734</span>, <span style=\"color: #000000;\">16777215</span> <span style=\"color: #000000;\">}</span>, ; <span style=\"color: #B900B9;\">// gradient green - white</span><br /><span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.5</span>, <span style=\"color: #000000;\">16777215</span>, <span style=\"color: #000000;\">3067734</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span>, ;<br /><span style=\"color: #000000;\">(</span> oBtn:<span style=\"color: #000000;\">nClrText</span> := <span style=\"color: #000000;\">255</span>, ; <span style=\"color: #B900B9;\">// blue text </span><br /><span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.5</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">16777215</span> <span style=\"color: #000000;\">}</span>, ; <span style=\"color: #B900B9;\">// gradient red - white</span><br /><span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.5</span>, <span style=\"color: #000000;\">16777215</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #0000ff;\">UPDATE</span><br /><br /> </div>[/code:3e8ssbpv]\n\nregards\nUwe",
"time": "19:30",
"topic": "BTNBMP from resource missing command COLOR ?",
"username": "ukoenig"
}
] |
BTNBMP from resource missing command COLOR ?
|
[
{
"date": "2017-11-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Instead of:\n[code=fw:1c90boe0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />GRADIENT <span style=\"color: #000000;\">{</span> |lMouseOver, oBtn| <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> lMouseOver, <span style=\"color: #000000;\">(</span> oBtn:<span style=\"color: #000000;\">nClrText</span> := <span style=\"color: #000000;\">16777215</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">)</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">(</span> oBtn:<span style=\"color: #000000;\">nClrText</span> := <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">3067734</span> <span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">3067734</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> </div>[/code:1c90boe0]\nRecommended:\n[code=fw:1c90boe0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />GRADIENT <span style=\"color: #000000;\">{</span> |lMouseOver, oBtn| <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> lMouseOver, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">3067734</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /><br />:<span style=\"color: #000000;\">nClrText</span> := <span style=\"color: #000000;\">{</span> |lMouseOver,oBtn| <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> lMouseOver, <span style=\"color: #000000;\">16777215</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> </div>[/code:1c90boe0]\n\nInstead of:\n[code=fw:1c90boe0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />GRADIENT <span style=\"color: #000000;\">{</span> |lMouseOver, oBtn| <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! lMouseOver, ;<br /><span style=\"color: #000000;\">(</span> oBtn:<span style=\"color: #000000;\">nClrText</span> := <span style=\"color: #000000;\">255</span>, ; <span style=\"color: #B900B9;\">// red text</span><br /><span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.5</span>, <span style=\"color: #000000;\">3067734</span>, <span style=\"color: #000000;\">16777215</span> <span style=\"color: #000000;\">}</span>, ; <span style=\"color: #B900B9;\">// gradient green - white</span><br /><span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.5</span>, <span style=\"color: #000000;\">16777215</span>, <span style=\"color: #000000;\">3067734</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span>, ;<br /><span style=\"color: #000000;\">(</span> oBtn:<span style=\"color: #000000;\">nClrText</span> := <span style=\"color: #000000;\">255</span>, ; <span style=\"color: #B900B9;\">// blue text </span><br /><span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.5</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">16777215</span> <span style=\"color: #000000;\">}</span>, ; <span style=\"color: #B900B9;\">// gradient red - white</span><br /><span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.5</span>, <span style=\"color: #000000;\">16777215</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #0000ff;\">UPDATE</span><br /> </div>[/code:1c90boe0]\nRecommended:\n[code=fw:1c90boe0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />GRADIENT <span style=\"color: #000000;\">{</span> |lMouseOver, oBtn| <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! lMouseOver, ;<br /><span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.5</span>, <span style=\"color: #000000;\">3067734</span>, <span style=\"color: #000000;\">16777215</span> <span style=\"color: #000000;\">}</span>, ; <span style=\"color: #B900B9;\">// gradient green - white</span><br /><span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.5</span>, <span style=\"color: #000000;\">16777215</span>, <span style=\"color: #000000;\">3067734</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span>, ;<br /><span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.5</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">16777215</span> <span style=\"color: #000000;\">}</span>, ; <span style=\"color: #B900B9;\">// gradient red - white</span><br /><span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.5</span>, <span style=\"color: #000000;\">16777215</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /><br />:<span style=\"color: #000000;\">nClrText</span> := <span style=\"color: #000000;\">{</span> |lMouseOver, oBtn| <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> lMouseOver, CLR_HRED, CLR_BLUE <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <br /> </div>[/code:1c90boe0]",
"time": "00:40",
"topic": "BTNBMP from resource missing command COLOR ?",
"username": "nageswaragunupudi"
}
] |
BTNBMP from resource missing command COLOR ?
|
[
{
"date": "2010-08-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi to all!\nI need to trigger an action with the mouse left Button down (and not at the release) in a BTNBMP. Any help would be appreciated.\nTIA\nEuclides",
"time": "22:10",
"topic": "BTNBMP lButtonDown",
"username": "Euclides"
}
] |
BTNBMP lButtonDown
|
[
{
"date": "2010-08-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Euclides\n\nTry...\n\noBtn:bLClicked = {|| MyAction() } \n\nand not define \"ACTION\" in button",
"time": "22:31",
"topic": "BTNBMP lButtonDown",
"username": "Daniel Garcia-Gil"
}
] |
BTNBMP lButtonDown
|
[
{
"date": "2010-08-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Danie, thanks for the answer, but...\n ...\n REDEFINE BTNBMP oBtn RESOURCE \"RESOURCE\" ID 100 OF oDlg\n oBtn:bLClicked = {|| MsgInfo(oBtn:lPressed) }\n ... \ndoes not execute (maybe is trapped somewhere before) \nRegards\nEuclides",
"time": "15:08",
"topic": "BTNBMP lButtonDown",
"username": "Euclides"
}
] |
BTNBMP lButtonDown
|
[
{
"date": "2010-08-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Euclides...\n\ni checked the class... and this behavior isn't supported\n\nsorry...\n\nyou can try modify the class\n\nMETHOD LButtonDown( nRow, nCol )\n\nchange to this line\n[code=fw:cecimkqr]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">lDrag</span> .or. ! Empty<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oDragCursor</span> <span style=\"color: #000000;\">)</span> .or. ! Empty<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">bLClicked</span> <span style=\"color: #000000;\">)</span></div>[/code:cecimkqr]",
"time": "15:22",
"topic": "BTNBMP lButtonDown",
"username": "Daniel Garcia-Gil"
}
] |
BTNBMP lButtonDown
|
[
{
"date": "2010-08-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "OK, working as expected.\nThanks Daniel!\nRegards\nEuclides",
"time": "18:01",
"topic": "BTNBMP lButtonDown",
"username": "Euclides"
}
] |
BTNBMP lButtonDown
|
[
{
"date": "2009-05-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\n\nAfter many tests, I could solve the problem, painting BTNBMP's inside Resources with all combinations.\nI'm not really shure, if there is maybe still another solution for it.\nI had to use two functions :\n1. The normal Gradient-Painting on Dialogs\n2. I used Antonio's Function, for the Gradient-painting on transparent Buttons.\n( Without Antonio's Function, Buttons are not transparent. )\n\n[code=fw:35e315a3]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">// nSTYLE = 2 => Gradient</span><br /><span style=\"color: #B900B9;\">// D_MOVE => Color-Position</span><br /><span style=\"color: #B900B9;\">// D_DIRECT => Horizontal or Vertical</span><br /><br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg4 <span style=\"color: #0000ff;\">CENTERED</span> <span style=\"color: #0000ff;\">NOWAIT</span> ;<br /><span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">(</span> oDlg4:<span style=\"color: #0000ff;\">Move</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">400</span>, <span style=\"color: #000000;\">470</span>, <span style=\"color: #000000;\">430</span>, <span style=\"color: #000000;\">290</span>, .f. <span style=\"color: #000000;\">)</span>, DisableX<span style=\"color: #000000;\">(</span>oDlg4, .T.<span style=\"color: #000000;\">)</span>, ;<br /> oBtn1:<span style=\"color: #000000;\">SetSize</span><span style=\"color: #000000;\">(</span> D_BUTTONH * <span style=\"color: #000000;\">2</span>, D_BUTTONV * <span style=\"color: #000000;\">2</span>, .T. <span style=\"color: #000000;\">)</span>, ;<br /> oBtn2:<span style=\"color: #000000;\">SetSize</span><span style=\"color: #000000;\">(</span> D_BUTTONH * <span style=\"color: #000000;\">2</span>, D_BUTTONV * <span style=\"color: #000000;\">2</span>, .T. <span style=\"color: #000000;\">)</span>, ;<br /> oBtn3:<span style=\"color: #000000;\">SetSize</span><span style=\"color: #000000;\">(</span> D_BUTTONH * <span style=\"color: #000000;\">2</span>, D_BUTTONV * <span style=\"color: #000000;\">2</span>, .T. <span style=\"color: #000000;\">)</span>, ;<br /> oBtn4:<span style=\"color: #000000;\">SetSize</span><span style=\"color: #000000;\">(</span> D_BUTTONH * <span style=\"color: #000000;\">2</span>, D_BUTTONV * <span style=\"color: #000000;\">2</span>, .T. <span style=\"color: #000000;\">)</span>, ;<br /> oBtn5:<span style=\"color: #000000;\">SetSize</span><span style=\"color: #000000;\">(</span> D_BUTTONH * <span style=\"color: #000000;\">2</span>, D_BUTTONV * <span style=\"color: #000000;\">2</span>, .T. <span style=\"color: #000000;\">)</span>, ;<br /> oBtn6:<span style=\"color: #000000;\">SetSize</span><span style=\"color: #000000;\">(</span> D_BUTTONH * <span style=\"color: #000000;\">2</span>, D_BUTTONV * <span style=\"color: #000000;\">2</span>, .T. <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> IIF<span style=\"color: #000000;\">(</span> nSTYLE = <span style=\"color: #000000;\">2</span> .and. D_DIRECT = <span style=\"color: #000000;\">1</span>, ;<br /> <span style=\"color: #000000;\">(</span> D_GRADIENT<span style=\"color: #000000;\">(</span> hDC, oDlg4 <span style=\"color: #000000;\">)</span>, ;<br /> GradientBrush<span style=\"color: #000000;\">(</span> oDlg4, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> D_MOVE, D_COLOR1, D_COLOR2 <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> D_MOVE, D_COLOR2, D_COLOR1 <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>, .T. <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>, <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">)</span>, ;<br /> IIF<span style=\"color: #000000;\">(</span> nSTYLE = <span style=\"color: #000000;\">2</span> .and. D_DIRECT = <span style=\"color: #000000;\">2</span>, ;<br /> <span style=\"color: #000000;\">(</span> D_GRADIENT<span style=\"color: #000000;\">(</span> hDC, oDlg4 <span style=\"color: #000000;\">)</span>, ;<br /> GradientBrush<span style=\"color: #000000;\">(</span> oDlg4, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> D_MOVE, D_COLOR1, D_COLOR2 <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> D_MOVE, D_COLOR2, D_COLOR1 <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>, .F. <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>, <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">)</span>, ;<br /> IIF<span style=\"color: #000000;\">(</span> nSTYLE = <span style=\"color: #000000;\">5</span>, DL_IMAGE<span style=\"color: #000000;\">(</span> hDC, oDlg4 <span style=\"color: #000000;\">)</span>, <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">)</span>, ;<br /> D_ALPHA<span style=\"color: #000000;\">(</span> hDC <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">)</span><br /><br /><br /><br /><span style=\"color: #B900B9;\">// ---- The Buttons :</span><br /><span style=\"color: #B900B9;\">// ----- 1. Line, 1. Button Transparent NOBORDER ---------</span><br /><br /><span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn1 <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">100</span> <span style=\"color: #0000ff;\">OF</span> oDlg3 ;<br />NOBORDER ;<br />FILENAME c_path + <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\p</span>roject<span style=\"color: #000000;\">\\\"</span> + D_BUTTON1 ;<br />ACTION MsgAlert( \"</span>Button-<span style=\"color: #0000ff;\">Click</span><span style=\"color: #ff0000;\">\", \"</span><span style=\"color: #0000ff;\">Button</span> <span style=\"color: #000000;\">1</span><span style=\"color: #ff0000;\">\" ) ;<br />PROMPT \"</span>But<span style=\"color: #000000;\">.1</span><span style=\"color: #ff0000;\">\" ;<br />FONT oButtFont ;<br />RIGHT<br />oBtn1:lTransparent = .t. <br />oBtn1:cTooltip := \"</span>Button1<span style=\"color: #ff0000;\">\"<br /><br />// ----- 2. Line, 1. Button Transparent BORDER ---------<br /><br />REDEFINE BTNBMP oBtn4 ID 200 OF oDlg3 ;<br />FILENAME c_path + \"</span>\\project\\<span style=\"color: #ff0000;\">\" + D_BUTTON1 ;<br />ACTION MsgAlert( \"</span>Button-<span style=\"color: #0000ff;\">Click</span><span style=\"color: #ff0000;\">\", \"</span><span style=\"color: #0000ff;\">Button</span> <span style=\"color: #000000;\">4</span><span style=\"color: #ff0000;\">\" ) ;<br />PROMPT \"</span>But<span style=\"color: #000000;\">.4</span><span style=\"color: #ff0000;\">\" ;<br />FONT oButtFont ;<br />BOTTOM<br />oBtn4:lTransparent = .t. <br />oBtn4:cTooltip := \"</span>Button4<span style=\"color: #ff0000;\">\"<br /><br /><br />// -------------- DIALOG - GRADIENT --------------------<br /><br />STATIC FUNCTION D_GRADIENT( hDC, oDlg )<br />local aGrad := { { D_MOVE, D_COLOR1, D_COLOR2 }, ; <br /> { D_MOVE, D_COLOR2, D_COLOR1 } } <br /><br />IF D_DIRECT = 1 // Horizontal<br /> GradientFill( hDC, 0, 0, oDlg:nHeight, oDlg:nWidth, aGrad, .T. )<br />ENDIF<br />IF D_DIRECT = 2 // Vertical<br /> GradientFill( hDC, 0, 0, oDlg:nHeight, oDlg:nWidth, aGrad, .F. )<br />ENDIF<br /><br />RETURN NIL<br /><br />// ----- Antonio's function with added lPos ( Gradient-Direction ) -------<br /><br />FUNCTION GradientBrush( oDlg, aColors, lPos )<br />local hDC, hBmp, hBmpOld, oBrush<br /><br />if Empty( oDlg:oBrush:hBitmap )<br /> hDC = CreateCompatibleDC( oDlg:GetDC() )<br /> hBmp = CreateCompatibleBitMap( oDlg:hDC, oDlg:nWidth, oDlg:nHeight )<br /> hBmpOld = SelectObject( hDC, hBmp )<br /> GradientFill( hDC, 0, 0, oDlg:nHeight, oDlg:nWidth, aColors, lPos )<br /> DeleteObject( oDlg:oBrush:hBrush )<br /> oDlg:oBrush:hBitmap = hBmp<br /> oDlg:oBrush:hBrush = CreatePatternBrush( hBmp ) <br /> SelectObject( hDC, hBmpOld )<br /> oDlg:ReleaseDC()<br />endif <br /><br />RETURN NIL<br /> </span></div>[/code:35e315a3]\n\nThere is still the same problem with Images to solve.\n[img:35e315a3]http://www.pflegeplus.com/pictures/btntools17.jpg[/img:35e315a3]\n\nUsing only Antonio's Function without < D_GRADIENT( hDC, oDlg ) > \nthe controls are painted without Dlg-Background.\n[img:35e315a3]http://www.pflegeplus.com/pictures/btntools18.jpg[/img:35e315a3]\n\nRegards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "00:12",
"topic": "BTNBMP on Gradient in Resources, the right way ?",
"username": "ukoenig"
}
] |
BTNBMP on Gradient in Resources, the right way ?
|
[
{
"date": "2008-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "The following example is [b:387qfnrg]btntrans.prg[/b:387qfnrg] except that i reset the border with [b:387qfnrg]ResetBorder[/b:387qfnrg] .You will see it is not working. Can someone tells me why?\n\nThanks\nA.S.K\n\n[code:387qfnrg]\n\n// Testing a transparent TBtnBmp on a transparent DialogBox\n\n#include \"FiveWin.ch\"\n\n//----------------------------------------------------------------------------//\n\nfunction Main()\n\n local oBru, oDlg, oBtn\n\n DEFINE BRUSH oBru FILENAME \"../bitmaps/Backgrnd/beach.bmp\"\n\n DEFINE DIALOG oDlg SIZE 400, 200 BRUSH oBru TRANSPARENT\n\n @ 2, 2 SAY \"Hello\" OF oDlg\n oDlg:aControls[ 1 ]:lTransparent = .t.\n\n @ 70, 80 BTNBMP oBtn FILENAME \"../bitmaps/yes.bmp\" ;\n SIZE 50, 30 OF oDlg ACTION MsgInfo( \"click\" )\n \n oBtn:lTransparent = .T. \n oBtn:ResetBorder()\n \n ACTIVATE DIALOG oDlg CENTERED\n\nreturn nil\n\n//----------------------------------------------------------------------------//[/code:387qfnrg][/b]",
"time": "11:03",
"topic": "BTNBMP problem",
"username": "ask"
}
] |
BTNBMP problem
|
[
{
"date": "2008-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"ask\":m5zfrf0w] @ 70, 80 BTNBMP oBtn FILENAME \"../bitmaps/yes.bmp\" ;\n SIZE 50, 30 OF oDlg ACTION MsgInfo( \"click\" )[/quote:m5zfrf0w]\nTry this:[code:m5zfrf0w] @ 70, 80 BTNBMP oBtn FILENAME \"../bitmaps/yes.bmp\" ;\n SIZE 50, 30 OF oDlg ACTION MsgInfo( \"click\" ) NOBORDER\n\n oBtn:lTransparent = .T[/code:m5zfrf0w]\nRegards\n\nManuel Mercado",
"time": "15:47",
"topic": "BTNBMP problem",
"username": "mmercado"
}
] |
BTNBMP problem
|
[
{
"date": "2008-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"mmercado\":10iy98l3][quote=\"ask\":10iy98l3] @ 70, 80 BTNBMP oBtn FILENAME \"../bitmaps/yes.bmp\" ;\n SIZE 50, 30 OF oDlg ACTION MsgInfo( \"click\" )[/quote:10iy98l3]\nTry this:[code:10iy98l3] @ 70, 80 BTNBMP oBtn FILENAME \"../bitmaps/yes.bmp\" ;\n SIZE 50, 30 OF oDlg ACTION MsgInfo( \"click\" ) NOBORDER\n\n oBtn:lTransparent = .T[/code:10iy98l3]\nRegards\n\nManuel Mercado[/quote:10iy98l3]\n\nThank you for your reply but this is exactly what i don't want to do\n\nregards,\nA.S.K",
"time": "16:19",
"topic": "BTNBMP problem",
"username": "ask"
}
] |
BTNBMP problem
|
[
{
"date": "2019-02-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Antonio or Rao ,\n\nI have a reastaurant programm with touch interface. \nI use BTNBMP to drow the buttons.\nIf the user wishes to charge , for example two coffe , the user presses the same butoon twice. \n\nIf the user presses the same button to quickly , the programm will charge only one coffee. \n\nThere is a waiting period before the same button can be pressed again .\n\nI have noted that if I use BUTTONS , this problem does not arise , but I don't want to lose the graphics and colours of BTNBMP <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> \n\nThis is a sample , if you press quickly twice on the button 'Count' , the number increases by one\n\n[code=fw:2ak3wcks]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oDlg ,oSay , n := <span style=\"color: #000000;\">0</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">370</span>, <span style=\"color: #000000;\">400</span><br /> <br /> <br /> @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">VAR</span> n <span style=\"color: #0000ff;\">COLOR</span> CLR_HRED <span style=\"color: #0000ff;\">OF</span> oDlg <br /> <br /> @ <span style=\"color: #000000;\">11</span>, <span style=\"color: #000000;\">138</span> <span style=\"color: #0000ff;\">BTNBMP</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">15</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #000000;\">2007</span> NOBORDER ;<br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\" &Clear \"</span> <span style=\"color: #0000ff;\">LEFT</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> n := <span style=\"color: #000000;\">0</span> ,oSay:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> @ <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">BTNBMP</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">180</span>, <span style=\"color: #000000;\">18</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #000000;\">2007</span> NOBORDER <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\" COUNT\"</span> ;<br /> <span style=\"color: #0000ff;\">LEFT</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> n++ ,oSay:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:2ak3wcks]\n\nRegards\nMaurizio \n<!-- m --><a class=\"postlink\" href=\"http://www.nipeservice.com\">http://www.nipeservice.com</a><!-- m -->",
"time": "14:35",
"topic": "BTNBMP slow performance",
"username": "Maurizio"
}
] |
BTNBMP slow performance
|
[
{
"date": "2019-02-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "+1\nYes. I also have the same problem, for a long time.",
"time": "15:55",
"topic": "BTNBMP slow performance",
"username": "FranciscoA"
}
] |
BTNBMP slow performance
|
[
{
"date": "2019-02-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Please, try with this\n\nIn your sample\n\n[code=fw:7xslooo4]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /> <span style=\"color: #00C800;\">local</span> oBtn2<br /><br /> .../...<br /><br /> @ <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn2 <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">180</span>, <span style=\"color: #000000;\">18</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #000000;\">2007</span> NOBORDER <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\" COUNT\"</span> ;<br /> <span style=\"color: #0000ff;\">LEFT</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> n++ ,oSay:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oBtn2:<span style=\"color: #000000;\">bLDblClick</span> := <span style=\"color: #000000;\">{</span> || oBtn2:<span style=\"color: #0000ff;\">Click</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <br /><br /> </div>[/code:7xslooo4]\n\nIn an existing dialog or window\n\n[code=fw:7xslooo4]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> AEVal<span style=\"color: #000000;\">(</span> oDlg:<span style=\"color: #000000;\">aControls</span>, <span style=\"color: #000000;\">{</span> | o | <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> o:<span style=\"color: #000000;\">ClassName</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"TBTNBMP\"</span>, o:<span style=\"color: #000000;\">bLDblClick</span> := <span style=\"color: #000000;\">{</span> || o:<span style=\"color: #0000ff;\">Click</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> </div>[/code:7xslooo4]",
"time": "02:34",
"topic": "BTNBMP slow performance",
"username": "cnavarro"
}
] |
BTNBMP slow performance
|
[
{
"date": "2019-02-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thanks Navarro\n\n this works \n[code=fw:t9w4j10k]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> @ <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn2 <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">180</span>, <span style=\"color: #000000;\">18</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #000000;\">2007</span> NOBORDER <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\" COUNT\"</span> ;<br /> <span style=\"color: #0000ff;\">LEFT</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> n++ ,oSay:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oBtn2:<span style=\"color: #000000;\">bLDblClick</span> := <span style=\"color: #000000;\">{</span> || oBtn2:<span style=\"color: #0000ff;\">Click</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <br /> </div>[/code:t9w4j10k]\n\nBat I have an array of BTNBMP and I this dosn't work \n[code=fw:t9w4j10k]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oBtn<span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bLDblClick</span> := <span style=\"color: #000000;\">{</span> || oBtn<span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">Click</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span></div>[/code:t9w4j10k]\n\nI try your code , but dosn't work \n[code=fw:t9w4j10k]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> AEVal<span style=\"color: #000000;\">(</span> oDlg:<span style=\"color: #000000;\">aControls</span>, <span style=\"color: #000000;\">{</span> | o | <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> o:<span style=\"color: #000000;\">ClassName</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"TBTNBMP\"</span>, o:<span style=\"color: #000000;\">bLDblClick</span> := <span style=\"color: #000000;\">{</span> || o:<span style=\"color: #0000ff;\">Click</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span></div>[/code:t9w4j10k]\n\n[code=fw:t9w4j10k]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Compiling...<br />Harbour <span style=\"color: #000000;\">3.2</span>.0dev <span style=\"color: #000000;\">(</span>r1703231115<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;\">-2016</span>, http:<span style=\"color: #B900B9;\">//harbour-project.org/</span><br />Compiling <span style=\"color: #ff0000;\">'sistem.prg'</span> and generating preprocessed output <span style=\"color: #0000ff;\">to</span> <span style=\"color: #ff0000;\">'sistem.ppo'</span>...<br /><span style=\"color: #000000;\">1</span> error<br /><br />No code generated.<br />sistem.prg<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">31</span><span style=\"color: #000000;\">)</span> Error E0005 <span style=\"color: #0000ff;\">Outer</span> codeblock variable <span style=\"color: #ff0000;\">'O'</span> is out <span style=\"color: #0000ff;\">of</span> reach<br />* Compile errors *</div>[/code:t9w4j10k]\n\n\nMaurizio",
"time": "10:54",
"topic": "BTNBMP slow performance",
"username": "Maurizio"
}
] |
BTNBMP slow performance
|
[
{
"date": "2019-02-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Maurizio\":fpzpa37l]Thanks Navarro\n\n this works \n[code=fw:fpzpa37l]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> @ <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn2 <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">180</span>, <span style=\"color: #000000;\">18</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #000000;\">2007</span> NOBORDER <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\" COUNT\"</span> ;<br /> <span style=\"color: #0000ff;\">LEFT</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> n++ ,oSay:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oBtn2:<span style=\"color: #000000;\">bLDblClick</span> := <span style=\"color: #000000;\">{</span> || oBtn2:<span style=\"color: #0000ff;\">Click</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <br /> </div>[/code:fpzpa37l]\n\nBat I have an array of BTNBMP and I this dosn't work \n[code=fw:fpzpa37l]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oBtn<span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bLDblClick</span> := <span style=\"color: #000000;\">{</span> || oBtn<span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">Click</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span></div>[/code:fpzpa37l]\n\nI try your code , but dosn't work \n[code=fw:fpzpa37l]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> AEVal<span style=\"color: #000000;\">(</span> oDlg:<span style=\"color: #000000;\">aControls</span>, <span style=\"color: #000000;\">{</span> | o | <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> o:<span style=\"color: #000000;\">ClassName</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"TBTNBMP\"</span>, o:<span style=\"color: #000000;\">bLDblClick</span> := <span style=\"color: #000000;\">{</span> || o:<span style=\"color: #0000ff;\">Click</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span></div>[/code:fpzpa37l]\n\n[code=fw:fpzpa37l]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Compiling...<br />Harbour <span style=\"color: #000000;\">3.2</span>.0dev <span style=\"color: #000000;\">(</span>r1703231115<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;\">-2016</span>, http:<span style=\"color: #B900B9;\">//harbour-project.org/</span><br />Compiling <span style=\"color: #ff0000;\">'sistem.prg'</span> and generating preprocessed output <span style=\"color: #0000ff;\">to</span> <span style=\"color: #ff0000;\">'sistem.ppo'</span>...<br /><span style=\"color: #000000;\">1</span> error<br /><br />No code generated.<br />sistem.prg<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">31</span><span style=\"color: #000000;\">)</span> Error E0005 <span style=\"color: #0000ff;\">Outer</span> codeblock variable <span style=\"color: #ff0000;\">'O'</span> is out <span style=\"color: #0000ff;\">of</span> reach<br />* Compile errors *</div>[/code:fpzpa37l]\n\n\nMaurizio[/quote:fpzpa37l]\n\nYes, I wrote it quickly and I did not probe it, I just wanted to convey the idea\nCall this function at init clause of dialog or window container, or before ACTIVATE directly\n\n[code=fw:fpzpa37l]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">Function</span> MyClick<span style=\"color: #000000;\">(</span> oDlg <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">local</span> o<br /><span style=\"color: #00C800;\">local</span> x<br /><span style=\"color: #00C800;\">For</span> x = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> Len<span style=\"color: #000000;\">(</span> oDlg:<span style=\"color: #000000;\">aControls</span> <span style=\"color: #000000;\">)</span><br /> o := oDlg:<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">[</span> x <span style=\"color: #000000;\">]</span><br /> <span style=\"color: #00C800;\">if</span> o:<span style=\"color: #000000;\">ClassName</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"TBTNBMP\"</span><br /> o:<span style=\"color: #000000;\">bLDblClick</span> := <span style=\"color: #000000;\">{</span> || o:<span style=\"color: #0000ff;\">Click</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">endif</span><br /><span style=\"color: #00C800;\">Next</span> x<br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:fpzpa37l]",
"time": "12:16",
"topic": "BTNBMP slow performance",
"username": "cnavarro"
}
] |
BTNBMP slow performance
|
[
{
"date": "2019-02-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Out of interest...\n\nI have a touchscreen laying arround....\n\nIn order to try this kind of functions on a touchscreen, do I need to install extra FW software or simply install the screen ?\n\nThe touch driver can be found on the internet and need to be installed.",
"time": "12:21",
"topic": "BTNBMP slow performance",
"username": "Marc Venken"
}
] |
BTNBMP slow performance
|
[
{
"date": "2019-02-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Marc Venken\":3ija80sb]Out of interest...\n\nI have a touchscreen laying arround....\n\nIn order to try this kind of functions on a touchscreen, do I need to install extra FW software or simply install the screen ?\n\nThe touch driver can be found on the internet and need to be installed.[/quote:3ija80sb]\n\nDo not need anything additional with Fw",
"time": "13:09",
"topic": "BTNBMP slow performance",
"username": "cnavarro"
}
] |
BTNBMP slow performance
|
[
{
"date": "2019-02-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Cristóbal... sorry for jumping in...\n\n[code=fw:ygsixsnz]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">local</span> o<br /> ...<br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> ;<br /> AEVal<span style=\"color: #000000;\">(</span> oDlg:<span style=\"color: #000000;\">aControls</span>, <span style=\"color: #000000;\">{</span> |a,x| o := oDlg:<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">[</span> x <span style=\"color: #000000;\">]</span>, <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> o:<span style=\"color: #000000;\">ClassName</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"TBTNBMP\"</span>, o:<span style=\"color: #000000;\">bLDblClick</span> := <span style=\"color: #000000;\">{</span> || o:<span style=\"color: #0000ff;\">Click</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> </div>[/code:ygsixsnz]\nRegards, Euclides",
"time": "14:35",
"topic": "BTNBMP slow performance",
"username": "Euclides"
}
] |
BTNBMP slow performance
|
[
{
"date": "2019-02-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Navarro\n same problem , with array of BTNBMP dosn't works \n\nMaurizio",
"time": "14:39",
"topic": "BTNBMP slow performance",
"username": "Maurizio"
}
] |
BTNBMP slow performance
|
[
{
"date": "2019-02-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Maurizio, this work ok for me\n\n[code=fw:z377inek]<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 /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oDlg ,oSay , n := <span style=\"color: #000000;\">0</span><br /> <span style=\"color: #00C800;\">local</span> aBtns := Array<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">370</span>, <span style=\"color: #000000;\">400</span><br /> <br /> <br /> @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">VAR</span> n <span style=\"color: #0000ff;\">COLOR</span> CLR_HRED <span style=\"color: #0000ff;\">OF</span> oDlg <br /> <br /> @ <span style=\"color: #000000;\">11</span>, <span style=\"color: #000000;\">138</span> <span style=\"color: #0000ff;\">BTNBMP</span> aBtns<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">15</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #000000;\">2007</span> NOBORDER ;<br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\" &Clear \"</span> <span style=\"color: #0000ff;\">LEFT</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> n := <span style=\"color: #000000;\">0</span>, oSay:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> @ <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">BTNBMP</span> aBtns<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">180</span>, <span style=\"color: #000000;\">18</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #000000;\">2007</span> NOBORDER <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\" COUNT\"</span> ;<br /> <span style=\"color: #0000ff;\">LEFT</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> n++ ,oSay:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> MyClick<span style=\"color: #000000;\">(</span> oDlg <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 /><br /><span style=\"color: #00C800;\">Function</span> MyClick<span style=\"color: #000000;\">(</span> oDlg <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> o<br /> <span style=\"color: #00C800;\">local</span> x<br /> <span style=\"color: #00C800;\">For</span> x = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> Len<span style=\"color: #000000;\">(</span> oDlg:<span style=\"color: #000000;\">aControls</span> <span style=\"color: #000000;\">)</span><br /> o := oDlg:<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">[</span> x <span style=\"color: #000000;\">]</span><br /> <span style=\"color: #00C800;\">if</span> o:<span style=\"color: #000000;\">ClassName</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"TBTNBMP\"</span><br /> o:<span style=\"color: #000000;\">bLDblClick</span> := <span style=\"color: #000000;\">{</span> || o:<span style=\"color: #0000ff;\">Click</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">Next</span> x<br /><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /> </div>[/code:z377inek]",
"time": "15:31",
"topic": "BTNBMP slow performance",
"username": "cnavarro"
}
] |
BTNBMP slow performance
|
[
{
"date": "2019-02-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "With solution of Euclides\n\n[code=fw:2tgq9qtb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">Function</span> MyClick<span style=\"color: #000000;\">(</span> oDlg <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> o<br /> AEVal<span style=\"color: #000000;\">(</span> oDlg:<span style=\"color: #000000;\">aControls</span>, <span style=\"color: #000000;\">{</span> | oBtt | o := oBtt, <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> oBtt:<span style=\"color: #000000;\">ClassName</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"TBTNBMP\"</span>, oBtt:<span style=\"color: #000000;\">bLDblClick</span> := <span style=\"color: #000000;\">{</span> || o:<span style=\"color: #0000ff;\">Click</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <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 /><br /> </div>[/code:2tgq9qtb]",
"time": "16:00",
"topic": "BTNBMP slow performance",
"username": "cnavarro"
}
] |
BTNBMP slow performance
|
[
{
"date": "2019-02-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thanks Navarro ,\n\nI have to look why in your example it goes.\n\nMaurizio",
"time": "17:52",
"topic": "BTNBMP slow performance",
"username": "Maurizio"
}
] |
BTNBMP slow performance
|
[
{
"date": "2015-12-04",
"forum": "FiveWin para Pocket PC",
"text": "Buenas tardes,\n\nSigo con problemas inexplicables en esta versión de FWPPC. Creo que mis librerías están incompletas o llenas de bugs.\n\nAlgo tan simple como:\n\n@ 200, 5 BTNBMP oBtnSalir PROMPT \"Salir\" RESOURCE \"PDAVOLVER\" SIZE 230, 45 OF oWnd ACTION oWnd:end()\n\nNo carga el bitmap, he seguido la traza y es que no carga el recurso bitmap.\n\nAquí pasa algo y no puedo construir una simple aplicación con unos botones con bitmaps.\n\nY lo confirmo, en mi librería el bInit de los diálogos tampoco funciona.\n\nPor favor, necesito unas librerías que funcionen, tengo que terminar esta pequeña aplicación.",
"time": "18:28",
"topic": "BTNBMP tampoco me funciona",
"username": "jmartial"
}
] |
BTNBMP tampoco me funciona
|
[
{
"date": "2015-12-05",
"forum": "FiveWin para Pocket PC",
"text": "Joaquín,\n\nAcabo de enviarle un email a Toni Sales para que me envíe las librerías que ellos estan usando,\npara enviártelas.",
"time": "11:06",
"topic": "BTNBMP tampoco me funciona",
"username": "Antonio Linares"
}
] |
BTNBMP tampoco me funciona
|
[
{
"date": "2007-10-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\n\nIs there a possiblity to set the text of a BTNBMP on 2 lines?\nI already tested 'LINE1'+CRLF+'LINE2', but it doesn't work <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: --> .\n\n\nThanks,\nMarc",
"time": "11:36",
"topic": "BTNBMP text on 2 lines",
"username": "Marc Vanzegbroeck"
}
] |
BTNBMP text on 2 lines
|
[
{
"date": "2007-10-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Marc,\n\nYou have to modify the Class TBtnBmp to paint more than one line.\n\nIs it placed on a buttonbar 2007 style ?",
"time": "11:47",
"topic": "BTNBMP text on 2 lines",
"username": "Antonio Linares"
}
] |
BTNBMP text on 2 lines
|
[
{
"date": "2007-10-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\nIt's not placed on a buttonbar 2007 style.\n\nThe text should change depending of data from a database. Sometimes the text is longer then the width of th button. I can't enlarge the size of the button because there is no room anymore. The height of the button is large enough to have two lines.\n\nRegards,\nMarc",
"time": "12:28",
"topic": "BTNBMP text on 2 lines",
"username": "Marc Vanzegbroeck"
}
] |
BTNBMP text on 2 lines
|
[
{
"date": "2007-10-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Marc,\n\nWe email you a modified LIB. \n\nPlease test it using CRLF in the text, thanks",
"time": "13:07",
"topic": "BTNBMP text on 2 lines",
"username": "Antonio Linares"
}
] |
BTNBMP text on 2 lines
|
[
{
"date": "2007-10-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thanks Antonio,\n\nIt's working very nice!!!\n\nBest regards,\nMarc",
"time": "20:43",
"topic": "BTNBMP text on 2 lines",
"username": "Marc Vanzegbroeck"
}
] |
BTNBMP text on 2 lines
|
[
{
"date": "2007-10-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Antonio \n\nIs this modify present in the new FW ? \n\nRegards MAurizio",
"time": "07:17",
"topic": "BTNBMP text on 2 lines",
"username": "Maurizio"
}
] |
BTNBMP text on 2 lines
|
[
{
"date": "2007-10-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Maurizio,\n\nIt will be included in FWH 7.11.\n\nAnyhow, if you need it now, please email me and we will provide you the modified OBJs",
"time": "08:56",
"topic": "BTNBMP text on 2 lines",
"username": "Antonio Linares"
}
] |
BTNBMP text on 2 lines
|
[
{
"date": "2007-10-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio\n\nWill you provide the same change for buttonbmp ?\n\nRichard",
"time": "09:12",
"topic": "BTNBMP text on 2 lines",
"username": "Richard Chidiak"
}
] |
BTNBMP text on 2 lines
|
[
{
"date": "2007-10-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Richard,\n\nIts not that simple as we are calling the standard Windows Button paint procedure and if we override it, then we will not get the standard button painting <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\n CallWindowProc( ::nOldProc, ::hWnd, WM_PAINT, ::hDC, 0 )\n\nMaybe we find a way",
"time": "10:12",
"topic": "BTNBMP text on 2 lines",
"username": "Antonio Linares"
}
] |
BTNBMP text on 2 lines
|
[
{
"date": "2007-05-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\ni have some btnbmp on folder with xp style.\nHave anyone a solution to get Btnbmp transparent.\n\ni use FWH 7.01 and Harbour alpha build 1.0\n\nThanks in advance. \nUwe",
"time": "07:29",
"topic": "BTNBMP transparent",
"username": "camelot"
}
] |
BTNBMP transparent
|
[
{
"date": "2007-05-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "<!-- m --><a class=\"postlink\" href=\"http://fivetechsoft.com/forums/viewtopic.php?t=6632\">http://fivetechsoft.com/forums/viewtopic.php?t=6632</a><!-- m -->",
"time": "07:39",
"topic": "BTNBMP transparent",
"username": "Antonio Linares"
}
] |
BTNBMP transparent
|
[
{
"date": "2007-05-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\nyour sample do not work.\n\nfor example my sourcecode:\nThe oBtn is not transparent now.\n\nDEFINE DIALOG oAuf:oDlgAuf RESOURCE \"Aufmsk0\" ICON oIauf\n\nREDEFINE FOLDER oAuf:oFauf ID 100 OF oAuf:oDlgauf ;\n ITEMS \" Auftrags&kopf \", \" Auftrags&positionen \" ;\n DIALOGS \"Aufmsk1\", \"Aufmsk2\";\n\n REDEFINE BTNBMP oBtn ID 123 noborder;\n RESOURCE \"suchen1\",\"\",\"suchen11\" OF ::oFauf:aDialogs[1] \n WHEN ::lNeu .AND. ! ::lNeuAppend ;\n ACTION (Msgstop())\n\n[img:3vxvzbdx]http://www.ziwu-soft.de/img/image.jpg[/img:3vxvzbdx]\n\nregards\nUwe",
"time": "09:45",
"topic": "BTNBMP transparent",
"username": "camelot"
}
] |
BTNBMP transparent
|
[
{
"date": "2007-05-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Read again the code that Antonio refered you, detailed. Your code does not reflects the Antonio advice. Pay attention and read it again, I´m sure the answer is there.\n\nRegards,\n\nCarlos",
"time": "20:25",
"topic": "BTNBMP transparent",
"username": "carlos.mora"
}
] |
BTNBMP transparent
|
[
{
"date": "2007-05-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "You are missing this:\n\n DEFINE DIALOG oDlg ... [color=red:1w4zc8zx]TRANSPARENT [/color:1w4zc8zx]\n\n ...\n\n [color=red:1w4zc8zx]oBtn:lTransparent = .T. [/color:1w4zc8zx]",
"time": "20:54",
"topic": "BTNBMP transparent",
"username": "Antonio Linares"
}
] |
BTNBMP transparent
|
[
{
"date": "2007-06-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\n\nI have changed my code to the following, but it takes no effect. The BTNBMP are not transparent. Is the problem maybe in the resourceeditor,i use Visual c++ 6.0 or must i have a specially backround color for the bitmap that is in the resourceeditor?\n\nDEFINE DIALOG oDlgAuf RESOURCE \"Aufmsk0\" ICON oIauf TRANSPARENT\n\nREDEFINE FOLDER oFauf ID 100 OF oDlgauf ;\n ITEMS \" Auftrags&kopf \", \" Auftrags&positionen \" ;\n DIALOGS \"Aufmsk1\", \"Aufmsk2\";\n\n REDEFINE BTNBMP oBtn ID 156 noborder;\n RESOURCE \"AKONTO1\",\"\",\"AKONTO11\" OF ::oFauf:aDialogs[1] ;\n ACTION (Msgstop());\n TOOLTIP \"A-Kontobetrag\" \t\t ;\n \t MESSAGE \"A-Kontobetrag bearbeiten\"\n\n oBtn:ltransparent = .T.\n\nThanks in advance.\nUwe",
"time": "09:22",
"topic": "BTNBMP transparent",
"username": "camelot"
}
] |
BTNBMP transparent
|
[
{
"date": "2007-06-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Please test this sample:\n[code:30cgmqvg]\n#include \"FiveWin.ch\"\n\nfunction Main()\n\n local oDlg, oBtn\n\n DEFINE DIALOG oDlg TRANSPARENT\n\n @ 10, 10 BTNBMP oBtn FILENAME \"About.bmp\" NOBORDER \n \n oBtn:lTransparent = .T.\n\n ACTIVATE DIALOG oDlg\n\nreturn nil\n[/code:30cgmqvg]",
"time": "09:35",
"topic": "BTNBMP transparent",
"username": "Antonio Linares"
}
] |
BTNBMP transparent
|
[
{
"date": "2007-06-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\nyour sample works fine,but my BTNBMP is not not on a dialog but also on a Folder. \n\nregards\nUwe",
"time": "10:11",
"topic": "BTNBMP transparent",
"username": "camelot"
}
] |
BTNBMP transparent
|
[
{
"date": "2007-06-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Then try this:\n\noFolder:aDialogs[ n ]:lTransparent = .T.",
"time": "10:40",
"topic": "BTNBMP transparent",
"username": "Antonio Linares"
}
] |
BTNBMP transparent
|
[
{
"date": "2007-06-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\nsorry, but no effect.\nThe Folder is in the Resourceeditor declared as SysTabControl32. \nThe BTNBMP on the Dialog are OK.\nDo you have an other idea.\n\nregards,\nUwe",
"time": "12:04",
"topic": "BTNBMP transparent",
"username": "camelot"
}
] |
BTNBMP transparent
|
[
{
"date": "2007-06-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Uwe,\n\nYou may use a Class TButtonBmp object instead of a TBtnBmp one, as TButtonBmp uses the XP themes and will look better\n\nPlease review samples\\TestBuBm.prg",
"time": "12:19",
"topic": "BTNBMP transparent",
"username": "Antonio Linares"
}
] |
BTNBMP transparent
|
[
{
"date": "2015-03-19",
"forum": "To do - WishList / Por hacer - Peticiones",
"text": "Hello, \nlooking around the fivewin code I found the wrapper for use of theme data of windows, I used it some time ago for a my project in C++.\nSo I think it would be great if the btnbmp uses this procedures (and DrawFrameControl) to paint itself.\nHere an example of result:\n[img:1oae50nt]http://i.imgur.com/p6hqWab.jpg[/img:1oae50nt]\n\nhere an example of use:\n[code=fw:1oae50nt]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><br /><span style=\"color: #00C800;\">function</span> main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oDlg, theme<br /> <br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oDlg <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">300</span>,<span style=\"color: #000000;\">300</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Test\"</span><br /> @ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #ff0000;\">\"custom\"</span> <span style=\"color: #0000ff;\">PIXEL</span><br /> TThemed<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;\">30</span>,<span style=\"color: #000000;\">10</span>,oDlg<span style=\"color: #000000;\">)</span><br /> @ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">110</span> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #ff0000;\">\"Button\"</span> <span style=\"color: #0000ff;\">PIXEL</span><br /> @ <span style=\"color: #000000;\">30</span>,<span style=\"color: #000000;\">110</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">64</span>,<span style=\"color: #000000;\">64</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">PIXEL</span><br /> @ <span style=\"color: #000000;\">110</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #ff0000;\">\"BTNBMP\"</span> <span style=\"color: #0000ff;\">PIXEL</span><br /> @ <span style=\"color: #000000;\">130</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">64</span>,<span style=\"color: #000000;\">64</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">PIXEL</span><br /> @ <span style=\"color: #000000;\">110</span>,<span style=\"color: #000000;\">110</span> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #ff0000;\">\"BTNBMP 2007\"</span> <span style=\"color: #0000ff;\">PIXEL</span><br /> @ <span style=\"color: #000000;\">130</span>,<span style=\"color: #000000;\">110</span> <span style=\"color: #0000ff;\">BTNBMP</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">64</span>,<span style=\"color: #000000;\">64</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #000000;\">2007</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">CLASS</span> TThemed <span style=\"color: #0000ff;\">FROM</span> TControl<br /> <span style=\"color: #00C800;\">DATA</span> theme<br /> <span style=\"color: #00C800;\">DATA</span> lMOver AS LOGICAL<br /> <span style=\"color: #00C800;\">DATA</span> lMDown AS LOGICAL<br /> CLASSDATA lRegistered AS LOGICAL<br /> <span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> nRow, nCol, oWnd, nWidth, nHeight <span style=\"color: #000000;\">)</span> CONSTRUCTOR<br /> <span style=\"color: #00C800;\">METHOD</span> End<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">INLINE</span> ::<span style=\"color: #000000;\">Destroy</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #00C800;\">Display</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">INLINE</span> ::<span style=\"color: #000000;\">BeginPaint</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, ::<span style=\"color: #0000ff;\">Paint</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, ::<span style=\"color: #000000;\">EndPaint</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">0</span><br /><br /> <span style=\"color: #00C800;\">METHOD</span> Destroy<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #0000ff;\">Paint</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #00C800;\">METHOD</span> MouseLeave<span style=\"color: #000000;\">(</span> nRow, nCol, nFlags <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">METHOD</span> MouseMove<span style=\"color: #000000;\">(</span> nRow, nCol, nKeyFlags <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">METHOD</span> LButtonDown<span style=\"color: #000000;\">(</span> nRow, nCol <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">METHOD</span> LButtonUp<span style=\"color: #000000;\">(</span> nRow, nCol <span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #00C800;\">METHOD</span> HandleEvent<span style=\"color: #000000;\">(</span> nMsg, nWParam, nLParam <span style=\"color: #000000;\">)</span><br /> <br /><span style=\"color: #00C800;\">ENDCLASS</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> nRow, nCol, oWnd, nWidth, nHeight <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TThemed<br /> <span style=\"color: #00C800;\">DEFAULT</span> nRow := <span style=\"color: #000000;\">10</span>, nCol := <span style=\"color: #000000;\">10</span>, oWnd := GetWndDefault<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, nWidth := <span style=\"color: #000000;\">64</span>, nHeight := <span style=\"color: #000000;\">64</span><br /> ::<span style=\"color: #000000;\">oWnd</span> = oWnd<br /> ::<span style=\"color: #000000;\">nId</span> = ::<span style=\"color: #000000;\">GetNewId</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">nStyle</span> = nOR<span style=\"color: #000000;\">(</span> WS_CHILD, WS_VISIBLE, WS_TABSTOP <span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">nTop</span> = nRow<br /> ::<span style=\"color: #000000;\">nLeft</span> = nCol<br /> ::<span style=\"color: #000000;\">nBottom</span> = ::<span style=\"color: #000000;\">nTop</span> + nHeight - <span style=\"color: #000000;\">1</span><br /> ::<span style=\"color: #000000;\">nRight</span> = ::<span style=\"color: #000000;\">nLeft</span> + nWidth<br /> ::<span style=\"color: #000000;\">lDrag</span> = .F. <br /> ::<span style=\"color: #000000;\">lMOver</span> = .F.<br /> ::<span style=\"color: #000000;\">lMDown</span> = .F.<br /> <br /> ::<span style=\"color: #000000;\">theme</span> = C5_OpenThemeData<span style=\"color: #000000;\">(</span>oWnd:<span style=\"color: #000000;\">hWnd</span>,<span style=\"color: #ff0000;\">\"BUTTON\"</span><span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">Register</span><span style=\"color: #000000;\">(</span> nOR<span style=\"color: #000000;\">(</span> CS_VREDRAW, CS_HREDRAW <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">Create</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oWnd:<span style=\"color: #000000;\">AddControl</span><span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">Self</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">Self</span><br /><br /><span style=\"color: #00C800;\">METHOD</span> Destroy<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TThemed<br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">theme</span>!=<span style=\"color: #000000;\">0</span><br /> C5_CloseThemeData<span style=\"color: #000000;\">(</span>::<span style=\"color: #000000;\">theme</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /><span style=\"color: #00C800;\">return</span> ::<span style=\"color: #00C800;\">Super</span>:<span style=\"color: #000000;\">Destroy</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">METHOD</span> MouseMove<span style=\"color: #000000;\">(</span> nRow, nCol, nKeyFlags <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TThemed<br /> <span style=\"color: #00C800;\">if</span> ! ::<span style=\"color: #000000;\">lMOver</span><br /> ::<span style=\"color: #000000;\">lMOver</span> = .T.<br /> ::<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> TrackMouseEvent<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hWnd</span>, <span style=\"color: #B900B9;\">/*TME_LEAVE*/</span><span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">0</span><br /><br /><span style=\"color: #00C800;\">METHOD</span> MouseLeave<span style=\"color: #000000;\">(</span> nRow, nCol, nFlags <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TThemed<br /> ::<span style=\"color: #000000;\">lMOver</span> = .F.<br /> ::<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00C800;\">METHOD</span> LButtonDown<span style=\"color: #000000;\">(</span> nRow, nCol <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TThemed<br /> ::<span style=\"color: #000000;\">lMDown</span> = .T.<br /> ::<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><span style=\"color: #00C800;\">METHOD</span> LButtonUp<span style=\"color: #000000;\">(</span> nRow, nCol <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TThemed<br /> ::<span style=\"color: #000000;\">lMDown</span> = .F.<br /> ::<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">// DrawThemeBackground constants</span><br /><span style=\"color: #00D7D7;\">#define</span> BP_PUSHBUTTON <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00D7D7;\">#define</span> PBS_NORMAL <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00D7D7;\">#define</span> PBS_HOT <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00D7D7;\">#define</span> PBS_PRESSED <span style=\"color: #000000;\">3</span><br /><span style=\"color: #B900B9;\">// DrawFrameControl constants</span><br /><span style=\"color: #00D7D7;\">#define</span> DFC_BUTTON <span style=\"color: #000000;\">4</span><br /><span style=\"color: #00D7D7;\">#define</span> DFCS_HOT 0x1000<br /><span style=\"color: #00D7D7;\">#define</span> DFCS_PUSHED 0x0200<br /><span style=\"color: #00D7D7;\">#define</span> DFCS_BUTTONPUSH 0x0010<br /><br /><span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #0000ff;\">Paint</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TThemed<br /> <span style=\"color: #00C800;\">local</span> oBrush<br /> <span style=\"color: #B900B9;\">//local aInfo := ::DispBegin()</span><br /> <span style=\"color: #00C800;\">local</span> nState<br /> <span style=\"color: #B900B9;\">//FillRect( ::hDC, GetClientRect( ::hWnd ), ::oBrush:hBrush )</span><br /> ::<span style=\"color: #000000;\">PaintBack</span><span style=\"color: #000000;\">(</span>::<span style=\"color: #000000;\">hDC</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">theme</span>!=<span style=\"color: #000000;\">0</span><br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">lMOver</span><br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">lMDown</span><br /> C5_DrawThemeBackground<span style=\"color: #000000;\">(</span>::<span style=\"color: #000000;\">theme</span>,::<span style=\"color: #000000;\">hDC</span>, BP_PUSHBUTTON,PBS_PRESSED,GetClientRect<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span>,<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">else</span><br /> C5_DrawThemeBackground<span style=\"color: #000000;\">(</span>::<span style=\"color: #000000;\">theme</span>,::<span style=\"color: #000000;\">hDC</span>, BP_PUSHBUTTON,PBS_HOT,GetClientRect<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span>,<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">else</span><br /> C5_DrawThemeBackground<span style=\"color: #000000;\">(</span>::<span style=\"color: #000000;\">theme</span>,::<span style=\"color: #000000;\">hDC</span>, BP_PUSHBUTTON,PBS_NORMAL,GetClientRect<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span>,<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">else</span><br /> nState := DFCS_BUTTONPUSH<br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">lMOver</span><br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">lMDown</span><br /> nState := nOR<span style=\"color: #000000;\">(</span> nState, DFCS_PUSHED<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">else</span><br /> nState := nOR<span style=\"color: #000000;\">(</span> nState, DFCS_HOT<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">endif</span><br /> DrawFrameControl<span style=\"color: #000000;\">(</span>::<span style=\"color: #000000;\">hDC</span>,GetClientRect<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span>, DFC_BUTTON, nState<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #B900B9;\">//::DispEnd( aInfo )</span><br /><span style=\"color: #00C800;\">return</span><br /><br /><br /><span style=\"color: #00C800;\">METHOD</span> HandleEvent<span style=\"color: #000000;\">(</span> nMsg, nWParam, nLParam <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TThemed<br /><br /> <span style=\"color: #00C800;\">if</span> nMsg == <span style=\"color: #000000;\">794</span><span style=\"color: #B900B9;\">//WM_THEMECHANGED</span><br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">theme</span>!=<span style=\"color: #000000;\">0</span><br /> C5_CloseThemeData<span style=\"color: #000000;\">(</span>::<span style=\"color: #000000;\">theme</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> ::<span style=\"color: #000000;\">theme</span> = C5_OpenThemeData<span style=\"color: #000000;\">(</span>::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">hWnd</span>,<span style=\"color: #ff0000;\">\"BUTTON\"</span><span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /><br /> <span style=\"color: #00C800;\">if</span> nMsg == <span style=\"color: #000000;\">675</span><span style=\"color: #B900B9;\">//WM_MOUSELEAVE</span><br /> ::<span style=\"color: #000000;\">MouseLeave</span><span style=\"color: #000000;\">(</span> nHiWord<span style=\"color: #000000;\">(</span> nLParam <span style=\"color: #000000;\">)</span>, nLoWord<span style=\"color: #000000;\">(</span> nLParam <span style=\"color: #000000;\">)</span>, nWParam <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /><br /><span style=\"color: #00C800;\">return</span> ::<span style=\"color: #00C800;\">Super</span>:<span style=\"color: #000000;\">HandleEvent</span><span style=\"color: #000000;\">(</span> nMsg, nWParam, nLParam <span style=\"color: #000000;\">)</span></div>[/code:1oae50nt]\n\nanyone agree with me?\nAntonino Perricone",
"time": "10:21",
"topic": "BTNBMP with windows style",
"username": "AntoninoP"
}
] |
BTNBMP with windows style
|
[
{
"date": "2015-03-19",
"forum": "To do - WishList / Por hacer - Peticiones",
"text": "Antonino,\n\nThey look very nice, congratulations! a great work\n\nDo you think that you could include your code in Class TBtnBmp ? I appreciate if you review it yourself.\n\nIf you don't have the most recent btnbmp.prg I will send it to you, many thanks! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "14:07",
"topic": "BTNBMP with windows style",
"username": "Antonio Linares"
}
] |
BTNBMP with windows style
|
[
{
"date": "2015-06-05",
"forum": "To do - WishList / Por hacer - Peticiones",
"text": "I think it can be use d also to create CHECKBOX on xbrowse ( no use bitmaps instead)\nwith the paramter [b:x9kthrcr]BP_CHECKBOX[/b:x9kthrcr] \n\n#define CBS_CHECKEDDISABLED 8\n#define CBS_CHECKEDHOT 6\n#define CBS_CHECKEDNORMAL 5\n#define CBS_CHECKEDPRESSED 7\n#define CBS_MIXEDDISABLED 12\n#define CBS_MIXEDHOT 10\n#define CBS_MIXEDNORMAL 9\n#define CBS_MIXEDPRESSED 11\n#define CBS_UNCHECKEDDISABLED 4\n#define CBS_UNCHECKEDHOT 2\n#define CBS_UNCHECKEDNORMAL 1\n#define CBS_UNCHECKEDPRESSED 3\n#define DFCS_BUTTONCHECK 0\n#define DFCS_CHECKED 1024\n#define DFCS_FLAT 16384\n\n\n\nC5_DrawThemeBackground( hTheme, hDC, BP_CHECKBOX, if( n==0,CBS_UNCHECKEDNORMAL,CBS_CHECKEDNORMAL) , GetClientRect( ::hWnd ) )\n\nthii is my cent...",
"time": "12:47",
"topic": "BTNBMP with windows style",
"username": "Silvio.Falconi"
}
] |
BTNBMP with windows style
|
[
{
"date": "2015-06-05",
"forum": "To do - WishList / Por hacer - Peticiones",
"text": "Antonino's enhancements have been included in FWH 15.05 <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\n* Enhancement TBTNBMP. Now btnbmp also can use the selected Desktop theme.\n Themes are applied only to btnbmps not defined with 2007 or 2010 or FlatStyles.\n Changing desktop theme when the application is running repaints the \n themed buttons using the current theme selected.\n\n Usage:\n Global Setting: TBtnBmp():lDefaultTheme := lOnOff // default .f.\n From the time this class data is set to true, all BtnBmp created (without \n 200? or flat style) are painted using the selected theme.\n\n Individual buttons can also be set as themed or not themed by setting\n oBtn:SetThemed( lOnOff ), overriding the global setting.\n\n Thanks to Mr Antonio Perricone.\n <!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=22&t=30403\">viewtopic.php?f=22&t=30403</a><!-- l -->\n\nMany thanks Antonino! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "12:48",
"topic": "BTNBMP with windows style",
"username": "Antonio Linares"
}
] |
BTNBMP with windows style
|
[
{
"date": "2015-06-08",
"forum": "To do - WishList / Por hacer - Peticiones",
"text": "[quote=\"Silvio.Falconi\":266wcmng]I think it can be use d also to create CHECKBOX on xbrowse ( no use bitmaps instead)\nwith the paramter [b:266wcmng]BP_CHECKBOX[/b:266wcmng] \n[/quote:266wcmng]\n\nHi,\nfor xBrowse the modification is very complex.\nHere a work-around:\n[code=fw:266wcmng]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <fivewin.ch><br /><br /><span style=\"color: #00C800;\">function</span> main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oDlg, oList, nSel, aBtm<br /> <br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oDlg <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">300</span>,<span style=\"color: #000000;\">300</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Test\"</span><br /> aBtm := GetCheckBoxes<span style=\"color: #000000;\">(</span>oDlg<span style=\"color: #000000;\">)</span><br /> @ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">LISTBOX</span> oList <span style=\"color: #0000ff;\">VAR</span> nSel MULTISEL <span style=\"color: #0000ff;\">OF</span> oDlg ;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">200</span>,<span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">PIXEL</span>;<br /> <span style=\"color: #0000ff;\">ITEMS</span> <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"Item 1\"</span>,<span style=\"color: #ff0000;\">\"Item 2\"</span>,<span style=\"color: #ff0000;\">\"Item 3\"</span>,<span style=\"color: #ff0000;\">\"Item 4\"</span>,<span style=\"color: #ff0000;\">\"Item 5\"</span>,<span style=\"color: #ff0000;\">\"Item 6\"</span>,<span style=\"color: #ff0000;\">\"Item 7\"</span>,<span style=\"color: #ff0000;\">\"Item 8\"</span><span style=\"color: #000000;\">}</span>;<br /> <span style=\"color: #0000ff;\">BITMAPS</span> aBtm ;<br /> <span style=\"color: #0000ff;\">ON</span> DRAWITEM <span style=\"color: #000000;\">(</span> IIF<span style=\"color: #000000;\">(</span>aScan<span style=\"color: #000000;\">(</span>oList:<span style=\"color: #000000;\">GetSelItems</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>,nItem<span style=\"color: #000000;\">)</span>><span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00D7D7;\">#define</span> DFC_BUTTON <span style=\"color: #000000;\">4</span><br /><span style=\"color: #00D7D7;\">#define</span> DFCS_BUTTONCHECK 0x0000<br /><span style=\"color: #00D7D7;\">#define</span> DFCS_CHECKED 0x0400<br /><span style=\"color: #00D7D7;\">#define</span> BP_CHECKBOX <span style=\"color: #000000;\">3</span><br /><span style=\"color: #00D7D7;\">#define</span> CBS_UNCHECKEDNORMAL <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00D7D7;\">#define</span> CBS_CHECKEDNORMAL <span style=\"color: #000000;\">5</span><br /><br /><span style=\"color: #00C800;\">function</span> GetCheckBoxes<span style=\"color: #000000;\">(</span>oWnd<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> hDCMem, hBmpMem := <span style=\"color: #000000;\">{</span><span style=\"color: #00C800;\">Nil</span>,<span style=\"color: #00C800;\">Nil</span><span style=\"color: #000000;\">}</span>,i, tmp<br /> <span style=\"color: #00C800;\">LOCAL</span> FCStates := <span style=\"color: #000000;\">{</span>DFCS_BUTTONCHECK,nOr<span style=\"color: #000000;\">(</span>DFCS_BUTTONCHECK,DFCS_CHECKED<span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">LOCAL</span> TMStates := <span style=\"color: #000000;\">{</span>CBS_UNCHECKEDNORMAL,CBS_CHECKEDNORMAL<span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">LOCAL</span> oTheme := <span style=\"color: #000000;\">0</span><br /> <span style=\"color: #00C800;\">if</span> IsAppThemed<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oTheme = C5_OpenThemeData<span style=\"color: #000000;\">(</span>oWnd:<span style=\"color: #000000;\">hWnd</span>,<span style=\"color: #ff0000;\">\"BUTTON\"</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <br /> <span style=\"color: #00C800;\">for</span> i:=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">2</span> <br /> hDCMem := CreateCompatibleDC<span style=\"color: #000000;\">(</span> oWnd:<span style=\"color: #000000;\">GetDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> hBmpMem<span style=\"color: #000000;\">[</span>i<span style=\"color: #000000;\">]</span> := CreateCompatibleBitmap<span style=\"color: #000000;\">(</span> oWnd:<span style=\"color: #000000;\">GetDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">16</span>, <span style=\"color: #000000;\">16</span> <span style=\"color: #000000;\">)</span><br /> tmp := SelectObject<span style=\"color: #000000;\">(</span> hDCMem, hBmpMem<span style=\"color: #000000;\">[</span>i<span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span><br /> <br /> FillRect<span style=\"color: #000000;\">(</span> hDCMem,<span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">16</span>,<span style=\"color: #000000;\">16</span><span style=\"color: #000000;\">}</span>, GetStockObject<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">if</span> oTheme != <span style=\"color: #000000;\">0</span><br /> C5_DrawThemeBackground<span style=\"color: #000000;\">(</span>oTheme, hDCMem, BP_CHECKBOX,TMStates<span style=\"color: #000000;\">[</span>i<span style=\"color: #000000;\">]</span>,<span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">15</span>,<span style=\"color: #000000;\">15</span><span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">else</span><br /> DrawFrameControl<span style=\"color: #000000;\">(</span>hDCMem,<span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">15</span>,<span style=\"color: #000000;\">15</span><span style=\"color: #000000;\">}</span>, DFC_BUTTON,FCStates<span style=\"color: #000000;\">[</span>i<span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> SelectObject<span style=\"color: #000000;\">(</span> hDCMem, tmp <span style=\"color: #000000;\">)</span><br /> DeleteDC<span style=\"color: #000000;\">(</span> hDCMem <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">next</span><br /> <br /> <span style=\"color: #00C800;\">if</span> oTheme!=<span style=\"color: #000000;\">0</span><br /> C5_CloseThemeData<span style=\"color: #000000;\">(</span>oTheme<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <br /><span style=\"color: #00C800;\">return</span> hBmpMem</div>[/code:266wcmng]\n\nIt consists to create the bitmaps using C5_DrawThemeBackground and DrawFrameControl.\nHere a screen shot\n[img:266wcmng]http://i.imgur.com/PMoKUhT.jpg[/img:266wcmng]\n\nregards,\nAntonino",
"time": "15:20",
"topic": "BTNBMP with windows style",
"username": "AntoninoP"
}
] |
BTNBMP with windows style
|
[
{
"date": "2015-06-11",
"forum": "To do - WishList / Por hacer - Peticiones",
"text": "yes \nI thinked it could be made....\nyou're a big",
"time": "11:42",
"topic": "BTNBMP with windows style",
"username": "Silvio.Falconi"
}
] |
BTNBMP with windows style
|
[
{
"date": "2015-06-11",
"forum": "To do - WishList / Por hacer - Peticiones",
"text": "Antonino,\nto move an item -> change the position Up and Down\n[code=fw:2lzn3f02]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> SwapUpArray<span style=\"color: #000000;\">(</span> aArray, nPos <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> uTmp<br /><br /> <span style=\"color: #00C800;\">DEFAULT</span> nPos := len<span style=\"color: #000000;\">(</span> aArray <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">if</span> nPos <= len<span style=\"color: #000000;\">(</span> aArray <span style=\"color: #000000;\">)</span> .and. nPos > <span style=\"color: #000000;\">1</span><br /> uTmp := aArray<span style=\"color: #000000;\">[</span>nPos<span style=\"color: #000000;\">]</span><br /> aArray<span style=\"color: #000000;\">[</span>nPos<span style=\"color: #000000;\">]</span> := aArray<span style=\"color: #000000;\">[</span>nPos - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span><br /> aArray<span style=\"color: #000000;\">[</span>nPos - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span> := uTmp<br /> end <span style=\"color: #00C800;\">if</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">/*_____________________________________________________________________________*/</span><br /><br /><span style=\"color: #00C800;\">function</span> SwapDwArray<span style=\"color: #000000;\">(</span> aArray, nPos <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> uTmp<br /><br /> <span style=\"color: #00C800;\">DEFAULT</span> nPos := len<span style=\"color: #000000;\">(</span> aArray <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">if</span> nPos < len<span style=\"color: #000000;\">(</span> aArray <span style=\"color: #000000;\">)</span> .and. nPos > <span style=\"color: #000000;\">0</span><br /> uTmp := aArray<span style=\"color: #000000;\">[</span>nPos<span style=\"color: #000000;\">]</span><br /> aArray<span style=\"color: #000000;\">[</span>nPos<span style=\"color: #000000;\">]</span> := aArray<span style=\"color: #000000;\">[</span>nPos + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span><br /> aArray<span style=\"color: #000000;\">[</span>nPos + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span> := uTmp<br /> end <span style=\"color: #00C800;\">if</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:2lzn3f02]",
"time": "11:57",
"topic": "BTNBMP with windows style",
"username": "Silvio.Falconi"
}
] |
BTNBMP with windows style
|
[
{
"date": "2007-09-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Antonio é possível ajustar uma imagem dentro do botão (BTNBMP)?\n\n\n\nGrato\n\nAoki",
"time": "20:34",
"topic": "BTNBMP é possível ajustar uma imagem dentro do botão?",
"username": "AOKISANTOS"
}
] |
BTNBMP é possível ajustar uma imagem dentro do botão?
|
[
{
"date": "2007-09-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "TENTE COM O COMANDO:\n\nADJUST.",
"time": "21:42",
"topic": "BTNBMP é possível ajustar uma imagem dentro do botão?",
"username": "karinha"
}
] |
BTNBMP é possível ajustar uma imagem dentro do botão?
|
[
{
"date": "2007-09-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Não funciona!",
"time": "11:59",
"topic": "BTNBMP é possível ajustar uma imagem dentro do botão?",
"username": "AOKISANTOS"
}
] |
BTNBMP é possível ajustar uma imagem dentro do botão?
|
[
{
"date": "2007-09-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Aoki,\n\nModifica el código fuente de la clase TBtnBmp método Paint",
"time": "12:07",
"topic": "BTNBMP é possível ajustar uma imagem dentro do botão?",
"username": "Antonio Linares"
}
] |
BTNBMP é possível ajustar uma imagem dentro do botão?
|
[
{
"date": "2007-09-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Desulpe-me Antonio, mais não tenho experiência para fazer tal alteração, usted poderia indicar a alteração necessaria?\n\n\nGrato\n\nAoki",
"time": "13:24",
"topic": "BTNBMP é possível ajustar uma imagem dentro do botão?",
"username": "AOKISANTOS"
}
] |
BTNBMP é possível ajustar uma imagem dentro do botão?
|
[
{
"date": "2007-09-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Antonio como modificar o metodo paint?\n\nGrato\n\nAoki",
"time": "12:58",
"topic": "BTNBMP é possível ajustar uma imagem dentro do botão?",
"username": "AOKISANTOS"
}
] |
BTNBMP é possível ajustar uma imagem dentro do botão?
|
[
{
"date": "2009-02-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear friends,\n\nas subject on Vista & XP with FWH 8.11.\n\nIs possible to solve?",
"time": "15:56",
"topic": "BTNBMP, image moved up",
"username": "Ugo"
}
] |
BTNBMP, image moved up
|
[
{
"date": "2009-02-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "to more explain:\n[img:2pr6my93]http://www.garombo.eu/public/support/image/image1.jpg[/img:2pr6my93]\n[img:2pr6my93]http://www.garombo.eu/public/support/image/image2.jpg[/img:2pr6my93]",
"time": "23:41",
"topic": "BTNBMP, image moved up",
"username": "Ugo"
}
] |
BTNBMP, image moved up
|
[
{
"date": "2009-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "For the solution add [b:sahj4w6l]CENTER[/b:sahj4w6l] \n\nplease see:\n\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=6&t=14119&p=72747&hilit=oleuninitialize#p72698\">viewtopic.php?f=6&t=14119&p=72747&hilit=oleuninitialize#p72698</a><!-- l -->\n\n[code=fw:sahj4w6l]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">REDEFINE</span> BTNBMP oBtn1 <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">120</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">CENTER</span> ;<br /><span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"B16_PAGEUP\"</span> NOBORDER;<br />TOOLTIP <span style=\"color: #ff0000;\">\"Page Up\"</span> ;<br /><span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span>oBrw:<span style=\"color: #000000;\">PageUp</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, ;<br />oBrw:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, oBrw:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span></div>[/code:sahj4w6l]\n\nMany thanks to George.",
"time": "00:10",
"topic": "BTNBMP, image moved up",
"username": "Ugo"
}
] |
BTNBMP, image moved up
|
[
{
"date": "2009-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Ugo,\n\nThat bug was solved in 9.01 and it was discussed in these forums.",
"time": "08:14",
"topic": "BTNBMP, image moved up",
"username": "Antonio Linares"
}
] |
BTNBMP, image moved up
|
[
{
"date": "2009-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":1pwl76ur]That bug was solved in 9.01 and it was discussed in these forums.[/quote:1pwl76ur]\n\nDear Antonio,\ni don't found when i searched it! <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( -->\n\nI have got another bug with tbtnget and the right image:\n[img:1pwl76ur]http://www.garombo.eu/public/support/image/image3.jpg[/img:1pwl76ur]\nIs solved this?",
"time": "08:56",
"topic": "BTNBMP, image moved up",
"username": "Ugo"
}
] |
BTNBMP, image moved up
|
[
{
"date": "2009-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Ugo,\n\nFWH supports this syntax now: \n\n@ ..., .. GET ... ACTION ... BITMAP ...\n\nThere is no need to keep using TBtnGet.",
"time": "09:09",
"topic": "BTNBMP, image moved up",
"username": "Antonio Linares"
}
] |
BTNBMP, image moved up
|
[
{
"date": "2009-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Ugo,\n\nPlease build FWH\\samples\\Test4.prg.\n\nHere it looks fine (using 9.02):\n[img:3gs5n9fj]http://img23.imageshack.us/img23/2835/capturer.png[/img:3gs5n9fj]",
"time": "09:18",
"topic": "BTNBMP, image moved up",
"username": "Antonio Linares"
}
] |
BTNBMP, image moved up
|
[
{
"date": "2009-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\nvery beautifull!",
"time": "09:45",
"topic": "BTNBMP, image moved up",
"username": "Ugo"
}
] |
BTNBMP, image moved up
|
[
{
"date": "2009-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":11p1e7mg]FWH supports this syntax now: \n\n@ ..., .. GET ... ACTION ... BITMAP ...\n\nThere is no need to keep using TBtnGet.[/quote:11p1e7mg]\nAntonio, \nIs supported on FWH 8.11?\nor in 8.11 there is a workaround?",
"time": "09:52",
"topic": "BTNBMP, image moved up",
"username": "Ugo"
}
] |
BTNBMP, image moved up
|
[
{
"date": "2009-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Ugo,\n\nYes, it is available in 8.11 <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nPlease review FWH\\samples\\GetBtn.prg",
"time": "10:05",
"topic": "BTNBMP, image moved up",
"username": "Antonio Linares"
}
] |
BTNBMP, image moved up
|
[
{
"date": "2009-02-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Wow,\nthank you.",
"time": "10:16",
"topic": "BTNBMP, image moved up",
"username": "Ugo"
}
] |
BTNBMP, image moved up
|
[
{
"date": "2007-01-06",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Nunca faltan sufrimientos a la hora de actualizar FWH cuando se usan clases externas al mismo (no digo que sea culpa de FWH).\n\nTal vez alguien me pueda ayudar en este problema con la Clase BtnGet.\n\nEsta clase me ha funcionado perfecto con FWH Marzo 2006 (2.7), al actualizarme a la version 6.12, la funcion FWCalendar (que muestra un calendario muy práctico, no muestra los numeros de las fechas.\n¿alguien me puede ayudar?\n\nPueden hallar esta clase con un ejemplo que muestra el error en:\n\n<!-- m --><a class=\"postlink\" href=\"http://hyperupload.com/download/02200d8b54/BtnGet32.exe.html\">http://hyperupload.com/download/02200d8 ... 2.exe.html</a><!-- m -->\n\nDesde ya muchas gracias por cualquier ayuda que puedo recibir, ya que no puedo usar la actualización hasta resolver este problema ya que tengo objetos de esta clase por todas mis aplicaciones.",
"time": "06:57",
"topic": "BTNGET Y FWH 6.12",
"username": "jose_murugosa"
}
] |
BTNGET Y FWH 6.12
|
[
{
"date": "2007-01-06",
"forum": "FiveWin para Harbour/xHarbour",
"text": "José,\n\nHay que hacer una pequeña modificación en la clase TSay, en concreto hay que quitar la línea 265 (::VarPut(...)). Con ese cambio debería funcionarte correctamente.",
"time": "07:55",
"topic": "BTNGET Y FWH 6.12",
"username": "Antonio Linares"
}
] |
BTNGET Y FWH 6.12
|
[
{
"date": "2007-01-06",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Ó PUEDES USAR ESTE CALENDÁRIO:\n\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=594\">http://www.fivewin.com.br/exibedicas.asp?id=594</a><!-- m -->",
"time": "12:49",
"topic": "BTNGET Y FWH 6.12",
"username": "karinha"
}
] |
BTNGET Y FWH 6.12
|
[
{
"date": "2007-01-06",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias a ambos por responderme tan pronto!!!!!!!!\n\nAntonio,\nefectivamente era ese el problema, ahora me funciona perfecto <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nKarinha,\nSi bien no puedo usar tu calendario para esta clase porque es demasiado\ngrande, seguramente me resultará útil para otras cosas, está muy bello. <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->",
"time": "15:37",
"topic": "BTNGET Y FWH 6.12",
"username": "jose_murugosa"
}
] |
BTNGET Y FWH 6.12
|
[
{
"date": "2020-03-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I am trying to insert a button in a get that looks like the combobox button\n so that it is homogeneous graphically but big problems,\n so far I have reached this result, is it possible in your opinion to do better?\n\nI can't use two comboboxes I have to use two tget controls with a button to call a function that shows a list of numbers\n\n[img:u20s0mc7]https://i.postimg.cc/jdsDhMhc/sdsssss.png[/img:u20s0mc7]\n\nI saw we can modiy the style of button on this page \n<!-- m --><a class=\"postlink\" href=\"https://docs.microsoft.com/en-us/windows/win32/controls/button-styles\">https://docs.microsoft.com/en-us/window ... ton-styles</a><!-- m -->\nfor a sample modifying to BS_SPLITBUTTON (reates a split button. A split button has a drop down arrow.)\nbut I not found the value\n\nI think we can get to have the same style of the combobox, what do you think about?",
"time": "12:34",
"topic": "BTNGET as COMBO",
"username": "Silvio.Falconi"
}
] |
BTNGET as COMBO
|
[
{
"date": "2009-03-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Ugo,\n\nI think Antonio will include RESIZE16 clause fixed for GET..ACTION. If not now you can fix as following. I've changed all BTNGET to original GET..ACTION and working without problem\n\n[code=fw:rc5h0vyn]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">METHOD</span> CreateButton<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TGet<br /> <span style=\"color: #00C800;\">local</span> oThis := <span style=\"color: #00C800;\">Self</span><br /> <span style=\"color: #00C800;\">if</span> ValType<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">bAction</span> <span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"B\"</span> .and. Upper<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">ClassName</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"TGET\"</span> <br /> <span style=\"color: #00C800;\">if</span> Empty<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">cBmpName</span> <span style=\"color: #000000;\">)</span><br /> @ <span style=\"color: #000000;\">0</span>, ::<span style=\"color: #000000;\">nWidth</span> - ::<span style=\"color: #000000;\">nHeight</span> BUTTONBMP ::<span style=\"color: #000000;\">oBtn</span> <span style=\"color: #0000ff;\">OF</span> <span style=\"color: #00C800;\">Self</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> Eval<span style=\"color: #000000;\">(</span> oThis:<span style=\"color: #000000;\">bAction</span>, oThis <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> ; <span style=\"color: #B900B9;\">// , oThis:LostFocus() ) ; </span><br /> <span style=\"color: #0000ff;\">SIZE</span> ::<span style=\"color: #000000;\">nHeight</span> - <span style=\"color: #000000;\">4</span>, ::<span style=\"color: #000000;\">nHeight</span> - <span style=\"color: #000000;\">4</span> <span style=\"color: #0000ff;\">PIXEL</span><br /> <span style=\"color: #00C800;\">if</span> Empty<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oBtn</span>:<span style=\"color: #000000;\">hBitmap</span> <span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">oBtn</span>:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"...\"</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span> <br /> <span style=\"color: #00C800;\">else</span> <br /> @ <span style=\"color: #000000;\">0</span>, ::<span style=\"color: #000000;\">nWidth</span> - ::<span style=\"color: #000000;\">nHeight</span> BUTTONBMP ::<span style=\"color: #000000;\">oBtn</span> <span style=\"color: #0000ff;\">OF</span> <span style=\"color: #00C800;\">Self</span> ; <br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> Eval<span style=\"color: #000000;\">(</span> oThis:<span style=\"color: #000000;\">bAction</span>, oThis <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> ; <span style=\"color: #B900B9;\">// oThis:SetFocus() ) ;</span><br /> <span style=\"color: #0000ff;\">SIZE</span> ::<span style=\"color: #000000;\">nHeight</span> - <span style=\"color: #000000;\">4</span>, ::<span style=\"color: #000000;\">nHeight</span> - <span style=\"color: #000000;\">4</span> <span style=\"color: #0000ff;\">PIXEL</span> BITMAP ::<span style=\"color: #000000;\">cBmpName</span><br /> <span style=\"color: #00C800;\">endif</span><br /><span style=\"color: #B900B9;\">// add this 3 lines.</span><br /> <span style=\"color: #00C800;\">if</span> Upper<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">ClassName</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"TDIALOG\"</span> .and. ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">lResize16</span><br /> ::<span style=\"color: #000000;\">oBtn</span>:<span style=\"color: #000000;\">nLeft</span> = <span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">nWidth</span> * <span style=\"color: #000000;\">1.167</span> <span style=\"color: #000000;\">)</span> - ::<span style=\"color: #000000;\">nHeight</span><br /> end<br /><span style=\"color: #B900B9;\">// add above 3 lines</span><br /> ::<span style=\"color: #000000;\">oBtn</span>:<span style=\"color: #000000;\">lCancel</span> = .T. <span style=\"color: #B900B9;\">// so the GET VALID is not fired when the button is focused</span><br /><br /> <span style=\"color: #B900B9;\">/*<br /> // We force a WM_NCCALCSIZE msg to be sent to the GET <br /> SetWindowPos( ::hWnd, 0, 0, 0, 0, 0,;<br /> nOr( SWP_NOMOVE, SWP_NOSIZE, SWP_NOZORDER, SWP_FRAMECHANGED ) )<br /> */</span> <br /> <span style=\"color: #00C800;\">endif</span> <br /> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> <br /> </div>[/code:rc5h0vyn]",
"time": "09:07",
"topic": "BTNGET vs GET..ACTION..BITMAP",
"username": "dutch"
}
] |
BTNGET vs GET..ACTION..BITMAP
|
[
{
"date": "2009-03-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":2kcf2xg7]FWH supports this syntax now: \n\n@ ..., .. GET ... ACTION ... BITMAP ...\n\nThere is no need to keep using TBtnGet.[/quote:2kcf2xg7]\nDear Antonio,\n\nI use the redefine, work, but not well, the button position is not on the right!\n[img:2kcf2xg7]http://www.garombo.eu/public/support/image/image5.jpg[/img:2kcf2xg7]\n\nand next, how to support RESOURCE clause?\n\nIn the image the second is btnget <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nMany thanks for your reponse.",
"time": "19:17",
"topic": "BTNGET vs GET..ACTION..BITMAP",
"username": "Ugo"
}
] |
BTNGET vs GET..ACTION..BITMAP
|
[
{
"date": "2009-03-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Enrico Maria Giordano\":26ap9kv5][quote=\"Ugo\":26ap9kv5]There is also the RESOURCE\nHow to use the resource instead bitmap image?[/quote:26ap9kv5]\n\nIt is not supported yet. You have to modify CreateButton() method for this. Antonio?[/quote:26ap9kv5]\n\nAntonio,\ncan you help me?",
"time": "09:34",
"topic": "BTNGET vs GET..ACTION..BITMAP",
"username": "Ugo"
}
] |
BTNGET vs GET..ACTION..BITMAP
|
[
{
"date": "2009-03-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Ugo\":3swywan1]Dear Enrico,\nTest it:[/quote:3swywan1]\n\nInteresting... It seems I was wrong. If I change the last line of @ row, col GET ... ACTION command in fivewin.ch:\n\n[code=fw:3swywan1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><.pass.>, <span style=\"color: #000000;\">[</span><.lNoBorder.><span style=\"color: #000000;\">]</span>, <nHelpId>,,,,,, <<span style=\"color: #000000;\">{</span>uAction<span style=\"color: #000000;\">}</span>>, <cBmpName>, <<span style=\"color: #ff0000;\">\"uVar\"</span>> <span style=\"color: #000000;\">)</span></div>[/code:3swywan1]\n\nthen it works fine.\n\nAntonio?\n\nEMG",
"time": "10:47",
"topic": "BTNGET vs GET..ACTION..BITMAP",
"username": "Enrico Maria Giordano"
}
] |
BTNGET vs GET..ACTION..BITMAP
|
[
{
"date": "2009-03-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Dutch,\n\nthe position work well, \nthank you.\n\n> I've changed all BTNGET to original GET..ACTION and working without problem\nI have a problem, test this (with BTNGET work well):\n[code=fw:j2zpjvan]<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: #00C800;\">LOCAL</span> o := MyClass<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> <span style=\"color: #00C800;\">Nil</span><br /><br /><span style=\"color: #00C800;\">CLASS</span> MyClass<br /> <span style=\"color: #00C800;\">DATA</span> dData<br /> <span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> CONSTRUCTOR<br /><br /> <span style=\"color: #00C800;\">ENDCLASS</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> MyClass<br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oGet4, lWhen := .T., oDlg<br /><br /> ::<span style=\"color: #000000;\">dData</span> := Date<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /><br /> @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">GET</span> oGet4 <span style=\"color: #0000ff;\">VAR</span> ::<span style=\"color: #000000;\">dData</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"@D\"</span>; <span style=\"color: #B900B9;\">// RESOURCE \"B_Cld\"</span><br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">12</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span>::<span style=\"color: #000000;\">dData</span>:=Date<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">-10</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">Self</span></div>[/code:j2zpjvan]\nreturn an error when i click button. <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nThis is the error:\n[quote:j2zpjvan] Descrizione: Warning BASE/1005 Message not found: TGET:_DDATA\n Args:\n\nStack Calls\n===========\n Called from: source\\rtl\\tobject.prg => TGET:ERROR(172)\n Called from: source\\rtl\\tobject.prg => TGET:MSGNOTFOUND(205)\n Called from: source\\rtl\\tobject.prg => TGET:_DDATA(0)\n Called from: SRC-WIN\\TEst\\Source\\Test.prg => (b)MYCLASS:NEW(82)\n Called from: prg\\TGET.prg => (b)TGET:CREATEBUTTON(465)\n Called from: prg\\BUTTON.prg => TBUTTONBMP:CLICK(177)\n Called from: prg\\CONTROL.prg => TBUTTON:HANDLEEVENT(1412)\n Called from: prg\\BUTTONB.prg => TBUTTONBMP:HANDLEEVENT(168)\n Called from: prg\\WINDOW.prg => _FWH(3345)\n Called from: => SENDMESSAGE(0)\n Called from: prg\\WINDOW.prg => TGET:COMMAND(1014)\n Called from: => TWINDOW:HANDLEEVENT(0)\n Called from: prg\\CONTROL.prg => TCONTROL:HANDLEEVENT(1454)\n Called from: prg\\TGET.prg => TGET:HANDLEEVENT(561)\n Called from: prg\\WINDOW.prg => _FWH(3345)\n Called from: => DIALOGBOXINDIRECT(0)\n Called from: prg\\DIALOG.prg => TDIALOG:ACTIVATE(273)\n Called from: SRC-WIN\\TEst\\Source\\Test.prg => MYCLASS:NEW(84)\n Called from: SRC-WIN\\TEst\\Source\\Test.prg => MAIN(60)\n[/quote:j2zpjvan]\n\nThere is a workaround?\n\nIs possible to insert also the resources?\n\nMany thanks in advance.",
"time": "11:29",
"topic": "BTNGET vs GET..ACTION..BITMAP",
"username": "Ugo"
}
] |
BTNGET vs GET..ACTION..BITMAP
|
[
{
"date": "2009-03-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[code=fw:21u672m4]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> o := MyClass<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> <span style=\"color: #00C800;\">Nil</span><br /><br /><span style=\"color: #00C800;\">CLASS</span> MyClass<br /> <span style=\"color: #00C800;\">DATA</span> dData<br /> <span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> CONSTRUCTOR<br /><br /> <span style=\"color: #00C800;\">ENDCLASS</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> MyClass<br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oGet4, lWhen := .T., oDlg, oSelf := <span style=\"color: #00C800;\">Self</span><br /><br /> ::<span style=\"color: #000000;\">dData</span> := Date<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /><br /> @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">GET</span> oGet4 <span style=\"color: #0000ff;\">VAR</span> ::<span style=\"color: #000000;\">dData</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"@D\"</span>; <span style=\"color: #B900B9;\">// RESOURCE \"B_Cld\"</span><br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">12</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span>oSelf:<span style=\"color: #000000;\">dData</span>:=Date<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">-10</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">Self</span></div>[/code:21u672m4]\n\nEMG",
"time": "19:38",
"topic": "BTNGET vs GET..ACTION..BITMAP",
"username": "Enrico Maria Giordano"
}
] |
BTNGET vs GET..ACTION..BITMAP
|
[
{
"date": "2009-03-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Enrico,\n\nwork well, of course! <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: --> \nthank you.\n\nThis is a bug?\nThe other clauses (valid,spinner,when etc.) work well using directly the class variable.\n\nThere is also the RESOURCE\nHow to use the resource instead bitmap image?",
"time": "00:43",
"topic": "BTNGET vs GET..ACTION..BITMAP",
"username": "Ugo"
}
] |
BTNGET vs GET..ACTION..BITMAP
|
[
{
"date": "2009-03-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Ugo\":2thygy85]This is a bug?[/quote:2thygy85]\n\nIt seems not. Look inside tget.prg, method CreateButton() and you will see that the same technique is used there. I tried it under Harbour with the same result (the local variable is still required).\n\n[quote=\"Ugo\":2thygy85]There is also the RESOURCE\nHow to use the resource instead bitmap image?[/quote:2thygy85]\n\nIt is not supported yet. You have to modify CreateButton() method for this. Antonio?\n\nEMG",
"time": "09:05",
"topic": "BTNGET vs GET..ACTION..BITMAP",
"username": "Enrico Maria Giordano"
}
] |
BTNGET vs GET..ACTION..BITMAP
|
[
{
"date": "2009-03-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Enrico Maria Giordano\":119ups2s][quote=\"Ugo\":119ups2s]This is a bug?[/quote:119ups2s]\n\nIt seems not. Look inside tget.prg, method CreateButton() and you will see that the same technique is used there. I tried it under Harbour with the same result (the local variable is still required).\n\n[quote=\"Ugo\":119ups2s]The other clauses (valid,spinner,when etc.) work well using directly the class variable[/quote:119ups2s][/quote:119ups2s]\nDear Enrico,\nTest it:\n[code=fw:119ups2s]<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 /> <span style=\"color: #00C800;\">LOCAL</span> o<br /><br /> Set century <span style=\"color: #0000ff;\">on</span><br /> SET EPOCH <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">2000</span><br /><br /> o := MyClass<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> <span style=\"color: #00C800;\">Nil</span><br /><br /><span style=\"color: #00C800;\">CLASS</span> MyClass<br /> <span style=\"color: #00C800;\">DATA</span> dData<br /> <span style=\"color: #00C800;\">DATA</span> lTest <span style=\"color: #0000ff;\">INIT</span> .T.<br /><br /> <span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> CONSTRUCTOR<br /><br /> <span style=\"color: #00C800;\">ENDCLASS</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> MyClass<br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oGet4, lWhen := .T., oDlg, oSelf := <span style=\"color: #00C800;\">Self</span>, cTxt := Space<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">)</span>, oGet5<br /><br /> ::<span style=\"color: #000000;\">dData</span> := Date<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /><br /> @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">GET</span> oGet4 <span style=\"color: #0000ff;\">VAR</span> ::<span style=\"color: #000000;\">dData</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"@D\"</span>; <span style=\"color: #B900B9;\">// RESOURCE \"B_Cld\"</span><br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">12</span> ;<br /> <span style=\"color: #0000ff;\">WHEN</span> ::<span style=\"color: #000000;\">lTest</span>;<br /> <span style=\"color: #0000ff;\">VALID</span> <span style=\"color: #00C800;\">IF</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">lTest</span>,;<br /> <span style=\"color: #00C800;\">IF</span><span style=\"color: #000000;\">(</span> MyTest<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">dData</span> <span style=\"color: #000000;\">)</span>,;<br /> <span style=\"color: #000000;\">(</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Test OK\"</span>, ::<span style=\"color: #000000;\">dData</span> <span style=\"color: #000000;\">)</span>, .T. <span style=\"color: #000000;\">)</span>,;<br /> <span style=\"color: #000000;\">(</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Test KO\"</span>, ::<span style=\"color: #000000;\">dData</span> <span style=\"color: #000000;\">)</span>, .F. <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>,;<br /> .T. <span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span>oSelf:<span style=\"color: #000000;\">dData</span>:=Date<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">-10</span><span style=\"color: #000000;\">)</span><br /><br /> @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">GET</span> oGet5 <span style=\"color: #0000ff;\">VAR</span> cTxt <span style=\"color: #0000ff;\">OF</span> oDlg<br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">Self</span><br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> MyTest<span style=\"color: #000000;\">(</span> dData <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Test in corso\"</span> + CRLF + ;<br /> DToS<span style=\"color: #000000;\">(</span> dData <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\" < \"</span> + DToS<span style=\"color: #000000;\">(</span> Date<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> + CRLF + ;<br /> cValToChar<span style=\"color: #000000;\">(</span> dData < Date<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> , dData <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> dData < Date<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span></div>[/code:119ups2s]\n\nas you can see, both the variable ::lTest that the same ::dData work well in the When and Valid clauses, only Action required oSelf.",
"time": "09:32",
"topic": "BTNGET vs GET..ACTION..BITMAP",
"username": "Ugo"
}
] |
BTNGET vs GET..ACTION..BITMAP
|
[
{
"date": "2006-04-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Estimados,\n\nMiren este código:\n\n[code:3lx9kfot]REDEFINE BTNGET oDatos[ 01 ] VAR vDatos[ 01 ];\n PICTURE \"@!\";\n ID 118 OF oDlg[/code:3lx9kfot]\n\nOvbiedo ( yo ) dice que cuando corre su app, y quiere escribir la Ñ aparece ñ, y eso que esta todo en mayúsculas. \n\nPorque ocurre esto?",
"time": "19:42",
"topic": "BTNGET y la enie mayúscula",
"username": "goosfancito"
}
] |
BTNGET y la enie mayúscula
|
[
{
"date": "2023-05-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear All,\n\nI try BTNTRNS, it works fine for DIALOG but it doesn't \"Translucent background\" on WINDOW.\n\nCan it use with WINDOW?\n\nThanks in advance,\nDutch",
"time": "08:35",
"topic": "BTNTRNS can use with WINDOW?",
"username": "dutch"
}
] |
BTNTRNS can use with WINDOW?
|
[
{
"date": "2023-05-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Dutch,\n\nPlease post a small PRG to test, thanks",
"time": "11:02",
"topic": "BTNTRNS can use with WINDOW?",
"username": "Antonio Linares"
}
] |
BTNTRNS can use with WINDOW?
|
[
{
"date": "2023-05-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Antonio,\n\nI got the problem now. The TRANSLUCENT BUTTONS will work with background image from BRUSH. But it doesn't work with background image from FW_Drawimage().\n[quote=\"Antonio Linares\":3t44hvy8]Dear Dutch,\n\nPlease post a small PRG to test, thanks[/quote:3t44hvy8]",
"time": "11:42",
"topic": "BTNTRNS can use with WINDOW?",
"username": "dutch"
}
] |
BTNTRNS can use with WINDOW?
|
[
{
"date": "2023-05-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Please post a small PRG to test <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "12:43",
"topic": "BTNTRNS can use with WINDOW?",
"username": "Antonio Linares"
}
] |
BTNTRNS can use with WINDOW?
|
[
{
"date": "2023-05-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Antonio,\n\nThis is sample my code. \".\\TESTSBTN.JPG' just jpg file for background.\n[code=fw:3iks5lzd]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">'Fivewin.ch'</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">'TSbutton.ch'</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">'Image.ch'</span><br /><br /><span style=\"color: #00C800;\">Static</span> oWnd, nWndWidth, nWndHeight, oFont40<br /><br />*------------------------------*<br /><span style=\"color: #00C800;\">Function</span> Main<br /><span style=\"color: #00C800;\">local</span> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">]</span><br /><span style=\"color: #00C800;\">local</span> aImage1 <br /><br />nWndWidth := GetSysMetrics<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">)</span><br />nWndHeight := GetSysMetrics<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont40 <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">'Tahoma'</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-40</span><br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">'Test Button on Image Background'</span> ;<br /> <span style=\"color: #0000ff;\">STYLE</span> nOr<span style=\"color: #000000;\">(</span> WS_POPUP, WS_VISIBLE <span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">COLOR</span> CLR_WHITE, CLR_HGRAY<br /><br /> aImage1 := Fw_ReadImage<span style=\"color: #000000;\">(</span> oWnd, <span style=\"color: #ff0000;\">'.<span style=\"color: #000000;\">\\t</span>estsbtn.jpg'</span> <span style=\"color: #000000;\">)</span><br /><br /> @ <span style=\"color: #000000;\">200</span>, <span style=\"color: #000000;\">400</span> SBUTTON oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">'Check-Out'</span> <span style=\"color: #0000ff;\">OF</span> oWnd ;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">460</span>,<span style=\"color: #000000;\">460</span> <span style=\"color: #0000ff;\">PIXEL</span> ; <br /> FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\a</span>lphabmp<span style=\"color: #000000;\">\\a</span>ndroid.bmp\"</span> ;<br /> <span style=\"color: #0000ff;\">FONT</span> oFont40 ; <br /> NOBOXTR ;<br /> <span style=\"color: #0000ff;\">TEXT</span> ON_BOTTOM ; <span style=\"color: #B900B9;\">// COLORS CLR_BLACK, CLR_GRAY ;</span><br /> COLORS CLR_WHITE ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span><span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'ok1'</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><br /><br /> @ <span style=\"color: #000000;\">200</span>,<span style=\"color: #000000;\">1000</span> SBUTTON oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">'Check-In'</span> <span style=\"color: #0000ff;\">OF</span> oWnd ;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">460</span>,<span style=\"color: #000000;\">460</span> <span style=\"color: #0000ff;\">PIXEL</span> ; <br /> FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\a</span>lphabmp<span style=\"color: #000000;\">\\d</span>esign.bmp\"</span> ;<br /> <span style=\"color: #0000ff;\">FONT</span> oFont40 ; <br /> NOBOXTR ;<br /> <span style=\"color: #0000ff;\">TEXT</span> ON_BOTTOM ; <br /> COLORS CLR_WHITE ;<br /> <span style=\"color: #0000ff;\">ACTION</span> CheckIn<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <br /> @ <span style=\"color: #000000;\">700</span>, <span style=\"color: #000000;\">400</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\" Translucent\"</span> + CRLF + <span style=\"color: #ff0000;\">\"Buttons \"</span> <span style=\"color: #0000ff;\">OF</span> oWnd ;<br /> FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\a</span>lphabmp<span style=\"color: #000000;\">\\i</span>chat.bmp\"</span> ;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">400</span>,<span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">LEFT</span> <span style=\"color: #000000;\">2007</span> NOBORDER FLAT ;<br /> <span style=\"color: #0000ff;\">FONT</span> oFont40 <span style=\"color: #0000ff;\">COLOR</span> CLR_WHITE,CLR_BLACK<br /><br /> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bClrGrad</span> := <span style=\"color: #000000;\">{</span> |lInvert| <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> lInvert, 0x60FFA54A, nARGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">64</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">192</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <br /> <br /> @ <span style=\"color: #000000;\">700</span>,<span style=\"color: #000000;\">1000</span> SBUTTON oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">'Exit'</span> <span style=\"color: #0000ff;\">OF</span> oWnd ;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">300</span>,<span style=\"color: #000000;\">100</span> <span style=\"color: #0000ff;\">PIXEL</span> ; <br /> <span style=\"color: #0000ff;\">FONT</span> oFont40 ; <br /> LOOK W97 ; <br /> ROUNDRECT ;<br /> <span style=\"color: #0000ff;\">TEXT</span> ON_BOTTOM ; <br /> COLORS CLR_WHITE ;<br /> <span style=\"color: #0000ff;\">ACTION</span> oWnd:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">MAXIMIZED</span> ;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">PAINT</span> Fw_DrawImage<span style=\"color: #000000;\">(</span> oWnd, aImage1, <span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">0</span>, nWndHeight<span style=\"color: #000000;\">-100</span>, nWndWidth <span style=\"color: #000000;\">}</span>, <span style=\"color: #00C800;\">nil</span>, .T., <span style=\"color: #000000;\">40</span>, <span style=\"color: #00C800;\">nil</span> <span style=\"color: #000000;\">)</span> <br /><br /><span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">FONT</span> oFont40<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br />*-----------------*<br /><span style=\"color: #00C800;\">Function</span> CheckIn<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">local</span> oFnt, oDlg, oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">]</span>, oSay, oBmp, oDlgCLose, oImg, aImage1, oBrush<br /><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> nWndWidth, nWndHeight ; <br /> <span style=\"color: #0000ff;\">STYLE</span> nOr<span style=\"color: #000000;\">(</span> WS_CHILD, WS_POPUP <span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">COLOR</span> CLR_BLACK, CLR_WHITE ; <br /> TRANSPARENT<br /><br /> oDlg:<span style=\"color: #000000;\">lHelpIcon</span> := .F.<br /><br /> <br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTER</span> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">(</span>ShowImg<span style=\"color: #000000;\">(</span> oDlg, oBtn <span style=\"color: #000000;\">)</span>, oDlg:<span style=\"color: #000000;\">nOpacity</span> := <span style=\"color: #000000;\">180</span><span style=\"color: #000000;\">)</span> <br /> <br /> <br /><span style=\"color: #00C800;\">return</span> .T. <br /><br />*-------------------------------------*<br /><span style=\"color: #00C800;\">Function</span> ShowImg<span style=\"color: #000000;\">(</span> oDlg, oBtn <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">local</span> oImg<br /><span style=\"color: #00C800;\">local</span> cImage := <span style=\"color: #ff0000;\">'.<span style=\"color: #000000;\">\\T</span>ESTSBTN.JPG'</span><br /><br /><br /> @ <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">0</span> XIMAGE oImg SOURCE cImage NOBORDER <span style=\"color: #0000ff;\">SIZE</span> nWndWidth, nWndHeight<span style=\"color: #000000;\">-220</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">UPDATE</span><br /> <br /> oImg:<span style=\"color: #000000;\">FitWidth</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oImg:<span style=\"color: #000000;\">FitHeight</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oImg:<span style=\"color: #000000;\">lBmpTransparent</span> := .T.<br /><br /> @ <span style=\"color: #000000;\">200</span>, <span style=\"color: #000000;\">400</span> SBUTTON oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">'Walk-In'</span> <span style=\"color: #0000ff;\">OF</span> oImg ;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">460</span>, <span style=\"color: #000000;\">460</span> <span style=\"color: #0000ff;\">PIXEL</span> ; <br /> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"WALKIN\"</span> ;<br /> <span style=\"color: #0000ff;\">FONT</span> oFont40 ;<br /> LOOK W97 ;<br /> <span style=\"color: #0000ff;\">TEXT</span> POSITION ON_BOTTOM ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'ok'</span><span style=\"color: #000000;\">)</span><br /> <br /> @ <span style=\"color: #000000;\">200</span>,<span style=\"color: #000000;\">1000</span> SBUTTON oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">'Booking'</span> <span style=\"color: #0000ff;\">OF</span> oImg ;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">460</span>, <span style=\"color: #000000;\">460</span> <span style=\"color: #0000ff;\">PIXEL</span> ; <br /> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"BOOKING\"</span> ;<br /> <span style=\"color: #0000ff;\">FONT</span> oFont40 ;<br /> LOOK W97 ;<br /> <span style=\"color: #0000ff;\">TEXT</span> POSITION ON_BOTTOM ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'ok'</span><span style=\"color: #000000;\">)</span><br /> <br /> @ <span style=\"color: #000000;\">700</span>,<span style=\"color: #000000;\">1000</span> SBUTTON oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">'Back'</span> <span style=\"color: #0000ff;\">OF</span> oImg ;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">150</span>,<span style=\"color: #000000;\">150</span> <span style=\"color: #0000ff;\">PIXEL</span> ; <br /> <span style=\"color: #0000ff;\">FONT</span> oFont40 ; <br /> LOOK W97 ; <br /> ROUNDRECT ;<br /> <span style=\"color: #0000ff;\">TEXT</span> ON_BOTTOM ; <br /> COLORS CLR_BLACK ;<br /> <span style=\"color: #0000ff;\">ACTION</span> oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <br /> @ <span style=\"color: #000000;\">700</span>, <span style=\"color: #000000;\">400</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\" Translucent\"</span> + CRLF + <span style=\"color: #ff0000;\">\"Buttons \"</span> <span style=\"color: #0000ff;\">OF</span> oImg ;<br /> FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\a</span>lphabmp<span style=\"color: #000000;\">\\i</span>chat.bmp\"</span> ;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">400</span>,<span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">LEFT</span> <span style=\"color: #000000;\">2007</span> NOBORDER FLAT ;<br /> <span style=\"color: #0000ff;\">FONT</span> oFont40 <span style=\"color: #0000ff;\">COLOR</span> CLR_WHITE,CLR_BLACK<br /> <br /> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bClrGrad</span> := <span style=\"color: #000000;\">{</span> |lInvert| <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> lInvert, 0x60FFA54A, nARGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">64</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">192</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <br /><br /><span style=\"color: #00C800;\">return</span> .T.</div>[/code:3iks5lzd]\n[quote=\"Antonio Linares\":3iks5lzd]Please post a small PRG to test <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->[/quote:3iks5lzd]\n[url:3iks5lzd]https://i.postimg.cc/QMzx3BvM/TESTSBTN.jpg[/url:3iks5lzd]\n[url=https://postimages.org/:3iks5lzd][img:3iks5lzd]https://i.postimg.cc/QMzx3BvM/TESTSBTN.jpg[/img:3iks5lzd][/url:3iks5lzd]",
"time": "13:40",
"topic": "BTNTRNS can use with WINDOW?",
"username": "dutch"
}
] |
BTNTRNS can use with WINDOW?
|
[
{
"date": "2023-05-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dutch, see if I understand what you want to do.\n\nDutch, a ver si entiendo lo que quieres hacer.\n\n[url:1071fyod]https://imgur.com/sNg5eE7[/url:1071fyod]\n\n[img:1071fyod]https://i.imgur.com/sNg5eE7.png[/img:1071fyod]\n\nRegards, saludos.",
"time": "15:31",
"topic": "BTNTRNS can use with WINDOW?",
"username": "karinha"
}
] |
BTNTRNS can use with WINDOW?
|
[
{
"date": "2023-05-06",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Karinha,\n\nYes, thank you. I got it by using SBUTTON with Alpha Channel image.\n\n[quote=\"karinha\":2j7oqoyl]Dutch, see if I understand what you want to do.\n\nDutch, a ver si entiendo lo que quieres hacer.\n\n[url:2j7oqoyl]https://imgur.com/sNg5eE7[/url:2j7oqoyl]\n\n[img:2j7oqoyl]https://i.imgur.com/sNg5eE7.png[/img:2j7oqoyl]\n\nRegards, saludos.[/quote:2j7oqoyl]",
"time": "10:10",
"topic": "BTNTRNS can use with WINDOW?",
"username": "dutch"
}
] |
BTNTRNS can use with WINDOW?
|
[
{
"date": "2023-05-06",
"forum": "FiveWin for Harbour/xHarbour",
"text": "You can use BTNBMP as transparent buttons too.",
"time": "12:55",
"topic": "BTNTRNS can use with WINDOW?",
"username": "nageswaragunupudi"
}
] |
BTNTRNS can use with WINDOW?
|
[
{
"date": "2023-05-06",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Very Good Dutch, example using BTNBMP.\n\n[code=fw:z0ae132y]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">// C:\\DUTCH\\TESTSBTN.PRG-Modified by: <!-- e --><a href=\"mailto:kapiabafwh@gmail.com\">kapiabafwh@gmail.com</a><!-- e --> - 05/05/2023 Ver: 3</span><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">'Fivewin.ch'</span><br /><br /><span style=\"color: #00C800;\">STATIC</span> oWnd, nWndWidth, nWndHeight, oFont40<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> oCursorBtn := TCursor<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span>, <span style=\"color: #ff0000;\">'HAND'</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> aImage1, oBtn:= ARRAY<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">12</span><span style=\"color: #000000;\">)</span>, oFont, oBrush<br /> <span style=\"color: #00C800;\">LOCAL</span> cImage := <span style=\"color: #ff0000;\">'.<span style=\"color: #000000;\">\\T</span>ESTSBTN.JPG'</span><br /><br /> SkinButtons<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> nWndWidth := GetSysMetrics<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /> nWndHeight := GetSysMetrics<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush FILE cImage RESIZE <span style=\"color: #B900B9;\">// \".\\sea.bmp\" RESIZE</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont40 <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">'Tahoma'</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-40</span> BOLD<br /><br /> <span style=\"color: #B900B9;\">// RESOLUTION: 1024 X 768</span><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">'Test Button on Image Background'</span> ;<br /> <span style=\"color: #0000ff;\">STYLE</span> nOr<span style=\"color: #000000;\">(</span> WS_POPUP, WS_VISIBLE <span style=\"color: #000000;\">)</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush<br /><br /> <span style=\"color: #B900B9;\">// 200, 400 ONLY TEST IN MY COMPUTER - ROUNDRECT</span><br /> @ <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">0015</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">01</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Check-Out\"</span> <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">460</span>, <span style=\"color: #000000;\">460</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br /> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"CHECKIN\"</span> <span style=\"color: #0000ff;\">FONT</span> oFont40 NOBORDER <span style=\"color: #0000ff;\">TEXT</span> ON_BOTTOM FLAT <span style=\"color: #0000ff;\">UPDATE</span> <span style=\"color: #000000;\">2007</span> ;<br /> <span style=\"color: #0000ff;\">COLOR</span> CLR_HCYAN, CLR_WHITE <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">'ok1'</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br /> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">01</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">lTransparent</span> := .T.<br /> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">01</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">oCursor</span> := oCursorBtn<br /><br /> <span style=\"color: #B900B9;\">// 200, 1000</span><br /> @ <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">0550</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">02</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Check-In\"</span> <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">460</span>, <span style=\"color: #000000;\">460</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br /> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"CHECKOUT\"</span> <span style=\"color: #0000ff;\">FONT</span> oFont40 NOBORDER <span style=\"color: #0000ff;\">TEXT</span> ON_BOTTOM FLAT <span style=\"color: #0000ff;\">UPDATE</span> ;<br /> <span style=\"color: #000000;\">2007</span> <span style=\"color: #0000ff;\">COLOR</span> CLR_HCYAN, CLR_WHITE <span style=\"color: #0000ff;\">ACTION</span> CheckIn<span style=\"color: #000000;\">(</span> oBtn <span style=\"color: #000000;\">)</span><br /><br /> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">02</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">lTransparent</span> := .T.<br /> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">02</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">oCursor</span> := oCursorBtn<br /><br /> <span style=\"color: #B900B9;\">// 700, 700 Great Resolution</span><br /> @ <span style=\"color: #000000;\">600</span>, <span style=\"color: #000000;\">0462</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">03</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Exit\"</span> <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">100</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br /> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"EXIT\"</span> <span style=\"color: #0000ff;\">FONT</span> oFont40 NOBORDER <span style=\"color: #0000ff;\">TEXT</span> ON_BOTTOM FLAT <span style=\"color: #0000ff;\">UPDATE</span> <span style=\"color: #000000;\">2007</span> ;<br /> <span style=\"color: #0000ff;\">COLOR</span> CLR_HCYAN, CLR_WHITE <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">(</span> oWnd:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br /> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">03</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">lTransparent</span> := .T.<br /> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">03</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">lCancel</span> := .T.<br /> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">03</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">oCursor</span> := oCursorBtn<br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">MAXIMIZED</span><br /><br /> oFont40:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> CheckIn<span style=\"color: #000000;\">(</span> oBtn <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oDlg, oBrush, cImage := <span style=\"color: #ff0000;\">'.<span style=\"color: #000000;\">\\T</span>ESTSBTN.JPG'</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush FILE cImage RESIZE <span style=\"color: #B900B9;\">// \".\\sea.bmp\" RESIZE</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> nWndWidth, nWndHeight <span style=\"color: #0000ff;\">STYLE</span> nOr<span style=\"color: #000000;\">(</span> WS_CHILD, WS_POPUP <span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">BRUSH</span> oBrush TRANSPARENT<br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">(</span> ShowImg<span style=\"color: #000000;\">(</span> oDlg, oBtn <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> ShowImg<span style=\"color: #000000;\">(</span> oDlg, oBtn <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oCursorBtn := TCursor<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span>, <span style=\"color: #ff0000;\">'HAND'</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #B900B9;\">// 200,400</span><br /> @ <span style=\"color: #000000;\">090</span>, <span style=\"color: #000000;\">0015</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">04</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Walk-In\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">460</span>, <span style=\"color: #000000;\">460</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br /> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"WALKIN\"</span> <span style=\"color: #0000ff;\">FONT</span> oFont40 NOBORDER <span style=\"color: #0000ff;\">TEXT</span> ON_BOTTOM FLAT <span style=\"color: #0000ff;\">UPDATE</span> ;<br /> <span style=\"color: #000000;\">2007</span> <span style=\"color: #0000ff;\">COLOR</span> CLR_HCYAN, CLR_WHITE <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Walk-In\"</span> <span style=\"color: #000000;\">)</span><br /><br /> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">04</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">lTransparent</span> := .T.<br /> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">04</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">oCursor</span> := oCursorBtn<br /><br /> @ <span style=\"color: #000000;\">090</span>, <span style=\"color: #000000;\">0550</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">05</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Booking\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">460</span>, <span style=\"color: #000000;\">460</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br /> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"BOOKING\"</span> <span style=\"color: #0000ff;\">FONT</span> oFont40 NOBORDER <span style=\"color: #0000ff;\">TEXT</span> ON_BOTTOM FLAT <span style=\"color: #0000ff;\">UPDATE</span> ;<br /> <span style=\"color: #000000;\">2007</span> <span style=\"color: #0000ff;\">COLOR</span> CLR_HCYAN, CLR_WHITE <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Walk-In\"</span> <span style=\"color: #000000;\">)</span><br /><br /> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">05</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">lTransparent</span> := .T.<br /> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">05</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">oCursor</span> := oCursorBtn<br /><br /> @ <span style=\"color: #000000;\">600</span>, <span style=\"color: #000000;\">0462</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">06</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Back\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">100</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br /> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"EXIT\"</span> <span style=\"color: #0000ff;\">FONT</span> oFont40 NOBORDER <span style=\"color: #0000ff;\">TEXT</span> ON_BOTTOM FLAT <span style=\"color: #0000ff;\">UPDATE</span> <span style=\"color: #000000;\">2007</span> ;<br /> <span style=\"color: #0000ff;\">COLOR</span> CLR_HCYAN, CLR_WHITE <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">(</span> oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br /> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">06</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">lTransparent</span> := .T.<br /> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">06</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">lCancel</span> := .T.<br /> oBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">06</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">oCursor</span> := oCursorBtn<br /><br /><span style=\"color: #00C800;\">RETURN</span><span style=\"color: #000000;\">(</span> .T. <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #B900B9;\">// FIN / END - <!-- e --><a href=\"mailto:kapiabafwh@gmail.com\">kapiabafwh@gmail.com</a><!-- e --> - Joao Santos - Sao Paulo - Brazil.</span><br /> </div>[/code:z0ae132y]\n\nRegards, saludos.",
"time": "13:37",
"topic": "BTNTRNS can use with WINDOW?",
"username": "karinha"
}
] |
BTNTRNS can use with WINDOW?
|
[
{
"date": "2023-05-06",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Very good! Another model in case anyone needs it.\n\n¡Muy bien! Otro modelo por si alguien lo necesita.\n\nDownload Complete:\n\n[url:29toruau]https://mega.nz/file/EUcDSaiC#1aDPNv2z6_yD5wfbjme0fRLbhtqo5_0fIjZi-lZ5-do[/url:29toruau]\n\nRegards, saludos.",
"time": "13:39",
"topic": "BTNTRNS can use with WINDOW?",
"username": "karinha"
}
] |
BTNTRNS can use with WINDOW?
|
[
{
"date": "2023-05-06",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thanks All,\n\nI got an idea now.",
"time": "18:05",
"topic": "BTNTRNS can use with WINDOW?",
"username": "dutch"
}
] |
BTNTRNS can use with WINDOW?
|
[
{
"date": "2008-02-21",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[color=darkblue:24xub4dk][b:24xub4dk]LE REITERO MI SALUDO Y EL MOTIVO DE ESTE MENSAJE ES PARA SOLICITAR ASESORAMIENTO.\n\nEL DETALLE ESTA ASI, TENGO UN DBF QUE DESDE MI PRG POR MEDIO DE UN LISTBOX SAQUE 3 CAMPOS, ESA TABLA CONTIENE LOS DATOS DE LOS CLIENTES PERO CON EL LISTBOX SOLO SAQUE 3.\n\nMI CLIENTE ME PIDE QUE AL MOMENTO DE ABRIR ESA LISTA DE 3 DATOS DE CLIENTES CUANDO VAYA RECORRIENDO CADA CLIENTE EN OTRA VENTANITA MAS ABAJO APARESCAN LOS DATOS GENERALES COMPLETOS DE CADA CLIENTE.\n\nPODRIA GUIARME PARA DESARROLLAR ESA PARTE DE MI MODULO PORFAVOR??\n\nESPERO HABERME EXPLICADO BIEN, AQUI ESTARE PARA CUALQUIER RECOMENDACION\n\nATTE.\nRUBEN REYES\nTAMPICO TAMPS. MEXICO[/b:24xub4dk][/color:24xub4dk]",
"time": "23:16",
"topic": "BUENAS TARDES ANTONIO LINARES",
"username": "Ruben"
}
] |
BUENAS TARDES ANTONIO LINARES
|
[
{
"date": "2008-02-21",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Ruben :\n\n\nMandame por correo algun num. telefonico fijo o marcame al 01 800 701 7119.\n\nCon gusto te puedo echar una mano con esto.\n\n\nSaludos\n\n\nRaymundo Islas",
"time": "23:45",
"topic": "BUENAS TARDES ANTONIO LINARES",
"username": "Raymundo Islas M."
}
] |
BUENAS TARDES ANTONIO LINARES
|
[
{
"date": "2008-02-21",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[size=150:3qgpsbmi][color=darkblue:3qgpsbmi][quote:3qgpsbmi][b:3qgpsbmi]TE AGREGUE A MI LISTA DEL MSN\n\nESPERO VERTE AHI, PARA ASI NO QUITARTE MUCHO TIEMPO POR TELEFONO\n\nSALUDOS DESDE TAMPICO, TAMPS.[/b:3qgpsbmi][/quote:3qgpsbmi][/color:3qgpsbmi][/size:3qgpsbmi]",
"time": "23:53",
"topic": "BUENAS TARDES ANTONIO LINARES",
"username": "Ruben"
}
] |
BUENAS TARDES ANTONIO LINARES
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.