messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2008-05-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\r\n\r\nIt will be that in version 8.06 he is ready <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: --> ?", "time": "21:47", "topic": "ButtonBmp and 2007 look", "username": "vilian" } ]
ButtonBmp and 2007 look
[ { "date": "2008-05-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Vilian,\r\n\r\nIts is not ready yet", "time": "00:05", "topic": "ButtonBmp and 2007 look", "username": "Antonio Linares" } ]
ButtonBmp and 2007 look
[ { "date": "2008-05-27", "forum": "FiveWin for Harbour/xHarbour", "text": "We modified the btnbmp class with office 2007 effect\r\n\r\n( Silver, Magenta, Blue)\r\n\r\nit is compatible with btnbmp fivetech class \r\n\r\nsend a mesage to private email pls", "time": "15:05", "topic": "ButtonBmp and 2007 look", "username": "Silvio" } ]
ButtonBmp and 2007 look
[ { "date": "2008-05-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Silvio,\r\n\r\nNot yet I received! You sent?", "time": "15:42", "topic": "ButtonBmp and 2007 look", "username": "vilian" } ]
ButtonBmp and 2007 look
[ { "date": "2008-05-29", "forum": "FiveWin for Harbour/xHarbour", "text": "I sent you a message \r\nWe decide to sale our classes :\r\n\r\nthis is the price list ( May08):\r\n\r\nBtnBmp 2007 €49,00\r\nTPaintTitle €49,00\r\nTTabs2007 €49,00\r\n\r\n\r\nBundle 2 classes €79,00\r\nBundle 3 classes €129,00\r\n\r\nAll classes with source code Samples code and Help file", "time": "17:10", "topic": "ButtonBmp and 2007 look", "username": "Silvio" } ]
ButtonBmp and 2007 look
[ { "date": "2009-04-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Realmente bonito <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\n[img:1w8p46yx]http&#58;//img13&#46;imageshack&#46;us/img13/7906/38354905&#46;png[/img:1w8p46yx]", "time": "12:54", "topic": "ButtonBmp con soporte de alpha channel bitmaps!", "username": "Antonio Linares" } ]
ButtonBmp con soporte de alpha channel bitmaps!
[ { "date": "2009-04-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Antonio,\n\nHay forma de poner estos Bitmaps en un archivo de recursos o Una Dll", "time": "22:18", "topic": "ButtonBmp con soporte de alpha channel bitmaps!", "username": "pablovidal" } ]
ButtonBmp con soporte de alpha channel bitmaps!
[ { "date": "2009-04-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Pablo,\n\nSi, se pueden poner en un archivo de recursos de la forma usual:\n\nbutton BITMAP \"../bitmaps/AlphaBmp/ichat.bmp\"\n\nEl problema es que el compilador de recursos de Borland no los sabe manejar bien y genera este error:\n\n\"Invalid bitmap format\"\n\nSe soluciona usando el compilador de recursos de Microsoft, de esta forma:\nrc.exe -r -d__FLAT__ test.rc\n\nEn FWH\\samples\\buildh.bat y buildx.bat, asi:\nIF EXIST %1.rc %vcdir%\\bin\\rc -r -d__FLAT__ %1", "time": "09:12", "topic": "ButtonBmp con soporte de alpha channel bitmaps!", "username": "Antonio Linares" } ]
ButtonBmp con soporte de alpha channel bitmaps!
[ { "date": "2009-04-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Podeis descargar el compilador de recursos de Microsoft desde aqui:\n<!-- m --><a class=\"postlink\" href=\"http://www.mediafire.com/?sharekey=414c17b7b136abb70f83d91f6dff7c38a5bbce2ec52d8c11b8eada0a1ae8665a\">http://www.mediafire.com/?sharekey=414c ... 0a1ae8665a</a><!-- m -->\n\nMicrosoft lo incluye en todas las versiones demo de MSVC.", "time": "09:24", "topic": "ButtonBmp con soporte de alpha channel bitmaps!", "username": "Antonio Linares" } ]
ButtonBmp con soporte de alpha channel bitmaps!
[ { "date": "2009-04-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio, Pablo.\nNo se si estamos hablando de lo mismo, pero yo he incluido bitmaps del tipo Alpha en mi archivo de recursos .rc , y los compilo con el compilado de recursos de Borland, sin ningún problema.\nLos defino de esta forma en el archivo .rc\n\n[code=fw:2m9wbasj]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />ABMP01 ALPHABITMAP <span style=\"color: #ff0000;\">\"C:<span style=\"color: #000000;\">\\s</span>istema<span style=\"color: #000000;\">\\i</span>nclude<span style=\"color: #000000;\">\\b</span>mps<span style=\"color: #000000;\">\\u</span>ser_add_ab.bmp\"</span><br /> </div>[/code:2m9wbasj]\n\nY no tengo ningún mensaje de error.\n\nEspero les sirva.\n\nCarlos Sincuir.", "time": "20:49", "topic": "ButtonBmp con soporte de alpha channel bitmaps!", "username": "csincuir" } ]
ButtonBmp con soporte de alpha channel bitmaps!
[ { "date": "2009-04-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Carlos,\n\ngracias! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "23:45", "topic": "ButtonBmp con soporte de alpha channel bitmaps!", "username": "Antonio Linares" } ]
ButtonBmp con soporte de alpha channel bitmaps!
[ { "date": "2009-04-13", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"csincuir\":3v277ta2]Antonio, Pablo.\nNo se si estamos hablando de lo mismo, pero yo he incluido bitmaps del tipo Alpha en mi archivo de recursos .rc , y los compilo con el compilado de recursos de Borland, sin ningún problema.\nLos defino de esta forma en el archivo .rc\n\n[code=fw:3v277ta2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />ABMP01 ALPHABITMAP <span style=\"color: #ff0000;\">\"C:<span style=\"color: #000000;\">\\s</span>istema<span style=\"color: #000000;\">\\i</span>nclude<span style=\"color: #000000;\">\\b</span>mps<span style=\"color: #000000;\">\\u</span>ser_add_ab.bmp\"</span><br /> </div>[/code:3v277ta2]\n\nY no tengo ningún mensaje de error.\n\nEspero les sirva.\n\nCarlos Sincuir.[/quote:3v277ta2]\n\nEstimado Mr.Carlos,\n\nEsa es una gran nueva actualización. Yo era de la impresión de que el compilador de recursos de Borland no puede compilar. AlphaChannel RC archivos que contienen mapas de bits. Debido a esta razón por la que estaba utilizando PellesC como compilador de recursos.\n\nMuchas gracias\n\nSaludos\n\nAnser", "time": "08:49", "topic": "ButtonBmp con soporte de alpha channel bitmaps!", "username": "anserkk" } ]
ButtonBmp con soporte de alpha channel bitmaps!
[ { "date": "2009-04-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola a todos.\nQue bueno que fue de utilidad esta opción. Se me olvido comentar que el BRC \"Borland Resource Workshop\", puede abrir estos archivo .rc con estas definiciones, pero no puede editar los .bmp, hay que hacerlo con un editor de imagenes aparte.\n\nPor último solo comentar que que esta opción la aprendí de Fernando Mancera.\n\nSaludos cordiales.\n\nCarlos.", "time": "14:51", "topic": "ButtonBmp con soporte de alpha channel bitmaps!", "username": "csincuir" } ]
ButtonBmp con soporte de alpha channel bitmaps!
[ { "date": "2009-04-30", "forum": "FiveWin para Harbour/xHarbour", "text": "Saludos.\n\nHe revisado, la sintaxis que corresponde al ButtonBmp en el archivo fivewin.ch\n\n[code=fw:3l1bxscy]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">REDEFINE</span> BUTTONBMP <span style=\"color: #000000;\">&#91;</span> <oBtn> <span style=\"color: #000000;\">&#93;</span> ;<br />             <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">ID</span> <nId> <span style=\"color: #000000;\">&#91;</span> <of:<span style=\"color: #0000ff;\">OF</span>, <span style=\"color: #0000ff;\">WINDOW</span>, DIALOG> <oDlg> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#93;</span> ;<br />             <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">ACTION</span> <uAction,...> <span style=\"color: #000000;\">&#93;</span> ;<br />             <span style=\"color: #000000;\">&#91;</span> <help:<span style=\"color: #0000ff;\">HELP</span>, HELPID, <span style=\"color: #0000ff;\">HELP</span> ID> <nHelpId> <span style=\"color: #000000;\">&#93;</span> ;<br />             <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">MESSAGE</span> <cMsg> <span style=\"color: #000000;\">&#93;</span> ;<br />             <span style=\"color: #000000;\">&#91;</span> <update: <span style=\"color: #000000;\">UPDATE</span>> <span style=\"color: #000000;\">&#93;</span> ;<br />             <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">WHEN</span> <WhenFunc> <span style=\"color: #000000;\">&#93;</span> ;<br />             <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">VALID</span> <uValid> <span style=\"color: #000000;\">&#93;</span> ;<br />             <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">PROMPT</span> <cPrompt> <span style=\"color: #000000;\">&#93;</span> ;<br />             <span style=\"color: #000000;\">&#91;</span> <lCancel: <span style=\"color: #000000;\">CANCEL</span>> <span style=\"color: #000000;\">&#93;</span> ;<br />             <span style=\"color: #000000;\">&#91;</span> BITMAP <cBitmap> <span style=\"color: #000000;\">&#93;</span> ;<br />             <span style=\"color: #000000;\">&#91;</span> <cPostext: <span style=\"color: #000000;\">TEXTTOP</span>, TEXTBOTTOM, TEXTLEFT, TEXTRIGHT> <span style=\"color: #000000;\">&#93;</span> ;<br />             <span style=\"color: #000000;\">&#91;</span> TOOLTIP <cToolTip> <span style=\"color: #000000;\">&#93;</span></div>[/code:3l1bxscy]\n\n[b:3l1bxscy][ BITMAP <cBitmap> ][/b:3l1bxscy]\n\nY si no me equivoco para hacer referencia al archivo BITMAP solo corresponde a la descripcion del archivo no para recursos, no se si estoy equivocado, me corrigen por favor.\nPorque el BTNBMP si lo tiene contenido en la sintaxis:\n[code=fw:3l1bxscy]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">#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 />             <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">ID</span> <nId> <span style=\"color: #000000;\">&#93;</span> ;<br />             <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 />             <span style=\"color: #000000;\">&#91;</span> <resource: <span style=\"color: #0000ff;\">NAME</span>, <span style=\"color: #0000ff;\">RESNAME</span>, RESOURCE> <cResName1>;<br />             <span style=\"color: #000000;\">&#91;</span>,<cResName2><span style=\"color: #000000;\">&#91;</span>,<cResName3><span style=\"color: #000000;\">&#93;</span><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> ;<br />             <span style=\"color: #000000;\">&#91;</span> <file: <span style=\"color: #000000;\">FILE</span>, FILENAME, DISK> <cBmpFile1> ;<br />             <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 />             <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 />             <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">MESSAGE</span> <cMsg> <span style=\"color: #000000;\">&#93;</span> ;<br />             <span style=\"color: #000000;\">&#91;</span> <adjust: <span style=\"color: #0000ff;\">ADJUST</span> > <span style=\"color: #000000;\">&#93;</span> ;<br />             <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">WHEN</span> <uWhen> <span style=\"color: #000000;\">&#93;</span> ;<br />             <span style=\"color: #000000;\">&#91;</span> <lUpdate: <span style=\"color: #000000;\">UPDATE</span>> <span style=\"color: #000000;\">&#93;</span> ;<br />             <span style=\"color: #000000;\">&#91;</span> TOOLTIP <cToolTip> <span style=\"color: #000000;\">&#93;</span> ;<br />             <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">PROMPT</span> <cPrompt> <span style=\"color: #000000;\">&#93;</span> ;<br />             <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">FONT</span> <oFont> <span style=\"color: #000000;\">&#93;</span> ;<br />             <span style=\"color: #000000;\">&#91;</span> <lNoBorder: <span style=\"color: #000000;\">NOBORDER</span>> <span style=\"color: #000000;\">&#93;</span> ;<br />             <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 />             <span style=\"color: #000000;\">&#91;</span> <l2007: <span style=\"color: #000000;\">2007</span>> <span style=\"color: #000000;\">&#93;</span> ; <br />             <span style=\"color: #000000;\">&#91;</span> <lTrans: <span style=\"color: #000000;\">TRANSPARENT</span>> <span style=\"color: #000000;\">&#93;</span> ;             <br /> </div>[/code:3l1bxscy]\n\n[b:3l1bxscy][ <resource: NAME, RESNAME, RESOURCE> <cResName1>[/b:3l1bxscy] \n\nY por otro lado tambien los aceleradores (hotkeys) no me funcionan correctamente (no desencadenan la accion del boton) perdon po insistir con este detalle, pero es que queria hacer uso de este aspecto, pero mi intencion que con la actualizacion a FWH 9.04; mis clientes hicieran uso de esos cambios tan buenos en estas clases.\n\nSaludos desde Honduras", "time": "01:35", "topic": "ButtonBmp con soporte de alpha channel bitmaps!", "username": "Blessed" } ]
ButtonBmp con soporte de alpha channel bitmaps!
[ { "date": "2006-03-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Holas,\n\nhe intentado compilar las modificaciones de Rossini a la clase Button pero sin exito, logro compilar Button.prg + Buttonb.prg mas el ejemplo Testbubm.prg pero al querer correr el pubto exe me da el error \"No se puede iniciar la aplicacion porque su configuracion es incorrecta\"\n\nEstoy utilizando xHarbour .99.5 FWH 2.6 Abril BCC, alguna sugerencia, o el entorno que dispongo no es copatible?\n\nsaludos\n\nMarcelo", "time": "14:44", "topic": "ButtonBmp de Rossini", "username": "Marcelo Via Giglio" } ]
ButtonBmp de Rossini
[ { "date": "2006-03-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Olá Marcelo,\n\nAqui está o link para a classe button: <!-- m --><a class=\"postlink\" href=\"http://geocities.yahoo.com.br/qiinformatica2000/BUTTON.ZIP\">http://geocities.yahoo.com.br/qiinforma ... BUTTON.ZIP</a><!-- m -->\n\ne aqui para a classe folder:\n<!-- m --><a class=\"postlink\" href=\"http://geocities.yahoo.com.br/qiinformatica2000/FOLDER.ZIP\">http://geocities.yahoo.com.br/qiinforma ... FOLDER.ZIP</a><!-- m -->\n\nTente com estes,\n\nAbraços,\n\nRossine.", "time": "18:28", "topic": "ButtonBmp de Rossini", "username": "Rossine" } ]
ButtonBmp de Rossini
[ { "date": "2006-03-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Rossini,\n\nprobe el button bmp, y funciono perfectamente, gracias\n\nun abrazo\n\nMarcelo\n\n[quote=\"Rossine\":2nwmicoa]Olá Marcelo,\n\nAqui está o link para a classe button: <!-- m --><a class=\"postlink\" href=\"http://geocities.yahoo.com.br/qiinformatica2000/BUTTON.ZIP\">http://geocities.yahoo.com.br/qiinforma ... BUTTON.ZIP</a><!-- m -->\n\ne aqui para a classe folder:\n<!-- m --><a class=\"postlink\" href=\"http://geocities.yahoo.com.br/qiinformatica2000/FOLDER.ZIP\">http://geocities.yahoo.com.br/qiinforma ... FOLDER.ZIP</a><!-- m -->\n\nTente com estes,\n\nAbraços,\n\nRossine.[/quote:2nwmicoa]", "time": "19:07", "topic": "ButtonBmp de Rossini", "username": "Marcelo Via Giglio" } ]
ButtonBmp de Rossini
[ { "date": "2007-05-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Could be possible to manage a control like this with fivewin ?\n\n<!-- m --><a class=\"postlink\" href=\"http://www.softwarexp.co.uk/beta/test_title.bmp\">http://www.softwarexp.co.uk/beta/test_title.bmp</a><!-- m -->\n\nThanks\n\nMarco", "time": "19:25", "topic": "ButtonBmp over Title", "username": "Marco Turco" } ]
ButtonBmp over Title
[ { "date": "2007-05-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Marco,\n\nYou may use a TBtnBmp control without border (NOBORDER)", "time": "19:29", "topic": "ButtonBmp over Title", "username": "Antonio Linares" } ]
ButtonBmp over Title
[ { "date": "2007-05-07", "forum": "FiveWin for Harbour/xHarbour", "text": "See:\n\nwww. canalfive.com\n\nJames", "time": "19:30", "topic": "ButtonBmp over Title", "username": "James Bott" } ]
ButtonBmp over Title
[ { "date": "2007-05-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi James,\nI am already working with vTitle of Canalfive and all runs fine.\n\nThe problem is that if I put a button over the vTitle control then the button will be hidden by the vTitle control.\n\nI also tried to disable the vTitle control and then I put the button on it but with this solution the button is visible but I can't press it.\n\nDid you know any solution about this ?\n\nThanks\n\nBest Regards,\n\nMarco", "time": "20:47", "topic": "ButtonBmp over Title", "username": "Marco Turco" } ]
ButtonBmp over Title
[ { "date": "2007-05-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Marco,\n\n>Did you know any solution about this ? \n\nI don't know, I have never used this control.\n\nJames", "time": "02:45", "topic": "ButtonBmp over Title", "username": "James Bott" } ]
ButtonBmp over Title
[ { "date": "2008-10-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Estoy intentando crear un buttonbmp sin borde, pero no he hallado el como......\r\n\r\nQuiero obtener un ..get .. action.. en el que el botón carezca del borde que actualmente tiene.\r\n\r\nAlguien me puede dar alguna idea, hace tiempo que ando haciendo pruebas sin resultado.\r\n\r\nGracias desde ya por vuestra ayuda.", "time": "17:04", "topic": "ButtonBmp sin borde", "username": "jose_murugosa" } ]
ButtonBmp sin borde
[ { "date": "2008-10-24", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"jose_murugosa\":3gp8baqi]Estoy intentando crear un buttonbmp sin borde, pero no he hallado el como......\n\nQuiero obtener un ..get .. action.. en el que el botón carezca del borde que actualmente tiene.\n\nAlguien me puede dar alguna idea, hace tiempo que ando haciendo pruebas sin resultado.\n\nGracias desde ya por vuestra ayuda.[/quote:3gp8baqi]\r\n\r\nLo que busco es este look\r\n\r\n[url=http&#58;//imageshack&#46;us:3gp8baqi][img:3gp8baqi]http&#58;//img227&#46;imageshack&#46;us/img227/1687/muestraqp7&#46;png[/img:3gp8baqi][/url:3gp8baqi]", "time": "00:49", "topic": "ButtonBmp sin borde", "username": "jose_murugosa" } ]
ButtonBmp sin borde
[ { "date": "2008-10-24", "forum": "FiveWin para Harbour/xHarbour", "text": "intenta hacer esto...\r\n[code:1uhsphak]\nactivate dialog on init&#40; ;\noBtn&#58;=TbtnBmp&#40;&#41;&#58;New&#40; 0, oGet&#58;nWidth - oGet&#58;nHeight, oGet&#58;nHeight - 4, aObjVar&#91; 2 &#93;&#58;nHeight - 4, \"busca\", , , ,;\n &#123;||msginfo&#40;\"prueba\"&#41;&#125;, aObjVar&#91; 2 &#93;, , , &#46;T&#46;, &#46;T&#46;, , , , , &#46;F&#46;, , &#41;,;\n oBtn&#58;lTransparent&#58;=&#46;t&#46; &#41;;\n on paint&#40; oBtn&#58;SetColor&#40; oGet&#58;nClrText, oGet&#58;nClrPane &#41; &#41;\n[/code:1uhsphak]\r\n\r\nno definas el get como buttonget... revisa que no me haya faltado ningun parametro de la TbtnBmp\r\n[img:1uhsphak]http&#58;//i485&#46;photobucket&#46;com/albums/rr217/danielgarciagil/btnTran&#46;jpg[/img:1uhsphak]", "time": "03:51", "topic": "ButtonBmp sin borde", "username": "Daniel Garcia-Gil" } ]
ButtonBmp sin borde
[ { "date": "2009-04-10", "forum": "FiveWin for Harbour/xHarbour", "text": "So nice <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\n[img:6nrkq7xg]http&#58;//img13&#46;imageshack&#46;us/img13/7906/38354905&#46;png[/img:6nrkq7xg]", "time": "12:53", "topic": "ButtonBmp with alpha channel bitmaps support!", "username": "Antonio Linares" } ]
ButtonBmp with alpha channel bitmaps support!
[ { "date": "2008-10-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Is it possible to create a ButtonBmp without border?\r\n\r\nHow would be the code?\r\n\r\nI've been working on it and I didn´t find a way to do it.\r\n\r\nThanks in advance.", "time": "17:01", "topic": "ButtonBmp without border", "username": "jose_murugosa" } ]
ButtonBmp without border
[ { "date": "2008-10-24", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"jose_murugosa\":2dntr2yx]Is it possible to create a ButtonBmp without border?\n\nHow would be the code?\n\nI've been working on it and I didn´t find a way to do it.\n\nThanks in advance.[/quote:2dntr2yx]\r\n\r\nWhat I want is to change the get.... bitmap... action.... to this look\r\n\r\n[url=http&#58;//imageshack&#46;us:2dntr2yx][img:2dntr2yx]http&#58;//img227&#46;imageshack&#46;us/img227/1687/muestraqp7&#46;png[/img:2dntr2yx][/url:2dntr2yx]", "time": "00:48", "topic": "ButtonBmp without border", "username": "jose_murugosa" } ]
ButtonBmp without border
[ { "date": "2008-10-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Jose,\r\n\r\nclause ... GET ... ACTION ... creates a TButtonBmp control as a child control of the GET. Class TButtonBmp is inherited from Class TButton, based on the standard Windows buttons.\r\n\r\nThough some resources editors, as MS VSX, shows an optional \"flat\" style for a button, when we test such style, the button still shows its border.\r\n\r\nA possible solution would be to modify Class TGet and use a TBtnBmp instead of a TButtonBmp, but then you would not have themes support in the TBtnBmp button.", "time": "05:46", "topic": "ButtonBmp without border", "username": "Antonio Linares" } ]
ButtonBmp without border
[ { "date": "2008-10-24", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":2nhvhxxa]Jose,\n\nclause ... GET ... ACTION ... creates a TButtonBmp control as a child control of the GET. Class TButtonBmp is inherited from Class TButton, based on the standard Windows buttons.\n\nThough some resoures editors, as MS VSX, shows an optional \"flat\" style for a button, when we test such style, the button still shows its border.\n\nA possible solution would be to modify Class TGet and use a TBtnBmp instead of a TButtonBmp, but then you would not have themes support in the TBtnBmp button.[/quote:2nhvhxxa]\r\n\r\nThanks for your answer, I suspect that this would be the only solution (sorry for my terrible english).", "time": "10:57", "topic": "ButtonBmp without border", "username": "jose_murugosa" } ]
ButtonBmp without border
[ { "date": "2008-10-24", "forum": "FiveWin for Harbour/xHarbour", "text": "José,\r\n\r\nAnother possibility is to replace the TButtonBmp used in Class TGet with a TBitmap control. This way there will be no button borders at all.", "time": "11:14", "topic": "ButtonBmp without border", "username": "Antonio Linares" } ]
ButtonBmp without border
[ { "date": "2008-10-24", "forum": "FiveWin for Harbour/xHarbour", "text": "I add a variable lNoBorderBtn and I create a ButtonBmp when it is .f. and a BtnBmp with it is .t., now it works ok in both cases.\r\n\r\nThanks for your help Antono!! <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \r\n\r\nFor those who could need this I leave the code:\r\n\r\nAfter defining a variable lNoBorderBtn in method New and Redefine.....\r\n\r\n[code:avyplw2e]\nMETHOD CreateButton&#40;&#41; CLASS TGet\n\n local oThis &#58;= Self\n \n if ValType&#40; &#58;&#58;bAction &#41; == \"B\" &#46;and&#46; Upper&#40; &#58;&#58;ClassName&#40;&#41; &#41; == \"TGET\"\n\t \t\t//JSe modifica para que al indicar que no se desee borde en botón cambie a objeto btnbmp sin borde\n\t\t\t\n IF &#58;&#58;lNoBorderBtn\n IF Empty&#40; &#58;&#58;cBmpName &#41; \t\t\t\t\t//no hay bmp\n\t\t\t\t \t @ 0, &#58;&#58;nWidth - &#58;&#58;nHeight BUTTONBMP &#58;&#58;oBtn OF Self ;\n \tACTION &#40; Eval&#40; oThis&#58;bAction, oThis &#41;, oThis&#58;SetFocus&#40;&#41; &#41; ;\n \tSIZE &#58;&#58;nHeight - 4, &#58;&#58;nHeight - 4 PIXEL TRANSPARENT\n\t\t\t &#58;&#58;oBtn&#58;SetText&#40; \"&#46;&#46;&#46;\" &#41;\n \t ELSE \n\t\t\t\t/* \n @ 0, &#58;&#58;nWidth - &#58;&#58;nHeight BUTTONBMP &#58;&#58;oBtn OF Self ;\n ACTION &#40; Eval&#40; oThis&#58;bAction, oThis &#41;, oThis&#58;SetFocus&#40;&#41; &#41; ;\n SIZE &#58;&#58;nHeight - 4, &#58;&#58;nHeight - 4 PIXEL BITMAP &#58;&#58;cBmpName\n\t\t\t\t*/\n IF At&#40; \"&#46;\", &#58;&#58;cBmpName&#41;<>0 //si es &#46;bmp \n \t\t @0, &#58;&#58;nwidth - &#58;&#58;nHeight BTNBMP &#58;&#58;oBtn OF Self;\n \t\t ACTION &#40; Eval&#40; oThis&#58;bAction, oThis &#41;, oThis&#58;SetFocus&#40;&#41; &#41; ;\n \t\t FILE &#58;&#58;cBmpName ;\n \t\t SIZE &#58;&#58;nHeight - 4, &#58;&#58;nHeight - 4 PIXEL NOBORDER TRANSPARENT\n ELSE //si es un bmp\n \t \t @0, &#58;&#58;nwidth - &#58;&#58;nHeight BTNBMP &#58;&#58;oBtn OF Self;\n \t\t ACTION &#40; Eval&#40; oThis&#58;bAction, oThis &#41;, oThis&#58;SetFocus&#40;&#41; &#41; ;\n \t\t RESOURCE &#58;&#58;cBmpName;\n \t\t SIZE &#58;&#58;nHeight - 4, &#58;&#58;nHeight - 4 PIXEL NOBORDER TRANSPARENT\n ENDIF\n ENDIF \n ELSE\n if Empty&#40; &#58;&#58;cBmpName &#41;\n @ 0, &#58;&#58;nWidth - &#58;&#58;nHeight BUTTONBMP &#58;&#58;oBtn OF Self ;\n ACTION &#40; Eval&#40; oThis&#58;bAction, oThis &#41;, oThis&#58;SetFocus&#40;&#41; &#41; ;\n SIZE &#58;&#58;nHeight - 4, &#58;&#58;nHeight - 4 PIXEL\n if Empty&#40; &#58;&#58;oBtn&#58;hBitmap &#41;\n &#58;&#58;oBtn&#58;SetText&#40; \"&#46;&#46;&#46;\" &#41;\n endif \n else \n @ 0, &#58;&#58;nWidth - &#58;&#58;nHeight BUTTONBMP &#58;&#58;oBtn OF Self ;\n ACTION &#40; Eval&#40; oThis&#58;bAction, oThis &#41;, oThis&#58;SetFocus&#40;&#41; &#41; ;\n SIZE &#58;&#58;nHeight - 4, &#58;&#58;nHeight - 4 PIXEL BITMAP &#58;&#58;cBmpName\n endif \n ENDIF\n\t\t\t&#58;&#58;oBtn&#58;lCancel = &#46;T&#46; // so the GET VALID is not fired when the button is focused\n\t\t\t\t\t\t ENDIF \n \nreturn nil \n\n//----------------------------------------------------------------------------//\n[/code:avyplw2e]", "time": "15:45", "topic": "ButtonBmp without border", "username": "jose_murugosa" } ]
ButtonBmp without border
[ { "date": "2010-01-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nA Preview on the Update 4.0a of the ButtonSkin-painter.\nClass BtnBMP ( Buttonbar and Buttons ) are included now.\nThere are still some Tests and the Code-generator to do.\nLike usual, the Note < Preview > will change to < Update >\nas soon it is ready for Download.\n\nButtonSkin- and BtnBMP-painter are included in one Application now.\n\n[img:1p8760kq]http&#58;//www&#46;pflegeplus&#46;com/pictures/Skint1&#46;jpg[/img:1p8760kq]\n\nDefine ButtonbarSize, Multiline Button-prompts and Groups\n\n[img:1p8760kq]http&#58;//www&#46;pflegeplus&#46;com/pictures/Skint2&#46;jpg[/img:1p8760kq]\n\nDefine Button-Gradients and Multiline Prompts\n\n[img:1p8760kq]http&#58;//www&#46;pflegeplus&#46;com/pictures/Skint11&#46;jpg[/img:1p8760kq]\n\nDefine BMP's for Buttons and Position inside Buttons.\nDefine Buttonform : Rectangle or Round\n\n[img:1p8760kq]http&#58;//www&#46;pflegeplus&#46;com/pictures/Skint4&#46;jpg[/img:1p8760kq]\n\nTest with any Background You like :\n\nNormal 2007 - Style\n\n[img:1p8760kq]http&#58;//www&#46;pflegeplus&#46;com/pictures/Skint5&#46;jpg[/img:1p8760kq]\n\nCreate extra Buttonbar and Button-Gradients\n\n[img:1p8760kq]http&#58;//www&#46;pflegeplus&#46;com/pictures/Skint6&#46;jpg[/img:1p8760kq]\n\nThe new elliptical Button-Form is supported\n\n[img:1p8760kq]http&#58;//www&#46;pflegeplus&#46;com/pictures/Skint7&#46;jpg[/img:1p8760kq]\n\nUsing different Settings : Buttonbar = Style 2007, Buttons with defined Gradients\n\n[img:1p8760kq]http&#58;//www&#46;pflegeplus&#46;com/pictures/Skint8&#46;jpg[/img:1p8760kq]\n\nThe Buttons 7 ( Butonbar ) and 12 ( Buttons) are reserved for a special Test.\nBMP-change on Normal, Focus and Pressed ( Green-, Blue- and Red - Button ) :\n\n[img:1p8760kq]http&#58;//www&#46;pflegeplus&#46;com/pictures/Skint10&#46;jpg[/img:1p8760kq]\n\n[img:1p8760kq]http&#58;//www&#46;pflegeplus&#46;com/pictures/Skint9&#46;jpg[/img:1p8760kq]\n\nBest Regards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "10:40", "topic": "ButtonSkin-Painter + BtnBMP Update 4.0a (Preview)", "username": "ukoenig" } ]
ButtonSkin-Painter + BtnBMP Update 4.0a (Preview)
[ { "date": "2006-06-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Foro :\n\nComo puedo justificar la data TButtonBmp:cCaption. ?? de manera que el .BMP quede a la derecha o a la izquierda.\n\nSaludos\nHarbour Build 45.00, bcc55, Fwh 2.7 December 2005.\n\nRicardo R", "time": "23:30", "topic": "Buttonb", "username": "Ricardo Ramirez E." } ]
Buttonb
[ { "date": "2006-06-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Ricardo,\n\nEsa capacidad está implementada en el build de abril 2006.\n\nPuedes usar la clase modificada por Rossine, que te proporciona esa capacidad.", "time": "00:07", "topic": "Buttonb", "username": "Antonio Linares" } ]
Buttonb
[ { "date": "2006-06-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias Antonio.\n\nAlguien podria subir ( <!-- m --><a class=\"postlink\" href=\"http://hyperupload.com\">http://hyperupload.com</a><!-- m -->) la classe tbuttonb modificada por Rossine <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) --> ???\n\n\n\nSaludos.\n\nRicardo R.", "time": "03:58", "topic": "Buttonb", "username": "Ricardo Ramirez E." } ]
Buttonb
[ { "date": "2006-06-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Foro <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->\n\nSerá que hay alguna alma caritativa <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) --> , que tenga por ahi la tbutton modificada por Rossine. ?\n\nSaludos.\n\nRicardo R.", "time": "05:56", "topic": "Buttonb", "username": "Ricardo Ramirez E." } ]
Buttonb
[ { "date": "2006-06-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Ricardo,\n\nAqui la tienes:\n<!-- m --><a class=\"postlink\" href=\"http://hyperupload.com/download/026090f048/button.zip.html\">http://hyperupload.com/download/026090f ... n.zip.html</a><!-- m -->\n\nEs bastante similar a la de FWH, pero no iguales.", "time": "07:55", "topic": "Buttonb", "username": "Antonio Linares" } ]
Buttonb
[ { "date": "2006-06-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias Master <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->\n\nSaludos.\n\nRicardo R.", "time": "14:57", "topic": "Buttonb", "username": "Ricardo Ramirez E." } ]
Buttonb
[ { "date": "2019-04-01", "forum": "FiveWin para Harbour/xHarbour", "text": "Bien, si he entendido lo que pretendes\nNo es exactamente eso lo que hace el ejemplo TBDESIGN.PRG ?", "time": "18:04", "topic": "Buttonbar + Menu VS. Ribbonbar", "username": "cnavarro" } ]
Buttonbar + Menu VS. Ribbonbar
[ { "date": "2019-04-03", "forum": "FiveWin para Harbour/xHarbour", "text": "Buenos días, parcialmente si, pero necesito saber si hay alguna forma de conocer 3 valores del botón pulsado.\n\nPor ejemplo de la línea:\n\n@3,155 add button oBtn4_2_6 prompt \"Obtener MAC address\" group oGr2_6 bitmap \"mac_add\" action GetMacAdd() size 150,20 MOSTLEFT\n\n1.- El prompt \"Obtener MAC address\"\n2.- El bitmap \"mac_add\"\n3.- El action \"GetMacAdd()\"\n\nEstos tres valores los guardaría en una tabla asociados al ID del usuario que se ha firmado, de esa manera tendré los valores que necesito para reconstruir el menu \"Favoritos\" cada vez que el usuario ingrese al sistema.\n\nY la construiría asi:\n[code=fw:3v440vx5]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #0000ff;\">select</span> * <span style=\"color: #0000ff;\">from</span> tablafavoritos <span style=\"color: #0000ff;\">where</span> userid=cUsuario<br /><br /><span style=\"color: #00C800;\">for</span> unid=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">&#91;</span>Nregistros<span style=\"color: #000000;\">&#93;</span><br />   cProm1:=<span style=\"color: #ff0000;\">\"Obtener MAC address\"</span><br />   cBitm1:=<span style=\"color: #ff0000;\">\"mac_add\"</span><br />   cFunc1:=<span style=\"color: #ff0000;\">\"GetMacAdd()\"</span><br /><br />   @<span style=\"color: #000000;\">3</span>,<span style=\"color: #000000;\">140</span> add <span style=\"color: #0000ff;\">button</span> oBtn4_2_6 <span style=\"color: #0000ff;\">prompt</span> cProm1 group oGr2_6 bitmap cBitm1 <span style=\"color: #0000ff;\">action</span> &cFunc1 <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">145</span>,<span style=\"color: #000000;\">20</span> MOSTLEFT<br /><span style=\"color: #00C800;\">next</span><br /> </div>[/code:3v440vx5]\n\nEs posible hacer esto?", "time": "19:55", "topic": "Buttonbar + Menu VS. Ribbonbar", "username": "mariordz" } ]
Buttonbar + Menu VS. Ribbonbar
[ { "date": "2019-04-03", "forum": "FiveWin para Harbour/xHarbour", "text": "Busca \"detached\" en el foro, es el concepto que necesitas para hacer eso, entendiendo que el query de respuesta de lo que buscas en la tabla ya lo tienes en un array", "time": "20:13", "topic": "Buttonbar + Menu VS. Ribbonbar", "username": "cnavarro" } ]
Buttonbar + Menu VS. Ribbonbar
[ { "date": "2019-04-03", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias Cristobal, el punto que los favoritos se van a ir agregando a la tabla conforme el usuario los vaya seleccionando, la idea original es que el usuario le de click derecho a alguna opción del sistema y le aparezca un menú para agregar o quitar de sus favoritos.\n\nComo verás hay varios tabuladores y varios grupos dentro de cada unos de ellos y muchas opciones dentro de cada grupo, esa complejidad me impulsa a darles a los usuarios la opción de que tengan un lugar donde agrupen las opciones de las tareas que realizan con mayor frecuencia, por lo tanto los usuarios son los que decidirán que opciones irán agregando a sus favoritos.\n\nEs por eso que necesito saber si es posible que al seleccionar la opción \"Agregar a favoritos\" pueda recibir estos tres parámetros de acuerdo al botón pulsado, una vez que tenga estos valores los almacenaría en la tabla de favoritos.\n\nEspero haberme explicado con claridad.\n\nSaludos.", "time": "22:17", "topic": "Buttonbar + Menu VS. Ribbonbar", "username": "mariordz" } ]
Buttonbar + Menu VS. Ribbonbar
[ { "date": "2019-04-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias Antonio, ya lo estoy probando y encontrando la luz al final de este tunel, solo un pequeño detalle más, cuando tengo un POPUP, como se diferencia el botón derecho y el izquierdo?\n\nActualmente, al darle click en una opción de un menu POPUP me da la misma acción, independietemente del botón del mouse que haya pulsado.\n\n[code=fw:3eccy1c3]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />@<span style=\"color: #000000;\">3</span>,<span style=\"color: #000000;\">175</span> add <span style=\"color: #0000ff;\">button</span> oBtn4_2_5 <span style=\"color: #0000ff;\">prompt</span> <span style=\"color: #ff0000;\">\"Reportes de nomina\"</span> group oGr2_5 bitmap <span style=\"color: #ff0000;\">\"nomina_semana\"</span> <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">150</span>,<span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">POPUP</span> MOSTLEFT <span style=\"color: #0000ff;\">menu</span> repor_nomina<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>          <br /><br /><br /><span style=\"color: #00C800;\">Function</span> repor_nomina<br />    <span style=\"color: #00C800;\">local</span> oPopuprn<br />    <span style=\"color: #00C800;\">public</span> cTipnom<br />    <span style=\"color: #0000ff;\">menu</span> oPopuprn <span style=\"color: #0000ff;\">popup</span> <span style=\"color: #000000;\">2015</span><br />        <span style=\"color: #0000ff;\">menuitem</span> <span style=\"color: #ff0000;\">\"Semanal\"</span> <span style=\"color: #0000ff;\">action</span> rep_incsem<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"nomina_semana\"</span><br />        <span style=\"color: #0000ff;\">menuitem</span> <span style=\"color: #ff0000;\">\"Quincenal\"</span> <span style=\"color: #0000ff;\">action</span> <span style=\"color: #000000;\">&#40;</span>cTipnom:=<span style=\"color: #ff0000;\">\"Q\"</span>,rep_incqui<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"nomina_quincena\"</span><br />    <span style=\"color: #0000ff;\">endmenu</span><br /><span style=\"color: #00C800;\">return</span> oPopuprn<br /> </div>[/code:3eccy1c3]\n\nQuisiera obtener el valor de oMenuitem:cPrompt, solo cuando se pulse el botón derecho del mouse, en caso contrario que ejecute su clausula \"ACTION\" de forma normal.", "time": "18:16", "topic": "Buttonbar + Menu VS. Ribbonbar", "username": "mariordz" } ]
Buttonbar + Menu VS. Ribbonbar
[ { "date": "2019-04-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Mario,\n\nAqui tienes el ejemplo usando \"detached locals\" como te ha indicado Cristobal:\n\n[code=fw:29t096ay]<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;\">\"ribbon.ch\"</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> oWnd<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br /><br />&nbsp; &nbsp;BuildRibbonBar<span style=\"color: #000000;\">&#40;</span> oWnd <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #00C800;\">function</span> BuildRibbonBar<span style=\"color: #000000;\">&#40;</span> oWnd <span style=\"color: #000000;\">&#41;</span> <br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oRBar, oGrp, oBtn, n<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> RIBBONBAR oRBar <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">PROMPT</span> &nbsp;<span style=\"color: #ff0000;\">\"One\"</span>, <span style=\"color: #ff0000;\">\"Two\"</span>, <span style=\"color: #ff0000;\">\"Three\"</span> HEIGHT <span style=\"color: #000000;\">134</span> TOPMARGIN <span style=\"color: #000000;\">25</span><br /><br />&nbsp; &nbsp;ADD GROUP oGrp RIBBON oRBar <span style=\"color: #0000ff;\">TO</span> OPTION <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"new\"</span> WIDTH <span style=\"color: #000000;\">260</span> <br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">for</span> n = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">3</span><br />&nbsp; &nbsp; &nbsp; @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">3</span> + <span style=\"color: #000000;\">&#40;</span> n - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> * <span style=\"color: #000000;\">80</span> ADD <span style=\"color: #0000ff;\">BUTTON</span> oBtn <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"new\"</span> + AllTrim<span style=\"color: #000000;\">&#40;</span> Str<span style=\"color: #000000;\">&#40;</span> n <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;GROUP oGrp <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"click\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">83</span> TOP<br />&nbsp; &nbsp; &nbsp; oBtn:<span style=\"color: #000000;\">bRClicked</span> = GenBlock<span style=\"color: #000000;\">&#40;</span> oBtn, n <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<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: #00C800;\">function</span> GenBlock<span style=\"color: #000000;\">&#40;</span> oBtn, n <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">&#123;</span> || <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> n, oBtn:<span style=\"color: #000000;\">cCaption</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span></div>[/code:29t096ay]", "time": "06:31", "topic": "Buttonbar + Menu VS. Ribbonbar", "username": "Antonio Linares" } ]
Buttonbar + Menu VS. Ribbonbar
[ { "date": "2019-04-01", "forum": "FiveWin para Harbour/xHarbour", "text": "Muchas gracias por sus aportes, ya quedó finalmente implementado y se ve bastante bien, como comenta Cesar, tuve que hacer un reacomodo de todos los items de cada grupo para que no quedaran (o quedaran los menos posibles) de espacios en blanco.\n\nEl login al sistema quedo así:\n[img:2imetx7j]https&#58;//i&#46;postimg&#46;cc/7PWLgX2J/Login&#46;jpg[/img:2imetx7j]\n\nY la RibbonBar:\n\n[img:2imetx7j]https&#58;//i&#46;postimg&#46;cc/wTRjFJXf/Main-Ribbon-Bar&#46;jpg[/img:2imetx7j]\n\nAhora se me ha metido a la cabeza la idea de generar un grupo que sea construido por el usuario, básicamente mi ídea es que le den click derecho del mouse a la opción deseada y que les aparezca un menu contextual que les de la opción de agregar o quitar del grupo de favoritos, obviamente al agregar/quitar voy a guardar en una tabla el ID del usuario, el nombre del item y la función que llama, para que la siguiente vez que se firme el usuario se pueda construir este grupo \"favoritos\"\n\nUna idea es hacerlo asi:\n[code=fw:2imetx7j]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">if</span> firma=<span style=\"color: #ff0000;\">\"MAR\"</span><br />cFunc1:=<span style=\"color: #ff0000;\">\"GetMacAdd()\"</span><br />add group oGr2_6 ribbon oRBar <span style=\"color: #0000ff;\">to</span> option <span style=\"color: #000000;\">6</span> <span style=\"color: #0000ff;\">prompt</span> <span style=\"color: #ff0000;\">\"DESARROLLO\"</span> width <span style=\"color: #000000;\">310</span><br />@<span style=\"color: #000000;\">3</span>,<span style=\"color: #000000;\">155</span> add <span style=\"color: #0000ff;\">button</span> oBtn4_2_6 <span style=\"color: #0000ff;\">prompt</span> <span style=\"color: #ff0000;\">\"Obtener MAC address\"</span> group oGr2_6 bitmap <span style=\"color: #ff0000;\">\"mac_add\"</span> <span style=\"color: #0000ff;\">action</span> &cFunc1 <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">150</span>,<span style=\"color: #000000;\">20</span> MOSTLEFT<br />oBtn4_2_6:<span style=\"color: #000000;\">bRButtonUp</span> := <span style=\"color: #000000;\">&#123;</span> | nRow, nCol | checafav<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><span style=\"color: #00C800;\">endif</span><br /><br /><br /><span style=\"color: #00C800;\">Function</span> checafav<br />    <span style=\"color: #00C800;\">if</span> msgyesno<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Desea agregar este comando a favoritos\"</span>,<span style=\"color: #ff0000;\">\"Favoritos\"</span><span style=\"color: #000000;\">&#41;</span><br />        ?<span style=\"color: #ff0000;\">\"Si, agregar\"</span><br />        *poner proceso para guardar datos en base de datos<br />    <span style=\"color: #00C800;\">endif</span><br /><span style=\"color: #00C800;\">return</span><br /> </div>[/code:2imetx7j]\n\nSi tiene alguna idea mejor lea gradeceré los aportes.", "time": "17:39", "topic": "Buttonbar + Menu VS. Ribbonbar", "username": "mariordz" } ]
Buttonbar + Menu VS. Ribbonbar
[ { "date": "2019-03-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Buenos días a todos, recién estoy tratando de migrar mi viejo menu que implemente usando Buttonbar a usar Ribbonbar, tengo algunas dudas, con Buttonbar puedo generar de forma dinámica mis menús, basado en los atributos de mis usuarios Ejemplo:\n\nDefino la barra de botones con acceso controlado de acuerdo a la \"firma\" (ID de usuario) o por el nivel del mismo)\n[code=fw:xvpdtkmz]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">window</span> oVentprinc <span style=\"color: #0000ff;\">from</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">9</span>,<span style=\"color: #000000;\">165</span> <span style=\"color: #0000ff;\">title</span> <span style=\"color: #ff0000;\">\"Sistema principal\"</span> <span style=\"color: #0000ff;\">menu</span> creamenu<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">buttonbar</span> oBarra <span style=\"color: #0000ff;\">of</span> oVentprinc 3dlook <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">50</span><br />   aFirmarr:=<span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"MAR\"</span>,<span style=\"color: #ff0000;\">\"VSJ\"</span>,<span style=\"color: #ff0000;\">\"JAV\"</span><span style=\"color: #000000;\">&#125;</span><br />   cFirrr:=ascan<span style=\"color: #000000;\">&#40;</span>aFirmarr,firma<span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">if</span> cFirrr<><span style=\"color: #000000;\">0</span><br />    <span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">button</span> <span style=\"color: #0000ff;\">of</span> oBarra <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"BMPIMAGEN\"</span> <span style=\"color: #0000ff;\">action</span> reporte1<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> tooltip <span style=\"color: #ff0000;\">\"Procesar reporte\"</span><br />   <span style=\"color: #00C800;\">endif</span><br />   <span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">button</span> <span style=\"color: #0000ff;\">of</span> oBarra <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"BMPMARKET\"</span> <span style=\"color: #0000ff;\">action</span> marketin<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> tooltip <span style=\"color: #ff0000;\">\"Telemarketing\"</span><br />   <span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">button</span> <span style=\"color: #0000ff;\">of</span> oBarra <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"BMPMARCON\"</span> <span style=\"color: #0000ff;\">action</span> consmark<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> tooltip <span style=\"color: #ff0000;\">\"Consulta telemarketing\"</span><br />   <span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">button</span> <span style=\"color: #0000ff;\">of</span> oBarra <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"BMPCALEND\"</span> <span style=\"color: #0000ff;\">action</span> calendar<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> tooltip <span style=\"color: #ff0000;\">\"Calendario de grupo\"</span><br />   <span style=\"color: #00C800;\">if</span> leve=<span style=\"color: #ff0000;\">\"A\"</span> .or. lAdmrh=.T. <br />    <span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">button</span> <span style=\"color: #0000ff;\">of</span> oBarra <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"BMPUSUARIOS\"</span> <span style=\"color: #0000ff;\">action</span> Admusers<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> tooltip <span style=\"color: #ff0000;\">\"Administra usuarios\"</span><br />   <span style=\"color: #00C800;\">endif</span><br />   <span style=\"color: #0000ff;\">activate</span> <span style=\"color: #0000ff;\">window</span> oVentprinc<br /> </div>[/code:xvpdtkmz]\n\n\nFunción para crear el menú, las opciones del mismo también están controladas de acuerdo a los atributos del usuario\n[code=fw:xvpdtkmz]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">Function</span> creamenu<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">local</span> oMenu<br />   <span style=\"color: #0000ff;\">menu</span> oMenu <span style=\"color: #000000;\">2015</span><br />   <span style=\"color: #0000ff;\">menuitem</span> <span style=\"color: #ff0000;\">\"&CONSULTAS\"</span><br />   <span style=\"color: #0000ff;\">menu</span><br />      <span style=\"color: #00C800;\">if</span> firma=<span style=\"color: #ff0000;\">\"MAR\"</span> .or. firma=<span style=\"color: #ff0000;\">\"ABC\"</span><br />        <span style=\"color: #0000ff;\">menuitem</span> <span style=\"color: #ff0000;\">\"Consulta de cliente\"</span> <span style=\"color: #0000ff;\">action</span> cons_clie<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />        <span style=\"color: #00C800;\">endif</span><br />   <span style=\"color: #0000ff;\">endmenu</span><br />   <span style=\"color: #00C800;\">if</span> firma=<span style=\"color: #ff0000;\">\"MAR\"</span> .or. firma=<span style=\"color: #ff0000;\">\"ABC\"</span><br />    <span style=\"color: #0000ff;\">menuitem</span> <span style=\"color: #ff0000;\">\"&TAREAS ESPECIALES\"</span><br />        <span style=\"color: #0000ff;\">menu</span><br />           <span style=\"color: #0000ff;\">menuitem</span> <span style=\"color: #ff0000;\">\"&Especial 1\"</span> <span style=\"color: #0000ff;\">action</span> Esp1<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />           <span style=\"color: #0000ff;\">separator</span><br />           <span style=\"color: #0000ff;\">menuitem</span> <span style=\"color: #ff0000;\">\"Especial 2\"</span> <span style=\"color: #0000ff;\">action</span> Esp2<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />       <span style=\"color: #00C800;\">if</span> firma=<span style=\"color: #ff0000;\">\"MAR\"</span><br />          <span style=\"color: #0000ff;\">menuitem</span> <span style=\"color: #ff0000;\">\"Espcecial 3\"</span> <span style=\"color: #0000ff;\">action</span> Esp3<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />       <span style=\"color: #00C800;\">endif</span><br />         <span style=\"color: #0000ff;\">endmenu</span><br />   <span style=\"color: #00C800;\">endif</span><br /> </div>[/code:xvpdtkmz]\n\nComo se ve en este pequeño ejemplo solo se mostrarán los menús si el usuario que se \"firmo\" cumple con ciertos requisitos, así mismo algunas de las opcion es de dichos menús solo se mostrarán si se cumplen algunos criterios, la pregunta es:\n¿Es posible administrar estas opciones usando un RibbonBar? Leyendo encontré que se pueden deshabilitar los \"Tabs\" del RibbonBar (oRBar:aEnable[NoDeTab]:=.F.) y efectivamente lo deshabilita, pero me gustaría poder esconderlo (trate con la opción oRBar:hide[2]:=.T., pero no funciona).\n\nCualquier ayuda será muy agradecida.\n\nSaludos.", "time": "17:17", "topic": "Buttonbar + Menu VS. Ribbonbar", "username": "mariordz" } ]
Buttonbar + Menu VS. Ribbonbar
[ { "date": "2019-03-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Bien, no sé si te he entendido bien, pero al igual que en la buttonbar, o en los menús, defines las opciones que quieres mostrar, aquí puedes hacer lo mismo, con la condición que necesites y utilizando el metodo AddTab de la Ribbon, y no definir los prompts al principio junto a la definición de la Ribbon.\nEspero haberme explicado", "time": "17:25", "topic": "Buttonbar + Menu VS. Ribbonbar", "username": "cnavarro" } ]
Buttonbar + Menu VS. Ribbonbar
[ { "date": "2019-03-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Muchas gracias por tu respuesta, tendrás un pequeño ejemplo de como lo manejas?\n\nGracias.", "time": "17:32", "topic": "Buttonbar + Menu VS. Ribbonbar", "username": "mariordz" } ]
Buttonbar + Menu VS. Ribbonbar
[ { "date": "2019-03-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Me respondo, me puse a revisar el archivo rbdesign.prg, ahi viene como generar el ribbonBar desde 0.\n\noRBar:AddTab( \"CIERRE DIARIO\" )\n\nGracias por no darme el pescado y forzarme a buscarlo por mi mismo.", "time": "18:52", "topic": "Buttonbar + Menu VS. Ribbonbar", "username": "mariordz" } ]
Buttonbar + Menu VS. Ribbonbar
[ { "date": "2019-03-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias a ti por entender que es mejor explicar el concepto y continuar investigando ....", "time": "21:30", "topic": "Buttonbar + Menu VS. Ribbonbar", "username": "cnavarro" } ]
Buttonbar + Menu VS. Ribbonbar
[ { "date": "2019-03-14", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Mario:\nCuando armas un menú personalizado según los permisos que tiene el usuario, te puedes encontrar que algunos tabs pueden no tener contenido (el usuario no tiene permiso a ningun subitem). En estos casos el método <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->eleteTab(n) que aplica al ribbonbar te puede ser útil.\nTambién, como aquí para que quede prolijo, el ancho del grupo de botones va a depender de la cantidad de items que tenga permiso, otro método que puede serte útil es :SetSize(n) que aplica a un grupo del ribbonbar.\nEspero que te sea de utilidad...\nSaludos", "time": "12:44", "topic": "Buttonbar + Menu VS. Ribbonbar", "username": "cmsoft" } ]
Buttonbar + Menu VS. Ribbonbar
[ { "date": "2007-10-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Does someone know how to open the attached popup menu with a click on the button.\n(Like in WORD Button: “Formatvorlagen”)\nRegards,\nOtto", "time": "20:24", "topic": "Buttonbar 2007 button with a attached Popup menu", "username": "Otto" } ]
Buttonbar 2007 button with a attached Popup menu
[ { "date": "2007-10-25", "forum": "FiveWin for Harbour/xHarbour", "text": "[code:3ui8pmr3]\nDEFINE BUTTON OF oBar NOBORDER ;\n PROMPT 'SubMenu' ;\n MENU MyPopUp&#40;&#41; ;\n ACTION MsgInfo&#40;'Can have action and also submenu'&#41;\n\n&#46;&#46;&#46;&#46;\n&#46;&#46;&#46;&#46;\n\n// -------------------\nSTATIC FUNCTION MyPopUp&#40;&#41;\n\nLOCAL oPop\n\n MENU oPop POPUP\n MENUITEM 'One'\n MENUITEM 'Two'\n ENDMENU\n\nRETURN oPop\n[/code:3ui8pmr3]", "time": "00:12", "topic": "Buttonbar 2007 button with a attached Popup menu", "username": "nageswaragunupudi" } ]
Buttonbar 2007 button with a attached Popup menu
[ { "date": "2007-10-25", "forum": "FiveWin for Harbour/xHarbour", "text": "nageswaragunupudi , thank you for your answer.\nBut that is the code how to attach a popup menu.\n\nBut I need to open the attached popup menu with a click on the button. \n(Like in WORD Button: “Formatvorlagen”)\n\nHere a jpg:\n[img:3u4fuuhz]http&#58;//www&#46;atzwanger&#46;com/fw/buttonPopup&#46;jpg[/img:3u4fuuhz][img:3u4fuuhz]http&#58;//www&#46;atzwanger&#46;com/fw/word&#46;jpg[/img:3u4fuuhz]", "time": "08:20", "topic": "Buttonbar 2007 button with a attached Popup menu", "username": "Otto" } ]
Buttonbar 2007 button with a attached Popup menu
[ { "date": "2007-10-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Otto,\n\nPlease add this method to class TBtnBmp:\n[code:j0hrnnnj]\nMETHOD ShowPopup&#40;&#41; CLASS TBtnBmp\n\n local oWnd\n\n if &#58;&#58;oPopup != nil\n if &#58;&#58;oWnd&#58;oWnd != nil &#46;and&#46; Upper&#40; &#58;&#58;oWnd&#58;oWnd&#58;Classname&#40;&#41; &#41; == \"TBAR\"\n oWnd &#58;= &#58;&#58;oWnd&#58;oWnd\n else\n oWnd &#58;= &#58;&#58;oWnd\n endif\n if GetClassName&#40; GetParent&#40; Self&#58;hWnd &#41; &#41; != \"TBAR\"\n oWnd = oWndFromhWnd&#40; GetParent&#40; Self&#58;hWnd &#41; &#41;\n endif\n oWnd&#58;NcMouseMove&#40;&#41; // close the tooltip\n oWnd&#58;oPopup = &#58;&#58;oPopup\n &#58;&#58;oPopup&#58;Activate&#40; &#58;&#58;nTop + &#58;&#58;nHeight&#40;&#41;, &#58;&#58;nLeft, oWnd, &#46;f&#46; &#41;\n oWnd&#58;oPopup = nil\n &#58;&#58;Refresh&#40;&#41;\n endif \n\nreturn nil\n[/code:j0hrnnnj]\nTo use it, simply do:\n[code:j0hrnnnj]\n MENU oPopup POPUP\n MENUITEM \"One\" ACTION MsgInfo&#40; 1 &#41;\n MENUITEM \"Two\" ACTION MsgInfo&#40; 2 &#41;\n ENDMENU\n\n DEFINE BUTTON oBtn OF oBar ACTION oBtn&#58;ShowPopup&#40;&#41; ;\n RESOURCE \"people\" PROMPT \"Clients\" GROUP ;\n MENU oPopup\n[/code:j0hrnnnj]", "time": "10:22", "topic": "Buttonbar 2007 button with a attached Popup menu", "username": "Antonio Linares" } ]
Buttonbar 2007 button with a attached Popup menu
[ { "date": "2007-10-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank you, Antonio.\nIt is working.\nRegards,\nOtto", "time": "14:46", "topic": "Buttonbar 2007 button with a attached Popup menu", "username": "Otto" } ]
Buttonbar 2007 button with a attached Popup menu
[ { "date": "2010-04-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Antonio,\nI have seen that popup is included in 10.3. Thank you.\nHow can I align the popup menu if I use oBtn:ShowPopup()?\n\nBest regards,\nOtto\n\n[code=fw:2trq278v]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">@ <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">145</span> ADD <span style=\"color: #0000ff;\">BUTTON</span> oBtnBearbeiten   GROUP oFunktionen BITMAP  <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\b</span>itmaps2<span style=\"color: #000000;\">\\1</span>1.bmp\"</span>  <span style=\"color: #0000ff;\">MENU</span> oMenuBearbeiten ;<br />            <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">65</span>,  <span style=\"color: #000000;\">75</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Bearbeiten\"</span> SPLITPOPUP  TOP <span style=\"color: #0000ff;\">ROUND</span>   ;<br />            <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oBtnBearbeiten:<span style=\"color: #000000;\">ShowPopup</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span></div>[/code:2trq278v]\n\n[img:2trq278v]http&#58;//www&#46;atzwanger-software&#46;com/fw/clip2&#46;jpg[/img:2trq278v]\n\n[img:2trq278v]http&#58;//www&#46;atzwanger-software&#46;com/fw/clip3&#46;jpg[/img:2trq278v]", "time": "09:53", "topic": "Buttonbar 2007 button with a attached Popup menu", "username": "Otto" } ]
Buttonbar 2007 button with a attached Popup menu
[ { "date": "2010-04-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Otto,\n\nI don't exactly understand what you mean", "time": "10:53", "topic": "Buttonbar 2007 button with a attached Popup menu", "username": "Antonio Linares" } ]
Buttonbar 2007 button with a attached Popup menu
[ { "date": "2010-04-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr Antonio.\nShowPopup was already there in the FWH long time back.\n\nThis kind of code was working since many versions of FWH. I think we do not need to add the above code again:\nThe code below is an extract from testxbr3.prg:\n[code=fw:29613iv8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">OF</span> oBar ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"REPORT\"</span> TOP ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Report\"</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENU</span> ReportMenu<span style=\"color: #000000;\">&#40;</span> oBrw <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTION</span> This:<span style=\"color: #000000;\">ShowPopUp</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Print the browse contents\"</span> ;<br />&nbsp; &nbsp; &nbsp; TOOLTIP <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Print Report\"</span>, <span style=\"color: #ff0000;\">\"Report\"</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp;</div>[/code:29613iv8]", "time": "12:10", "topic": "Buttonbar 2007 button with a attached Popup menu", "username": "nageswaragunupudi" } ]
Buttonbar 2007 button with a attached Popup menu
[ { "date": "2010-04-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Antonio,\nBest regards,\nOtto\n\n\n[img:3hif5zqf]http&#58;//www&#46;atzwanger-software&#46;com/fw/clip4&#46;jpg[/img:3hif5zqf]", "time": "16:39", "topic": "Buttonbar 2007 button with a attached Popup menu", "username": "Otto" } ]
Buttonbar 2007 button with a attached Popup menu
[ { "date": "2010-04-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Otto,\n\nDoes it fit in the right side ?", "time": "22:01", "topic": "Buttonbar 2007 button with a attached Popup menu", "username": "Antonio Linares" } ]
Buttonbar 2007 button with a attached Popup menu
[ { "date": "2010-04-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\nyes it fits in the right side.\n\nBest regards,\nOtto", "time": "22:29", "topic": "Buttonbar 2007 button with a attached Popup menu", "username": "Otto" } ]
Buttonbar 2007 button with a attached Popup menu
[ { "date": "2010-04-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Otto,\n\nThen it means that the left coordinate of the popup is wrongly calculated.\n\nWe are going to review it, thanks <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "11:25", "topic": "Buttonbar 2007 button with a attached Popup menu", "username": "Antonio Linares" } ]
Buttonbar 2007 button with a attached Popup menu
[ { "date": "2010-04-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Otto...\n\nin METHOD LButtonUp( nRow, nCol ) CLASS TRBtn\n\nfind and replace this section...\n[code=fw:kcsaus2r]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">case</span> ::<span style=\"color: #000000;\">nTypeButton</span> == TYPE_SPLITPOPUP<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> nRow >= ::<span style=\"color: #000000;\">nPopupMargin</span> .or. ! lAction<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oWnd := ::<span style=\"color: #000000;\">oWnd</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oWnd:<span style=\"color: #000000;\">NcMouseMove</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// close the tooltip</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oWnd:<span style=\"color: #000000;\">oPopup</span> = ::<span style=\"color: #000000;\">oPopup</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">oPopup</span>:<span style=\"color: #0000ff;\">Activate</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nHeight</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #00C800;\">Self</span>, .F. <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oWnd:<span style=\"color: #000000;\">oPopup</span> = <span style=\"color: #00C800;\">nil</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style=\"color: #0000ff;\">click</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">case</span> ::<span style=\"color: #000000;\">nTypeButton</span> == TYPE_POPUP <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> nCol >= ::<span style=\"color: #000000;\">nPopupMargin</span> .or. !lAction<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oWnd := ::<span style=\"color: #000000;\">oWnd</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oWnd:<span style=\"color: #000000;\">NcMouseMove</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// close the tooltip</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oWnd:<span style=\"color: #000000;\">oPopup</span> = ::<span style=\"color: #000000;\">oPopup</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">oPopup</span>:<span style=\"color: #0000ff;\">Activate</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nHeight</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #00C800;\">Self</span>, .F. <span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oWnd:<span style=\"color: #000000;\">oPopup</span> = <span style=\"color: #00C800;\">nil</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style=\"color: #0000ff;\">click</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />&nbsp;</div>[/code:kcsaus2r]", "time": "23:30", "topic": "Buttonbar 2007 button with a attached Popup menu", "username": "Daniel Garcia-Gil" } ]
Buttonbar 2007 button with a attached Popup menu
[ { "date": "2010-04-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Daniel,\n\nthank you for your help. \nI did a short test but the code does not resolve my problem.\nIf I change as well showpopup() (left + 500) this way I would get the right alignment – only for this special case.\n\nThanks in advance\nOtto\n\n\n\n\n[code=fw:3179115k]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">METHOD</span> ShowPopup<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> TRBtn<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oWnd<br /><span style=\"color: #0000ff;\">msginfo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"asdfla\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">oPopup</span> != <span style=\"color: #00C800;\">nil</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> GetClassName<span style=\"color: #000000;\">&#40;</span> GetParent<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">Self</span>:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> != <span style=\"color: #ff0000;\">\"TBAR\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oWnd = oWndFromhWnd<span style=\"color: #000000;\">&#40;</span> GetParent<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">Self</span>:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp; &nbsp; oWnd:<span style=\"color: #000000;\">NcMouseMove</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// close the tooltip</span><br />&nbsp; &nbsp; &nbsp; oWnd:<span style=\"color: #000000;\">oPopup</span> = ::<span style=\"color: #000000;\">oPopup</span><br />&nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">oPopup</span>:<span style=\"color: #0000ff;\">Activate</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nTop</span> + ::<span style=\"color: #000000;\">nHeight</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">nLeft</span> - oWnd:<span style=\"color: #000000;\">nLeft</span> + <span style=\"color: #000000;\">500</span>, oWnd, .f. <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; oWnd:<span style=\"color: #000000;\">oPopup</span> = <span style=\"color: #00C800;\">nil</span><br />&nbsp; &nbsp; &nbsp; ::<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br />&nbsp;</div>[/code:3179115k]", "time": "07:54", "topic": "Buttonbar 2007 button with a attached Popup menu", "username": "Otto" } ]
Buttonbar 2007 button with a attached Popup menu
[ { "date": "2010-04-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Daniel,\nWould you be so kind to have another look at this problem?\nBest regards,\nOtto", "time": "20:50", "topic": "Buttonbar 2007 button with a attached Popup menu", "username": "Otto" } ]
Buttonbar 2007 button with a attached Popup menu
[ { "date": "2010-04-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello otto\n\ncan you post a \"fake\" image what do you want ??\n\nthanks...", "time": "21:15", "topic": "Buttonbar 2007 button with a attached Popup menu", "username": "Daniel Garcia-Gil" } ]
Buttonbar 2007 button with a attached Popup menu
[ { "date": "2010-04-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Daniel,\nthank you for coming back to my question.\nIf I open the attached menu with the arrow down from the button the menu aligns correctly. If I press the button with the Action This:showPopup() the menu aligns wrong. Please see the bitmap.\nThanks in advance\nOtto\n\n\n[img:2ylgk69o]http&#58;//www&#46;atzwanger-software&#46;com/fw/clip4&#46;jpg[/img:2ylgk69o]\n\n[code=fw:2ylgk69o]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">OF</span> oBar ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"REPORT\"</span> TOP ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Report\"</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENU</span> ReportMenu<span style=\"color: #000000;\">&#40;</span> oBrw <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTION</span> This:<span style=\"color: #000000;\">ShowPopUp</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Print the browse contents\"</span> ;<br />&nbsp; &nbsp; &nbsp; TOOLTIP <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Print Report\"</span>, <span style=\"color: #ff0000;\">\"Report\"</span> <span style=\"color: #000000;\">&#125;</span></div>[/code:2ylgk69o]", "time": "22:06", "topic": "Buttonbar 2007 button with a attached Popup menu", "username": "Otto" } ]
Buttonbar 2007 button with a attached Popup menu
[ { "date": "2010-04-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Otto...\n\nare you using BTNBMP or RBBTN??", "time": "16:01", "topic": "Buttonbar 2007 button with a attached Popup menu", "username": "Daniel Garcia-Gil" } ]
Buttonbar 2007 button with a attached Popup menu
[ { "date": "2010-04-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Daniel, I think it is RBBTN. Here is the ppo file:\n[code=fw:3rtd1l3x]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oBtnBearbeiten := oFunktionen:<span style=\"color: #000000;\">AddButton</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">145</span>, <span style=\"color: #000000;\">75</span>, <span style=\"color: #000000;\">65</span>, <span style=\"color: #ff0000;\">\"Bearbeiten\"</span>, <span style=\"color: #000000;\">&#123;</span>|Self|<span style=\"color: #000000;\">&#40;</span> oBtnBearbeiten:<span style=\"color: #000000;\">ShowPopup</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#125;</span>, Upper<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"SPLITPOPUP\"</span><span style=\"color: #000000;\">&#41;</span>,, <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\b</span>itmaps2<span style=\"color: #000000;\">\\1</span>1.bmp\"</span>,, .T., Upper<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"TOP\"</span><span style=\"color: #000000;\">&#41;</span>, oMenuBearbeiten,,,, <span style=\"color: #000000;\">&#41;</span></div>[/code:3rtd1l3x]\n\nBest regards,\nOtto", "time": "21:17", "topic": "Buttonbar 2007 button with a attached Popup menu", "username": "Otto" } ]
Buttonbar 2007 button with a attached Popup menu
[ { "date": "2010-04-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Otto..\n\nyou dont need call ShowPopup()\n\nuse MENU oMenu in command ADD BUTTON\nsample\n\n @ 3,5 ADD BUTTON oBtn PROMPT \"Change\" BITMAP \"mybitmap\" GROUP oGr [b:3fbfb156][color=#FF0000:3fbfb156]MENU oMenu[/color:3fbfb156][/b:3fbfb156] ;\n SPLITPOPUP ROUND SIZE 65,75 TOP", "time": "21:38", "topic": "Buttonbar 2007 button with a attached Popup menu", "username": "Daniel Garcia-Gil" } ]
Buttonbar 2007 button with a attached Popup menu
[ { "date": "2010-04-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Daniel,\nBut I want to open the menu also with a click on the button not only on the arrow.\nBest regards,\nOtto", "time": "23:14", "topic": "Buttonbar 2007 button with a attached Popup menu", "username": "Otto" } ]
Buttonbar 2007 button with a attached Popup menu
[ { "date": "2010-04-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Otto...\n\n\nif you dont define ACTION the default action will be ShowPopup()\n\nsee\n\n@ 3,5 ADD BUTTON oBtn PROMPT \"Change\" BITMAP \"mybitmap\" GROUP oGr MENU oMenu ;\nSPLITPOPUP ROUND SIZE 65,75 TOP\n\ni dont defined action in this button, when you push the button the popup menu is displayed", "time": "23:17", "topic": "Buttonbar 2007 button with a attached Popup menu", "username": "Daniel Garcia-Gil" } ]
Buttonbar 2007 button with a attached Popup menu
[ { "date": "2010-04-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Daniel,\nthank you so much. Now all is working perfectly. \nI didn’t know about that.\nBest regards,\nOtto", "time": "11:19", "topic": "Buttonbar 2007 button with a attached Popup menu", "username": "Otto" } ]
Buttonbar 2007 button with a attached Popup menu
[ { "date": "2006-03-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello - I'm back! Miss me?\n\nI just discovered something interesting.\n\nI have a ButtonBar on a Window.\n\nWhen you right click on the ButtonBar the 'Top', 'Left', 'Bottom', 'Right' menu is displayed - everything normal so far.\n\nBUT\n\nWhen you first select 'Left' for example the ButtonBar is displayed on the left but if you then right click on THIS ButtonBar and select 'Right' the ButtonBar moves to the right quite correctly but then disappears and only the defined Buttons are displayed.\n\nThis works in reverse as well i.e. from 'Top' select 'Right' and then 'Left' and same thing happens.\n\nThere is no problem moving 'Top' to 'Bottom' and then back to 'Top'.\n\nDale.", "time": "21:55", "topic": "Buttonbar Disappears", "username": "dpaterso" } ]
Buttonbar Disappears
[ { "date": "2006-03-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Dale,\n\nAre you using a MDI window ?\n\nsamples\\tutor04.prg works ok doing what you have described.", "time": "22:23", "topic": "Buttonbar Disappears", "username": "Antonio Linares" } ]
Buttonbar Disappears
[ { "date": "2006-03-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Dale,\n\nYes, it looks as a bug with the buttonbar and MDI windows.", "time": "22:25", "topic": "Buttonbar Disappears", "username": "Antonio Linares" } ]
Buttonbar Disappears
[ { "date": "2006-03-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Good Morning,\n\nYes - MDI.\n\nRegards,\n\nDale.", "time": "06:38", "topic": "Buttonbar Disappears", "username": "dpaterso" } ]
Buttonbar Disappears
[ { "date": "2014-01-28", "forum": "FiveWin for Harbour/xHarbour", "text": "I have a Buttonbar that I need to disable buttons on for certain tasks using a logical value.\n[code=fw:1rbjsw6v]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTONBAR</span> oBar <span style=\"color: #0000ff;\">OF</span> oWnd _3D <br />        <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">OF</span> oBar <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #000000;\">169</span>  <span style=\"color: #0000ff;\">ACTION</span> oWnd:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Quit\"</span> <span style=\"color: #0000ff;\">WHEN</span> !lMenuLock<br /> </div>[/code:1rbjsw6v]\n\nWhen lMenulock is .T., the button gray's out, but when lMenulock is changed to .F., the button does not reactivate.\nI have tried oBtn:refresh() etc. but can't make this work.\n\nThanks for the help!\nG", "time": "23:56", "topic": "Buttonbar Update or Refresh", "username": "Greg Gammon" } ]
Buttonbar Update or Refresh
[ { "date": "2014-01-29", "forum": "FiveWin for Harbour/xHarbour", "text": "The easiest solution may be to just do an oBtn:disable()/oBtn:enable() whenever you change lMenuLock.\n\nJames", "time": "01:36", "topic": "Buttonbar Update or Refresh", "username": "James Bott" } ]
Buttonbar Update or Refresh
[ { "date": "2014-01-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Yep! I just enable/disable the entire bar: oBar:enable() / oBar:disable()....perfect and simple.\nThanks AGAIN James <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->\nG", "time": "01:45", "topic": "Buttonbar Update or Refresh", "username": "Greg Gammon" } ]
Buttonbar Update or Refresh
[ { "date": "2014-01-31", "forum": "FiveWin for Harbour/xHarbour", "text": "Greg,\n\ntry also oBar:AEvalWhen().\n\nEMG", "time": "11:41", "topic": "Buttonbar Update or Refresh", "username": "Enrico Maria Giordano" } ]
Buttonbar Update or Refresh
[ { "date": "2014-01-31", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\noBar:AEvalWhen()\n\nWhat exactly does that do? Does it reevaluate the WHEN clauses for every button on the bar?\n\nJames", "time": "15:55", "topic": "Buttonbar Update or Refresh", "username": "James Bott" } ]
Buttonbar Update or Refresh
[ { "date": "2014-01-31", "forum": "FiveWin for Harbour/xHarbour", "text": "James,\n\n[quote=\"James Bott\":3v7mxj65]Enrico,\n\noBar:AEvalWhen()\n\nWhat exactly does that do? Does it reevaluate the WHEN clauses for every button on the bar?\n\nJames[/quote:3v7mxj65]\n\nYes, it should do that.\n\nEMG", "time": "17:58", "topic": "Buttonbar Update or Refresh", "username": "Enrico Maria Giordano" } ]
Buttonbar Update or Refresh
[ { "date": "2020-11-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\nwe have function like SetDlgGradient which allows you to set the colors of all the dialogs of the project .\n\nThere is a function that allows you to do the same for buttonbar ?\n\nThanks\nMaurizio", "time": "16:25", "topic": "Buttonbar color", "username": "Maurizio" } ]
Buttonbar color
[ { "date": "2020-11-25", "forum": "FiveWin for Harbour/xHarbour", "text": "DEFINE BUTTONBAR oBar OF oTabella SIZE 70,70 BOTTOM NOBORDER 2010\n\n oBar:bClrGrad := { | lPressed | If( ! lPressed,;\n { { 1, nRgb(233,229,206),nRgb(233,229,206) } },;\n { { 1, nRgb( 245,244,234), nRgb( 245,244,234) } } ) }", "time": "20:05", "topic": "Buttonbar color", "username": "Silvio.Falconi" } ]
Buttonbar color
[ { "date": "2020-11-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Silvio,\n\nthis is for a single bar.\nI think Maurizio is looking for something like a global solution \n( for [color=#FF0000:3n0hha9z]ALL[/color:3n0hha9z] bars ) <!-- s:!: --><img src=\"{SMILIES_PATH}/icon_exclaim.gif\" alt=\":!:\" title=\"Exclamation\" /><!-- s:!: --> \n\nMaurizio wrote :\nwe have function like SetDlgGradient which allows you to \n[color=#0000FF:3n0hha9z]set the colors of all [/color:3n0hha9z]the dialogs of the project .\n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "20:28", "topic": "Buttonbar color", "username": "ukoenig" } ]
Buttonbar color
[ { "date": "2020-11-26", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"ukoenig\":2dlwlvk6]Silvio,\n\nthis is for a single bar.\nI think Maurizio is looking for something like a global solution \n( for [color=#FF0000:2dlwlvk6]ALL[/color:2dlwlvk6] bars ) <!-- s:!: --><img src=\"{SMILIES_PATH}/icon_exclaim.gif\" alt=\":!:\" title=\"Exclamation\" /><!-- s:!: --> \n\nMaurizio wrote :\nwe have function like SetDlgGradient which allows you to \n[color=#0000FF:2dlwlvk6]set the colors of all [/color:2dlwlvk6]the dialogs of the project .\n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->[/quote:2dlwlvk6]\n\nSorry, I not understood", "time": "12:46", "topic": "Buttonbar color", "username": "Silvio.Falconi" } ]
Buttonbar color
[ { "date": "2020-11-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Maurizio,\n\nYou may solve it this way for all your buttonbars:\n\nDEFINE BUTTONBAR ... COLOR ButtonBarColor()\n\n...\n\nfunction ButtonBarColor()\n\nreturn nRGBColor", "time": "13:41", "topic": "Buttonbar color", "username": "Antonio Linares" } ]
Buttonbar color
[ { "date": "2020-11-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks Antonio , \nit wasn't what I thought, but for the moment it's okay .\n\nMaurizio", "time": "09:28", "topic": "Buttonbar color", "username": "Maurizio" } ]
Buttonbar color
[ { "date": "2009-09-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Intento mejorar mi aplicación visualmente, para ello probe la clausula 2007 en una buttonbar; con este codigo :\n\n[code=fw:37qj62s6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTONBAR</span> oBarra 3DLOOK <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">30</span>,<span style=\"color: #000000;\">32</span> TOP <span style=\"color: #0000ff;\">OF</span> oVent <span style=\"color: #0000ff;\">CURSOR</span> oCursor <span style=\"color: #0000ff;\">UPDATE</span> <span style=\"color: #000000;\">2007</span><br />&nbsp;</div>[/code:37qj62s6]\n\nPero, pasa que al incluir la clausula 2007, los botones que yo tengo desabilitados, y que sin la clausula me aparecen con un color gris, al poner la clausula 2007 aparecen a full color; y no puede evitar esto.\n\nQue me falta definir?\n\nSaludos\n\nFernando Espinoza", "time": "01:36", "topic": "Buttonbar con clausula 2007", "username": "fespinoza" } ]
Buttonbar con clausula 2007
[ { "date": "2009-09-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Fernando,\n\nSolo te aparecerá el texto del botón en gris:\n\n[img:3f4sj9pu]http&#58;//img25&#46;imageshack&#46;us/img25/8940/capturewj&#46;png[/img:3f4sj9pu]\n\nRevisa FWH\\samples\\Test2007.prg", "time": "01:19", "topic": "Buttonbar con clausula 2007", "username": "Antonio Linares" } ]
Buttonbar con clausula 2007
[ { "date": "2008-10-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\r\n\r\nI noticed :\r\n\r\nIf using a full-screen BMP as background ( resized to screen-resolution )\r\nand painting a Buttonbar on top,\r\nthe Buttonbar is disabled, because of the BMP behind.\r\n\r\n[img:2k0adfem]http&#58;//www&#46;pflegeplus&#46;com/pictures/buttonbar5&#46;jpg[/img:2k0adfem]\r\n\r\nbefore :\r\n\r\n[code:2k0adfem]\n\nACTIVATE WINDOW oWnd MAXIMIZED ;\nON INIT &#40; MAKEBAR1&#40; oWnd &#41; &#41; ;\nON PAINT SHOW_PIC0&#40; oWnd &#41;\n\n// ----------------------------------------------\n\nFUNCTION MAKEBAR1&#40; oWnd &#41;\nLOCAL oBar1, oBtn1, oBtn2\n\nDEFINE BUTTONBAR oBar1 OF oWnd SIZE 80, 67 2007 RIGHT \n\nDEFINE BUTTON oBtn1 OF oBar1 ACTION &#40; Tools1&#40;oWnd&#41; &#41; ;\nRESOURCE \"gear\" PROMPT \"Windows\" TOOLTIP \"Windows and Dialog\" \n\nDEFINE BUTTON oBtn2 OF oBar1 ACTION &#40; Tools2&#40;oWnd&#41; &#41; ;\nRESOURCE \"gear\" PROMPT \"xBrowse\" TOOLTIP \"xBrowse\" \n\nRETURN&#40; NIL &#41;\n\n// ------ Full screen Background &#40; with Buttonbar on Top &#41; ------------\n\nFUNCTION SHOW_PIC0&#40; oWnd &#41;\nLOCAL oImage1\nLOCAL aRect &#58;= GETCLIENTRECT&#40; oWnd&#58;hWnd &#41;\n\n@ 0, 0 IMAGE oImage1 SIZE aRect&#91;4&#93;, aRect&#91;3&#93; OF oWnd ADJUST\noImage1&#58;LoadBmp&#40; \"BRAINSTORM&#46;BMP\" &#41;\n\nRETURN&#40; NIL &#41;\n\n[/code:2k0adfem]\n\nIf I reduce the BMP-width it works.\nI had to change the line :\n\n[code:2k0adfem]\n\n@ 0, 0 IMAGE oImage1 SIZE aRect&#91;4&#93; -80, aRect&#91;3&#93; OF oWnd ADJUST\n\n[/code:2k0adfem]\r\n\r\nBMP-width = aRect[4]-80 ( - Buttonbar-width )\r\n\r\nWhy the Buttonbar is disabled on TOP of the Background-BMP \r\nusing the full screen-size ?\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "12:36", "topic": "Buttonbar disabled, if painting on BMP-background ?", "username": "ukoenig" } ]
Buttonbar disabled, if painting on BMP-background ?
[ { "date": "2008-10-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Uwe,\r\n\r\nIn our system, we using into \"on resize\" method.\r\n\r\n[code:14hcpwxh]ACTIVATE WINDOW oWnd MAXIMIZED ;\nON INIT &#40; MAKEBAR1&#40; oWnd &#41; &#41; ;\nON RESIZE SHOW_PIC0&#40; oWnd &#41;\n\n// ----------------------------------------------\n\nFUNCTION MAKEBAR1&#40; oWnd &#41;\nLOCAL oBar1, oBtn1, oBtn2\n\nDEFINE BUTTONBAR oBar1 OF oWnd SIZE 80, 67 2007 RIGHT\n\nDEFINE BUTTON oBtn1 OF oBar1 ACTION &#40; Tools1&#40;oWnd&#41; &#41; ;\nRESOURCE \"gear\" PROMPT \"Windows\" TOOLTIP \"Windows and Dialog\"\n\nDEFINE BUTTON oBtn2 OF oBar1 ACTION &#40; Tools2&#40;oWnd&#41; &#41; ;\nRESOURCE \"gear\" PROMPT \"xBrowse\" TOOLTIP \"xBrowse\"\n\nRETURN&#40; NIL &#41;\n\n// ------ Full screen Background &#40; with Buttonbar on Top &#41; ------------\n\nFUNCTION SHOW_PIC0&#40; oWnd &#41;\nLOCAL oImage1\nLOCAL aRect &#58;= GETCLIENTRECT&#40; oWnd&#58;hWnd &#41;\n\n@ 0, 0 IMAGE oImage1 SIZE aRect&#91;4&#93;, aRect&#91;3&#93; OF oWnd ADJUST\noImage1&#58;LoadBmp&#40; \"BRAINSTORM&#46;BMP\" &#41;\n\nRETURN&#40; NIL &#41;[/code:14hcpwxh]", "time": "12:56", "topic": "Buttonbar disabled, if painting on BMP-background ?", "username": "JC" } ]
Buttonbar disabled, if painting on BMP-background ?
[ { "date": "2008-10-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello JC,\r\n\r\nI changed : ON PAINT in RESIZE\r\nThe same : the Buttonbar is disabled.\r\n\r\nIf i reduce the Background-BMP-width ( - Buttonbar-width ) it is OK.\r\n\r\nI want the Background adjusted to the screen resolution.\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "13:14", "topic": "Buttonbar disabled, if painting on BMP-background ?", "username": "ukoenig" } ]
Buttonbar disabled, if painting on BMP-background ?
[ { "date": "2008-10-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Uwe,\r\n\r\nThis my source code into ON RESIZE method:\r\n[code:itxn4dta]\noBitmap &#58;= TBitmap&#40;&#41;&#58;new&#40; 0, 0, oWnd&#58;getCliRect&#40;&#41;&#58;nRight, oWnd&#58;getCliRect&#40;&#41;&#58;nBottom,,, &#46;T&#46;, oWnd &#41;\n\nWITH OBJECT aSIS_DadosSistema&#91;\"objeto_background\"&#93;\n\n &#58;lStretch &#58;= &#46;T&#46;\n &#58;setBMP&#40; \"RES_IMAGEM_NAME\" &#41;\n &#58;center&#40;&#41;\n &#58;refresh&#40; &#46;T&#46; &#41;\n\nEND[/code:itxn4dta]", "time": "13:26", "topic": "Buttonbar disabled, if painting on BMP-background ?", "username": "JC" } ]
Buttonbar disabled, if painting on BMP-background ?
[ { "date": "2010-01-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Llevo 3 días peleando con el código, por poner una Buttonbar en una posición fija, dentro de un dialogo con un control RichEdit, la buttonbar se carga desde la clausula ON INIT; el código de la función que carga la ButtonBar es este:\n\n[code=fw:1hfu3a3x]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> CargaBarra<span style=\"color: #000000;\">&#40;</span>oDlg<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">LOCAL</span> oBar, oCursor, hDC, aFonts, oClp, oBold, oItalic, oUnderline, oItem, cFont, oSize, nSize:=<span style=\"color: #000000;\">10</span><br />hDC    := GetDC<span style=\"color: #000000;\">&#40;</span> oDlg:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span><br />aFonts := ASort<span style=\"color: #000000;\">&#40;</span> GetFontNames<span style=\"color: #000000;\">&#40;</span> hDC <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />ReleaseDC<span style=\"color: #000000;\">&#40;</span> oDlg:<span style=\"color: #000000;\">hWnd</span>, hDC <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">CURSOR</span> oCursor HAND<br /><span style=\"color: #0000ff;\">DEFINE</span> CLIPBOARD oClp <span style=\"color: #0000ff;\">OF</span> oDlg FORMAT <span style=\"color: #0000ff;\">TEXT</span><br />* Controles de la <span style=\"color: #0000ff;\">ButtonBar</span><br /><br />@ <span style=\"color: #000000;\">150</span>,<span style=\"color: #000000;\">260</span> <span style=\"color: #0000ff;\">BUTTONBAR</span> oBar <span style=\"color: #0000ff;\">OF</span> oDlg 3DLOOK <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">480</span>,<span style=\"color: #000000;\">27</span> BUTTONSIZE <span style=\"color: #000000;\">24</span>,<span style=\"color: #000000;\">24</span> FLOAT<br />   <span style=\"color: #B900B9;\">// 1</span><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"Cut\"</span> <span style=\"color: #0000ff;\">OF</span> oBar <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Cortar\"</span> NOBORDER ;<br />        <span style=\"color: #0000ff;\">WHEN</span> <span style=\"color: #000000;\">&#40;</span> ! Empty<span style=\"color: #000000;\">&#40;</span> oRtf:<span style=\"color: #000000;\">GetSel</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> .and. ! oRtf:<span style=\"color: #000000;\">lReadOnly</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oRtf:<span style=\"color: #000000;\">Cut</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oRtf:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />        TOOLTIP <span style=\"color: #ff0000;\">\"Cierra archivo abierto\"</span> TRANSPARENT <span style=\"color: #0000ff;\">CENTER</span><br />   <span style=\"color: #B900B9;\">// 2</span><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"Copy\"</span> <span style=\"color: #0000ff;\">OF</span> oBar <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Copiar\"</span> NOBORDER ;<br />        <span style=\"color: #0000ff;\">WHEN</span> <span style=\"color: #000000;\">&#40;</span> ! Empty<span style=\"color: #000000;\">&#40;</span> oRtf:<span style=\"color: #000000;\">GetSel</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oRtf:<span style=\"color: #000000;\">Copy</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oRtf:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />        TOOLTIP <span style=\"color: #ff0000;\">\"Copiar\"</span> TRANSPARENT <span style=\"color: #0000ff;\">CENTER</span><br />   <span style=\"color: #B900B9;\">// 3</span><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"Paste\"</span> <span style=\"color: #0000ff;\">OF</span> oBar <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Pegar\"</span> NOBORDER ;<br />        <span style=\"color: #0000ff;\">WHEN</span> <span style=\"color: #000000;\">&#40;</span> ! Empty<span style=\"color: #000000;\">&#40;</span> oClp:<span style=\"color: #000000;\">GetText</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> .and. ! oRtf:<span style=\"color: #000000;\">lReadOnly</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oRtf:<span style=\"color: #000000;\">Paste</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oRtf:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />        TOOLTIP <span style=\"color: #ff0000;\">\"Pegar\"</span> TRANSPARENT <span style=\"color: #0000ff;\">CENTER</span><br />   <span style=\"color: #B900B9;\">// 4</span><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"Undo\"</span> <span style=\"color: #0000ff;\">OF</span> oBar <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Deshacer\"</span> NOBORDER ;<br />        <span style=\"color: #0000ff;\">WHEN</span> <span style=\"color: #000000;\">&#40;</span> oRtf:<span style=\"color: #000000;\">SendMsg</span><span style=\"color: #000000;\">&#40;</span> EM_CANUNDO <span style=\"color: #000000;\">&#41;</span> != <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oRtf:<span style=\"color: #000000;\">Undo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oRtf:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />        TOOLTIP <span style=\"color: #ff0000;\">\"Deshacer\"</span> TRANSPARENT <span style=\"color: #0000ff;\">CENTER</span><br />   <span style=\"color: #B900B9;\">// 5</span><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"Redo\"</span> <span style=\"color: #0000ff;\">OF</span> oBar <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Rehacer\"</span> NOBORDER ;<br />        <span style=\"color: #0000ff;\">WHEN</span> <span style=\"color: #000000;\">&#40;</span> oRtf:<span style=\"color: #000000;\">SendMsg</span><span style=\"color: #000000;\">&#40;</span> EM_CANREDO <span style=\"color: #000000;\">&#41;</span> != <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oRtf:<span style=\"color: #000000;\">Redo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oRtf:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />        TOOLTIP <span style=\"color: #ff0000;\">\"Rehacer\"</span> TRANSPARENT <span style=\"color: #0000ff;\">CENTER</span><br />   <span style=\"color: #B900B9;\">// 6</span><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> oBold <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"Bold\"</span> <span style=\"color: #0000ff;\">OF</span> oBar <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Negrita\"</span> NOBORDER ;<br />        <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> lBold := !lBold, oBold:<span style=\"color: #000000;\">lPressed</span> := lBold, oBold:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, ;<br />                    oRtf:<span style=\"color: #000000;\">SetBold</span><span style=\"color: #000000;\">&#40;</span> lBold <span style=\"color: #000000;\">&#41;</span>, oRtf:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />        TOOLTIP <span style=\"color: #ff0000;\">\"Negrita\"</span> TRANSPARENT <span style=\"color: #0000ff;\">CENTER</span><br />   <span style=\"color: #B900B9;\">// 7</span><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> oItalic <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"Italic\"</span> <span style=\"color: #0000ff;\">OF</span> oBar <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Italica\"</span> NOBORDER ;<br />        <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> lItalic := !lItalic, oItalic:<span style=\"color: #000000;\">lPressed</span> := lItalic, oItalic:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, ;<br />                    oRtf:<span style=\"color: #000000;\">SetItalic</span><span style=\"color: #000000;\">&#40;</span> lItalic <span style=\"color: #000000;\">&#41;</span>, oRtf:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />        TOOLTIP <span style=\"color: #ff0000;\">\"Italica\"</span> TRANSPARENT <span style=\"color: #0000ff;\">CENTER</span><br />   <span style=\"color: #B900B9;\">// 8</span><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> oUnderline <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"Underline\"</span> <span style=\"color: #0000ff;\">OF</span> oBar <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Subrayado\"</span> NOBORDER ;<br />        <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> lUnderline := !lUnderline, oUnderline:<span style=\"color: #000000;\">lPressed</span> := lUnderline, oUnderline:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, ;<br />                    oRtf:<span style=\"color: #000000;\">SetUnderline</span><span style=\"color: #000000;\">&#40;</span> lUnderline <span style=\"color: #000000;\">&#41;</span>, oRtf:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />        TOOLTIP <span style=\"color: #ff0000;\">\"Subrayado\"</span> TRANSPARENT <span style=\"color: #0000ff;\">CENTER</span><br />   <span style=\"color: #B900B9;\">// 9</span><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"Left\"</span> <span style=\"color: #0000ff;\">OF</span> oBar <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Alinea a la izquierda\"</span> NOBORDER ;<br />        <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oRtf:<span style=\"color: #000000;\">SetAlign</span><span style=\"color: #000000;\">&#40;</span> PFA_LEFT <span style=\"color: #000000;\">&#41;</span>, oRtf:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />        TOOLTIP <span style=\"color: #ff0000;\">\"Alinea a la izquierda\"</span> TRANSPARENT <span style=\"color: #0000ff;\">CENTER</span><br />   <span style=\"color: #B900B9;\">// 10</span><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"Center\"</span> <span style=\"color: #0000ff;\">OF</span> oBar <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Alinea al centro\"</span> NOBORDER ;<br />        <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oRtf:<span style=\"color: #000000;\">SetAlign</span><span style=\"color: #000000;\">&#40;</span> PFA_CENTER <span style=\"color: #000000;\">&#41;</span>, oRtf:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />        TOOLTIP <span style=\"color: #ff0000;\">\"Alinea al centro\"</span> TRANSPARENT <span style=\"color: #0000ff;\">CENTER</span><br />   <span style=\"color: #B900B9;\">// 11</span><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"Right\"</span> <span style=\"color: #0000ff;\">OF</span> oBar <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Alinea a la derecha\"</span> NOBORDER ;<br />        <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oRtf:<span style=\"color: #000000;\">SetAlign</span><span style=\"color: #000000;\">&#40;</span> PFA_RIGHT <span style=\"color: #000000;\">&#41;</span>, oRtf:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />        TOOLTIP <span style=\"color: #ff0000;\">\"Alinea a la  derecha\"</span> TRANSPARENT <span style=\"color: #0000ff;\">CENTER</span><br />   <span style=\"color: #B900B9;\">// 12</span><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"Justify\"</span> <span style=\"color: #0000ff;\">OF</span> oBar <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Justifica a ambos lados\"</span> NOBORDER ;<br />        <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oRtf:<span style=\"color: #000000;\">SetAlign</span><span style=\"color: #000000;\">&#40;</span> PFA_JUSTIFY <span style=\"color: #000000;\">&#41;</span>, oRtf:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />        TOOLTIP <span style=\"color: #ff0000;\">\"Justifica a ambos lados\"</span> TRANSPARENT <span style=\"color: #0000ff;\">CENTER</span><br />   <span style=\"color: #B900B9;\">// 13</span><br />    @ <span style=\"color: #000000;\">153</span>,<span style=\"color: #000000;\">561</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oItem <span style=\"color: #0000ff;\">VAR</span> cFont <span style=\"color: #0000ff;\">ITEMS</span> aFonts <span style=\"color: #0000ff;\">OF</span> oDlg:<span style=\"color: #000000;\">oBar</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">133</span>,<span style=\"color: #000000;\">120</span> <span style=\"color: #0000ff;\">FONT</span> oFont3 ;<br />        <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> <span style=\"color: #000000;\">&#40;</span> oRtf:<span style=\"color: #000000;\">SetFontName</span><span style=\"color: #000000;\">&#40;</span> oItem:<span style=\"color: #000000;\">VarGet</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, oRtf:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />        oItem:<span style=\"color: #000000;\">cToolTip</span> := <span style=\"color: #ff0000;\">\"Nombre de fuente\"</span><br />   <span style=\"color: #B900B9;\">// 14</span><br />    @ <span style=\"color: #000000;\">153</span>,<span style=\"color: #000000;\">695</span> <span style=\"color: #0000ff;\">GET</span> oSize <span style=\"color: #0000ff;\">VAR</span> nSize <span style=\"color: #0000ff;\">OF</span> oDlg:<span style=\"color: #000000;\">oBar</span> <span style=\"color: #0000ff;\">FONT</span> oFont3 <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">21</span>,<span style=\"color: #000000;\">21</span> <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"99\"</span> SPINNER <span style=\"color: #0000ff;\">MIN</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #0000ff;\">MAX</span> <span style=\"color: #000000;\">99</span> <span style=\"color: #0000ff;\">RIGHT</span> ;<br />        <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> <span style=\"color: #000000;\">&#40;</span> oRtf:<span style=\"color: #000000;\">SetFontSize</span><span style=\"color: #000000;\">&#40;</span> oSize:<span style=\"color: #000000;\">VarGet</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, oRtf:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />        oSize:<span style=\"color: #000000;\">Set3DLook</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />        oSize:<span style=\"color: #000000;\">cToolTip</span> := <span style=\"color: #ff0000;\">\"Tamaño de fuente\"</span><br /><br />    AEval<span style=\"color: #000000;\">&#40;</span> oBar:<span style=\"color: #000000;\">aControls</span>, <span style=\"color: #000000;\">&#123;</span> |x| x:<span style=\"color: #000000;\">nLeft</span> += <span style=\"color: #000000;\">226</span>, x:<span style=\"color: #000000;\">nRight</span> += <span style=\"color: #000000;\">226</span> <span style=\"color: #000000;\">&#125;</span>, <span style=\"color: #000000;\">14</span> <span style=\"color: #000000;\">&#41;</span><br /><br />    oBar:<span style=\"color: #000000;\">bLClicked</span> := <span style=\"color: #000000;\">&#123;</span> || <span style=\"color: #00C800;\">nil</span> <span style=\"color: #000000;\">&#125;</span><br />    oBar:<span style=\"color: #000000;\">bRClicked</span> := <span style=\"color: #000000;\">&#123;</span> || <span style=\"color: #00C800;\">nil</span> <span style=\"color: #000000;\">&#125;</span><br /><br />    AEval<span style=\"color: #000000;\">&#40;</span> oBar:<span style=\"color: #000000;\">aControls</span>, <span style=\"color: #000000;\">&#123;</span> |x| x:<span style=\"color: #000000;\">oCursor</span> := oCursor <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />RETU .T.<br /> </div>[/code:1hfu3a3x]\n\nComo veran son 14 elementos, pero no se porque causa se crea una buttonbar solo con los 12 primeros y deja afuera al Combobox y al Get del final. Esto luego provoca un error al cargar los controles de la ButtonBar al abrirse el dialogo.\n\nPero usando el mismo código con una Buttonbar fija, todo funciona bien (se crea una buttonbar con 14 elementos); pero necesito que la ButtonBar no este en las posiciones convencionales, sino en una posición fija en medio del dialogo.\n\nRevisando el código de creación de la clase, cuando la ButtonBar es fija, se usa el metodo constructor New() y cuando va en una posición fija es NewAt(); pero no encuentro porque no funcionan de la misma forma. \n\nSaludos\n\nFernando Espinoza", "time": "05:33", "topic": "Buttonbar en una posición fija", "username": "fespinoza" } ]
Buttonbar en una posición fija
[ { "date": "2010-01-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola\n\n\n[code=fw:ndujknwg]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">@ <span style=\"color: #000000;\">153</span>,<span style=\"color: #000000;\">561</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oItem <span style=\"color: #0000ff;\">VAR</span> cFont <span style=\"color: #0000ff;\">ITEMS</span> aFonts <span style=\"color: #0000ff;\">OF</span> oDlg:<span style=\"color: #000000;\">oBar</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">133</span>,<span style=\"color: #000000;\">120</span> <span style=\"color: #0000ff;\">FONT</span> oFont3 ;<br />        <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> <span style=\"color: #000000;\">&#40;</span> oRtf:<span style=\"color: #000000;\">SetFontName</span><span style=\"color: #000000;\">&#40;</span> oItem:<span style=\"color: #000000;\">VarGet</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, oRtf:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />        oItem:<span style=\"color: #000000;\">cToolTip</span> := <span style=\"color: #ff0000;\">\"Nombre de fuente\"</span><br /> </div>[/code:ndujknwg]\n\n[code=fw:ndujknwg]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">puede que sea <span style=\"color: #0000ff;\">OF</span> oDlg:<span style=\"color: #000000;\">oBar</span><br /><br />cambia por <span style=\"color: #0000ff;\">OF</span> oDlg<br /> </div>[/code:ndujknwg]", "time": "13:23", "topic": "Buttonbar en una posición fija", "username": "Patricio Avalos Aguirre" } ]
Buttonbar en una posición fija
[ { "date": "2010-01-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola amigo...\nProbaste crándola fija y luego hacerla float?\n\n[code=fw:1834u3f1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">@ <span style=\"color: #000000;\">150</span>,<span style=\"color: #000000;\">260</span> <span style=\"color: #0000ff;\">BUTTONBAR</span> oBar <span style=\"color: #0000ff;\">OF</span> oDlg 3DLOOK <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">480</span>,<span style=\"color: #000000;\">27</span> BUTTONSIZE <span style=\"color: #000000;\">24</span>,<span style=\"color: #000000;\">24</span> TOP<br /><br />oBar:<span style=\"color: #000000;\">Float</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />oBar:<span style=\"color: #000000;\">bRClicked</span>:=<span style=\"color: #000000;\">&#123;</span>||.f.<span style=\"color: #000000;\">&#125;</span><br /> </div>[/code:1834u3f1]\n\nEspero te sirva...", "time": "13:24", "topic": "Buttonbar en una posición fija", "username": "jrestojeda" } ]
Buttonbar en una posición fija