messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2015-03-25", "forum": "FiveWin for Harbour/xHarbour", "text": "for the version 2007 I made this type of gradient\n\nLocal bClrGrad := { | lPressed | If( ! lPressed,;\n { { 1, nRGB( 253, 254, 255 ), nRGB( 179, 217, 255 ) } },;\n { { 1, nRGB( 179, 217, 255 ), nRGB( 253, 254, 255 ) } } ) }\n\nbut now I wish have a 2010 effect ...how I can modify the clrgrad ?", "time": "22:32", "topic": "BTNBMP COLOR GRAD", "username": "Silvio.Falconi" } ]
BTNBMP COLOR GRAD
[ { "date": "2015-03-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Try this: (following your code)\n[code=fw:1smo3sxr]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">Local</span> bClrGrad := <span style=\"color: #000000;\">&#123;</span> | lPressed | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ! lPressed,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">229</span>, <span style=\"color: #000000;\">233</span>, <span style=\"color: #000000;\">238</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">229</span>, <span style=\"color: #000000;\">233</span>, <span style=\"color: #000000;\">238</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span></div>[/code:1smo3sxr]", "time": "16:33", "topic": "BTNBMP COLOR GRAD", "username": "FranciscoA" } ]
BTNBMP COLOR GRAD
[ { "date": "2015-03-27", "forum": "FiveWin for Harbour/xHarbour", "text": "thanks run ok", "time": "09:52", "topic": "BTNBMP COLOR GRAD", "username": "Silvio.Falconi" } ]
BTNBMP COLOR GRAD
[ { "date": "2009-10-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\nIt is a old Problem, I posted already a few Month ago :\nUsing < BTNBMP > transparent doesn't work on Image-Background.\nIs there any Solution found in the meantime, to solve this Problem ?\n\n[img:33hk917a]http&#58;//www&#46;pflegeplus&#46;com/pictures/Btntransp1&#46;jpg[/img:33hk917a]\n\n// ----- [color=#FF0000:33hk917a]Transparent NOBORDER [/color:33hk917a] on Image-Background ---------\n\n@ 22, 4 BTNBMP oBtn1 OF oDlg1 ;\nSIZE 150, 80 NOBORDER ;\nFILENAME c_path + \"\\project\\\" + D_BUTTON1 ;\nACTION MsgAlert( \"Button-Click\", \"Button 1\" ) ;\nPROMPT \"But.1\" ;\nFONT oButtFont ;\nRIGHT \n[color=#FF0000:33hk917a]oBtn1:lTransparent := .t. [/color:33hk917a]\noBtn1:cTooltip := \"Button1\"\noBtn1:SetColor( 0, )\n\nAll other Backgrounds like Color, Gradient and Brush are working.\n\n[img:33hk917a]http&#58;//www&#46;pflegeplus&#46;com/pictures/Btntransp2&#46;jpg[/img:33hk917a]\n\n\nBest regards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "23:09", "topic": "BTNBMP ( transparent ) doesn't work on Img.-Background ?", "username": "ukoenig" } ]
BTNBMP ( transparent ) doesn't work on Img.-Background ?
[ { "date": "2008-08-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Sr. Antonio,\r\n\r\n\r\nPorque a CLAUSULA CANCEL não funciona com BTNBMP?, porém, usando BUTTONBMP funciona perfeitamente!\r\n\r\nex:\r\n\r\nREDEFINE GET oget VAR nVAL OF ODLG valid (.f.)\r\n\r\nREDEFINE BTNBMP ID 1000 OF ODLG ACTION(MSGINFO(\"TESTE\")) RESOURCE \"TOUCH\" CANCEL -> NÃO FUNCIONA <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( -->\r\n\r\n---\r\n\r\nREDEFINE BUTTONBMP ID 1000 OF ODLG ACTION(MSGINFO(\"TESTE\")) BITMAP \"TOUCH\" CANCEL -> FUNCIONA <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->", "time": "12:59", "topic": "BTNBMP - CANCEL não funciona", "username": "MGA" } ]
BTNBMP - CANCEL não funciona
[ { "date": "2008-08-27", "forum": "FiveWin para Harbour/xHarbour", "text": "<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=53\">http://www.fivewin.com.br/exibedicas.asp?id=53</a><!-- m -->", "time": "13:08", "topic": "BTNBMP - CANCEL não funciona", "username": "karinha" } ]
BTNBMP - CANCEL não funciona
[ { "date": "2008-08-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Obrigado Karinha.", "time": "16:03", "topic": "BTNBMP - CANCEL não funciona", "username": "MGA" } ]
BTNBMP - CANCEL não funciona
[ { "date": "2008-08-27", "forum": "FiveWin para Harbour/xHarbour", "text": "REDEFINE BTNBMP oBtn ID 1000 OF ODLG ACTION(MSGINFO(\"TESTE\")) RESOURCE \"TOUCH\" \r\n\r\noBtn:lCancel := .T.", "time": "19:48", "topic": "BTNBMP - CANCEL não funciona", "username": "Antonio Linares" } ]
BTNBMP - CANCEL não funciona
[ { "date": "2008-08-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Obrigado Sr. Antonio.", "time": "21:44", "topic": "BTNBMP - CANCEL não funciona", "username": "MGA" } ]
BTNBMP - CANCEL não funciona
[ { "date": "2010-07-01", "forum": "FiveWin para Harbour/xHarbour", "text": "- Yo tenho un BTNBMP criado pelo Workshop con una image BMP. Gostaria que ao pressionar lo BTNBMP la image contenida redimensionasse para maior ou menor . Seria possible ?\n\nYo necessito para utilizar em minha funcion DISPLAY, para redimensionamento de tela en qualquer resolucion. \n\nMas quando redimensiono lo BTNBMP la imagen contenida en lo button non acompanha lo redimensionamento.\n\n\nMuchas Gracias\n\n\nWilliam Adami", "time": "23:09", "topic": "BTNBMP - PARA LOS EXPERTS- Solucionado !", "username": "WilliamAdami" } ]
BTNBMP - PARA LOS EXPERTS- Solucionado !
[ { "date": "2010-07-02", "forum": "FiveWin para Harbour/xHarbour", "text": "yo creo que Lo caminho seja Retirar lo Objeto BMP del button , Redimensioná-lo y enton retornar la imagen en lo BTNBMP.\n\nAlgun exemplo de como fazer ?\n\nMuchas Gracias\n\nWilliam", "time": "13:45", "topic": "BTNBMP - PARA LOS EXPERTS- Solucionado !", "username": "WilliamAdami" } ]
BTNBMP - PARA LOS EXPERTS- Solucionado !
[ { "date": "2010-07-02", "forum": "FiveWin para Harbour/xHarbour", "text": "Yo resolvi da seguinte forma:\n\n#include \"fivewin.ch\"\n\nfunction main\nlocal odlg,ob\n\ndefine dialog odlg resource \"DIALOG\"\n\nredefine btnbmp ob id 120 of odlg resource \"figura\" action muda(ob)\n\nactivate dialog odlg\n\n\nreturn nil \n\n\nfunction muda( bt )\n\no=bt:hbitmap1\n\no:=resizebmp(o,100,100) // o bmp original era 48 X 48\n// vai redimensionar para 100 X 100 \n\nbt:hbitmap1:=o\nbt:refresh()\n\nreturn nil\n\n\n\n\nAgora en la funcion DISPLAY posso redimensionar los btnbmp juntamente con la imagene contenida .\n\n\n\n\nMuchas Gracias\n\n\nWilliam Adami", "time": "17:09", "topic": "BTNBMP - PARA LOS EXPERTS- Solucionado !", "username": "WilliamAdami" } ]
BTNBMP - PARA LOS EXPERTS- Solucionado !
[ { "date": "2007-10-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Antonio,\nis there oBtn:l2007=.t.\navailable for BtnBmp?\n\n@ x,y BTNBMP oBtn FILENAME \".\\bitmaps2\\test.bmp\" SIZE 60, 60 PROMPT \"TimeLox\" ACTION msginfo(\"test\") OF oDlg\n oBtn:l2007 = .T.\n\nRegards,\nOtto", "time": "19:08", "topic": "BTNBMP - oBtn:l2007=.t.", "username": "Otto" } ]
BTNBMP - oBtn:l2007=.t.
[ { "date": "2007-10-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Otto,\n\nNo, Class TBtnBmp does not provide a DATA l2007. A TBtnBmp object checks if its container is a buttonbar and if it has its l2007 as .T.\n\nYou could easily modify class TBtnBmp and add that DATA and change its painting behavior if you need it", "time": "19:16", "topic": "BTNBMP - oBtn:l2007=.t.", "username": "Antonio Linares" } ]
BTNBMP - oBtn:l2007=.t.
[ { "date": "2007-10-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Antonio,\n\nTo get the painting I placed 2 buttonBars (TOP and BOTTOM) on 1 Dialog.\nIt seems that these to BtnBars are working correctly.\n\nIs it save to use 2 or more BtnBars on one Dialog?\n\nRegards,\nOtto\n\n\n[img:al0qlzwv]http&#58;//www&#46;atzwanger&#46;com/fw/2btnbars&#46;jpg[/img:al0qlzwv]", "time": "19:24", "topic": "BTNBMP - oBtn:l2007=.t.", "username": "Otto" } ]
BTNBMP - oBtn:l2007=.t.
[ { "date": "2007-10-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Otto,\n\n> Is it save to use 2 or more BtnBars on one Dialog? \n\nYes, it should be ok <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "19:32", "topic": "BTNBMP - oBtn:l2007=.t.", "username": "Antonio Linares" } ]
BTNBMP - oBtn:l2007=.t.
[ { "date": "2016-05-16", "forum": "FiveWin for Harbour/xHarbour", "text": "[b:qgeslw2k]Translucent Buttons\n[/b:qgeslw2k]\nUsing Alpha Color Fills\n\n[url=https&#58;//imageshack&#46;com/i/pmnRs49Tp:qgeslw2k][img:qgeslw2k]http&#58;//imagizer&#46;imageshack&#46;us/v2/xq90/922/nRs49T&#46;png[/img:qgeslw2k][/url:qgeslw2k]\n[i:qgeslw2k]Mouse Over is on top button\n[/i:qgeslw2k]\nCode:\n[code=fw:qgeslw2k]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> BtnTest<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">local</span> oDlg, oBtn, oBrush, oFont, n<br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Verdana\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-20</span><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\s</span>ea.bmp\"</span> RESIZE <span style=\"color: #B900B9;\">//\"penguins.jpg\" RESIZE</span><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">600</span>,<span style=\"color: #000000;\">420</span> <span style=\"color: #0000ff;\">PIXEL</span> TRUEPIXEL <span style=\"color: #0000ff;\">BRUSH</span> oBrush ;<br />      <span style=\"color: #0000ff;\">TITLE</span> FWVERSION + <span style=\"color: #ff0000;\">\" : TRANSLUCENT BUTTONS\"</span><br /><br />   @ <span style=\"color: #000000;\">040</span>,<span style=\"color: #000000;\">060</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\" Translucent\"</span> + CRLF + <span style=\"color: #ff0000;\">\"Buttons \"</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;\">\\i</span>chat.bmp\"</span> ;<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> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">LEFT</span> <span style=\"color: #000000;\">2007</span> ;<br />      <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">COLOR</span> CLR_WHITE,CLR_BLACK<br />     oBtn:<span style=\"color: #000000;\">bClrGrad</span> := <span style=\"color: #000000;\">&#123;</span> |lInvert| <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> lInvert, 0x60FFA54A, nARGB<span style=\"color: #000000;\">&#40;</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;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />   @ <span style=\"color: #000000;\">220</span>,<span style=\"color: #000000;\">060</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Alpha Color Fills\"</span> ;<br />      FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\p</span>ngs<span style=\"color: #000000;\">\\i</span>mage8.png\"</span> ;<br />      <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">300</span>,<span style=\"color: #000000;\">090</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg TOP <span style=\"color: #000000;\">2007</span> ;<br />      <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">COLOR</span> CLR_YELLOW,CLR_BLACK<br />   oBtn:<span style=\"color: #000000;\">bClrGrad</span> := <span style=\"color: #000000;\">&#123;</span> |lInvert| <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> lInvert, 0x80FFA54A, nARGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">54</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">192</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />   <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br />   <span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush<br />   <span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">FONT</span> oFont<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:qgeslw2k]\n\n[b:qgeslw2k]Texured Buttons\n[/b:qgeslw2k]\n[url=https&#58;//imageshack&#46;com/i/pn5BVWn7p:qgeslw2k][img:qgeslw2k]http&#58;//imagizer&#46;imageshack&#46;us/v2/xq90/923/5BVWn7&#46;png[/img:qgeslw2k][/url:qgeslw2k]\n[i:qgeslw2k]Mouse Over is on Right Button[/i:qgeslw2k]\nCode:\n[code=fw:qgeslw2k]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> BtnTest2<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">local</span> oDlg, oBtn, aBru<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span><br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> aBru<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\b</span>ackgrnd<span style=\"color: #000000;\">\\w</span>ood.bmp\"</span><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> aBru<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\b</span>ackgrnd<span style=\"color: #000000;\">\\r</span>ainbow.bmp\"</span> <span style=\"color: #B900B9;\">//stucco.bmp\"</span><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">480</span>,<span style=\"color: #000000;\">240</span> <span style=\"color: #0000ff;\">PIXEL</span><br /><br />   @  <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\a</span>lphabmp<span style=\"color: #000000;\">\\c</span>alendar.bmp\"</span> <span style=\"color: #0000ff;\">CENTER</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">96</span>,<span style=\"color: #000000;\">96</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #000000;\">2007</span><br />   oBtn:<span style=\"color: #000000;\">bClrGrad</span> := <span style=\"color: #000000;\">&#123;</span> |lInvert| <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> lInvert, aBru<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hBrush</span>, aBru<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hBrush</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />   oBtn:<span style=\"color: #000000;\">lEllipse</span> := .t.<br /><br />   @  <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">120</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\a</span>lphabmp<span style=\"color: #000000;\">\\c</span>alendar.bmp\"</span> <span style=\"color: #0000ff;\">CENTER</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">96</span>,<span style=\"color: #000000;\">96</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #000000;\">2007</span><br />   oBtn:<span style=\"color: #000000;\">bClrGrad</span> := <span style=\"color: #000000;\">&#123;</span> |lInvert| <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> lInvert, aBru<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hBrush</span>, aBru<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hBrush</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />   oBtn:<span style=\"color: #000000;\">lEllipse</span> := .t.<br /><br />   <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /><br />   <span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">BRUSH</span> aBru<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>, aBru<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:qgeslw2k]\n\n[b:qgeslw2k]Horizontal Gradients\n[/b:qgeslw2k]\n\n[url=https&#58;//imageshack&#46;com/i/poilLwJNp:qgeslw2k][img:qgeslw2k]http&#58;//imagizer&#46;imageshack&#46;us/v2/xq90/924/ilLwJN&#46;png[/img:qgeslw2k][/url:qgeslw2k]\n[i:qgeslw2k]Mouse Over is on bottom button[/i:qgeslw2k]\n[code=fw:qgeslw2k]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> BtnTest3<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">local</span> oDlg, oBtn, oFont<br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"TAHOMA\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-24</span><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">260</span>,<span style=\"color: #000000;\">250</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">FONT</span> oFont<br /><br />   @  <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\c</span>ascade.bmp\"</span> ;<br />      <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Horizontal Gradients\"</span> <span style=\"color: #0000ff;\">LEFT</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">110</span>,<span style=\"color: #000000;\">48</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #000000;\">2007</span><br />   oBtn:<span style=\"color: #000000;\">bClrGrad</span> := <span style=\"color: #000000;\">&#123;</span> |lInvert| <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> lInvert, <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> .<span style=\"color: #000000;\">5</span>, METRO_MAGENTA, METRO_YELLOW <span style=\"color: #000000;\">&#125;</span>, ;<br />                                               <span style=\"color: #000000;\">&#123;</span> .<span style=\"color: #000000;\">5</span>, METRO_YELLOW, METRO_MAGENTA <span style=\"color: #000000;\">&#125;</span>, ;<br />                                               .f. <span style=\"color: #000000;\">&#125;</span>, ;<br />                                             <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> .<span style=\"color: #000000;\">5</span>, CLR_GREEN, CLR_HGREEN <span style=\"color: #000000;\">&#125;</span>, ;<br />                                               <span style=\"color: #000000;\">&#123;</span> .<span style=\"color: #000000;\">5</span>, CLR_HGREEN, CLR_GREEN <span style=\"color: #000000;\">&#125;</span>, ;<br />                                               .f. <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />   @  <span style=\"color: #000000;\">70</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\c</span>ascade.bmp\"</span> ;<br />      <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Horizontal Gradients\"</span> <span style=\"color: #0000ff;\">RIGHT</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">110</span>,<span style=\"color: #000000;\">48</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #000000;\">2007</span><br />   oBtn:<span style=\"color: #000000;\">bClrGrad</span> := <span style=\"color: #000000;\">&#123;</span> |lInvert| <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> lInvert, <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> .<span style=\"color: #000000;\">5</span>, METRO_MAGENTA, METRO_YELLOW <span style=\"color: #000000;\">&#125;</span>, ;<br />                                               <span style=\"color: #000000;\">&#123;</span> .<span style=\"color: #000000;\">5</span>, METRO_YELLOW, METRO_MAGENTA <span style=\"color: #000000;\">&#125;</span>, ;<br />                                               .f. <span style=\"color: #000000;\">&#125;</span>, ;<br />                                             <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> .<span style=\"color: #000000;\">5</span>, CLR_GREEN, CLR_HGREEN <span style=\"color: #000000;\">&#125;</span>, ;<br />                                               <span style=\"color: #000000;\">&#123;</span> .<span style=\"color: #000000;\">5</span>, CLR_HGREEN, CLR_GREEN <span style=\"color: #000000;\">&#125;</span>, ;<br />                                               .f. <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><br /><br />   <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br />   <span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">FONT</span> oFont<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:qgeslw2k]\n\nIn FWH 16.04, greater flexibility is provided for specifying bClrGrad of TBtnBmp.\nAs in earlier versions, we can assign out own bClrGrad overriding the default bClrGrad provided by default for styles 2007 to 2015. Once we provide our own bClrGrad, it does not matter if the style is 2007 ... 2015.\n\nBut in the earlier versions, the codeblock should return a valid Gradient Array. bClrGrad is evaluated with 2 params lMouseOver, oBtnObject.\n\nNow the bClrGrad can return a Gradient Array or an RGB color or an ARGB color ( Alpha Color ) or a Brush Handle or a GDI+ Brush Object. This facility provides us unlimited possibilities for designing the buttons.\n\nSmall note on ARGB:\n\nRGB is a 24 bit number. When expressed in Hex : \"BBGGRR\"\nARGB is a 32 bit number. Expressed in Hex: \"AARRGGBB\"\n\nFor quick usage FWH provides nARGB() function\nUsage:\nnARGB( nAlpha, nRed, nGreen, nBlue )\nor\nnARGB( nAlpha, nRGBColor )\n\nExtensions to Gradient Array:\nA valid Gradient array is a multi-dimensional Array, each element being an array defining a single gradient.\nNow, it is possible to optionally specify last element as a Logical Value. .T. indicates Vertical Gradient and .F. indicates Horizontal gradient.", "time": "11:45", "topic": "BTNBMP 16.04 : Translucent buttons, Textured buttons, HGrad", "username": "nageswaragunupudi" } ]
BTNBMP 16.04 : Translucent buttons, Textured buttons, HGrad
[ { "date": "2017-06-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr Rao can you make a test for use LMover data because here make me error\npls see the last message at \n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=3&t=34150&start=0\">viewtopic.php?f=3&t=34150&start=0</a><!-- l -->", "time": "10:47", "topic": "BTNBMP 16.04 : Translucent buttons, Textured buttons, HGrad", "username": "Silvio.Falconi" } ]
BTNBMP 16.04 : Translucent buttons, Textured buttons, HGrad
[ { "date": "2023-06-09", "forum": "FiveWin for Harbour/xHarbour", "text": "I've seen controls behave differently in the same source code\n on the left it was compiled in 2018 on the right in 2023 \n\nhow is this possible?\n\n\n[img:2qalkhve]https&#58;//i&#46;postimg&#46;cc/DyWGLxs8/ffffff&#46;jpg[/img:2qalkhve]\n\nI mean for the color of border and for the gradient when I move the mouse\n\n\nlook this videos\n\n[b:2qalkhve]2018[/b:2qalkhve]\n\n[img:2qalkhve]https&#58;//i&#46;postimg&#46;cc/Vv2WnpkW/2018&#46;gif[/img:2qalkhve]\n\n\n[b:2qalkhve]2023[/b:2qalkhve]\n[img:2qalkhve]https&#58;//i&#46;postimg&#46;cc/vHRP1xxF/2023&#46;gif[/img:2qalkhve]\n\n\nthe source code is the same\n[code=fw:2qalkhve]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> &nbsp;<br /><br />@ nRow,ncol <span style=\"color: #0000ff;\">BTNBMP</span> aBtnEle<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FILENAME aElements<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#93;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">220</span>, <span style=\"color: #000000;\">55</span> <span style=\"color: #0000ff;\">PIXEL</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FLAT <span style=\"color: #0000ff;\">RIGHT</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> aElements<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">OF</span> oElements &nbsp;<span style=\"color: #0000ff;\">action</span> <span style=\"color: #0000ff;\">Msginfo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;aBtnEle<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">ocursor</span>:= oHand<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;aBtnEle<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nClrBorder</span> := <span style=\"color: #000000;\">&#123;</span> |obtn| <span style=\"color: #000000;\">&#40;</span>IIF<span style=\"color: #000000;\">&#40;</span>obtn:<span style=\"color: #000000;\">lMOver</span>,CLR_BLUE,CLR_HGRAY<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;aBtnEle<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bClrGrad</span> = <span style=\"color: #000000;\">&#123;</span> | lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ! lInvert,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, CLR_WHITE, CLR_WHITE <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">229</span>,<span style=\"color: #000000;\">241</span>,<span style=\"color: #000000;\">251</span> <span style=\"color: #000000;\">&#41;</span>, RGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">229</span>,<span style=\"color: #000000;\">241</span>,<span style=\"color: #000000;\">251</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp;</div>[/code:2qalkhve]", "time": "08:46", "topic": "BTNBMP : Different Releases", "username": "Silvio.Falconi" } ]
BTNBMP : Different Releases
[ { "date": "2023-06-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Do you happen to use a modified BTNBMP.PRG class?\n\n¿Utiliza una clase BTNBMP.PRG modificada?\n\nRegards, saludos.", "time": "14:17", "topic": "BTNBMP : Different Releases", "username": "karinha" } ]
BTNBMP : Different Releases
[ { "date": "2023-06-10", "forum": "FiveWin for Harbour/xHarbour", "text": "No", "time": "16:55", "topic": "BTNBMP : Different Releases", "username": "Silvio.Falconi" } ]
BTNBMP : Different Releases
[ { "date": "2016-03-26", "forum": "FiveWin for Harbour/xHarbour", "text": "I have a list of btnbmp and I wish open a popup when the final user click on a btnbmp\n\nthe problem is the nitem is the same \n\n[code=fw:2wxfx8z0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">RA-><span style=\"color: #000000;\">&#40;</span>dbgotop<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #00C800;\">Do</span> <span style=\"color: #00C800;\">While</span> ! Ra-><span style=\"color: #000000;\">&#40;</span>eof<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><br />      @ nrow,ncol <span style=\"color: #0000ff;\">BTNBMP</span> oBtn<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">of</span> oGrid:<span style=\"color: #000000;\">adialogs</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> ;<br />                  <span style=\"color: #0000ff;\">SIZE</span> nsizeW,nsizeh <span style=\"color: #0000ff;\">PIXEL</span> TRANSPARENT ;<br />                  <span style=\"color: #0000ff;\">Prompt</span> <span style=\"color: #000000;\">&#40;</span>alltrim<span style=\"color: #000000;\">&#40;</span>Ra->Radesc<span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #ff0000;\">\" \"</span><span style=\"color: #000000;\">&#41;</span>  ;<br />                  NOBORDER ;<br />                  Filename aBmp<span style=\"color: #000000;\">&#91;</span>RA->RACOLORE<span style=\"color: #000000;\">&#93;</span>   ;<br />                  <span style=\"color: #0000ff;\">CENTER</span><br /><br />               oBtn<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bAction</span> := <span style=\"color: #000000;\">&#123;</span>|| <span style=\"color: #0000ff;\">Msginfo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Item \"</span>+str<span style=\"color: #000000;\">&#40;</span>n<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />     <br />       ncol:= ncol+nsizeW<span style=\"color: #000000;\">+5</span><br />       n:=n<span style=\"color: #000000;\">+1</span><br /><br />       k++<br /><br />       <span style=\"color: #00C800;\">IF</span> k = <span style=\"color: #000000;\">11</span><br />          nRow += nsizeh<span style=\"color: #000000;\">+10</span><br />          ncol := <span style=\"color: #000000;\">10</span><br />          k:= <span style=\"color: #000000;\">1</span><br />       <span style=\"color: #00C800;\">Endif</span><br /><br />       RA-><span style=\"color: #000000;\">&#40;</span>dbSkip<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #00C800;\">Enddo</span><br /><br /> </div>[/code:2wxfx8z0]\n\n\ngive me allway item 30 and the same caption because there are 30 items \n\nHow I cam open a popup and give to popup the number of button and the caption ?", "time": "19:24", "topic": "BTNBMP AND POPUP", "username": "Silvio.Falconi" } ]
BTNBMP AND POPUP
[ { "date": "2016-03-26", "forum": "FiveWin for Harbour/xHarbour", "text": "<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?p=188264#p188264\">viewtopic.php?p=188264#p188264</a><!-- l -->", "time": "19:26", "topic": "BTNBMP AND POPUP", "username": "Antonio Linares" } ]
BTNBMP AND POPUP
[ { "date": "2016-03-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\nI saw \nI tried but not run !!\n\n\n[b:38qfc8z9]Test.prg[/b:38qfc8z9]\n\n[code=fw:38qfc8z9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"constant.ch\"</span><br /><br /><br />REQUEST DBFCDX<br />REQUEST DBFFPT<br />EXTERNAL ORDKEYNO,ORDKEYCOUNT,ORDCREATE,ORDKEYGOTO<br /><br /><br /><span style=\"color: #00C800;\">Function</span> test<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">Local</span> oDlgTest,oGrid<br />&nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;aPrompts:=<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"faldone 1\"</span><span style=\"color: #000000;\">&#125;</span><br /><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;nBottom &nbsp; := <span style=\"color: #000000;\">29.2</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;nRight &nbsp; &nbsp;:= &nbsp;<span style=\"color: #000000;\">58</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;nWidth &nbsp; &nbsp;:= &nbsp;<span style=\"color: #0000ff;\">Max</span><span style=\"color: #000000;\">&#40;</span> nRight * DLG_CHARPIX_W, <span style=\"color: #000000;\">180</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;nHeight &nbsp; := &nbsp;nBottom * DLG_CHARPIX_H<br /><br />&nbsp; &nbsp;RddSetDefault<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"DBFCDX\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;SetHandleCount<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">100</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlgTest &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">SIZE</span> nWidth, nHeight &nbsp; <span style=\"color: #0000ff;\">PIXEL</span> &nbsp;; &nbsp; &nbsp;<span style=\"color: #B900B9;\">//TRUEPIXEL</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"test\"</span> &nbsp;TRANSPARENT<br /><br /><br /><br />&nbsp; &nbsp;oGrid := TFolderex<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span> , , , , oDlgTest, , ,, aPrompts<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;oGrid:<span style=\"color: #000000;\">nTop</span> &nbsp; &nbsp;:= <span style=\"color: #000000;\">00</span><br />&nbsp; &nbsp;oGrid:<span style=\"color: #000000;\">nLeft</span> &nbsp; := <span style=\"color: #000000;\">00</span><br />&nbsp; &nbsp;oGrid:<span style=\"color: #000000;\">nBottom</span> := <span style=\"color: #000000;\">200</span><br />&nbsp; &nbsp;oGrid:<span style=\"color: #000000;\">nRight</span> &nbsp;:= <span style=\"color: #000000;\">300</span> <br /><br /><br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlgTest ;<br />&nbsp;<span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> Show_raccoglitori<span style=\"color: #000000;\">&#40;</span>oGrid<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------//</span><br /><br />&nbsp;<span style=\"color: #00C800;\">function</span> &nbsp;Show_raccoglitori<span style=\"color: #000000;\">&#40;</span>oGrid<span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">local</span> &nbsp;oFontsmall:= TFont<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Tahoma\"</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-9</span>,,.F. <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">Local</span> cCursor:= TCursor<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span>,<span style=\"color: #ff0000;\">'HAND'</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">local</span> nRow := <span style=\"color: #000000;\">10</span><br /><span style=\"color: #00C800;\">local</span> ncol := <span style=\"color: #000000;\">10</span><br /><br /><span style=\"color: #B900B9;\">//per i faldoni</span><br /><span style=\"color: #00C800;\">Local</span> nsizeW:= <span style=\"color: #000000;\">84</span><br /><span style=\"color: #00C800;\">Local</span> nsizeh:= <span style=\"color: #000000;\">240</span><br /><br /><br /><span style=\"color: #00C800;\">local</span> aBmp:= <span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\t</span>ipo1.png\"</span> &nbsp; &nbsp; &nbsp; ,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\t</span>ipo2.png\"</span> &nbsp; &nbsp; &nbsp; ,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\t</span>ipo3.png\"</span> &nbsp; &nbsp; &nbsp; ,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\t</span>ipo4.png\"</span> &nbsp; &nbsp; &nbsp; ,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\t</span>ipo5.png\"</span> &nbsp; <span style=\"color: #000000;\">&#125;</span><br /><br /><br /><span style=\"color: #00C800;\">local</span> n:= <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00C800;\">local</span> oBtn,oBasket2<br /><br />Create_Faldoni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />USE FALDONI <span style=\"color: #0000ff;\">ALIAS</span> RA<br /><br /><br />nCount:=RA-><span style=\"color: #000000;\">&#40;</span>OrdKeyCount<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />nNumeroPerLinea:= <span style=\"color: #000000;\">15</span><span style=\"color: #000000;\">+1</span><br />oBtn:= array<span style=\"color: #000000;\">&#40;</span>nCount<span style=\"color: #000000;\">&#41;</span><br />&nbsp;k:= <span style=\"color: #000000;\">1</span><br />RA-><span style=\"color: #000000;\">&#40;</span>dbgotop<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">Do</span> <span style=\"color: #00C800;\">While</span> ! Ra-><span style=\"color: #000000;\">&#40;</span>eof<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><br /><br />&nbsp;nCode:= Ra->racodice<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nCaption:=Ra->Radesc<br /><br />&nbsp; &nbsp; &nbsp; @ nrow,ncol <span style=\"color: #0000ff;\">BTNBMP</span> oBtn<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">of</span> oGrid:<span style=\"color: #000000;\">adialogs</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> nsizeW,nsizeh <span style=\"color: #0000ff;\">PIXEL</span> TRANSPARENT ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">Prompt</span> str2lines<span style=\"color: #000000;\">&#40;</span>alltrim<span style=\"color: #000000;\">&#40;</span>Ra->Radesc<span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #ff0000;\">\" \"</span><span style=\"color: #000000;\">&#41;</span> &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NOBORDER ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Filename aBmp<span style=\"color: #000000;\">&#91;</span>RA->RACOLORE<span style=\"color: #000000;\">&#93;</span> &nbsp; ; <span style=\"color: #B900B9;\">// ACTION bEjecutaBoton(nrow,ncol,n,alltrim(Ra->Radesc),obtn);</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">CENTER</span><br /><br />&nbsp; &nbsp; &nbsp; * oBtn<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">lTransparent</span>:=.T.<br />&nbsp; &nbsp; &nbsp; oBtn<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">oCursor</span>:= cCursor<br />&nbsp; &nbsp; &nbsp; oBtn<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">lBorder</span> := .F.<br />&nbsp; &nbsp; &nbsp; oBtn<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bAction</span> := bEjecutaBoton<span style=\"color: #000000;\">&#40;</span>nrow,ncol,n,oBtn<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span>, nCaption<span style=\"color: #000000;\">&#41;</span><br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp;ncol:= ncol+nsizeW<span style=\"color: #000000;\">+5</span><br />&nbsp; &nbsp; &nbsp; &nbsp;n:=n<span style=\"color: #000000;\">+1</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp;k++<br /><br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">IF</span> k = nNumeroPerLinea<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nRow += nsizeh<span style=\"color: #000000;\">+10</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ncol := <span style=\"color: #000000;\">10</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; k:= <span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Endif</span><br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp;RA-><span style=\"color: #000000;\">&#40;</span>dbSkip<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">Enddo</span><br /><br /><br /><br /><br /><br /><br /><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------//</span><br /><br /><br />&nbsp;<span style=\"color: #00C800;\">function</span> bEjecutaBoton<span style=\"color: #000000;\">&#40;</span>nrow,ncol,n,oControl, nCaption<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">&#123;</span> |n| Menu_popup<span style=\"color: #000000;\">&#40;</span>nrow,ncol,n,oControl, nCaption<span style=\"color: #000000;\">&#41;</span> &nbsp;<span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------//</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">Function</span> Menu_popup<span style=\"color: #000000;\">&#40;</span>nrow,ncol,n,oControl, nCaption<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">Local</span> oMenuPop<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENU</span> oMenuPop <span style=\"color: #0000ff;\">POPUP</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Apri \"</span>+ nCaption<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"WWW\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">ENDMENU</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">POPUP</span> oMenuPop <span style=\"color: #0000ff;\">OF</span> oControl <span style=\"color: #00C800;\">AT</span> nrow,ncol<br /><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------//</span><br /><br /><br />&nbsp;<span style=\"color: #00C800;\">Function</span> Create_Faldoni<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">Local</span> cDir:=<span style=\"color: #ff0000;\">\"\"</span><br />&nbsp; &nbsp; DbCreate<span style=\"color: #000000;\">&#40;</span>cDir+<span style=\"color: #ff0000;\">'RA'</span>, &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"RACODICE\"</span> &nbsp;, <span style=\"color: #ff0000;\">\"C\"</span>, &nbsp; &nbsp; <span style=\"color: #000000;\">4</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"RADESC &nbsp;\"</span> &nbsp;, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #000000;\">25</span>, &nbsp; &nbsp;<span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"RACOLORE\"</span> &nbsp;, <span style=\"color: #ff0000;\">\"N\"</span>, &nbsp; &nbsp; <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> , <span style=\"color: #ff0000;\">'DBFCDX'</span><span style=\"color: #000000;\">&#41;</span><br /><br /><br /><br />&nbsp; &nbsp; &nbsp; close all<br />&nbsp; &nbsp; &nbsp; use &<span style=\"color: #000000;\">&#40;</span>cDir+<span style=\"color: #ff0000;\">'RA'</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">new</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">select</span> RA<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> FILE<span style=\"color: #000000;\">&#40;</span>cDir+<span style=\"color: #ff0000;\">'FALDONI.DBF'</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;delete file &<span style=\"color: #000000;\">&#40;</span>cdir+<span style=\"color: #ff0000;\">'FALDONI.cdx'</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;append <span style=\"color: #0000ff;\">from</span> &<span style=\"color: #000000;\">&#40;</span>cdir+<span style=\"color: #ff0000;\">'FALDONI'</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;dbcommitall<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;close all<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;delete file &<span style=\"color: #000000;\">&#40;</span>cdir+<span style=\"color: #ff0000;\">'FALDONI.dbf'</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; close all<br />&nbsp; &nbsp; &nbsp; rename &<span style=\"color: #000000;\">&#40;</span>cdir+<span style=\"color: #ff0000;\">'RA.dbf'</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">to</span> &<span style=\"color: #000000;\">&#40;</span>cdir+<span style=\"color: #ff0000;\">'FALDONI.dbf'</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------//</span><br />&nbsp; <span style=\"color: #00C800;\">FUNCTION</span> Str2Lines<span style=\"color: #000000;\">&#40;</span> string, parser <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">Local</span> cStrLines:= CRLF+<span style=\"color: #ff0000;\">\"\"</span>, nLenPar:= Len<span style=\"color: #000000;\">&#40;</span> parser <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">Local</span> commapos := <span style=\"color: #000000;\">0</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">If</span> parser == <span style=\"color: #00C800;\">NIL</span> .OR. parser == <span style=\"color: #ff0000;\">\"e\"</span><br />&nbsp; &nbsp; &nbsp;parser := <span style=\"color: #ff0000;\">\" \"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">EndIf</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Do</span> <span style=\"color: #00C800;\">While</span> Len<span style=\"color: #000000;\">&#40;</span> string <span style=\"color: #000000;\">&#41;</span> > <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp; commapos := <span style=\"color: #00C800;\">at</span><span style=\"color: #000000;\">&#40;</span> parser, string <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">IF</span> commapos > <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cStrLines+= <span style=\"color: #0000ff;\">Left</span><span style=\"color: #000000;\">&#40;</span> string, commapos - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> + CRLF + <span style=\"color: #ff0000;\">\"\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;string := <span style=\"color: #0000ff;\">SubStr</span><span style=\"color: #000000;\">&#40;</span> string, commapos + Len<span style=\"color: #000000;\">&#40;</span> parser <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">ELSE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cStrLines+= string<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;string := <span style=\"color: #ff0000;\">''</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">ENDIF</span><br />&nbsp; <span style=\"color: #00C800;\">ENDDO</span><br /><br /><span style=\"color: #00C800;\">RETURN</span><span style=\"color: #000000;\">&#40;</span> cStrLines <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------//</span><br /><br /><br /><br /><br /><br /><br /><br /><br />&nbsp;</div>[/code:38qfc8z9]\n\n[img:38qfc8z9]http&#58;//www&#46;eoeo&#46;it/wp-content/uploads/2016/03/btnbmperr&#46;bmp[/img:38qfc8z9]\n\n\nI saw \n\n if we use @ btnbmp -- action ... it run the function of the baction \n\nif we use [b:38qfc8z9]oBtn[n]:bAction := bEjecutaBoton(n,nrow,ncol, nCode,nCaption,obtn[n])[/b:38qfc8z9] the control draw a border arround the control btnbmp and at right draw a triangule and the popupup menu is far from btnbmp \n\nwhy ?", "time": "21:09", "topic": "BTNBMP AND POPUP", "username": "Silvio.Falconi" } ]
BTNBMP AND POPUP
[ { "date": "2016-03-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Silvio,\n\nSilvio wrote :\n[i:3g0witle]if we use oBtn[n]:bAction := bEjecutaBoton(n,[b:3g0witle][color=#FF0000:3g0witle]nrow,ncol[/b:3g0witle], [/color:3g0witle]nCode,nCaption,obtn[n]) the control draw a border[/i:3g0witle]\n\ndon't use nrow,ncol !!\n\noBtn[n]:bAction := bEjecutaBoton(n,[b:3g0witle][color=#0000FF:3g0witle]0, 0[/color:3g0witle][/b:3g0witle] ,nCode,nCaption,obtn[n]) \nwill display the popup on top / left of the button\n\noBtn[n]:bAction := bEjecutaBoton(n, [color=#0000FF:3g0witle][b:3g0witle]0, oBtn[n]:nRight[/b:3g0witle][/color:3g0witle] ,nCode,nCaption,obtn[n]) \nwill display the popup on top / right of the button\n\nbest regards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "09:15", "topic": "BTNBMP AND POPUP", "username": "ukoenig" } ]
BTNBMP AND POPUP
[ { "date": "2016-03-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi, \n[code=fw:sfajic4b]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />..<br />oMesa := ARRAY<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">40</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">FOR</span> nCont := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">40</span><br />          <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> oMesa<span style=\"color: #000000;\">&#91;</span>nCont<span style=\"color: #000000;\">&#93;</span> ;<br />                   <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span><Actions>, MenuMesa<span style=\"color: #000000;\">&#40;</span> oMesa<span style=\"color: #000000;\">&#91;</span>::<span style=\"color: #000000;\">nId</span><span style=\"color: #000000;\">-100</span><span style=\"color: #000000;\">&#93;</span>, ::<span style=\"color: #000000;\">nId</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;    <br />                   <span style=\"color: #0000ff;\">FONT</span> oFont1 ;<br />                   <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">100</span> + nCont <span style=\"color: #0000ff;\">OF</span> oDlg<br /><br /><span style=\"color: #00C800;\">NEXT</span> nCont<br />..<br />..<br /><span style=\"color: #B900B9;\">//---------------------------------------------------------------------------------------------------------------------</span><br /><span style=\"color: #00C800;\">Function</span> MenuMesa<span style=\"color: #000000;\">&#40;</span>oObj, nId<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">local</span> nOption, nTopR, nLeftR, oMenu<br /><br />nOption := <span style=\"color: #000000;\">0</span><br />nTopR   := oObj:<span style=\"color: #000000;\">nBottom</span>         <span style=\"color: #B900B9;\">//nTop           // posicion del control que hizo la llamada</span><br />nLeftR  := oObj:<span style=\"color: #000000;\">nRight</span>         <span style=\"color: #B900B9;\">//nLeft</span><br /><br /><span style=\"color: #0000ff;\">MENU</span> oMenu <span style=\"color: #0000ff;\">POPUP</span> <span style=\"color: #000000;\">2007</span><br />  <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion 1\"</span> ;<br />     <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"CALENDARIO1\"</span> <span style=\"color: #0000ff;\">ACTION</span> nOption := <span style=\"color: #000000;\">1</span><br />  <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion 2\"</span> ;<br />     <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"CALENDARIO1\"</span> <span style=\"color: #0000ff;\">ACTION</span> nOption := <span style=\"color: #000000;\">2</span><br />  <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion 3\"</span> ;<br />     <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"CALENDARIO1\"</span> <span style=\"color: #0000ff;\">ACTION</span> nOption := <span style=\"color: #000000;\">3</span><br />  <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Opcion 4\"</span> ;<br />     <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"CALENDARIO1\"</span> <span style=\"color: #0000ff;\">ACTION</span> nOption := <span style=\"color: #000000;\">4</span><br /><span style=\"color: #0000ff;\">ENDMENU</span><br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">POPUP</span> oMenu <span style=\"color: #00C800;\">AT</span> nTopR , nLeftR + <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">OF</span> oObj<br /><br />? nOption, nId<br /><br /><span style=\"color: #00C800;\">Return</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #00C800;\">Nil</span><span style=\"color: #000000;\">&#41;</span><br /><br /> </div>[/code:sfajic4b]", "time": "16:04", "topic": "BTNBMP AND POPUP", "username": "Willi Quintana" } ]
BTNBMP AND POPUP
[ { "date": "2016-03-28", "forum": "FiveWin for Harbour/xHarbour", "text": "please I tried your help but none run ok .....\ncan U publish a test sample ?", "time": "19:51", "topic": "BTNBMP AND POPUP", "username": "Silvio.Falconi" } ]
BTNBMP AND POPUP
[ { "date": "2016-03-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Silvio Your running sample\n\nI used Your sample but shortend the code for my test \nwithout Your DBF, to show the main-logic\nYou only want to show the popup on button-action ?\nIt is possible to use a combination of < Action > and < oBtn[n]:bRclicked > \n\n[img:18e8hgld]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Popup&#46;jpg[/img:18e8hgld]\n\n[code=fw:18e8hgld]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"constant.ch\"</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> TEST<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">Local</span> oDlgTest,oGrid<br /><span style=\"color: #00C800;\">Local</span>  aPrompts:=<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"faldone 1\"</span><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00C800;\">Local</span>  nBottom   := <span style=\"color: #000000;\">29.2</span><br /><span style=\"color: #00C800;\">Local</span>  nRight    :=  <span style=\"color: #000000;\">58</span><br /><span style=\"color: #00C800;\">Local</span>  nWidth    :=  <span style=\"color: #0000ff;\">Max</span><span style=\"color: #000000;\">&#40;</span> nRight * DLG_CHARPIX_W, <span style=\"color: #000000;\">180</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">Local</span>  nHeight   :=  nBottom * DLG_CHARPIX_H<br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlgTest         ;<br /><span style=\"color: #0000ff;\">SIZE</span> nWidth, nHeight   <span style=\"color: #0000ff;\">PIXEL</span>  ;    <span style=\"color: #B900B9;\">//TRUEPIXEL</span><br /><span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Test\"</span>  TRANSPARENT<br /><br />oGrid := TFolderex<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span> , , , , oDlgTest, , ,, aPrompts<span style=\"color: #000000;\">&#41;</span><br />oGrid:<span style=\"color: #000000;\">nTop</span>    := <span style=\"color: #000000;\">00</span><br />oGrid:<span style=\"color: #000000;\">nLeft</span>   := <span style=\"color: #000000;\">00</span><br />oGrid:<span style=\"color: #000000;\">nBottom</span> := <span style=\"color: #000000;\">200</span><br />oGrid:<span style=\"color: #000000;\">nRight</span>  := <span style=\"color: #000000;\">300</span> <br /><br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlgTest ;<br /><span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> SHOW_RACCOGLITORI<span style=\"color: #000000;\">&#40;</span>oGrid<span style=\"color: #000000;\">&#41;</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>  SHOW_RACCOGLITORI<span style=\"color: #000000;\">&#40;</span>oGrid<span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">Local</span>  oFontsmall:= TFont<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Tahoma\"</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-9</span>,,.F. <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">Local</span> cCursor:= TCursor<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span>,<span style=\"color: #ff0000;\">'HAND'</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">Local</span> nRow := <span style=\"color: #000000;\">10</span><br /><span style=\"color: #00C800;\">Local</span> ncol := <span style=\"color: #000000;\">10</span><br /><br /><span style=\"color: #00C800;\">Local</span> nsizeW:= <span style=\"color: #000000;\">84</span><br /><span style=\"color: #00C800;\">Local</span> nsizeh:= <span style=\"color: #000000;\">240</span><br /><br /><span style=\"color: #00C800;\">Local</span> n:= <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00C800;\">Local</span> oBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span>,oBasket2<br /><br />nNumeroPerLinea:= <span style=\"color: #000000;\">15</span><span style=\"color: #000000;\">+1</span><br />k:= <span style=\"color: #000000;\">1</span><br />i := <span style=\"color: #000000;\">1</span><br />nCaption := <span style=\"color: #000000;\">1</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;\">4</span><br />    cPrompt := ALLTRIM<span style=\"color: #000000;\">&#40;</span> STR<span style=\"color: #000000;\">&#40;</span> I <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />    @ nrow, ncol <span style=\"color: #0000ff;\">BTNBMP</span> oBtn<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">of</span> oGrid:<span style=\"color: #000000;\">adialogs</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> ;<br />                  <span style=\"color: #0000ff;\">SIZE</span> nsizeW, nsizeh <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #000000;\">2007</span> ;<br />                  <span style=\"color: #0000ff;\">Prompt</span> cPrompt  ; <span style=\"color: #B900B9;\">// optional use ACTION ..... and oBtn[n]:bRclicked </span><br />                  NOBORDER ;<br />                  <span style=\"color: #0000ff;\">CENTER</span><br /><br />    oBtn<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">oCursor</span>:= cCursor<br />    oBtn<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">lBorder</span> := .F.  <span style=\"color: #B900B9;\">// display Top / Right</span><br />    oBtn<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bAction</span> := bEjecutaBoton<span style=\"color: #000000;\">&#40;</span>   <span style=\"color: #000000;\">0</span>, oBtn<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nWidth</span>,  n,oBtn<span style=\"color: #000000;\">&#91;</span>n<span style=\"color: #000000;\">&#93;</span>, nCaption<span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #B900B9;\">// Action works using</span><br />    <span style=\"color: #B900B9;\">// oBtn[n]:bRclicked := bEjecutaBoton(   0, oBtn[n]:nWidth,  n,oBtn[n], nCaption)</span><br />    <span style=\"color: #B900B9;\">// use a Tooltip to tell the user about this option </span><br /><br />    ncol:= ncol+nsizeW<span style=\"color: #000000;\">+5</span><br />    n:=n<span style=\"color: #000000;\">+1</span><br /><br />    k++<br /><br />    <span style=\"color: #00C800;\">IF</span> k = nNumeroPerLinea<br />        nRow += nsizeh<span style=\"color: #000000;\">+10</span><br />        ncol := <span style=\"color: #000000;\">10</span><br />        k:= <span style=\"color: #000000;\">1</span><br />    <span style=\"color: #00C800;\">Endif</span><br /><br /><span style=\"color: #00C800;\">NEXT</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> BEJECUTABOTON<span style=\"color: #000000;\">&#40;</span> nrow, ncol, n, oControl <span style=\"color: #000000;\">&#41;</span><br />        <br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #000000;\">&#123;</span> |n| Menu_popup<span style=\"color: #000000;\">&#40;</span> nrow, ncol, n, oControl <span style=\"color: #000000;\">&#41;</span>  <span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #B900B9;\">//-------------------- </span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MENU_POPUP<span style=\"color: #000000;\">&#40;</span> nrow, ncol, n, oControl <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">Local</span> oMenuPop<br /><br /><span style=\"color: #0000ff;\">MENU</span> oMenuPop <span style=\"color: #0000ff;\">POPUP</span><br />          <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Apri \"</span> <br />          <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"WWW\"</span><br /><span style=\"color: #0000ff;\">ENDMENU</span><br /><br /><span style=\"color: #B900B9;\">// optional</span><br /><span style=\"color: #B900B9;\">// oMenuPop:Activate( nrow, ncol, oControl, .T.) </span><br /><br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">POPUP</span> oMenuPop <span style=\"color: #0000ff;\">OF</span> oControl <span style=\"color: #00C800;\">AT</span> nrow, ncol<br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /> </div>[/code:18e8hgld]\n\nbest regards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "11:59", "topic": "BTNBMP AND POPUP", "username": "ukoenig" } ]
BTNBMP AND POPUP
[ { "date": "2016-03-29", "forum": "FiveWin for Harbour/xHarbour", "text": "is there no possibility to not show the arrow and show only the popmenu near the button when the user press on it ?", "time": "13:15", "topic": "BTNBMP AND POPUP", "username": "Silvio.Falconi" } ]
BTNBMP AND POPUP
[ { "date": "2016-03-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Try with this\n\n[code=fw:17o7v3rf]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />......<br />        <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Nuevo\"</span>  NOBORDER <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">112</span> ;<br />                 TOOLTIP <span style=\"color: #ff0000;\">\"Nueva solicitud <Ins>\"</span> ;<br />                  <span style=\"color: #0000ff;\">ACTION</span> MenuPop <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">Self</span>  <span style=\"color: #000000;\">&#41;</span><br /><br />......<br /><br /><span style=\"color: #B900B9;\">//------------------------------------------------------------------------------</span><br /><span style=\"color: #00C800;\">Static</span> <span style=\"color: #00C800;\">Function</span> MenuPop<span style=\"color: #000000;\">&#40;</span> oBtn <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #B900B9;\">//------------------------------------------------------------------------------</span><br /><br />   <span style=\"color: #00C800;\">Local</span> oMenu, aRect<br /><br />   aRect := GetClientRect<span style=\"color: #000000;\">&#40;</span> oBtn:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #0000ff;\">MENU</span> oMenu <span style=\"color: #0000ff;\">POPUP</span><br />      <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Caja Chica\"</span>                    <span style=\"color: #0000ff;\">ACTION</span>   solicitud <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"new\"</span>, <span style=\"color: #ff0000;\">\"caja\"</span> <span style=\"color: #000000;\">&#41;</span>        <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"cbx_cajachica\"</span><br />      <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Cargo a Rendición \"</span>            <span style=\"color: #0000ff;\">ACTION</span>   solicitud <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"new\"</span>, <span style=\"color: #ff0000;\">\"cargo\"</span> <span style=\"color: #000000;\">&#41;</span>       <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"cbx_rendicion\"</span><br />      <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Viáticos y Estipendios\"</span>        <span style=\"color: #0000ff;\">ACTION</span>   solicitud <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"new\"</span>, <span style=\"color: #ff0000;\">\"viaticos\"</span> <span style=\"color: #000000;\">&#41;</span>    <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"cbx_viaticos\"</span><br />      <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Pago a proveedores y terceros\"</span> <span style=\"color: #0000ff;\">ACTION</span>   solicitud <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"new\"</span>, <span style=\"color: #ff0000;\">\"proveedores\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"cbx_proveedores\"</span><br />   <span style=\"color: #0000ff;\">ENDMENU</span><br /><br />   <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">POPUP</span> oMenu <span style=\"color: #00C800;\">AT</span> aRect<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span> + <span style=\"color: #000000;\">1</span>, aRect<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">OF</span> oBtn<br /><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">Nil</span><br /> </div>[/code:17o7v3rf]", "time": "14:51", "topic": "BTNBMP AND POPUP", "username": "Marcelo Via Giglio" } ]
BTNBMP AND POPUP
[ { "date": "2016-03-29", "forum": "FiveWin for Harbour/xHarbour", "text": "IT IS THE SAME!!!!!!\n I see also the border and the arrow", "time": "18:00", "topic": "BTNBMP AND POPUP", "username": "Silvio.Falconi" } ]
BTNBMP AND POPUP
[ { "date": "2016-03-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes, this is strange because we don't define menu option in btnbmp, then try with this change\n\n[code=fw:2hpf0gym]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">POPUP</span> oMenu <span style=\"color: #00C800;\">AT</span> aRect<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span> + <span style=\"color: #000000;\">1</span>, aRect<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">OF</span> oBtn:<span style=\"color: #000000;\">oWnd</span><br /><br />&nbsp;</div>[/code:2hpf0gym]\n\nyou will need to calculate new values for offset \n\nsaludos\n\nMarcelo", "time": "19:51", "topic": "BTNBMP AND POPUP", "username": "Marcelo Via Giglio" } ]
BTNBMP AND POPUP
[ { "date": "2016-03-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Just add a button-refresh\nThe arrow is only visible during executing the popup\n\n\nSTATIC FUNCTION MENUPOP( oBtn )\nLocal oMenu, aRect\n\naRect := GetClientRect( oBtn:hWnd )\n\nMENU oMenu POPUP 2010\n MENUITEM \"Caja Chica\" ACTION MsgAlert( \"1\" )\n MENUITEM \"Cargo a Rendición \" ACTION MsgAlert( \"2\" ) BOLD \n MENUITEM \"Viáticos y Estipendios\" ACTION MsgAlert( \"3\" )\n MENUITEM \"Pago a proveedores y terceros\" ACTION MsgAlert( \"4\" )\nENDMENU\n\nACTIVATE POPUP oMenu AT aRect[ 3 ] + 1, aRect[ 2 ] OF oBtn\n[color=#0000FF:2g34afab][b:2g34afab]oBtn:Refresh()[/b:2g34afab][/color:2g34afab]\n\nRETURN NIL\n\nbest regards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "20:06", "topic": "BTNBMP AND POPUP", "username": "ukoenig" } ]
BTNBMP AND POPUP
[ { "date": "2016-03-29", "forum": "FiveWin for Harbour/xHarbour", "text": "thanks", "time": "20:40", "topic": "BTNBMP AND POPUP", "username": "Silvio.Falconi" } ]
BTNBMP AND POPUP
[ { "date": "2013-07-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola a todos\n\nEstoy queriendo actualizar el interfaz de mis aplicaciones ya que estoy con la FWH13.06, pero al tomar el consejo de siempre usar la clausula de 2007 y agregando GRADIENT bGrad \n[url:1a1m4dme]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=6&t=23315&p=125730&hilit=BUTTON+2010#p125730[/url:1a1m4dme]\n\nConsultado el archivo include FiveWin.ch en REDEFINE BTNBMP no incluye la clausula GRADIENT.\n¿Habra alguna manera de hacerlo?\n\nGracias de antemano", "time": "18:35", "topic": "BTNBMP Estilo 2010 desde Recursos", "username": "Blessed" } ]
BTNBMP Estilo 2010 desde Recursos
[ { "date": "2013-07-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola a todos\n\nContestandome a mi mismo, y de la forma que se critico antes, cambie la clase BTNBMP, y solo modifique el arreglo de Gradient, en el metodo ReDefine. <!-- s8) --><img src=\"{SMILIES_PATH}/icon_cool.gif\" alt=\"8)\" title=\"Cool\" /><!-- s8) --> \n\nSaludos", "time": "20:46", "topic": "BTNBMP Estilo 2010 desde Recursos", "username": "Blessed" } ]
BTNBMP Estilo 2010 desde Recursos
[ { "date": "2013-07-28", "forum": "FiveWin para Harbour/xHarbour", "text": "Oscar,\n\nPuedes mostrarnos como lo has modificado ? Asi lo incluimos en FWH para próximas versiones, gracias\n\nREDEFINE BTNBMP ... GRADIENT bGrad ?", "time": "07:36", "topic": "BTNBMP Estilo 2010 desde Recursos", "username": "Antonio Linares" } ]
BTNBMP Estilo 2010 desde Recursos
[ { "date": "2013-07-29", "forum": "FiveWin para Harbour/xHarbour", "text": "Maestro\nNo no hice nada complicado, solo cambie el color por defecto del Gradient, un tanto soso, para no cambiar el codigo de mis programas.\n\n[code=fw:312tw1oe]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">   <br /><span style=\"color: #00C800;\">DEFAULT</span> ::<span style=\"color: #000000;\">bClrGrad</span> := <span style=\"color: #000000;\">&#123;</span> | lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> lInvert, ;<br />         <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>/<span style=\"color: #000000;\">3</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">253</span>, <span style=\"color: #000000;\">222</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">231</span>, <span style=\"color: #000000;\">151</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>, ;<br />           <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">2</span>/<span style=\"color: #000000;\">3</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">215</span>,  <span style=\"color: #000000;\">84</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">233</span>, <span style=\"color: #000000;\">162</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>  ;<br />         <span style=\"color: #000000;\">&#125;</span>, ;<br />         <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>/<span style=\"color: #000000;\">2</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">219</span>, <span style=\"color: #000000;\">230</span>, <span style=\"color: #000000;\">244</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">207</span><span style=\"color: #000000;\">-50</span>, <span style=\"color: #000000;\">221</span><span style=\"color: #000000;\">-25</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>, ;<br />           <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>/<span style=\"color: #000000;\">2</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">201</span><span style=\"color: #000000;\">-50</span>, <span style=\"color: #000000;\">217</span><span style=\"color: #000000;\">-25</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">231</span>, <span style=\"color: #000000;\">242</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>  ;<br />         <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><br /> </div>[/code:312tw1oe]", "time": "23:27", "topic": "BTNBMP Estilo 2010 desde Recursos", "username": "Blessed" } ]
BTNBMP Estilo 2010 desde Recursos
[ { "date": "2013-07-30", "forum": "FiveWin para Harbour/xHarbour", "text": "Añadida la claúsula GRADIENT al commando REDEFINE BTNBMP ... GRADIENT ... en FWH 13.07 <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "07:18", "topic": "BTNBMP Estilo 2010 desde Recursos", "username": "Antonio Linares" } ]
BTNBMP Estilo 2010 desde Recursos
[ { "date": "2013-08-03", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias Antonio\n\nA recoger ahorros para estar actualizado <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "17:25", "topic": "BTNBMP Estilo 2010 desde Recursos", "username": "Blessed" } ]
BTNBMP Estilo 2010 desde Recursos
[ { "date": "2021-02-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello everyone,\n\nI am using BTNBMP to show a set of buttons but I have already modified the FONT several times and it does not change.\n\nI can even set the font but I can't increase the size\n\nDo any of you know any solutions?\n\n[code=fw:e9jyeawq]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> ButQST<span style=\"color: #000000;\">&#91;</span>nContST<span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">ID</span> nIDST <span style=\"color: #0000ff;\">OF</span> oStObj <span style=\"color: #0000ff;\">FONT</span> oFont13 <span style=\"color: #0000ff;\">PROMPT</span> ALLTRIM<span style=\"color: #000000;\">&#40;</span>STR<span style=\"color: #000000;\">&#40;</span>nContST,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> PIXELS ;<br />FILE <span style=\"color: #ff0000;\">\"H:<span style=\"color: #000000;\">\\L</span>SOFT<span style=\"color: #000000;\">\\B</span>INGO<span style=\"color: #000000;\">\\F</span>IGURAS<span style=\"color: #000000;\">\\B</span>OLAQD.PNG\"</span> <span style=\"color: #0000ff;\">ADJUST</span> <span style=\"color: #0000ff;\">CENTER</span> NOBORDER TRANSPARENT<br /><br />ButQST<span style=\"color: #000000;\">&#91;</span>nContST<span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">SETCOLOR</span><span style=\"color: #000000;\">&#40;</span> NRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">180</span>,<span style=\"color: #000000;\">180</span>,<span style=\"color: #000000;\">180</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>  </div>[/code:e9jyeawq]\n\nThank you!", "time": "16:56", "topic": "BTNBMP FONT", "username": "Ladinilson" } ]
BTNBMP FONT
[ { "date": "2021-02-11", "forum": "FiveWin for Harbour/xHarbour", "text": "You can change font, size everything.\nLet us know how you tried and what is not working for you.", "time": "20:52", "topic": "BTNBMP FONT", "username": "nageswaragunupudi" } ]
BTNBMP FONT
[ { "date": "2021-02-11", "forum": "FiveWin for Harbour/xHarbour", "text": "I change the size of the FONT but it remains with a defined size ...\n\n[code=fw:1ivvvfnq]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont2000 <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"ARIAL ROUNDED MT BOLD\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-14</span> BOLD<br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont2000 <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"ARIAL ROUNDED MT BOLD\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-18</span> BOLD<br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont2000 <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"ARIAL ROUNDED MT BOLD\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-32</span> BOLD<br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont2000 <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"ARIAL ROUNDED MT BOLD\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-46</span> BOLD<br /> </div>[/code:1ivvvfnq]\n\nI changed for all these sizes but it hasn't changed", "time": "21:22", "topic": "BTNBMP FONT", "username": "Ladinilson" } ]
BTNBMP FONT
[ { "date": "2021-02-11", "forum": "FiveWin for Harbour/xHarbour", "text": "If you want to change the font of BtnBmp (or any control, window, dialog)\n\nDEFINE oNewFont NAME ....................\nand then\noBtn:SetFont( oNewFont )\nRELEASE FONT oNewFont", "time": "21:41", "topic": "BTNBMP FONT", "username": "nageswaragunupudi" } ]
BTNBMP FONT
[ { "date": "2021-02-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes i already tried this...\n[code=fw:2c5vfzz2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">ButQST<span style=\"color: #000000;\">&#91;</span>nContST<span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">SETFONT</span><span style=\"color: #000000;\">&#40;</span>oFont2000<span style=\"color: #000000;\">&#41;</span></div>[/code:2c5vfzz2]\n\njust like this ...\n[code=fw:2c5vfzz2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">ButQST<span style=\"color: #000000;\">&#91;</span>nContST<span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">oFontBold</span> := oFont2000</div>[/code:2c5vfzz2]\n\nand I didn't get any results\nI think you are at REDEFINE this problem because using @ it seems that it works", "time": "21:57", "topic": "BTNBMP FONT", "username": "Ladinilson" } ]
BTNBMP FONT
[ { "date": "2021-02-12", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote:xangpfim]I think you are at REDEFINE this problem because using @ it seems that it works\n[/quote:xangpfim]\nNo. It is because you are not doing it correctly. \n\nPlease try this program:\n[code=fw:xangpfim]<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: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oDlg, aBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oFont1, oFont2<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont1 <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"TAHOMA\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-12</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"Main\"</span> <span style=\"color: #0000ff;\">FONT</span> oFont1<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> aBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Change\"</span> + CRLF + <span style=\"color: #ff0000;\">\"Font\"</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">110</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">CENTER</span><br />&nbsp; &nbsp;aBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bAction</span> := <||<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont2 <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"VERDANA\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-16</span> BOLD<br />&nbsp; &nbsp; &nbsp; AEval<span style=\"color: #000000;\">&#40;</span> aBtn, <span style=\"color: #000000;\">&#123;</span> |oBtn| oBtn:<span style=\"color: #000000;\">SetFont</span><span style=\"color: #000000;\">&#40;</span> oFont2 <span style=\"color: #000000;\">&#41;</span>, oBtn:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">FONT</span> oFont2<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br />&nbsp; &nbsp; &nbsp; ><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> aBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Multi\"</span> + CRLF + <span style=\"color: #ff0000;\">\"Line\"</span> &nbsp; &nbsp;<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 />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTION</span> AEval<span style=\"color: #000000;\">&#40;</span> aBtn, <span style=\"color: #000000;\">&#123;</span> |oBtn| oBtn:<span style=\"color: #000000;\">oFontBold</span> := oFont1, oBtn:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> aBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Old\"</span> + CRLF + <span style=\"color: #ff0000;\">\"Font\"</span> &nbsp;<span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">130</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">CENTER</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTION</span> AEval<span style=\"color: #000000;\">&#40;</span> aBtn, <span style=\"color: #000000;\">&#123;</span> |oBtn| oBtn:<span style=\"color: #000000;\">oFontBold</span> := <span style=\"color: #00C800;\">nil</span>, oBtn:<span style=\"color: #000000;\">SetFont</span><span style=\"color: #000000;\">&#40;</span> oFont1 <span style=\"color: #000000;\">&#41;</span>, oBtn:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">FONT</span> oFont1<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br />&nbsp;</div>[/code:xangpfim]\n\nrc file:\n[code=fw:xangpfim]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\i</span>nclude<span style=\"color: #000000;\">\\W</span>inApi.ch\"</span><br /><br />main <span style=\"color: #0000ff;\">DIALOG</span> <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">67</span>, <span style=\"color: #000000;\">162</span>, <span style=\"color: #000000;\">76</span><br /><span style=\"color: #0000ff;\">STYLE</span> DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU<br />CAPTION <span style=\"color: #ff0000;\">\"FiveWin Class TBtnBmp\"</span><br /><span style=\"color: #0000ff;\">FONT</span> <span style=\"color: #000000;\">12</span>, <span style=\"color: #ff0000;\">\"MS Sans Serif\"</span><br /><span style=\"color: #000000;\">&#123;</span><br />&nbsp;CONTROL <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #000000;\">110</span>, <span style=\"color: #ff0000;\">\"TBtnBmp\"</span>, <span style=\"color: #000000;\">0</span> | WS_CHILD | WS_VISIBLE | WS_TABSTOP, <span style=\"color: #000000;\">9</span>, <span style=\"color: #000000;\">41</span>, <span style=\"color: #000000;\">43</span>, <span style=\"color: #000000;\">21</span><br />&nbsp;CONTROL <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #000000;\">120</span>, <span style=\"color: #ff0000;\">\"TBtnBmp\"</span>, <span style=\"color: #000000;\">0</span> | WS_CHILD | WS_VISIBLE | WS_TABSTOP, <span style=\"color: #000000;\">60</span>, <span style=\"color: #000000;\">41</span>, <span style=\"color: #000000;\">43</span>, <span style=\"color: #000000;\">21</span><br />&nbsp;CONTROL <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #000000;\">130</span>, <span style=\"color: #ff0000;\">\"TBtnBmp\"</span>, <span style=\"color: #000000;\">0</span> | WS_CHILD | WS_VISIBLE | WS_TABSTOP, <span style=\"color: #000000;\">110</span>, <span style=\"color: #000000;\">41</span>, <span style=\"color: #000000;\">43</span>, <span style=\"color: #000000;\">21</span><br /><span style=\"color: #000000;\">&#125;</span></div>[/code:xangpfim]\n\n[url=https&#58;//imageshack&#46;com/i/pmZLX0MCg:xangpfim][img:xangpfim]https&#58;//imagizer&#46;imageshack&#46;com/img922/5426/ZLX0MC&#46;gif[/img:xangpfim][/url:xangpfim]", "time": "05:23", "topic": "BTNBMP FONT", "username": "nageswaragunupudi" } ]
BTNBMP FONT
[ { "date": "2021-02-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks G. N. Rao.!", "time": "07:01", "topic": "BTNBMP FONT", "username": "Ladinilson" } ]
BTNBMP FONT
[ { "date": "2009-07-10", "forum": "FiveWin for Harbour/xHarbour", "text": "[img:1h26swj3]http&#58;//img43&#46;imageshack&#46;us/img43/8476/errbtn&#46;jpg[/img:1h26swj3]\n\nTHE CODE\n\n[code=fw:1h26swj3]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">FUNCTION</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> oBmp,oBmp1<br /><br />&nbsp;<span style=\"color: #0000ff;\">DEFINE</span> BITMAP oBmp <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">'Five'</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;\">\"TESTBTN\"</span><br /><br />@ <span style=\"color: #000000;\">06</span>, <span style=\"color: #000000;\">001</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBmp1 <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"OROLOGIO\"</span> NOBORDER<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oBmp1:<span style=\"color: #000000;\">lTransparent</span> = .t.<br /><br /><br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">PAINT</span> oWnd:<span style=\"color: #000000;\">SayBitmap</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">45</span>, <span style=\"color: #000000;\">10</span>, oBmp <span style=\"color: #000000;\">&#41;</span></div>[/code:1h26swj3]", "time": "11:33", "topic": "BTNBMP NOT TRASPARENT :WHY ?", "username": "Silvio" } ]
BTNBMP NOT TRASPARENT :WHY ?
[ { "date": "2009-07-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Sylvio,\n\nTo paint another BMP on a Window-Image-Background, You need a Alpha-Blended-BMP.\n\n[code=fw:3juru2fp]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />.....<br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">MAXIMIZED</span> ;<br /><span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">PAINT</span> WIN_IMAGE<span style=\"color: #000000;\">&#40;</span> oWnd, hDC <span style=\"color: #000000;\">&#41;</span>, ; <br />ABPaint<span style=\"color: #000000;\">&#40;</span> hDC, <span style=\"color: #000000;\">20</span>, <span style=\"color: #000000;\">20</span>, oBmp1:<span style=\"color: #000000;\">hBitmap</span>, <span style=\"color: #000000;\">220</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>  <span style=\"color: #B900B9;\">// The defined Alpha-Splash-Logo</span><br /><br /><span style=\"color: #B900B9;\">//--------- IMAGE - LOGO ------------------------ </span><br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> WIN_IMAGE<span style=\"color: #000000;\">&#40;</span> oWnd, hDC <span style=\"color: #000000;\">&#41;</span> <br /><span style=\"color: #00C800;\">LOCAL</span> oImage1<br /><span style=\"color: #00C800;\">LOCAL</span> nWidth  := oWnd:<span style=\"color: #000000;\">nWidth</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">LOCAL</span> nHeight := oWnd:<span style=\"color: #000000;\">nHeight</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #B900B9;\">// Selected Image</span><br /><span style=\"color: #B900B9;\">// --------------------</span><br />cNEWLOGO := <span style=\"color: #ff0000;\">\"&c_path<span style=\"color: #000000;\">\\I</span>MAGES<span style=\"color: #000000;\">\\\"</span> + ALLTRIM(WIN_IMAGE) // Window-Background<br />IF File( \"</span>&cNEWLOGO<span style=\"color: #ff0000;\">\" )<br />DEFINE IMAGE oImage1 FILENAME \"</span>&cNEWLOGO<span style=\"color: #ff0000;\">\" <br />   PalBmpDraw( hDC, 0, 0, oImage1:hBitmap, , nWIDTH, nHEIGHT, , .T. ) <br />ELSE<br />MsgAlert( \"</span>Cannot load : <span style=\"color: #ff0000;\">\" + CRLF + ;<br />   cNEWLOGO, \"</span>Error<span style=\"color: #ff0000;\">\" )             <br />ENDIF<br /><br />RETURN NIL<br /></span></div>[/code:3juru2fp]\n\nToday I will finish, my new Window-Background Tester.\nThe working of Alpha-Blended-BMP-Logos on any Screen -Position, is easy to test as well.\nThe Application will be for Download.\n\nBesr Regards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "11:47", "topic": "BTNBMP NOT TRASPARENT :WHY ?", "username": "ukoenig" } ]
BTNBMP NOT TRASPARENT :WHY ?
[ { "date": "2009-07-10", "forum": "FiveWin for Harbour/xHarbour", "text": "UWE \nI insert this message wrong into this forum\nthe message and the error is for FWPPC AND NOT FWH \nI already call Antonio for this error", "time": "11:59", "topic": "BTNBMP NOT TRASPARENT :WHY ?", "username": "Silvio" } ]
BTNBMP NOT TRASPARENT :WHY ?
[ { "date": "2009-07-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Silvio,\n\nUse TransBmp() to paint the bitmap.\n\nNext FWPPC build provides AlphaChannel support too <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "14:50", "topic": "BTNBMP NOT TRASPARENT :WHY ?", "username": "Antonio Linares" } ]
BTNBMP NOT TRASPARENT :WHY ?
[ { "date": "2014-10-29", "forum": "FiveWin for Harbour/xHarbour", "text": "I realize there are two threads going on the buttons, but this didn't necessarily fit in either so I'm trying a new one.\n\nI moving a lot of existing FUNCTION code into classes, as METHODs to be far more efficient. In doing so, I'm seeing a consistent behavior. Please consider the following two sections of a METHOD. The ::invnum is a field in a database object which is opened within the class.\n\n\tREDEFINE BTNBMP RESOURCE \"HROK\" ID 2101 OF oDpw3 TOOLTIP \"Use part\" PROMPT \"Use\";\n\t\tACTION ( retval := ::invnum, oDpw3:end() ) NOBORDER TRANSPARENT\n\n\tREDEFINE XBROWSE oLpa ID 2100 OF oDpw3 ON DBLCLICK( retval := ::invnum, oDpw3:end() )\n\nThis is a lookup list. Note the ACTION and DBLCLICK code is identical. If I click on the Bitmap, the program stops working ( no clear error message ). If I double click on an item, it successfully returns the value to the calling program. Both of these sections are in the exact same method.\n\nThis is built with FWH 13.08, Harbour, and Microsoft Visual Studio 2013. If I have the same calls in a FUNCTION by the same name, it works. In a CLASS METHOD, however, the error occurs.\n\nI'd love some thoughts on this. \n\nTim", "time": "21:32", "topic": "BTNBMP Question", "username": "TimStone" } ]
BTNBMP Question
[ { "date": "2014-10-29", "forum": "FiveWin for Harbour/xHarbour", "text": "At the beginning of the METHOD creating the BTNBMP, please declare a local\n\n[code=fw:21f7ocbb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">local</span> oSelf := <span style=\"color: #00C800;\">Self</span></div>[/code:21f7ocbb]\n....\nThen modify the BTNBMP's action clause\nInstead of \n[code=fw:21f7ocbb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> retval := ::<span style=\"color: #000000;\">invnum</span>, oDpw3:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span></div>[/code:21f7ocbb]\nmodify as\n[code=fw:21f7ocbb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> retval := oSelf:<span style=\"color: #000000;\">invnum</span>, oDpw3:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span></div>[/code:21f7ocbb]\n\nFirst please test this change and I am sure it will work,\n\nYou want to know the reason.\nThe way the command translate of BTNBMP is written\n::invnum is translated by the preprocessor as Self:invnum. But this Self is the button object, not \"OUR\" object.\n\nI too learnt these lessons the hard way years back. So I invariably declare a local in every method creating FW objets\nlocal oSelf := Self \nWhether necessary or not, I use oSelf:myvariable instead of ::myvairable in the ACTION clauses of any FW control. May be this is not necessary in all cases and I may be over-cautious. But this saves lot of time and headaches.", "time": "22:04", "topic": "BTNBMP Question", "username": "nageswaragunupudi" } ]
BTNBMP Question
[ { "date": "2014-10-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank you.\n\nThat makes sense and it does work.\n\nTim", "time": "22:27", "topic": "BTNBMP Question", "username": "TimStone" } ]
BTNBMP Question
[ { "date": "2006-04-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks you. Antonio \n\nHow are you the low which the BTNBMP increases then? \n\n[code:angoe7xj]\n@ 170, 31 BTNBMP oBut RESOURCE \"button\" CENTER PROMPT \"00&#58;00&#58;00\" FONT oFont2 SIZE 136, 130 ; \nACTION oWnd&#58;End&#40;&#41; OF oWnd NOBORDER \n\n// ? TextColor\n// ? Font\n\n[/code:angoe7xj]\n\nFWH USer...........", "time": "09:59", "topic": "BTNBMP Text Color ?", "username": "yunbg1" } ]
BTNBMP Text Color ?
[ { "date": "2006-04-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Sorry, I don't understand what you mean.\n\nDo you want to show the running time on the button ?", "time": "10:38", "topic": "BTNBMP Text Color ?", "username": "Antonio Linares" } ]
BTNBMP Text Color ?
[ { "date": "2006-04-27", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":1lje5ec7]Sorry, I don't understand what you mean.\n\nDo you want to show the running time on the button ?[/quote:1lje5ec7]\n\n[code:1lje5ec7]\n@ 0,0 BTNBMP oBut RESOURCE \"start\" CENTER PROMPT \"Text Caption \" SIZE 101, 39 ACTION start&#40;&#41; OF oWnd NOBORDER\n[/code:1lje5ec7]\n\nWe change 'Text Caption' Color.", "time": "13:03", "topic": "BTNBMP Text Color ?", "username": "yunbg1" } ]
BTNBMP Text Color ?
[ { "date": "2006-04-27", "forum": "FiveWin for Harbour/xHarbour", "text": "oBut:SetColor( \"GR+/B\" ) or\n\noBut:SetColor( CLR_..., CLR_... ) or\n\noBut:SetColor( nRGB( ..., ..., ... ), nRGB( ..., ..., ... ) )", "time": "13:18", "topic": "BTNBMP Text Color ?", "username": "Antonio Linares" } ]
BTNBMP Text Color ?
[ { "date": "2022-05-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Damiano,\n\nCould you post a small example complete to test here ?\n\nmany thanks", "time": "12:40", "topic": "BTNBMP default button", "username": "Antonio Linares" } ]
BTNBMP default button
[ { "date": "2022-05-24", "forum": "FiveWin for Harbour/xHarbour", "text": "hi,\nhow can I assign DEFAULT to oBtnbmp BTNBMP inside a DIALOG ?\n\n[code=fw:32ahsef0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">1300</span>,<span style=\"color: #000000;\">700</span> <span style=\"color: #0000ff;\">PIXEL</span>  <span style=\"color: #0000ff;\">FONT</span> oFont<br />    <span style=\"color: #0000ff;\">STYLE</span> nOR<span style=\"color: #000000;\">&#40;</span> DS_MODALFRAME, WS_POPUP, WS_CAPTION, WS_SYSMENU, ;<br />              WS_MAXIMIZEBOX, WS_MINIMIZEBOX, WS_THICKFRAME <span style=\"color: #000000;\">&#41;</span><br />...<br />...<br />    @ <span style=\"color: #000000;\">320</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtnbmp <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">28</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"search\"</span> <span style=\"color: #000000;\">2007</span><br />               TOOLTIP <span style=\"color: #ff0000;\">\"OK\"</span> ;<br />                <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">&#40;</span>doFunc<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><br />    @ <span style=\"color: #000000;\">320</span>,<span style=\"color: #000000;\">70</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtnbmp1 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">28</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"search\"</span> <span style=\"color: #000000;\">2007</span><br />               TOOLTIP <span style=\"color: #ff0000;\">\"SEARCH\"</span> ;<br />                <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">&#40;</span>doOther<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:32ahsef0]\n\nI would like that when I press ENTER start doFunc()\n\nthanks", "time": "14:59", "topic": "BTNBMP default button", "username": "damianodec" } ]
BTNBMP default button
[ { "date": "2022-05-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\n[code=fw:1ed2oaml]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">1300</span>,<span style=\"color: #000000;\">700</span> <span style=\"color: #0000ff;\">PIXEL</span>  <span style=\"color: #0000ff;\">FONT</span> oFont<br />    <span style=\"color: #0000ff;\">STYLE</span> nOR<span style=\"color: #000000;\">&#40;</span> DS_MODALFRAME, WS_POPUP, WS_CAPTION, WS_SYSMENU, ;<br />              WS_MAXIMIZEBOX, WS_MINIMIZEBOX, WS_THICKFRAME <span style=\"color: #000000;\">&#41;</span><br /><br />   oDlg:<span style=\"color: #000000;\">bInit</span>:= <span style=\"color: #000000;\">&#123;</span>|| oBtnBmp:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>      <span style=\"color: #B900B9;\">// <<<<<<<<<<<---------------------</span><br />...<br />...<br />    @ <span style=\"color: #000000;\">320</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtnbmp <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">28</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"search\"</span> <span style=\"color: #000000;\">2007</span><br />               TOOLTIP <span style=\"color: #ff0000;\">\"OK\"</span> ;<br />                <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">&#40;</span>doFunc<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><br />    @ <span style=\"color: #000000;\">320</span>,<span style=\"color: #000000;\">70</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtnbmp1 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">28</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"search\"</span> <span style=\"color: #000000;\">2007</span><br />               TOOLTIP <span style=\"color: #ff0000;\">\"SEARCH\"</span> ;<br />                <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">&#40;</span>doOther<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:1ed2oaml]\n\nRegards", "time": "16:57", "topic": "BTNBMP default button", "username": "hmpaquito" } ]
BTNBMP default button
[ { "date": "2022-05-25", "forum": "FiveWin for Harbour/xHarbour", "text": "hi\nthank you, into dialog there are a lot of get and button and I would like that when I press RETURN inside any GET or button start ACTION(doFunc())", "time": "08:26", "topic": "BTNBMP default button", "username": "damianodec" } ]
BTNBMP default button
[ { "date": "2022-05-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\nno solution?\ninside Fivewin.ch BUTTON, BUTTONBMP AND FLATBTN have DEFAULT option but BTNBPM no, is there any update, how can I to solve it?\nthank you", "time": "07:19", "topic": "BTNBMP default button", "username": "damianodec" } ]
BTNBMP default button
[ { "date": "2022-05-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Damiano,\n\nTry this:\n\n#define BM_SETSTYLE 244\n\noDlg:bInit := { || oBtnBmp:SendMsg( BM_SETSTYLE, BS_DEFPUSHBUTTON, 1 ) }\n\nor\n\noDlg:bInit := { || oBtnBmp:PostMsg( BM_SETSTYLE, BS_DEFPUSHBUTTON, 1 ) }", "time": "10:13", "topic": "BTNBMP default button", "username": "Antonio Linares" } ]
BTNBMP default button
[ { "date": "2022-05-26", "forum": "FiveWin for Harbour/xHarbour", "text": "hi Antonio,\nit doesn't work in any way.\nReturn key go on to the next GET field but not active BTNBMP\n\nin others PGM I use REDEFINE DIALOG from resource and it works because obtnbmp has ID = IDOK (I use Pelles C) but in this case I don't want to use REDEFINE.", "time": "11:36", "topic": "BTNBMP default button", "username": "damianodec" } ]
BTNBMP default button
[ { "date": "2022-05-26", "forum": "FiveWin for Harbour/xHarbour", "text": "hi Antonio,\n[code=fw:1img4he1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">local</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">70</span><span style=\"color: #000000;\">&#93;</span><br /><span style=\"color: #00C800;\">local</span> o_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">70</span><span style=\"color: #000000;\">&#93;</span><br /><span style=\"color: #00C800;\">local</span> oFont, oFontU<br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Tahoma\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-12</span><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFontU <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Tahoma\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-12</span> UNDERLINE<br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">1300</span>,<span style=\"color: #000000;\">700</span> <span style=\"color: #0000ff;\">PIXEL</span>  <span style=\"color: #0000ff;\">FONT</span> oFont;<br /><span style=\"color: #0000ff;\">STYLE</span> nOR<span style=\"color: #000000;\">&#40;</span> DS_MODALFRAME, WS_POPUP, WS_CAPTION, WS_SYSMENU, ;<br />          WS_MAXIMIZEBOX, WS_MINIMIZEBOX, WS_THICKFRAME <span style=\"color: #000000;\">&#41;</span> ; <br />          <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Interrogazione distinta base\"</span><br /><br />    @ <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">30</span> <span style=\"color: #0000ff;\">GET</span> o_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">04</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">04</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span> NOBORDER <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"@ !\"</span>  <br /><br />    @ <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">45</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Tipo Interrogazione\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">65</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span><br />    @ <span style=\"color: #000000;\">20</span>, <span style=\"color: #000000;\">45</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"ESPLOSIONE\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">65</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span>    <span style=\"color: #0000ff;\">FONT</span> oFontU<br />    @ <span style=\"color: #000000;\">28</span>, <span style=\"color: #000000;\">45</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"1 - a singolo livello\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">65</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span> <br />    @ <span style=\"color: #000000;\">36</span>, <span style=\"color: #000000;\">45</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"2 - scalare\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">65</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span>   <br />    @ <span style=\"color: #000000;\">44</span>, <span style=\"color: #000000;\">45</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"4 - ai materiali di base\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">65</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span>  <br /><br />    @ <span style=\"color: #000000;\">20</span>, <span style=\"color: #000000;\">120</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"IMPLOSIONE\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">65</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">FONT</span> oFontU           <br />    @ <span style=\"color: #000000;\">28</span>, <span style=\"color: #000000;\">120</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"5 - a singolo livello\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">65</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span>    <br />    @ <span style=\"color: #000000;\">36</span>, <span style=\"color: #000000;\">120</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"6 - scalare\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">65</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span>  <br />    @ <span style=\"color: #000000;\">44</span>, <span style=\"color: #000000;\">120</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"8 - ai prodotti finiti\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">65</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span>       <br /><br />    @ <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">210</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Articolo\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span> <br />    @ <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">243</span> <span style=\"color: #0000ff;\">GET</span> o_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">01</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">01</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"@!!!!!!!!!!!!!!!\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">55</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">OF</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span> NOBORDER <span style=\"color: #0000ff;\">pixel</span> ;<br />        <span style=\"color: #0000ff;\">VALID</span> <span style=\"color: #000000;\">&#40;</span><span style=\"color: #0000ff;\">msginfo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"VALID\"</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />    <br />    @ <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">305</span> <span style=\"color: #0000ff;\">GET</span> o_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">02</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">02</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">150</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span> NOBORDER <span style=\"color: #0000ff;\">COLOR</span>  ;<br />    <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"@ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\"</span>  <br /><br />    @ <span style=\"color: #000000;\">23</span>, <span style=\"color: #000000;\">210</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> hb_OemToAnsi<span style=\"color: #000000;\">&#40;</span> hb_utf8tostr<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Validità\"</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span>   <br />    @ <span style=\"color: #000000;\">23</span>, <span style=\"color: #000000;\">243</span> <span style=\"color: #0000ff;\">GET</span> o_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">03</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">03</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span> NOBORDER <span style=\"color: #0000ff;\">COLOR</span>  ;<br />    <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"@   /  /    \"</span><br />    <br />    @ <span style=\"color: #000000;\">23</span>, <span style=\"color: #000000;\">305</span> <span style=\"color: #0000ff;\">SAY</span> o_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">06</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">06</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">150</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span><br /><br />    @ <span style=\"color: #000000;\">36</span>, <span style=\"color: #000000;\">210</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> hb_OemToAnsi<span style=\"color: #000000;\">&#40;</span> hb_utf8tostr<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Quantità\"</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span>       <br />    @ <span style=\"color: #000000;\">36</span>, <span style=\"color: #000000;\">243</span> <span style=\"color: #0000ff;\">GET</span> o_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">05</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">VAR</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">05</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span> NOBORDER <span style=\"color: #0000ff;\">RIGHT</span>  ;<br />    <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"@ZE 99999.999999\"</span>  <br /><br />    @ <span style=\"color: #000000;\">63</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrw <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">-10</span>,<span style=\"color: #000000;\">-45</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br />    RECORDSET M_GET<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">21</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #B900B9;\">/* AdoDb object */</span>;<br />    COLUMNS <span style=\"color: #ff0000;\">\"LIVELLO\"</span> ;<br />    COLSIZES <span style=\"color: #000000;\">70</span>  ;<br />    HEADERS  <span style=\"color: #ff0000;\">\"LIV.\"</span> ;<br />    <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"@ !!!!!!!!!!!!!!\"</span> ;<br />    <span style=\"color: #0000ff;\">OF</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span> LINES NOBORDER ;<br />    <span style=\"color: #0000ff;\">ON</span> DBLCLICK<span style=\"color: #000000;\">&#40;</span><span style=\"color: #0000ff;\">msginfo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"dblclick\"</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span>    <br /><br />    oBrw:<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />    <br />    WITH OBJECT oBrw<br />        :<span style=\"color: #000000;\">GoTop</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />    :<span style=\"color: #000000;\">lHScroll</span>            := .T.<br />        :<span style=\"color: #000000;\">lVScroll</span>            := .T.<br />        :<span style=\"color: #000000;\">lRecordSelector</span>     := .t.<br />        :<span style=\"color: #000000;\">nColDividerStyle</span>    := LINESTYLE_BLACK<br />        :<span style=\"color: #000000;\">nRowDividerStyle</span>    := LINESTYLE_BLACK<br />        :<span style=\"color: #000000;\">lColDividerComplete</span> := .T. <br />        :<span style=\"color: #000000;\">bClrSelFocus</span> = <span style=\"color: #000000;\">&#123;</span> || <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">16777215</span>, <span style=\"color: #000000;\">15512898</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span>   <br />        :<span style=\"color: #000000;\">bClrSel</span> = <span style=\"color: #000000;\">&#123;</span> || <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">16777215</span>, <span style=\"color: #000000;\">15512898</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />    END     <br /><br />    @ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">460</span> <span style=\"color: #0000ff;\">BTNBMP</span> o_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">51</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">28</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"search\"</span> <span style=\"color: #000000;\">2007</span>          ;<br />    <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span><span style=\"color: #0000ff;\">msginfo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"find\"</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><br />    @ <span style=\"color: #000000;\">320</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> o_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">61</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">OF</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"ok\"</span> <span style=\"color: #000000;\">2007</span>        ;<br />    TOOLTIP <span style=\"color: #ff0000;\">\"CONFERMA\"</span> ;<br />    <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span><span style=\"color: #0000ff;\">msginfo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"ok\"</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span>  <br /><br />    @ <span style=\"color: #000000;\">320</span>,<span style=\"color: #000000;\">70</span> <span style=\"color: #0000ff;\">BTNBMP</span> o_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">62</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">OF</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"chiudi\"</span>  <span style=\"color: #000000;\">2007</span>         ;<br />    TOOLTIP <span style=\"color: #ff0000;\">\"ESCI\"</span> ;<br />    <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span><span style=\"color: #0000ff;\">msginfo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"exit\"</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />    <br />    @ <span style=\"color: #000000;\">320</span>,<span style=\"color: #000000;\">130</span> <span style=\"color: #0000ff;\">BTNBMP</span> o_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">63</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">OF</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"excel\"</span>  <span style=\"color: #000000;\">2007</span>         ;<br />    TOOLTIP <span style=\"color: #ff0000;\">\"Esporta in\"</span>+CRLF+<span style=\"color: #ff0000;\">\"Excel\"</span> ;<br />    <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span><span style=\"color: #0000ff;\">msginfo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"excel\"</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span>   <br /><br />    <span style=\"color: #00C800;\">if</span> ExcelObj<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #00C800;\">NIL</span><br />        o_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">63</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #00C800;\">endif</span><br />    <br />    m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bResized</span> := <span style=\"color: #000000;\">&#123;</span> || ;<br />    oRect           := m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">GetCliRect</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, ;<br />    o_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">61</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nTop</span>  := oRect:<span style=\"color: #000000;\">nBottom</span>  <span style=\"color: #000000;\">-60</span>, ;<br />    o_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">61</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nLeft</span> := oRect:<span style=\"color: #000000;\">nLeft</span>   <span style=\"color: #000000;\">+10</span>, ;<br />    o_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">62</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nTop</span>  := oRect:<span style=\"color: #000000;\">nBottom</span>  <span style=\"color: #000000;\">-60</span>, ;<br />    o_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">62</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nLeft</span> := oRect:<span style=\"color: #000000;\">nLeft</span>   <span style=\"color: #000000;\">+135</span>, ;<br />    o_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">63</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nTop</span>  := oRect:<span style=\"color: #000000;\">nBottom</span>  <span style=\"color: #000000;\">-60</span>, ;<br />    o_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">63</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nLeft</span> := oRect:<span style=\"color: #000000;\">nLeft</span>   <span style=\"color: #000000;\">+260</span> ;         <br />    <span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> m_get<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">32</span><span style=\"color: #000000;\">&#93;</span> ;<br />    <span style=\"color: #0000ff;\">CENTERED</span><br /> </div>[/code:1img4he1]", "time": "15:43", "topic": "BTNBMP default button", "username": "damianodec" } ]
BTNBMP default button
[ { "date": "2022-05-26", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"damianodec\":2sfwz5tx]hi,\nhow can I assign DEFAULT to oBtnbmp BTNBMP inside a DIALOG ?\n\n[code=fw:2sfwz5tx]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">1300</span>,<span style=\"color: #000000;\">700</span> <span style=\"color: #0000ff;\">PIXEL</span>  <span style=\"color: #0000ff;\">FONT</span> oFont<br />    <span style=\"color: #0000ff;\">STYLE</span> nOR<span style=\"color: #000000;\">&#40;</span> DS_MODALFRAME, WS_POPUP, WS_CAPTION, WS_SYSMENU, ;<br />              WS_MAXIMIZEBOX, WS_MINIMIZEBOX, WS_THICKFRAME <span style=\"color: #000000;\">&#41;</span><br />...<br />...<br />    @ <span style=\"color: #000000;\">320</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtnbmp <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">28</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"search\"</span> <span style=\"color: #000000;\">2007</span><br />               TOOLTIP <span style=\"color: #ff0000;\">\"OK\"</span> ;<br />                <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">&#40;</span>doFunc<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><br />    @ <span style=\"color: #000000;\">320</span>,<span style=\"color: #000000;\">70</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtnbmp1 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">28</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"search\"</span> <span style=\"color: #000000;\">2007</span><br />               TOOLTIP <span style=\"color: #ff0000;\">\"SEARCH\"</span> ;<br />                <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">&#40;</span>doOther<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:2sfwz5tx]\n\nI would like that when I press ENTER start doFunc()\n\nthanks[/quote:2sfwz5tx]\n\nPlease add the line:\n[code=fw:2sfwz5tx]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oBtnBmp:<span style=\"color: #000000;\">nID</span> := <span style=\"color: #000000;\">1</span></div>[/code:2sfwz5tx]\nafter creating the button. \nLike this:\n[code=fw:2sfwz5tx]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">1300</span>,<span style=\"color: #000000;\">700</span> <span style=\"color: #0000ff;\">PIXEL</span> &nbsp;<span style=\"color: #0000ff;\">FONT</span> oFont<br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">STYLE</span> nOR<span style=\"color: #000000;\">&#40;</span> DS_MODALFRAME, WS_POPUP, WS_CAPTION, WS_SYSMENU, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WS_MAXIMIZEBOX, WS_MINIMIZEBOX, WS_THICKFRAME <span style=\"color: #000000;\">&#41;</span><br />...<br />...<br />&nbsp; &nbsp; @ <span style=\"color: #000000;\">320</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtnbmp <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">28</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"search\"</span> <span style=\"color: #000000;\">2007</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TOOLTIP <span style=\"color: #ff0000;\">\"OK\"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">&#40;</span>doFunc<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;oBtnBmp:<span style=\"color: #000000;\">nId</span> := <span style=\"color: #000000;\">1</span> &nbsp;<span style=\"color: #B900B9;\">// New: Insert this here to make oBtnBmp as DEFAULT</span><br />&nbsp;<br />&nbsp;<br />&nbsp; &nbsp; @ <span style=\"color: #000000;\">320</span>,<span style=\"color: #000000;\">70</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtnbmp1 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">28</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"search\"</span> <span style=\"color: #000000;\">2007</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TOOLTIP <span style=\"color: #ff0000;\">\"SEARCH\"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">&#40;</span>doOther<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:2sfwz5tx]", "time": "21:58", "topic": "BTNBMP default button", "username": "nageswaragunupudi" } ]
BTNBMP default button
[ { "date": "2022-05-31", "forum": "FiveWin for Harbour/xHarbour", "text": "hi Mr. Rao, it works, thank you!", "time": "08:23", "topic": "BTNBMP default button", "username": "damianodec" } ]
BTNBMP default button
[ { "date": "2007-12-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio, a classe BTNBMP não conta com a opção DESIGN?\n\n\nObrigado", "time": "13:38", "topic": "BTNBMP design ?", "username": "FWHISHOW" } ]
BTNBMP design ?
[ { "date": "2007-12-12", "forum": "FiveWin para Harbour/xHarbour", "text": "oBtnBmp:lDrag := .T.", "time": "14:07", "topic": "BTNBMP design ?", "username": "Antonio Linares" } ]
BTNBMP design ?
[ { "date": "2007-12-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Grato Antonio", "time": "14:11", "topic": "BTNBMP design ?", "username": "FWHISHOW" } ]
BTNBMP design ?
[ { "date": "2007-12-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio, é possível executar uma ação em um objeto SAY (design) depois de clicar sobre o mesmo e arrastar, ou seja, ao soltar o botão do mouse?\n\n\nAcontece que tenho que dar um refresh no objeto depois de arrastar!\n\n\n\nObrigado", "time": "14:27", "topic": "BTNBMP design ?", "username": "FWHISHOW" } ]
BTNBMP design ?
[ { "date": "2007-12-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Prueba a usar oSay:bLButtonUp = { || ... }", "time": "14:59", "topic": "BTNBMP design ?", "username": "Antonio Linares" } ]
BTNBMP design ?
[ { "date": "2007-12-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Obrigado Antonio, mais não funcionou!\n\n\n for i:=1 to len(PoBtc)\n @ lin,col say PoBtc[i] OF oWndp DESIGN PIXEL SIZE 100,20 BORDER\n PoBtc[i]:bLButtonUp = { || PoBtc[i]:refresh(),msg(\"aqui\") }\n next\n\n\nGrato", "time": "17:02", "topic": "BTNBMP design ?", "username": "FWHISHOW" } ]
BTNBMP design ?
[ { "date": "2007-12-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Asi no lo puedes hacer. Tienes que usar \"detached locals\":\n[code:2dimuw6f]\nfor i&#58;=1 to len&#40;PoBtc&#41; \n @ lin,col say PoBtc&#91;i&#93; OF oWndp DESIGN PIXEL SIZE 100,20 BORDER \n PoBtc&#91;i&#93;&#58;bLButtonUp = GenBlock&#40; PoBtc, i &#41;\nnext \n&#46;&#46;&#46;\nstatic function GenBlock&#40; PoBtc, i &#41;\n\nreturn &#123; || PoBtc&#91; i &#93;&#58;Refresh&#40;&#41;, MsgInfo&#40; \"aqui\" &#41; &#125;\n[/code:2dimuw6f]", "time": "20:12", "topic": "BTNBMP design ?", "username": "Antonio Linares" } ]
BTNBMP design ?
[ { "date": "2007-12-12", "forum": "FiveWin para Harbour/xHarbour", "text": "desculpe Antonio mais também não funciona!\n\nObrigado", "time": "20:40", "topic": "BTNBMP design ?", "username": "FWHISHOW" } ]
BTNBMP design ?
[ { "date": "2007-12-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Pruébalo así:\n[code:hcqwtbzg]\nfor i&#58;=1 to len&#40;PoBtc&#41; \n @ lin,col say PoBtc&#91;i&#93; PROMPT \"say\" OF oWndp DESIGN PIXEL SIZE 100,20 BORDER \n PoBtc&#91;i&#93;&#58;bLButtonUp = GenBlock&#40; PoBtc, i &#41; \n PoBtc&#91;i&#93;&#58;lWantClick = &#46;T&#46; \nnext \n&#46;&#46;&#46; \nstatic function GenBlock&#40; PoBtc, i &#41; \n\nreturn &#123; || PoBtc&#91; i &#93;&#58;Refresh&#40;&#41;, MsgInfo&#40; \"aqui\" &#41; &#125;\n[/code:hcqwtbzg]", "time": "22:19", "topic": "BTNBMP design ?", "username": "Antonio Linares" } ]
BTNBMP design ?
[ { "date": "2007-12-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Mais uma vez me desculpe, ainda não funciona! Acredito que seja algo com o objeto say.\n\n\n\nObrigado!", "time": "11:13", "topic": "BTNBMP design ?", "username": "FWHISHOW" } ]
BTNBMP design ?
[ { "date": "2007-12-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Tienes que hacer una modificación en la Clase TControl para poder procesar bLButtonUp estando en modo diseño:\n[code:2sru0f0q]\nMETHOD LButtonUp&#40; nRow, nCol, nKeyFlags &#41; CLASS TControl\n&#46;&#46;&#46;\n if GetFocus&#40;&#41; != &#58;&#58;hWnd\n SetFocus&#40; &#58;&#58;hWnd &#41;\n endif\n if ! Empty&#40; &#58;&#58;bLButtonUp &#41; // Nuevo!\n Eval&#40; &#58;&#58;bLButtonUp, nRow, nCol, nKeyFlags, Self &#41; // Nuevo! \n endif // Nuevo!\n return 0\n&#46;&#46;&#46;\n[/code:2sru0f0q]", "time": "11:59", "topic": "BTNBMP design ?", "username": "Antonio Linares" } ]
BTNBMP design ?
[ { "date": "2007-12-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Perfeito Antonio... Funcionou perfeitamente!\n\nEstas correções já estão na nova versão do FW?\n\nMuito Obrigado!", "time": "13:02", "topic": "BTNBMP design ?", "username": "FWHISHOW" } ]
BTNBMP design ?
[ { "date": "2007-12-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Olá Antonio,\n\nNo meu caso, uso assim e funciona perfeitamente.\n\n[code:17mjlki6]\n&#46;&#46;&#46;\n if GetFocus&#40;&#41; != &#58;&#58;hWnd\n SetFocus&#40; &#58;&#58;hWnd &#41;\n endif\n** return 0 <<-- Tirar esta linha\nendif\n\nreturn Super&#58;LButtonUp&#40; nRow, nCol, nKeyFlags &#41;\n[/code:17mjlki6]\n\nIsto estaria correto também ?\n\nAbraços,\n\nRossine.", "time": "16:24", "topic": "BTNBMP design ?", "username": "Rossine" } ]
BTNBMP design ?
[ { "date": "2007-12-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Rossine,\n\n> Isto estaria correto também ? \n\nNo, porque en la Clase TWindow se vuelve a evaluar.\n\nPor eso hay que usar return 0, para que no se llame a Super:LButtonUp", "time": "17:08", "topic": "BTNBMP design ?", "username": "Antonio Linares" } ]
BTNBMP design ?
[ { "date": "2007-12-15", "forum": "FiveWin para Harbour/xHarbour", "text": "OK Antonio <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) --> \n\nObrigado pela explicação.\n\nRossine.", "time": "19:15", "topic": "BTNBMP design ?", "username": "Rossine" } ]
BTNBMP design ?
[ { "date": "2009-11-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Antonio...\nEstoy utilizando Windows 7 y al igual que wn Windows Vista los botones de la clase BTNBMP, cuando estan en modo disable() se ven algo grotescos... alguna manera de definirlos con mejos aspecto??\nSalu2\n\n<!-- m --><a class=\"postlink\" href=\"http://www.servidor-imagenes.com/show-image.php?id=83e65bbf35150b20c1dad062d8faf037\">http://www.servidor-imagenes.com/show-i ... 62d8faf037</a><!-- m -->", "time": "15:14", "topic": "BTNBMP disable se ve algo grotesco con W7", "username": "Willi Quintana" } ]
BTNBMP disable se ve algo grotesco con W7
[ { "date": "2009-11-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Has probado usarlos transparente o si seria posible usarlo con 2 bitmaps, 1 cuando esta activo y otro disable..? nose, es una idea que se me viene a mente, lo que no se es si permite eso, al igual que en programacion web que se puede poner hasta 3 imagenes, 1 activo, 1 disable y 1 pulsada, asi se emula un efecto, esperemos que dice A.L. saludos... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->", "time": "15:57", "topic": "BTNBMP disable se ve algo grotesco con W7", "username": "joseluisysturiz" } ]
BTNBMP disable se ve algo grotesco con W7
[ { "date": "2009-11-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Willi,\n\nQue versión de Windows usabas anteriormente y como se veian en ella ?\n\nCoincido contigo en que deberian verse en una escala de grises y no tan planos", "time": "16:06", "topic": "BTNBMP disable se ve algo grotesco con W7", "username": "Antonio Linares" } ]
BTNBMP disable se ve algo grotesco con W7
[ { "date": "2009-11-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Willi, no es solo en W7 también en Vista y XP\n\nSe tiene que tener 4 imagenes, o repetir alguna\n[code=fw:215mm9eb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp;@<span style=\"color: #000000;\">15</span>,<span style=\"color: #000000;\">15</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"Bot_Enable\"</span>,<span style=\"color: #ff0000;\">\"Bot_Presionado\"</span>,<span style=\"color: #ff0000;\">\"Bot_Disable\"</span>,<span style=\"color: #ff0000;\">\"Bot_MouseOver\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">20</span>,<span style=\"color: #000000;\">20</span> NOBORDER <span style=\"color: #0000ff;\">ACTION</span> Funcion<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">When</span> lPuede<br />&nbsp;</div>[/code:215mm9eb]\nCon PROMPT funciona perfecto\n\nSaludos\n\nAdhemar", "time": "16:29", "topic": "BTNBMP disable se ve algo grotesco con W7", "username": "acuellar" } ]
BTNBMP disable se ve algo grotesco con W7
[ { "date": "2009-11-06", "forum": "FiveWin para Harbour/xHarbour", "text": "HOla Antonio,,,,\nAntes usaba Windows XP, ahora tengo W7 en la portatil,,, probe en otra con XP y los botones se ven asi:\n\n<!-- m --><a class=\"postlink\" href=\"http://www.servidor-imagenes.com/show-image.php?id=8c96a8d21d76b22fdb895e531a0eb217\">http://www.servidor-imagenes.com/show-i ... 531a0eb217</a><!-- m -->\ncomo observaran, se puede leer el texto y la imagen en si es mas definida\n\nSalu2", "time": "16:50", "topic": "BTNBMP disable se ve algo grotesco con W7", "username": "Willi Quintana" } ]
BTNBMP disable se ve algo grotesco con W7
[ { "date": "2009-11-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Adhemar, \nTome tu sugerencia , puse 4 bitmaps (repeti una imagen) y el resultado con el boton disabled() es el siguiente:\n(RESOURCE \"CAMA0\", \"CAMA0\", \"CAMA0\", \"CAMA0\" TOP NOBORDER)\n\n<!-- m --><a class=\"postlink\" href=\"http://www.servidor-imagenes.com/show-image.php?id=5c1e75a5821213c9a4e0ca31b892bff2\">http://www.servidor-imagenes.com/show-i ... 31b892bff2</a><!-- m -->\n\nlo que va en gris es solo el texto (PROMPT) la imagen sigue a color,,,\n\nSalu2", "time": "17:00", "topic": "BTNBMP disable se ve algo grotesco con W7", "username": "Willi Quintana" } ]
BTNBMP disable se ve algo grotesco con W7
[ { "date": "2009-11-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Willi\nEl Fivewin hasta la version 9.04 tenia una falla en el Fivewin.ch, fue descubierta por Manuel Mercado, en las versiones superior ya está corregido por Antonio.\n\nTiene que estar asi:\n[code=fw:1e0bv7sf]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />#xcommand <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> <span style=\"color: #000000;\">&#91;</span><oBtn><span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">ID</span> <nId> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <bar: <span style=\"color: #0000ff;\">OF</span>, <span style=\"color: #0000ff;\">BUTTONBAR</span> > <oBar> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <resource: <span style=\"color: #0000ff;\">NAME</span>, <span style=\"color: #0000ff;\">RESNAME</span>, RESOURCE> <cResName1> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#91;</span>,<cResName2><span style=\"color: #000000;\">&#91;</span>,<cResName3><span style=\"color: #000000;\">&#91;</span>,<cResName4><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#93;</span>; &nbsp; <span style=\"color: #B900B9;\">//Aqui tenía la falla</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <file: <span style=\"color: #000000;\">FILE</span>, FILENAME, DISK> <cBmpFile1> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span>,<cBmpFile2><span style=\"color: #000000;\">&#91;</span>,<cBmpFile3><span style=\"color: #000000;\">&#91;</span>,<cBmpFile4><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <action:<span style=\"color: #0000ff;\">ACTION</span>,EXEC,<span style=\"color: #0000ff;\">ON</span> CLICK> <uAction,...> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">MESSAGE</span> <cMsg> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <adjust: <span style=\"color: #0000ff;\">ADJUST</span> > <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">WHEN</span> <uWhen> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <lUpdate: <span style=\"color: #000000;\">UPDATE</span>> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> TOOLTIP <cToolTip> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">PROMPT</span> <cPrompt> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">FONT</span> <oFont> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <lNoBorder: <span style=\"color: #000000;\">NOBORDER</span>> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <layout: <span style=\"color: #0000ff;\">CENTER</span>, TOP, <span style=\"color: #0000ff;\">LEFT</span>, BOTTOM, RIGHT> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <l2007: <span style=\"color: #000000;\">2007</span>> <span style=\"color: #000000;\">&#93;</span> ; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <lTrans: <span style=\"color: #000000;\">TRANSPARENT</span>> <span style=\"color: #000000;\">&#93;</span> ; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; => ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <oBtn> := <span style=\"color: #000000;\">&#93;</span> TBtnBmp<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">ReDefine</span><span style=\"color: #000000;\">&#40;</span> <nId>, <cResName1>, <cResName2>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <cBmpFile1>, <cBmpFile2>, <cMsg>, <span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">&#123;</span>|Self|<uAction><span style=\"color: #000000;\">&#125;</span><span style=\"color: #000000;\">&#93;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <oBar>, <.<span style=\"color: #0000ff;\">adjust</span>.>, <<span style=\"color: #000000;\">&#123;</span>uWhen<span style=\"color: #000000;\">&#125;</span>>, <.lUpdate.>, <cToolTip>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <cPrompt>, <oFont>, <span style=\"color: #000000;\">&#91;</span><cResName3><span style=\"color: #000000;\">&#93;</span>, <span style=\"color: #000000;\">&#91;</span><cBmpFile3><span style=\"color: #000000;\">&#93;</span>, <span style=\"color: #000000;\">&#91;</span>!<.lNoBorder.><span style=\"color: #000000;\">&#93;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#91;</span> Upper<span style=\"color: #000000;\">&#40;</span><<span style=\"color: #000000;\">&#40;</span>layout<span style=\"color: #000000;\">&#41;</span>><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#93;</span>, <.l2007.>,<span style=\"color: #000000;\">&#91;</span><cResName4><span style=\"color: #000000;\">&#93;</span>, <span style=\"color: #000000;\">&#91;</span><cBmpFile4><span style=\"color: #000000;\">&#93;</span>, <.lTrans.> <span style=\"color: #000000;\">&#41;</span><br />&nbsp;<br />&nbsp;</div>[/code:1e0bv7sf]\n\nSaludos\n\nAdhemar", "time": "20:11", "topic": "BTNBMP disable se ve algo grotesco con W7", "username": "acuellar" } ]
BTNBMP disable se ve algo grotesco con W7
[ { "date": "2009-02-14", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola, Antonio:\n\nEL siguiente código en Delphi puede ser de utilidad para que tBtnBmp dibuje los botones deshabilitados, sin necesidad de tener que crear imágenes adicionales.\n\nFuente: <!-- m --><a class=\"postlink\" href=\"http://www.scalabium.com/faq/dct0137.htm\">http://www.scalabium.com/faq/dct0137.htm</a><!-- m -->\n\n\n[quote:1qaj0872][/quote:1qaj0872]\nYou can use the next my CreateDisabledBitmap procedure where such \"disabled\" bitmap (Destination parameter) will be created from your original bitmap (Source).\n\nprocedure CreateDisabledBitmap(Source, Destination: TBitmap);\nconst\n ROP_DSPDxax = $00E20746;\nvar\n DDB, MonoBmp: TBitmap;\n IWidth, IHeight: Integer;\n IRect: TRect;\nbegin\n IWidth := Source.Width;\n IHeight := Source.Height;\n\n Destination.Width := IWidth;\n Destination.Height := IHeight;\n IRect := Rect(0, 0, IWidth, IHeight);\n Destination.Canvas.Brush.Color := clBtnFace;\n Destination.Palette := CopyPalette(Source.Palette);\n MonoBmp := nil;\n DDB := nil;\n try\n MonoBmp := TBitmap.Create;\n DDB := TBitmap.Create;\n DDB.Assign(Source);\n DDB.HandleType := bmDDB;\n\n { Create a disabled version }\n with MonoBmp do\n begin\n Assign(Source);\n HandleType := bmDDB;\n Canvas.Brush.Color := clBlack;\n Width := IWidth;\n if Monochrome then\n begin\n Canvas.Font.Color := clWhite;\n Monochrome := False;\n Canvas.Brush.Color := clWhite;\n end;\n Monochrome := True;\n end;\n with Destination.Canvas do\n begin\n Brush.Color := clBtnFace;\n FillRect(IRect);\n Brush.Color := clBtnHighlight;\n SetTextColor(Handle, clBlack);\n SetBkColor(Handle, clWhite);\n BitBlt(Handle, 1, 1, IWidth, IHeight,\n MonoBmp.Canvas.Handle, 0, 0, ROP_DSPDxax);\n Brush.Color := clBtnShadow;\n SetTextColor(Handle, clBlack);\n SetBkColor(Handle, clWhite);\n BitBlt(Handle, 0, 0, IWidth, IHeight,\n MonoBmp.Canvas.Handle, 0, 0, ROP_DSPDxax);\n end;\n finally\n DDB.Free;\n MonoBmp.Free;\n end;\n Source.Dormant;\nend;\n\nSample of use:\n\nprocedure TfrmMain.ButtonClick(Sender: TObject);\nvar\n Destination: TBitmap;\nbegin\n Destination := TBitmap.Create;\n try\n CreateDisabledBitmap(Image1.Picture.Bitmap, Destination);\n Image2.Picture.Bitmap.Assign(Destination);\n finally\n Destination.Free\n end\nend;\nwhere Image1 is TImage where you have an original bitmap and TImage2 will a container for created disabled bitmap\n\n[quote:1qaj0872][/quote:1qaj0872]", "time": "01:49", "topic": "BTNBMP disabled", "username": "César E. Lozada" } ]
BTNBMP disabled
[ { "date": "2009-02-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Cesar,\n\nFWH proporciona las siguientes funciones:\n\nDRAWGRAYED( hDC, hBitmap, nRow, nCol ) // dibuja el bitmap en gris entramado\nDRAWGRAY( hDC, hBitmap, nRow, nCol ) // dibuja el bitmap en tonos de grises", "time": "15:09", "topic": "BTNBMP disabled", "username": "Antonio Linares" } ]
BTNBMP disabled
[ { "date": "2007-10-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio, utilizei a classe BTNBMP para colocar varios botões em uma WINDOW, e criei um segundo PRG, onde o usuário poderá desenhar a posição dos botões. Para isso utilizo a clausula DESIGN.\n\nPorém, acontece que a classe BTNBMP não aceita DESIGN, sendo assim tive que usar a classe BUTTONBMP para desenhar, ficou perfeito, a não pelas coordenadas (ntop,nleft,nWidth,nHeight) que parece ser diferentes em ambas as classes, resultando em diferenças de posicionamento.\n\nGrato Antonio\n\nAoki", "time": "14:11", "topic": "BTNBMP e BUTTONBMP nTop - nLeft ???", "username": "AOKISANTOS" } ]
BTNBMP e BUTTONBMP nTop - nLeft ???
[ { "date": "2020-06-07", "forum": "FiveWin for Harbour/xHarbour", "text": "[code=fw:8xwxnkym]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Error description: <span style=\"color: #000000;\">Error</span> BASE/<span style=\"color: #000000;\">1004</span> &nbsp;Metodo non disponibile: <span style=\"color: #000000;\">END</span><br />&nbsp; &nbsp;Args:<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> &nbsp; <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> = U &nbsp; <br /><br />Stack Calls<br />===========<br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: &nbsp;=> END<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">BTNBMP</span>.PRG => TBTNBMP:<span style=\"color: #000000;\">SHOWPOPUP</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2083</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">source</span>\\spiaggia\\PSpiaggia.prg => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>LOAD_BEACH<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">427</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">BTNBMP</span>.PRG => TBTNBMP:<span style=\"color: #0000ff;\">CLICK</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">705</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">BTNBMP</span>.PRG => TBTNBMP:<span style=\"color: #000000;\">LBUTTONUP</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">991</span> <span style=\"color: #000000;\">&#41;</span></div>[/code:8xwxnkym]\n\nI had already found this error and sent it to Nages and Antonio but it is evident that in the new fwh package the error was not corrected ... why ?", "time": "18:01", "topic": "BTNBMP error", "username": "Silvio.Falconi" } ]
BTNBMP error
[ { "date": "2020-06-08", "forum": "FiveWin for Harbour/xHarbour", "text": "So far we never noticed this error with any of our own programs.\nCan you post a sample with a single button to reproduce this error?", "time": "04:01", "topic": "BTNBMP error", "username": "nageswaragunupudi" } ]
BTNBMP error
[ { "date": "2020-06-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Nages,\nI notices you on 27/07/2019 with a sample test , you told me that you had found the error and you would have sent the change, but I never knew anything again and on 07/10/2019\nI sent Antonio the changes for the showpopup method. I was hoping that the changes had been included in the new package so by compiling the application\nI was sure that the error did not come out, instead yesterday evening the error came out inexplicably and then after I checked the tbtnbmp class \nand I realized that the changes were not been inserted.\nI can't insert a minimal test here because for a number of things the problem probably comes up sometimes.\nI sent you a rar compress file via wetransfer on 28 july 2019 with some src\nPerhaps I can found the test or I must recreate it for you", "time": "09:28", "topic": "BTNBMP error", "username": "Silvio.Falconi" } ]
BTNBMP error
[ { "date": "2020-06-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Silvio,\n\nPlease try to disable the button after the user clicks on it to avoid duplicated clicking", "time": "06:32", "topic": "BTNBMP error", "username": "Antonio Linares" } ]
BTNBMP error
[ { "date": "2020-06-09", "forum": "FiveWin for Harbour/xHarbour", "text": "with disable/ enable ?\non menupopup ?\nI think it is impossible to do\nthe error sometimes go out no always", "time": "12:21", "topic": "BTNBMP error", "username": "Silvio.Falconi" } ]
BTNBMP error
[ { "date": "2017-11-26", "forum": "FiveWin for Harbour/xHarbour", "text": "In bGradient, we can specify solid colors also like:\n\nbClrGrad := { |lMouseOver| If( lMouseOver, CLR_HRED, { { 1, CLR_BLUE, CLR_WHITE } } ) }", "time": "15:30", "topic": "BTNBMP from resource missing command COLOR ?", "username": "nageswaragunupudi" } ]
BTNBMP from resource missing command COLOR ?
[ { "date": "2017-11-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nwhy there is no [color=#0000FF:1fl1kupt][b:1fl1kupt]COLOR[/b:1fl1kupt][/color:1fl1kupt] defined in BTNBMP from resource ?\n\n#xcommand REDEFINE BTNBMP [<oBtn>] ;\n ...\n....\n[ GRADIENT <bGradColors> ];\n[color=#FF0000:1fl1kupt]???????????[/color:1fl1kupt]\n[ <lGDIP: GDIP, GDIPLUS> ];\n\n------------------\n\n#xcommand @ <nRow>, <nCol> BTNBMP [<oBtn>] ;\n[ GRADIENT <bGradColors> ];\n[color=#0040FF:1fl1kupt][b:1fl1kupt][ COLOR <nClrFore> [,<nClrBack>] ] ;[/b:1fl1kupt][/color:1fl1kupt]\n[ <pixel: PIXEL> ] ;\n[ <design: DESIGN> ] ;\n[ <lGDIP: GDIP, GDIPLUS> ];\n\n[b:1fl1kupt]Question 2[/b:1fl1kupt]\n\nhow to change the color ( NO gradient ) on mouseover ?\nI couldn't find any sample.\n\nfor gradient it works ( using vars from a dbf ) like\n\nGRADIENT { | lMouseOver | If( ! lMouseOver,;\n{ { nBPos[5], nBColA1[5], nBColB1[5] }, ;\n{ nBPos[5], nBColB1[5], nBColA1[5] } }, ;\n{ { nBPos[5], nBColA2[5], nBColB2[5] }, ;\n{ nBPos[5], nBColB2[5], nBColA2[5] } } ) } UPDATE\n\nI want a colorchange in buttonline 2 like for gradient in buttonline 1\n( define and adjusing colors of buttongroups )\nROUND only works with style 2007 ?\n\nfor buttonline 2\nI can use GRADIENT { | lMouseOver | If( ! lMouseOver,;\nwith only 2 colors but maybe there is another solution.\n\n[img:1fl1kupt]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Btnbmp10&#46;jpg[/img:1fl1kupt]\n\nregards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->", "time": "19:37", "topic": "BTNBMP from resource missing command COLOR ?", "username": "ukoenig" } ]
BTNBMP from resource missing command COLOR ?