messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2009-04-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Rossine,\n\n> Agora consigo compilar e excutar todos os exemplos codejock com harbour + msvc\n\nCual era el problema ? Como lo has solucionado ?", "time": "00:28", "topic": "Codejock RibbonBar primeras pruebas", "username": "Antonio Linares" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Olá Antonio,\n\nEu atualizei a minha versão do harbour (svn) e onde estava \"Codejock.CommandBarsFrame.12.1.1\" mudei para \"Codejock.CommandBarsFrame.13.0.0\" <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "00:39", "topic": "Codejock RibbonBar primeras pruebas", "username": "Rossine" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-04", "forum": "FiveWin para Harbour/xHarbour", "text": "bien! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "00:43", "topic": "Codejock RibbonBar primeras pruebas", "username": "Antonio Linares" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Rossine,\n\n> No caso do harbour gera o arquivo \"hb_out.log\".\n\nQue contiene el fichero ? Ponlo aqui", "time": "00:44", "topic": "Codejock RibbonBar primeras pruebas", "username": "Antonio Linares" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Olá Antonio,\n\nPode baixá-lo daqui: [url:3apndftf]http&#58;//rapidshare&#46;com/files/217156054/hb_out&#46;log&#46;html[/url:3apndftf]", "time": "01:43", "topic": "Codejock RibbonBar primeras pruebas", "username": "Rossine" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Visual RibbonBar: Añadiendo controles (botones), desarrollado conjuntamente con Daniel <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nRibonBar.prg\n[code=fw:16qxogce]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00D7D7;\">#define</span> xtpControlButton     <span style=\"color: #000000;\">1</span><br /><br /><span style=\"color: #00C800;\">static</span> oRb<br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">local</span> oWnd, oAct, oMenu, oGroups, oControls, aControls := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span><br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Visual RibbonBar\"</span><br /><br />   @ <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> ACTIVEX oAct PROGID <span style=\"color: #ff0000;\">\"Codejock.CommandBarsFrame.12.1.1\"</span> <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span><br /><br />   oAct:<span style=\"color: #000000;\">bOnEvent</span> = <span style=\"color: #000000;\">&#123;</span> | cEvent, aParams, pParams | RibbonBarEvent<span style=\"color: #000000;\">&#40;</span> cEvent, aParams, pParams, aControls <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />   oAct:<span style=\"color: #00C800;\">Do</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"AttachToWindow\"</span>, oWnd:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span><br /><br />   oRb = oAct:<span style=\"color: #00C800;\">Do</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"AddRibbonBar\"</span>, <span style=\"color: #ff0000;\">\"fwh\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />   oMenu = oRb:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"Menu\"</span> <span style=\"color: #000000;\">&#41;</span><br />   oMenu:<span style=\"color: #000000;\">Flags</span> = <span style=\"color: #000000;\">1</span>  && xtpFlagRightAlign<br /><br />   oTabs = oMenu:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"Tabs\"</span> <span style=\"color: #000000;\">&#41;</span><br />   AAdd<span style=\"color: #000000;\">&#40;</span> aControls, oTabs:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">3000</span>, <span style=\"color: #ff0000;\">\"Add\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />   oGroups = oMenu:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"Groups\"</span> <span style=\"color: #000000;\">&#41;</span><br />   AAdd<span style=\"color: #000000;\">&#40;</span> aControls, oGroups:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">4000</span>, <span style=\"color: #ff0000;\">\"Add\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />   oControls = oMenu:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"Controls\"</span> <span style=\"color: #000000;\">&#41;</span><br />   AAdd<span style=\"color: #000000;\">&#40;</span> aControls, oControls:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">5000</span>, <span style=\"color: #ff0000;\">\"Add Button\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />   <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> RibbonBarEvent<span style=\"color: #000000;\">&#40;</span> cEvent, aParams, pParams, aControls <span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">local</span> oTab, oGroup, oControl <br /><br />   <span style=\"color: #00C800;\">do</span> <span style=\"color: #00C800;\">case</span><br />      <span style=\"color: #00C800;\">case</span> cEvent == <span style=\"color: #ff0000;\">\"Execute\"</span> .and. Len<span style=\"color: #000000;\">&#40;</span> aControls <span style=\"color: #000000;\">&#41;</span> > <span style=\"color: #000000;\">0</span><br />           <span style=\"color: #00C800;\">do</span> <span style=\"color: #00C800;\">case</span><br />              <span style=\"color: #00C800;\">case</span> aControls<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hObj</span> == aParams<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />                   oTab = oRb:<span style=\"color: #000000;\">InsertTab</span><span style=\"color: #000000;\">&#40;</span> oRb:<span style=\"color: #000000;\">TabCount</span> + <span style=\"color: #000000;\">1</span>, <span style=\"color: #ff0000;\">\"Tab \"</span> + AllTrim<span style=\"color: #000000;\">&#40;</span> Str<span style=\"color: #000000;\">&#40;</span> oRb:<span style=\"color: #000000;\">TabCount</span> + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />                   oTab:<span style=\"color: #0000ff;\">Id</span> = oRb:<span style=\"color: #000000;\">TabCount</span><br />                   oTab:<span style=\"color: #000000;\">Selected</span> = .T.<br /><br />              <span style=\"color: #00C800;\">case</span> aControls<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hObj</span> == aParams<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />                   <span style=\"color: #00C800;\">if</span> oRb:<span style=\"color: #000000;\">TabCount</span> > <span style=\"color: #000000;\">0</span><br />                      oGroup = oRb:<span style=\"color: #000000;\">SelectedTab</span>:<span style=\"color: #000000;\">Groups</span>:<span style=\"color: #000000;\">AddGroup</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Group \"</span> + AllTrim<span style=\"color: #000000;\">&#40;</span> Str<span style=\"color: #000000;\">&#40;</span> oRb:<span style=\"color: #000000;\">SelectedTab</span>:<span style=\"color: #000000;\">Groups</span>:<span style=\"color: #000000;\">GroupCount</span> + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>,;<br />                               <span style=\"color: #000000;\">&#40;</span> oRb:<span style=\"color: #000000;\">SelectedTab</span>:<span style=\"color: #0000ff;\">Index</span> * <span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">&#41;</span> + oRb:<span style=\"color: #000000;\">SelectedTab</span>:<span style=\"color: #000000;\">Groups</span>:<span style=\"color: #000000;\">GroupCount</span> + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span><br />                   <span style=\"color: #00C800;\">endif</span>   <br /><br />              <span style=\"color: #00C800;\">case</span> aControls<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hObj</span> == aParams<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />                   <span style=\"color: #00C800;\">if</span> oRb:<span style=\"color: #000000;\">SelectedTab</span>:<span style=\"color: #000000;\">Groups</span>:<span style=\"color: #000000;\">GroupCount</span> > <span style=\"color: #000000;\">0</span><br />                      oGroup = oRb:<span style=\"color: #000000;\">FindGroup</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> oRb:<span style=\"color: #000000;\">SelectedTab</span>:<span style=\"color: #0000ff;\">Index</span> * <span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">&#41;</span> + oRb:<span style=\"color: #000000;\">SelectedTab</span>:<span style=\"color: #000000;\">Groups</span>:<span style=\"color: #000000;\">GroupCount</span> <span style=\"color: #000000;\">&#41;</span><br />                      oControl = oGroup:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> xtpControlButton, <span style=\"color: #000000;\">1</span>, <span style=\"color: #00C800;\">nil</span> <span style=\"color: #000000;\">&#41;</span><br />                      oControl:<span style=\"color: #000000;\">Caption</span> = <span style=\"color: #ff0000;\">\"Button \"</span> + AllTrim<span style=\"color: #000000;\">&#40;</span> Str<span style=\"color: #000000;\">&#40;</span> oGroup:<span style=\"color: #0000ff;\">Count</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />                   <span style=\"color: #00C800;\">endif</span>   <br /><br />           <span style=\"color: #00C800;\">endcase</span><br />   <span style=\"color: #00C800;\">endcase</span><br />   <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span>             <br /> </div>[/code:16qxogce]\n[img:16qxogce]http&#58;//img13&#46;imageshack&#46;us/img13/5183/10357880&#46;png[/img:16qxogce]", "time": "02:33", "topic": "Codejock RibbonBar primeras pruebas", "username": "Antonio Linares" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Olá Antonio,\n\nAo sair dos exemplos, é gerado o arquivo \"HB_OUT.LOG\". Mesmo WEBEXP.PRG gera este arquivo. Seria possível você testar estes exemplos com HARBOUR + MSVC ?", "time": "18:49", "topic": "Codejock RibbonBar primeras pruebas", "username": "Rossine" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Rossine,\n\nAparecen bloques de memoria sin liberar. Ocurre igual usando Borland.\n\nTenemos que localizar de donde proceden.", "time": "19:52", "topic": "Codejock RibbonBar primeras pruebas", "username": "Antonio Linares" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Olá Antonio,\n\nComo faço para gerar a ultima versão do harbour (svn) para BCC ? Mudei \"set HB_COMPILER=msvc\" para \"set HB_COMPILER=bcc\" e coloquei em meu arquivo BAT esta variavel \"set CC_DIR=c:\\bcc55\" mas ocorrem erros na compilação. Você pode me ajudar ?\n\nObs: Tentei usar o binário que você distribui \"harbour.exe\" só que está faltando a lib \"hbwin.lib\".", "time": "20:06", "topic": "Codejock RibbonBar primeras pruebas", "username": "Rossine" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Olá Antonio, \n\nEu baixei o harbour.exe de fevereiro e nela tem o arquivo hbwin.lib. Mesmo compilando com bcc é gerado o arquivo hb_out.log <!-- s:? --><img src=\"{SMILIES_PATH}/icon_confused.gif\" alt=\":?\" title=\"Confused\" /><!-- s:? --> \n\nSerá que ao sair do programa não é preciso finalizar a codejock não ? Tipo:\n\n[code=fw:28qmavex]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br />exit procedure SAIDA<br /><br />&nbsp;oAct:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:28qmavex]", "time": "01:26", "topic": "Codejock RibbonBar primeras pruebas", "username": "Rossine" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Rossine,\n\nHabía memoria no liberada en la Clase TActiveX. Se ha detectado y ya está arreglado <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEn la Clase TActiveX este nuevo método tiene que ser incluido:\n\n[code=fw:1c5u5n1w]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />    <span style=\"color: #00C800;\">METHOD</span> Destroy<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">INLINE</span> ActXEnd<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hActiveX</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">Super</span>:<span style=\"color: #000000;\">Destroy</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>          <br /> </div>[/code:1c5u5n1w]\n\nY reemplazar este módulo en FiveHCM.lib (Microsoft):\n<!-- m --><a class=\"postlink\" href=\"http://www.mediafire.com/?sharekey=414c17b7b136abb70f83d91f6dff7c38e77312ca09d065ae5621d66e282a0ee8\">http://www.mediafire.com/?sharekey=414c ... 6e282a0ee8</a><!-- m -->\n\nO este módulo en FiveHC.lib (Borland):\n<!-- m --><a class=\"postlink\" href=\"http://www.mediafire.com/?sharekey=414c17b7b136abb70f83d91f6dff7c38aa07d890f5cdc567ce018c8114394287\">http://www.mediafire.com/?sharekey=414c ... 8114394287</a><!-- m -->", "time": "08:54", "topic": "Codejock RibbonBar primeras pruebas", "username": "Antonio Linares" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Rossine,\n\nEste código NO es necesario:\n[code=fw:2xt8mrsu]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />exit procedure SAIDA<br /><br /> oAct:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:2xt8mrsu]\nFWH automaticamente destruye el ActiveX.", "time": "09:59", "topic": "Codejock RibbonBar primeras pruebas", "username": "Antonio Linares" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Olá Antonio, \n\nO problema de ser gerado o arquivo \"hb_out.log\" está resolvido <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nOutra coisa que achei interessante, se você der um \"duplo click\" no \"SystemButton\" a clausula Bvalid() da window é processada <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\n[code=fw:2zyrm1ug]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />...<br />   <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">valid</span> iif<span style=\"color: #000000;\">&#40;</span> msgyesno<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Sair ?\"</span>, <span style=\"color: #ff0000;\">\"Atencao\"</span> <span style=\"color: #000000;\">&#41;</span>, .T., .F. <span style=\"color: #000000;\">&#41;</span><br />...<br /> </div>[/code:2zyrm1ug]", "time": "02:18", "topic": "Codejock RibbonBar primeras pruebas", "username": "Rossine" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Rossine,\n\n> O problema de ser gerado o arquivo \"hb_out.log\" está resolvido \n\nBien! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\n>\nOutra coisa que achei interessante, se você der um \"duplo click\" no \"SystemButton\" a clausula Bvalid() da window é processada \n>\n\nEso quiere decir que ese botón actúa como botón de cierre, con doble click. Gracias! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "06:51", "topic": "Codejock RibbonBar primeras pruebas", "username": "Antonio Linares" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-14", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":272cqx7f]Rossine,\n\n> O problema de ser gerado o arquivo \"hb_out.log\" está resolvido \n\nBien! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\n>\nOutra coisa que achei interessante, se você der um \"duplo click\" no \"SystemButton\" a clausula Bvalid() da window é processada \n>\n\nEso quiere decir que ese botón actúa como botón de cierre, con doble click. Gracias! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->[/quote:272cqx7f]\n\nAntonio, \nEn estos tipos de OCX, por cada licencia de programa que venda... tengo que pagar una licencia del, por ejemplo, commandbarsframe?\nTenes idea de si es asi?\nGraciasl", "time": "02:16", "topic": "Codejock RibbonBar primeras pruebas", "username": "goosfancito" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-14", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote:37miirg5]\npor cada licencia de programa que venda... tengo que pagar una licencia \n[/quote:37miirg5]\nCreo que no. Pagas la licencia una sola vez.\n\nDe todas formas habría que revisar las condiciones que vengan especificadas en su licencia de uso, por si no es asi.", "time": "07:29", "topic": "Codejock RibbonBar primeras pruebas", "username": "Antonio Linares" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-14", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":e17uhcxh][quote:e17uhcxh]\npor cada licencia de programa que venda... tengo que pagar una licencia \n[/quote:e17uhcxh]\nCreo que no. Pagas la licencia una sola vez.\n\nDe todas formas habría que revisar las condiciones que vengan especificadas en su licencia de uso, por si no es asi.[/quote:e17uhcxh]\n\nAsi es Antonio, dejame por favor que ponga esta respuesta que recibi por parte de la gente del CodeJock:\n\n[quote:e17uhcxh]Hello,\n\nOur licensing is per developer. Each person working with the software needs\n1 license. You need one license.\n\nDo not distribute the source code from Codejock software. No additional\ncharge to use in your program.\n\nLet me know if you have questions.\n\nSincerely,\n\n\nColeen Stowell\nCodejock Customer Care\n[/quote:e17uhcxh]", "time": "21:22", "topic": "Codejock RibbonBar primeras pruebas", "username": "goosfancito" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Goosfancito,\n\ngracias por la información <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nUna licencia por programador, y luego tantos usuarios como se quiera. Eso parece que dice <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "00:50", "topic": "Codejock RibbonBar primeras pruebas", "username": "Antonio Linares" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Olá Antonio,\n\nO Codejock (activex) está funcionando na versão 9.04 + MSVC ?", "time": "18:51", "topic": "Codejock RibbonBar primeras pruebas", "username": "Rossine" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Rossine,\n\nNo lo hemos probado aun.\n\nVamos a probarlo y lo comentamos", "time": "23:33", "topic": "Codejock RibbonBar primeras pruebas", "username": "Antonio Linares" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Rossine,\n\n> O Codejock (activex) está funcionando na versão 9.04 + MSVC ?\n\nProbado y funcionando correctamente <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "08:37", "topic": "Codejock RibbonBar primeras pruebas", "username": "Antonio Linares" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Olá Antonio,\n\n[quote:3hndzfk0]\nProbado y funcionando correctamente\n[/quote:3hndzfk0]\n\nGracias Maestro pela confirmação. Vou procurar a Virtual aqui no brasil para atualizar a minha versão <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "13:27", "topic": "Codejock RibbonBar primeras pruebas", "username": "Rossine" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Olá Antonio,\n\nEu atualizei para fwh 9.04 e ao tentar compilar o exemplo aqui me ocorreu estes erros:\n\n[code=fw:2fsvjlr0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />FiveHCM.lib<span style=\"color: #000000;\">&#40;</span>ACTX.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2019: <span style=\"color: #000000;\">unresolved</span> external symbol _hb_oleVarianToItem referenced in <span style=\"color: #00C800;\">function</span> _InvokeEvent<br />FiveHCM.lib<span style=\"color: #000000;\">&#40;</span>MSGSAPI.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2019: <span style=\"color: #000000;\">unresolved</span> external symbol _hb_oleAnsToWide referenced in <span style=\"color: #00C800;\">function</span> _HB_FUN_SENDWIDESTRINGMESSAGE<br />codej14.exe : <span style=\"color: #000000;\">fatal</span> error LNK1120: <span style=\"color: #000000;\">2</span> unresolved externals<br /> </div>[/code:2fsvjlr0]\n\nUsando o harbour que vem junto com fwh compila e roda, mas prefiro usar o harbour SVN. Isto é possível ?", "time": "16:03", "topic": "Codejock RibbonBar primeras pruebas", "username": "Rossine" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Rossine,\n\nTienes que enlazar HBWIN.lib de Harbour", "time": "20:31", "topic": "Codejock RibbonBar primeras pruebas", "username": "Antonio Linares" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Olá Antonio,\n\n>> Tienes que enlazar HBWIN.lib de Harbour\n\nSim ela já fazia parte do meu script. Como eu disse anteriormente, se eu compilo com o harbour para msvc que você forneceu junto com fwh 9.04, aí compila e roda corretamente. O problema de compilação se dá com o harbour SVN. Mais alguma sugestão ?", "time": "03:55", "topic": "Codejock RibbonBar primeras pruebas", "username": "Rossine" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Rossine,\n\nHas comparado el fichero HBWIN.lib que tu generas con el que nosotros proporcionamos ?\n\nCompara tamaño y contenido.", "time": "11:07", "topic": "Codejock RibbonBar primeras pruebas", "username": "Antonio Linares" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio,\n\nComo hago (ya no me acuerdo de vb) para que me aparezca el codejock asi como lo tenes en el vb para inspeccionar?\n\nGracias.\n\n\n[quote=\"Antonio Linares\":15ge76t5]Inspeccionando facilmente las propiedades de CodeJock desde Microsoft Word (VBA) para aprenderlas <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\n[img:15ge76t5]http&#58;//img25&#46;imageshack&#46;us/img25/4921/captureg&#46;png[/img:15ge76t5][/quote:15ge76t5]", "time": "14:07", "topic": "Codejock RibbonBar primeras pruebas", "username": "goosfancito" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Espectacular. y te digo que me gustaría en algun momento ver mis app asi. \n\n\n[quote=\"richard-service\":3a8ayhqk]Hi All,\n\nFinished.\n\nAdd Tab Group ToolTip+bitmap\n[img:3a8ayhqk]http&#58;//www&#46;fivetech&#46;com&#46;tw/fwh/ribbonbar10&#46;jpg[/img:3a8ayhqk]\n\nShow Button ToolTip+bitmap\n[img:3a8ayhqk]http&#58;//www&#46;fivetech&#46;com&#46;tw/fwh/ribbonbar11&#46;jpg[/img:3a8ayhqk]\n\nChange Tab Color\n[img:3a8ayhqk]http&#58;//www&#46;fivetech&#46;com&#46;tw/fwh/ribbonbar12&#46;jpg[/img:3a8ayhqk]\n\nChange Interface Color - Black\n[img:3a8ayhqk]http&#58;//www&#46;fivetech&#46;com&#46;tw/fwh/ribbonbar13&#46;jpg[/img:3a8ayhqk]\n\nChange Interface Color - Silver\n[img:3a8ayhqk]http&#58;//www&#46;fivetech&#46;com&#46;tw/fwh/ribbonbar14&#46;jpg[/img:3a8ayhqk]\n\nChange Interface Color - Aqua\n[img:3a8ayhqk]http&#58;//www&#46;fivetech&#46;com&#46;tw/fwh/ribbonbar15&#46;jpg[/img:3a8ayhqk]\n\n[code=fw:3a8ayhqk]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">// FWH ActiveX Call Codejock Ocx Sample //</span><br /><span style=\"color: #B900B9;\">// Richard                              //</span><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00D7D7;\">#define</span> xtpControlError              <span style=\"color: #000000;\">0</span><br /><span style=\"color: #00D7D7;\">#define</span> xtpControlButton             <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00D7D7;\">#define</span> xtpControlPopup              <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00D7D7;\">#define</span> xtpControlButtonPopup        <span style=\"color: #000000;\">3</span><br /><span style=\"color: #00D7D7;\">#define</span> xtpControlSplitButtonPopup   <span style=\"color: #000000;\">4</span><br /><span style=\"color: #00D7D7;\">#define</span> xtpControlComboBox           <span style=\"color: #000000;\">5</span><br /><span style=\"color: #00D7D7;\">#define</span> xtpControlEdit               <span style=\"color: #000000;\">6</span><br /><span style=\"color: #00D7D7;\">#define</span> xtpControlCustom             <span style=\"color: #000000;\">7</span><br /><span style=\"color: #00D7D7;\">#define</span> xtpControlLabel              <span style=\"color: #000000;\">8</span><br /><span style=\"color: #00D7D7;\">#define</span> xtpControlCheckBox           <span style=\"color: #000000;\">9</span><br /><span style=\"color: #00D7D7;\">#define</span> xtpControlGallery           <span style=\"color: #000000;\">10</span><br /><span style=\"color: #00D7D7;\">#define</span> xtpControlRadioButton       <span style=\"color: #000000;\">11</span><br /><br /><span style=\"color: #00D7D7;\">#define</span> xtpImageNormal               <span style=\"color: #000000;\">0</span><br /><span style=\"color: #00D7D7;\">#define</span> xtpImageDisabled             <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00D7D7;\">#define</span> xtpImageHot                  <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00D7D7;\">#define</span> xtpImageChecked              <span style=\"color: #000000;\">3</span><br /><span style=\"color: #00D7D7;\">#define</span> xtpImagePressed              <span style=\"color: #000000;\">4</span><br /><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>  <br />      <br />   <span style=\"color: #00C800;\">local</span> oWnd, oAct <br />   <br />   <span style=\"color: #00C800;\">local</span> oRb<br />   <span style=\"color: #00C800;\">local</span> oQA, oQBtn1, oQBtn2, oQBtn3 <br />   <span style=\"color: #00C800;\">local</span> oSysButton, oControl, oPopupBar  <br />   <br />   <span style=\"color: #00C800;\">local</span> oStatusBar, oToolTipContext, oIcons<br />   <span style=\"color: #00C800;\">local</span> oTabFiles, oGroup1<br />   <span style=\"color: #00C800;\">local</span> oTabEdit, oGroup2<br />   <span style=\"color: #00C800;\">local</span> oTabBuild<br />   <br />   <span style=\"color: #00C800;\">local</span> aButtons := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span> <br />   <span style=\"color: #00C800;\">local</span> oButton1, oButton2, oButton3, oButton4<br />   <span style=\"color: #00C800;\">local</span> oExitBtn, oExitBtn2<br />   <span style=\"color: #00C800;\">local</span> oBmp1, oBmp2, oBmp3, obmp4, obmp5, obmp6, obmp7, obmp8, obmp9<br />   <br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"FWH Support Codejock ActiveX\"</span><br />   <br />   oBmp1 := TBitmap<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">Define</span><span style=\"color: #000000;\">&#40;</span> , <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\n</span>ew2.bmp\"</span>, oWnd <span style=\"color: #000000;\">&#41;</span><br />   oBmp2 := TBitmap<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">Define</span><span style=\"color: #000000;\">&#40;</span> , <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\o</span>pen2.bmp\"</span>, oWnd <span style=\"color: #000000;\">&#41;</span> <br />   oBmp3 := TBitmap<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">Define</span><span style=\"color: #000000;\">&#40;</span> , <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\a</span>lphabmp<span style=\"color: #000000;\">\\e</span>xplorer.bmp\"</span>, oWnd <span style=\"color: #000000;\">&#41;</span>     <br />   oBmp4 := TBitmap<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">Define</span><span style=\"color: #000000;\">&#40;</span> , <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\o</span>pen.bmp\"</span>, oWnd <span style=\"color: #000000;\">&#41;</span> <br />   oBmp5 := TBitmap<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">Define</span><span style=\"color: #000000;\">&#40;</span> , <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\p</span>eople.bmp\"</span>, oWnd <span style=\"color: #000000;\">&#41;</span> <br />   oBmp6 := TBitmap<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">Define</span><span style=\"color: #000000;\">&#40;</span> , <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\k</span>eys.bmp\"</span>, oWnd <span style=\"color: #000000;\">&#41;</span> <br />   oBmp7 := TBitmap<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">Define</span><span style=\"color: #000000;\">&#40;</span> , <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\q</span>uit.bmp\"</span>, oWnd <span style=\"color: #000000;\">&#41;</span> <br />   oBmp8 := TBitmap<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">Define</span><span style=\"color: #000000;\">&#40;</span> , <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\c</span>opy.bmp\"</span>, oWnd <span style=\"color: #000000;\">&#41;</span><br />   oBmp9 := TBitmap<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">Define</span><span style=\"color: #000000;\">&#40;</span> , <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\i</span>nfo.bmp\"</span>, oWnd <span style=\"color: #000000;\">&#41;</span><br />   <br />   <br />   oAct := TActiveX<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span> oWnd, <span style=\"color: #ff0000;\">\"Codejock.CommandBarsFrame.12.1.1\"</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>  <br />   <br />   <span style=\"color: #B900B9;\">//@ 0, 0 ACTIVEX oAct PROGID \"Codejock.CommandBarsFrame.12.1.1\" OF oWnd</span><br /><br />   oAct:<span style=\"color: #000000;\">bOnEvent</span> = <span style=\"color: #000000;\">&#123;</span> | cEvent, aParams, pParams | RibbonBarEvent<span style=\"color: #000000;\">&#40;</span> cEvent, aParams, pParams, aButtons, oWnd <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />   oAct:<span style=\"color: #00C800;\">Do</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"AttachToWindow\"</span>, oWnd:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span><br />   <br />   oAct:<span style=\"color: #00C800;\">Do</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"EnableOffice2007Frame\"</span>, .T. <span style=\"color: #000000;\">&#41;</span><br />   oAct:<span style=\"color: #00C800;\">Do</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"VisualTheme\"</span>, .T. <span style=\"color: #000000;\">&#41;</span><br /><br />           <br />   <span style=\"color: #B900B9;\">// ToolTipContext - Richard          </span><br />   oToolTipContext := TOleAuto<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span> ActXPdisp<span style=\"color: #000000;\">&#40;</span> oAct:<span style=\"color: #000000;\">hActiveX</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />   oToolTipContext := oToolTipContext:<span style=\"color: #000000;\">ToolTipContext</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   oToolTipContext:<span style=\"color: #0000ff;\">Style</span> = <span style=\"color: #000000;\">5</span>  && xtpToolTipOffice2007<br />   oToolTipContext:<span style=\"color: #000000;\">ShowTitleAndDescription</span><span style=\"color: #000000;\">&#40;</span> .T., <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />   oToolTipContext:<span style=\"color: #000000;\">ShowImage</span><span style=\"color: #000000;\">&#40;</span> .T., <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />   oToolTipContext:<span style=\"color: #000000;\">SetMargin</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span><br />   oToolTipContext:<span style=\"color: #000000;\">MaxTipWidth</span> = <span style=\"color: #000000;\">180</span><br />   <br />   <span style=\"color: #B900B9;\">// StatusBar-Richard</span><br />   oStatusBar := TOleAuto<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span> ActXPdisp<span style=\"color: #000000;\">&#40;</span> oAct:<span style=\"color: #000000;\">hActiveX</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />   oStatusBar:<span style=\"color: #000000;\">StatusBar</span>:<span style=\"color: #000000;\">Visible</span> = .T.<br /><br />   oStatusBar:<span style=\"color: #000000;\">StatusBar</span>:<span style=\"color: #000000;\">AddPane</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />   oStatusBar:<span style=\"color: #000000;\">StatusBar</span>:<span style=\"color: #000000;\">AddPane</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">59137</span> <span style=\"color: #000000;\">&#41;</span><br />   oStatusBar:<span style=\"color: #000000;\">StatusBar</span>:<span style=\"color: #000000;\">AddPane</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">59138</span> <span style=\"color: #000000;\">&#41;</span><br />   oStatusBar:<span style=\"color: #000000;\">StatusBar</span>:<span style=\"color: #000000;\">AddPane</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">59139</span> <span style=\"color: #000000;\">&#41;</span>  <br />   oStatusBar:<span style=\"color: #000000;\">StatusBar</span>:<span style=\"color: #000000;\">IdleText</span> = <span style=\"color: #ff0000;\">\"FWH support Codejock RibbonBar\"</span>       <br />   <br />   oIcons := oAct:<span style=\"color: #00C800;\">Do</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"icons\"</span> <span style=\"color: #000000;\">&#41;</span>  <br />   <br />   oIcons:<span style=\"color: #000000;\">AddBitmap</span><span style=\"color: #000000;\">&#40;</span> oBmp1:<span style=\"color: #000000;\">hBitmap</span>,<span style=\"color: #000000;\">1</span>,xtpImageNormal,.f. <span style=\"color: #000000;\">&#41;</span> <br />   oIcons:<span style=\"color: #000000;\">AddBitmap</span><span style=\"color: #000000;\">&#40;</span> oBmp2:<span style=\"color: #000000;\">hBitmap</span>,<span style=\"color: #000000;\">2</span>,xtpImageNormal,.f. <span style=\"color: #000000;\">&#41;</span> <br />   oIcons:<span style=\"color: #000000;\">AddBitmap</span><span style=\"color: #000000;\">&#40;</span> oBmp3:<span style=\"color: #000000;\">hBitmap</span>,<span style=\"color: #000000;\">3</span>,xtpImageNormal,.t. <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// 4th param, Bool to Alpha Channel Support   </span><br />   oIcons:<span style=\"color: #000000;\">AddBitmap</span><span style=\"color: #000000;\">&#40;</span> oBmp4:<span style=\"color: #000000;\">hBitmap</span>,<span style=\"color: #000000;\">4</span>,xtpImageNormal,.f. <span style=\"color: #000000;\">&#41;</span><br />   oIcons:<span style=\"color: #000000;\">AddBitmap</span><span style=\"color: #000000;\">&#40;</span> oBmp5:<span style=\"color: #000000;\">hBitmap</span>,<span style=\"color: #000000;\">5</span>,xtpImageNormal,.f. <span style=\"color: #000000;\">&#41;</span><br />   oIcons:<span style=\"color: #000000;\">AddBitmap</span><span style=\"color: #000000;\">&#40;</span> oBmp6:<span style=\"color: #000000;\">hBitmap</span>,<span style=\"color: #000000;\">6</span>,xtpImageNormal,.f. <span style=\"color: #000000;\">&#41;</span><br />   oIcons:<span style=\"color: #000000;\">AddBitmap</span><span style=\"color: #000000;\">&#40;</span> oBmp7:<span style=\"color: #000000;\">hBitmap</span>,<span style=\"color: #000000;\">7</span>,xtpImageNormal,.f. <span style=\"color: #000000;\">&#41;</span><br />   oIcons:<span style=\"color: #000000;\">AddBitmap</span><span style=\"color: #000000;\">&#40;</span> oBmp8:<span style=\"color: #000000;\">hBitmap</span>,<span style=\"color: #000000;\">8</span>,xtpImageNormal,.f. <span style=\"color: #000000;\">&#41;</span><br />   oIcons:<span style=\"color: #000000;\">AddBitmap</span><span style=\"color: #000000;\">&#40;</span> oBmp9:<span style=\"color: #000000;\">hBitmap</span>,<span style=\"color: #000000;\">9</span>,xtpImageNormal,.f. <span style=\"color: #000000;\">&#41;</span><br />   oIcons:<span style=\"color: #000000;\">LoadBitmap</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\e</span>dit.bmp\"</span>,<span style=\"color: #000000;\">4</span>, xtpImageNormal<span style=\"color: #000000;\">&#41;</span> <br />    <br />   <span style=\"color: #B900B9;\">//oAct:Hide()</span><br /><br />   <span style=\"color: #B900B9;\">// RibbonBar - Richard</span><br />   oRb = oAct:<span style=\"color: #00C800;\">Do</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"AddRibbonBar\"</span>, <span style=\"color: #ff0000;\">\"Ribbon Bar\"</span> <span style=\"color: #000000;\">&#41;</span><br />   <br />   oRb:<span style=\"color: #000000;\">EnableDocking</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">64</span><span style=\"color: #000000;\">&#41;</span><br />   oRb:<span style=\"color: #000000;\">EnableFrameTheme</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>               <br />   oRb:<span style=\"color: #000000;\">ShowQuickAccessBelowRibbon</span><span style=\"color: #000000;\">&#40;</span>.F.<span style=\"color: #000000;\">&#41;</span><br />   oRb:<span style=\"color: #000000;\">ShowCaptionAlways</span><span style=\"color: #000000;\">&#40;</span>.T.<span style=\"color: #000000;\">&#41;</span> <br />   oRb:<span style=\"color: #000000;\">ShowQuickAccess</span><span style=\"color: #000000;\">&#40;</span>.T.<span style=\"color: #000000;\">&#41;</span>  <br />   oRb:<span style=\"color: #000000;\">ShowGripper</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   <br />   <span style=\"color: #B900B9;\">// QuickAccess - Richard   </span><br />   oQA:= oRb:<span style=\"color: #000000;\">QuickAccessControls</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <br />   oQBtn1 := oQA:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span>, <span style=\"color: #ff0000;\">\"&New\"</span>         <span style=\"color: #000000;\">&#41;</span><br />   oQBtn2 := oQA:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #ff0000;\">\"&Save\"</span>        <span style=\"color: #000000;\">&#41;</span><br />   oQBtn3 := oQA:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">8</span>, <span style=\"color: #ff0000;\">\"&copy\"</span>        <span style=\"color: #000000;\">&#41;</span><br />   oQA:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">9</span>, <span style=\"color: #ff0000;\">\"&info\"</span>        <span style=\"color: #000000;\">&#41;</span><br />   <br />   <span style=\"color: #B900B9;\">// Add SysButton - Richard</span><br />   oSysButton := oRb:<span style=\"color: #000000;\">AddSystemButton</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   oSysButton:<span style=\"color: #000000;\">IconId</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#41;</span><br />      <br />   oSysButton:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">4</span>, <span style=\"color: #ff0000;\">\"&New\"</span>         <span style=\"color: #000000;\">&#41;</span><br />   oSysbutton:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">5</span>, <span style=\"color: #ff0000;\">\"&Open...\"</span>     <span style=\"color: #000000;\">&#41;</span><br />   oSysbutton:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">6</span>, <span style=\"color: #ff0000;\">\"&Save\"</span>        <span style=\"color: #000000;\">&#41;</span><br />   oSysbutton:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">6</span>, <span style=\"color: #ff0000;\">\"Save &As...\"</span>  <span style=\"color: #000000;\">&#41;</span><br />   <br />   oControl := oSysButton:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">4</span>, <span style=\"color: #000000;\">5</span>, <span style=\"color: #ff0000;\">\"&Print\"</span><span style=\"color: #000000;\">&#41;</span><br />   oControl:<span style=\"color: #000000;\">BeginGroup</span> = .T.<br />   <br />   oPopupBar := TOleAuto<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span> ActXPdisp<span style=\"color: #000000;\">&#40;</span> oAct:<span style=\"color: #000000;\">hActiveX</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />          oPopupBar := oPopupBar:<span style=\"color: #000000;\">CreateCommandBar</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"CXTPRibbonSystemPopupBarPage\"</span><span style=\"color: #000000;\">&#41;</span><br /><br />          oControl:<span style=\"color: #000000;\">CommandBar</span> = oPopupBar<br />          oControl := oPopupBar:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">8</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"Preview and print the document\"</span><span style=\"color: #000000;\">&#41;</span><br />          oControl:<span style=\"color: #000000;\">Width</span> = <span style=\"color: #000000;\">296</span><br />          oControl:<span style=\"color: #000000;\">DefaultItem</span> = .T.<br />          oControl:<span style=\"color: #0000ff;\">Style</span> = <span style=\"color: #000000;\">1</span>  && xtpButtonCaption<br />          oPopupBar:<span style=\"color: #000000;\">DefaultButtonStyle</span> = <span style=\"color: #000000;\">5</span>  && xtpButtonCaptionAndDescription<br />          oPopupBar:<span style=\"color: #000000;\">SetIconSize</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">32</span>, <span style=\"color: #000000;\">32</span> <span style=\"color: #000000;\">&#41;</span><br />          oPopupBar:<span style=\"color: #000000;\">ShowGripper</span> = .F.<br /><br />             oPopupBar:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">4</span>, <span style=\"color: #ff0000;\">\"Print Pre&view\"</span> <span style=\"color: #000000;\">&#41;</span><br />          oPrnSetup = oPopupBar:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">5</span>, <span style=\"color: #ff0000;\">\"Pr&int Setup...\"</span> <span style=\"color: #000000;\">&#41;</span><br />             oPopupBar:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">6</span>, <span style=\"color: #ff0000;\">\"Print Pre&view\"</span> <span style=\"color: #000000;\">&#41;</span><br />             <br />   oSysbutton:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1230</span>, <span style=\"color: #ff0000;\">\"Prepare\"</span> <span style=\"color: #000000;\">&#41;</span><br />   oSysbutton:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1235</span>, <span style=\"color: #ff0000;\">\"Send\"</span> <span style=\"color: #000000;\">&#41;</span><br />   oSysbutton:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1230</span>, <span style=\"color: #ff0000;\">\"Publish\"</span> <span style=\"color: #000000;\">&#41;</span><br />   oExitBtn2 = oSysbutton:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">7</span>, <span style=\"color: #ff0000;\">\"Close\"</span> <span style=\"color: #000000;\">&#41;</span><br />  <br />   oSysbutton:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">SetIconSize</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">32</span>, <span style=\"color: #000000;\">32</span> <span style=\"color: #000000;\">&#41;</span>    <br />   <br />   <br />   <span style=\"color: #B900B9;\">// RibbonBar Table - Richard   </span><br />   oTabFiles = oRb:<span style=\"color: #000000;\">InsertTab</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"&Files\"</span> <span style=\"color: #000000;\">&#41;</span> <br />   <br />   oTabFiles_Grp1 = oTabFiles:<span style=\"color: #000000;\">Groups</span>:<span style=\"color: #000000;\">AddGroup</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"&Clipboard\"</span>, <span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />   oTabFiles_Grp1:<span style=\"color: #000000;\">ShowOptionButton</span> = .T.<br />   <br />   <span style=\"color: #B900B9;\">// TabFiles Group ToolTip - Richard</span><br />   oTabFiles_Grp1:<span style=\"color: #000000;\">ControlGroupOption</span>:<span style=\"color: #0000ff;\">Id</span> = <span style=\"color: #000000;\">1000</span><br />   oTabFiles_Grp1:<span style=\"color: #000000;\">ControlGroupOption</span>:<span style=\"color: #000000;\">ToolTipText</span> = <span style=\"color: #ff0000;\">\"Clipboard\"</span><br />   oTabFiles_Grp1:<span style=\"color: #000000;\">ControlGroupOption</span>:<span style=\"color: #000000;\">DescriptionText</span> = <span style=\"color: #ff0000;\">\"Show clipboard dialog\"</span><br />   oTabFiles_Grp1:<span style=\"color: #000000;\">ControlGroupOption</span>:<span style=\"color: #000000;\">IconId</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#41;</span> <br />      <br />   <br />   oPaste := oTabFiles_Grp1:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">4</span>, <span style=\"color: #000000;\">1</span>, <span style=\"color: #ff0000;\">\"&Paste\"</span><span style=\"color: #000000;\">&#41;</span><br />    oPaste:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span>, <span style=\"color: #ff0000;\">\"&Paste\"</span> <span style=\"color: #000000;\">&#41;</span><br />    oPaste:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #ff0000;\">\"&Paste Special\"</span> <span style=\"color: #000000;\">&#41;</span><br />   oButton1 = oTabFiles_Grp1:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> xtpControlButton, <span style=\"color: #000000;\">2</span>, <span style=\"color: #ff0000;\">\"&Cut\"</span> <span style=\"color: #000000;\">&#41;</span><br />   oButton2 = oTabFiles_Grp1:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> xtpControlButton, <span style=\"color: #000000;\">3</span>, <span style=\"color: #ff0000;\">\"&Copy\"</span> <span style=\"color: #000000;\">&#41;</span><br />          <br />   oBtn1 := oTabFiles_Grp1:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span>  <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">9</span>, <span style=\"color: #ff0000;\">\"Format\"</span><span style=\"color: #000000;\">&#41;</span><br />   oBtn1:<span style=\"color: #000000;\">Enabled</span> = .F.<br />   <br />   oBtn2 := oTabFiles_Grp1:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span>  <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">8</span>, <span style=\"color: #ff0000;\">\"Delete\"</span><span style=\"color: #000000;\">&#41;</span><br />   oExitBtn := oTabFiles_Grp1:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span>  xtpControlButton, <span style=\"color: #000000;\">7</span>, <span style=\"color: #ff0000;\">\"Exit\"</span><span style=\"color: #000000;\">&#41;</span><br />            <br />   <br />   oTabFiles_Grp2 := oTabFiles:<span style=\"color: #000000;\">Groups</span>:<span style=\"color: #000000;\">AddGroup</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"&Font\"</span>, <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span><br />  <br />   oButton3 = oTabFiles_Grp2:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> xtpControlButton, <span style=\"color: #000000;\">4</span>, <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">&#41;</span><br />   oButton4 = oTabfiles_Grp2:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> xtpControlButton, <span style=\"color: #000000;\">3</span>, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">&#41;</span><br />   oButton4:<span style=\"color: #000000;\">SetIconSize</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">64</span>,<span style=\"color: #000000;\">64</span> <span style=\"color: #000000;\">&#41;</span><br />   oButton4:<span style=\"color: #000000;\">Width</span> = <span style=\"color: #000000;\">70</span><br />   oButton4:<span style=\"color: #000000;\">Height</span> = <span style=\"color: #000000;\">70</span><br />   <br />       <br />   oTabEdit  = oRb:<span style=\"color: #000000;\">InsertTab</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #ff0000;\">\"&Edit\"</span> <span style=\"color: #000000;\">&#41;</span>  <br />   <br />   oTabBuild = oRb:<span style=\"color: #000000;\">InsertTab</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2</span>, <span style=\"color: #ff0000;\">\"&Build\"</span> <span style=\"color: #000000;\">&#41;</span> <br />   oTabBuild:<span style=\"color: #0000ff;\">Color</span> = <span style=\"color: #000000;\">5</span>   <br />   oTable_Grp := oTabBuild:<span style=\"color: #000000;\">Groups</span>:<span style=\"color: #000000;\">AddGroup</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"&Show/Hide\"</span>, <span style=\"color: #000000;\">5025</span><span style=\"color: #000000;\">&#41;</span><br />   oTable_Grp:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">9</span>, <span style=\"color: #000000;\">2807</span>, <span style=\"color: #ff0000;\">\"Ruler\"</span> <span style=\"color: #000000;\">&#41;</span><br />   oTable_Grp:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">9</span>, <span style=\"color: #000000;\">2808</span>, <span style=\"color: #ff0000;\">\"GridLines\"</span> <span style=\"color: #000000;\">&#41;</span><br />   oTable_Grp:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">9</span>, <span style=\"color: #000000;\">2809</span>, <span style=\"color: #ff0000;\">\"Properties\"</span> <span style=\"color: #000000;\">&#41;</span><br />   oTable_Grp:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">9</span>, <span style=\"color: #000000;\">2810</span>, <span style=\"color: #ff0000;\">\"Document Map\"</span> <span style=\"color: #000000;\">&#41;</span><br />   oTable_Grp:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">9</span>, <span style=\"color: #000000;\">2811</span>, <span style=\"color: #ff0000;\">\"Thumbnails\"</span> <span style=\"color: #000000;\">&#41;</span><br />   oTable_Grp:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">9</span>, <span style=\"color: #000000;\">2812</span>, <span style=\"color: #ff0000;\">\"Document Action Bar\"</span> <span style=\"color: #000000;\">&#41;</span><br />   <br />   oControlOptions := oRb:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"Options\"</span><span style=\"color: #000000;\">&#41;</span><br />   oControlOptions:<span style=\"color: #000000;\">Flags</span> = <span style=\"color: #000000;\">1</span>  && xtpFlagRightAlign<br /><br />   oControl := oControlOptions:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"Styles\"</span><span style=\"color: #000000;\">&#41;</span><br />   oControl:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">3000</span>, <span style=\"color: #ff0000;\">\"Blue\"</span>   <span style=\"color: #000000;\">&#41;</span><br />   oControl:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">3001</span>, <span style=\"color: #ff0000;\">\"Black\"</span>  <span style=\"color: #000000;\">&#41;</span><br />   oControl:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">3003</span>, <span style=\"color: #ff0000;\">\"Silver\"</span> <span style=\"color: #000000;\">&#41;</span><br />   oControl:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">3002</span>, <span style=\"color: #ff0000;\">\"Aqua\"</span>   <span style=\"color: #000000;\">&#41;</span><br /><br />   oControlPopup := oControlOptions:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"Font\"</span>, <span style=\"color: #000000;\">-1</span>, .F.<span style=\"color: #000000;\">&#41;</span><br />   oControlPopup:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">11</span>, <span style=\"color: #000000;\">32883</span>, <span style=\"color: #ff0000;\">\"System Default\"</span>, <span style=\"color: #000000;\">-1</span>, .F.<span style=\"color: #000000;\">&#41;</span><br /><br />   oControl := oControlPopup:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">11</span>, <span style=\"color: #000000;\">32884</span>, <span style=\"color: #ff0000;\">\"Normal\"</span>, <span style=\"color: #000000;\">-1</span>, .F.<span style=\"color: #000000;\">&#41;</span><br />   oControl:<span style=\"color: #000000;\">BeginGroup</span> = .T.<br />   oControlPopup:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">11</span>, <span style=\"color: #000000;\">32885</span>, <span style=\"color: #ff0000;\">\"Large\"</span>, <span style=\"color: #000000;\">-1</span>, .F.<span style=\"color: #000000;\">&#41;</span><br />   oControlPopup:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">11</span>, <span style=\"color: #000000;\">32886</span>, <span style=\"color: #ff0000;\">\"Extra Large\"</span>, <span style=\"color: #000000;\">-1</span>, .F.<span style=\"color: #000000;\">&#41;</span><br /><br />   oControl := oControlPopup:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">32887</span>, <span style=\"color: #ff0000;\">\"Auto Resize Icons\"</span>, <span style=\"color: #000000;\">-1</span>, .F.<span style=\"color: #000000;\">&#41;</span><br />   oControl:<span style=\"color: #000000;\">BeginGroup</span> = .T.<br /><br />   oControlOptions:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">3004</span>, <span style=\"color: #ff0000;\">\"Right To Left\"</span> <span style=\"color: #000000;\">&#41;</span><br />   oControlOptions:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">3005</span>, <span style=\"color: #ff0000;\">\"Animation\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />   oControlAbout := oRb:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">4000</span>, <span style=\"color: #ff0000;\">\"&About\"</span><span style=\"color: #000000;\">&#41;</span><br />   oControlAbout&#<span style=\"color: #000000;\">058</span>;Flags = <span style=\"color: #000000;\">1</span>  && xtpFlagRightAlign<br />      <br />   <br />   AAdd<span style=\"color: #000000;\">&#40;</span> aButtons, oButton1 <span style=\"color: #000000;\">&#41;</span><br />   AAdd<span style=\"color: #000000;\">&#40;</span> aButtons, oButton2 <span style=\"color: #000000;\">&#41;</span><br />   AADD<span style=\"color: #000000;\">&#40;</span> aButtons, oQBtn1 <span style=\"color: #000000;\">&#41;</span><br />   AADD<span style=\"color: #000000;\">&#40;</span> aButtons, oQBtn2 <span style=\"color: #000000;\">&#41;</span><br />   AADD<span style=\"color: #000000;\">&#40;</span> aButtons, oQBtn3 <span style=\"color: #000000;\">&#41;</span>   <br />   AADD<span style=\"color: #000000;\">&#40;</span> aButtons, oExitBtn <span style=\"color: #000000;\">&#41;</span> <br />   AADD<span style=\"color: #000000;\">&#40;</span> aButtons, oExitBtn2 <span style=\"color: #000000;\">&#41;</span><br />   AADD<span style=\"color: #000000;\">&#40;</span> aButtons, oControlAbout <span style=\"color: #000000;\">&#41;</span><br />   AADD<span style=\"color: #000000;\">&#40;</span> aButtons, oPrnSetup <span style=\"color: #000000;\">&#41;</span> <br />      <br />   <br />   oButton1:<span style=\"color: #000000;\">Caption</span> = <span style=\"color: #ff0000;\">\"FiveWin power!\"</span><br />   oButton1:<span style=\"color: #000000;\">TooltipText</span> = <span style=\"color: #ff0000;\">\"Ribbonbar for FWH\"</span><br />     <br />   <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> RibbonBarEvent<span style=\"color: #000000;\">&#40;</span> cEvent, aParams, pParams, aButtons, oWnd <span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">do</span> <span style=\"color: #00C800;\">case</span><br />      <span style=\"color: #00C800;\">case</span> cEvent == <span style=\"color: #ff0000;\">\"Execute\"</span> .and. Len<span style=\"color: #000000;\">&#40;</span> aButtons <span style=\"color: #000000;\">&#41;</span> > <span style=\"color: #000000;\">0</span><br />           <span style=\"color: #00C800;\">do</span> <span style=\"color: #00C800;\">case</span><br />              <span style=\"color: #00C800;\">case</span> aButtons<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hObj</span> == aParams<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />                   <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Button 1\"</span> <span style=\"color: #000000;\">&#41;</span><br />                   <br />              <span style=\"color: #00C800;\">case</span> aButtons<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hObj</span> == aParams<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />                   <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Button 2\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />              <span style=\"color: #00C800;\">case</span> aButtons<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hObj</span> == aParams<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />                   <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"From Quick Access Button 1\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />              <span style=\"color: #00C800;\">case</span> aButtons<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hObj</span> == aParams<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />                   <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"From Quick Access Button 2\"</span> + CRLF + <span style=\"color: #ff0000;\">\"FIVEWIN SHARING POWER\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />              <span style=\"color: #00C800;\">case</span> aButtons<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hObj</span> == aParams<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />                   <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"From Quick Access Button 3\"</span> <span style=\"color: #000000;\">&#41;</span><br />                   <br />              <span style=\"color: #00C800;\">case</span> aButtons<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hObj</span> == aParams<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />                   oWnd:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>      <br />                                <br />              <span style=\"color: #00C800;\">case</span> aButtons<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">7</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hObj</span> == aParams<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />                   oWnd:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <br />                   <br />              <span style=\"color: #00C800;\">case</span> aButtons<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">8</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hObj</span> == aParams<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />                   <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FWH's ActiveX Power support Codejock\"</span>, <span style=\"color: #ff0000;\">\"About Codejock\"</span> <span style=\"color: #000000;\">&#41;</span>       <br />                   <br />              <span style=\"color: #00C800;\">case</span> aButtons<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hObj</span> == aParams<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />                   PrinterSetup<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>  <br />                   <br />                                             <br />                   <br />           <span style=\"color: #00C800;\">endcase</span>        <br />   <span style=\"color: #00C800;\">endcase</span>        <br />   <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> <br /> </div>[/code:3a8ayhqk]\n\nRichard[/quote:3a8ayhqk]", "time": "14:24", "topic": "Codejock RibbonBar primeras pruebas", "username": "goosfancito" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-04-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Olá Antonio,\n\n[quote:1q9x82kg]\nHas comparado el fichero HBWIN.lib que tu generas con el que nosotros proporcionamos ?\nCompara tamaño y contenido.\n[/quote:1q9x82kg]\n\n[code=fw:1q9x82kg]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />hbwin.lib de FWH                <span style=\"color: #000000;\">296.182</span>    <span style=\"color: #000000;\">08</span>/<span style=\"color: #000000;\">04</span>/<span style=\"color: #000000;\">2009</span>    <span style=\"color: #000000;\">21</span>:<span style=\"color: #000000;\">47</span>     Harbour <span style=\"color: #000000;\">1.1</span>.0dev <span style=\"color: #000000;\">&#40;</span>Rev. <span style=\"color: #000000;\">10434</span><span style=\"color: #000000;\">&#41;</span><br />hbwin.lib de Harbour SVN        <span style=\"color: #000000;\">484.086</span>    <span style=\"color: #000000;\">26</span>/<span style=\"color: #000000;\">04</span>/<span style=\"color: #000000;\">2009</span>    <span style=\"color: #000000;\">20</span>:<span style=\"color: #000000;\">34</span>     Harbour <span style=\"color: #000000;\">1.1</span>.0dev <span style=\"color: #000000;\">&#40;</span>Rev. <span style=\"color: #000000;\">10936</span><span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:1q9x82kg]\n\nTenho muito interesse em usar o MSVC, visto que em testes comparativos com o BCC ele chega a ser quase o dobro mais veloz na execução que o BCC e sem falar que é mais atual que o BCC também <!-- s:P --><img src=\"{SMILIES_PATH}/icon_razz.gif\" alt=\":P\" title=\"Razz\" /><!-- s:P --> .", "time": "01:16", "topic": "Codejock RibbonBar primeras pruebas", "username": "Rossine" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-05-15", "forum": "FiveWin para Harbour/xHarbour", "text": "HOLA AMIGOS DEL FORO::\n\nNO ME FUNCIONA EL MODO Q SE EXPLICA DE REGISTRAR EL ocx... ALGUIEN PODRIA DARME LUCES::\n\nGRACIAS\n\nel OCX.. corre de lujo.. esta muy bien", "time": "13:19", "topic": "Codejock RibbonBar primeras pruebas", "username": "mantonio_08" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-05-15", "forum": "FiveWin para Harbour/xHarbour", "text": "el tema es que esto no funciona::\n\nif ! IsActiveX( \"Codejock.CommandBars.v13.0.0.Demo.ocx\" )\n RegisterServer( \"Codejock.CommandBars.v13.0.0.Demo.ocx\" )\nendif \n\ntampoco esto::\n\nWinExec( \"REGSVR32 \" + cDestino + \" /s\" )\n\ncomo se debe registrar el OCX desde Fwh...\n\nALGUIEN SABE", "time": "21:07", "topic": "Codejock RibbonBar primeras pruebas", "username": "mantonio_08" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-05-16", "forum": "FiveWin para Harbour/xHarbour", "text": "[code=fw:27oljx7c]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">if</span> ! IsActiveX<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Codejock.CommandBars.13.0.0.Demo\"</span> <span style=\"color: #000000;\">&#41;</span><br />    RegisterServer<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Codejock.CommandBars.v13.0.0.Demo.ocx\"</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">endif</span></div>[/code:27oljx7c] \nDebes indicarlo sin la \"v\" y sin \".ocx\" cuando haces la consulta con IsActivex()\nSi no está registrada, entonces la registras con RegisterServer() , agregando, ahora si, la \"v\" y \".ocx\"\n\nSaludos,\n\nCarlos Gallego", "time": "00:48", "topic": "Codejock RibbonBar primeras pruebas", "username": "Cgallegoa" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-05-18", "forum": "FiveWin para Harbour/xHarbour", "text": "AMIGOS Y COLEGAS ESTOY TRATANDO DE APLICAR EL OCX.. DE CODEJ....\n\nPERO EN ALGUNOS ASPECTOS NO ENTIENDO LA LOGICA PARA USAR DICHO OCX...\n\nALGUNO DE UDS. Q LO DOMINAN PODRIAN EXPLICARLO EN FORMA MAS BASICA::\n\nGRACIAS::", "time": "00:21", "topic": "Codejock RibbonBar primeras pruebas", "username": "mantonio_08" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-05-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Olá,\n\nEstou procurando uma forma de colocar a ACTION nos parametros do Button, sem ter que criar uma RibbonBarEvent.\n\nSeria um codeblock ?, estou pesquisando o Help e não achei.\n\nAri", "time": "02:54", "topic": "Codejock RibbonBar primeras pruebas", "username": "Ari" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-05-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Ari,\n\nNo puedes almacenar un codeblock en un dato de un ActiveX ni de un objeto OleAuto, ya que el codeblock es una estructura de datos propia de Harbour/xHarbour\n\nComo mucho podrias almacenar su puntero como un numero, pero tendrías que bloquearlo desde harbour/xHarbour para que el recolector de basuras no lo elimine", "time": "05:40", "topic": "Codejock RibbonBar primeras pruebas", "username": "Antonio Linares" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-05-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Como deixar a RibbonBar no mesmo Skin ?\n\n[img:1l4kp6vq]http&#58;//img219&#46;imageshack&#46;us/img219/1443/imagem1wne&#46;jpg[/img:1l4kp6vq]\n\nEstou usando a RibbonBar 13.0.0 e SkiFrameWork 13.0.0\n\nAri", "time": "14:31", "topic": "Codejock RibbonBar primeras pruebas", "username": "Ari" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-05-24", "forum": "FiveWin para Harbour/xHarbour", "text": "Menu MDI junto com a RibbonBar ?\n\ntem como ?\n\nAri", "time": "21:04", "topic": "Codejock RibbonBar primeras pruebas", "username": "Ari" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-05-24", "forum": "FiveWin para Harbour/xHarbour", "text": "Como deixar a RibbonBar com a Skin Theme em uso ?\n\nAri", "time": "21:05", "topic": "Codejock RibbonBar primeras pruebas", "username": "Ari" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-05-25", "forum": "FiveWin para Harbour/xHarbour", "text": "atusBar := TOleAuto():New( ActXPdisp( oAct:hActiveX ) )\noStatusBar:StatusBar:Visible=.T.\noStatusBar:StatusBar:AddPane( 0 )\noStatusBar:StatusBar:IdleText = \"xxx\"\n\nDemais parametros para ficar similar a msg nativa.\n[img:92q1s0ob]http&#58;//www&#46;personal&#46;com&#46;br/img/b1a&#46;jpg[/img:92q1s0ob]\n\nMelhor seria alguma documentação para poder desvendar os parametros gerais.", "time": "15:57", "topic": "Codejock RibbonBar primeras pruebas", "username": "Personal" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-05-28", "forum": "FiveWin para Harbour/xHarbour", "text": "Colegas como comenta Ari::\n\noStatusBar := TOleAuto():New( ActXPdisp( oAct:hActiveX ) )\noStatusBar:StatusBar:Visible=.T.\noStatusBar:StatusBar:AddPane( 0 )\noStatusBar:StatusBar:IdleText = \"xxx\"\n\noStatusBar:StatusBar:AddPane( 59137 )\noStatusBar:StatusBar:AddPane( 59138 )\noStatusBar:StatusBar:AddPane( 59139 )\n\nestos serian algunos otros..\n\npero como se controlarian los eventos de la statusbar ... AUN no encuentro la forma,, quisas alguno de los colegas mas adelantados SEPA..\n\n\nAuna Ayudita:::\n\nGRACIAS", "time": "15:42", "topic": "Codejock RibbonBar primeras pruebas", "username": "mantonio_08" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-05-28", "forum": "FiveWin para Harbour/xHarbour", "text": "..", "time": "21:56", "topic": "Codejock RibbonBar primeras pruebas", "username": "mantonio_08" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-05-29", "forum": "FiveWin para Harbour/xHarbour", "text": "??", "time": "13:47", "topic": "Codejock RibbonBar primeras pruebas", "username": "mantonio_08" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2009-05-31", "forum": "FiveWin para Harbour/xHarbour", "text": "..", "time": "20:10", "topic": "Codejock RibbonBar primeras pruebas", "username": "mantonio_08" } ]
Codejock RibbonBar primeras pruebas
[ { "date": "2014-01-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\nI'm trying to integrate the components of \"Codejock Bar\" into FWH. I tried the following code (found in the forum): \n[code=fw:16ftktma]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> Main <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <br />   <span style=\"color: #00C800;\">PUBLIC</span> oWnd, AOCRS, Orb, oTabFiles, oTabEdit, oTabBuild <br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <br />   @ <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> ACTIVEX AOCRS progid <span style=\"color: #ff0000;\">\"Codejock.CommandBarsFrame.16.2.6\"</span> <span style=\"color: #0000ff;\">OF</span> oWnd <br />   AOCRS: <span style=\"color: #00C800;\">Do</span> <span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"AttachToWindow\"</span> oWnd: <span style=\"color: #000000;\">hWnd</span><span style=\"color: #000000;\">&#41;</span> <br />   orb = AOCRS: <span style=\"color: #00C800;\">Do</span> <span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"AddRibbonBar\"</span>, <span style=\"color: #ff0000;\">\"fwh\"</span><span style=\"color: #000000;\">&#41;</span> <br />   oTabFiles = orb: <span style=\"color: #000000;\">InsertTab</span> <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"& Files\"</span><span style=\"color: #000000;\">&#41;</span> <br />   oTabEdit = orb: <span style=\"color: #000000;\">InsertTab</span> <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span>, <span style=\"color: #ff0000;\">\"& Edit\"</span><span style=\"color: #000000;\">&#41;</span> <br />   oTabBuild = orb: <span style=\"color: #000000;\">InsertTab</span> <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2</span>, <span style=\"color: #ff0000;\">\"& Build\"</span><span style=\"color: #000000;\">&#41;</span> <br />   oTabFiles: <span style=\"color: #000000;\">Groups</span>: <span style=\"color: #000000;\">AddGroup</span> <span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Test 1\"</span>, <span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span> <br />   oTabFiles: <span style=\"color: #000000;\">Groups</span>: <span style=\"color: #000000;\">AddGroup</span> <span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Test 2\"</span>, <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span> <br />   <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:16ftktma]\nInitially the program runs correctly and displays a message that says that I'm Using The ActiveX (Trial version) of Codejock.\nAfter that only a black stripe is displayed on screen instead of RibbonBar. \n\nAny suggestion, or any sample, about how to use use Codejock components and FWH?\n\n\nRegards,\n\nGeorge\nHarbour August 2013 \nFWH ??13.08\nPellesC", "time": "15:38", "topic": "Codejock and Harbour + FWH", "username": "George" } ]
Codejock and Harbour + FWH
[ { "date": "2014-01-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi\nLook it\n[code=fw:1zg6obwo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br />&nbsp; &nbsp; <span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> xtpControlError &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> xtpControlButton &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> xtpControlPopup &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">2</span><br />&nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> xtpControlButtonPopup &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">3</span><br />&nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> xtpControlSplitButtonPopup &nbsp; <span style=\"color: #000000;\">4</span><br />&nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> xtpControlComboBox &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">5</span><br />&nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> xtpControlEdit &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">6</span><br />&nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> xtpControlCustom &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">7</span><br />&nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> xtpControlLabel &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">8</span><br />&nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> xtpControlCheckBox &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">9</span><br />&nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> xtpControlGallery &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">10</span><br />&nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> xtpControlRadioButton &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">11</span><br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> xtpImageNormal &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> xtpImageDisabled &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> xtpImageHot &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">2</span><br />&nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> xtpImageChecked &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">3</span><br />&nbsp; &nbsp; <span style=\"color: #00D7D7;\">#define</span> xtpImagePressed &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">4</span><br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; <span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oWnd, oAct<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oRb<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oQA, oQBtn1, oQBtn2, oQBtn3<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oSysButton, oControl, oPopupBar &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oStatusBar, oToolTipContext, oIcons<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oTabFiles, oGroup1<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oTabEdit, oGroup2<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oTabBuild<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> aButtons := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oButton1, oButton2, oButton3, oButton4<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oExitBtn, oExitBtn2<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oBmp1, oBmp2, oBmp3, obmp4, obmp5, obmp6, obmp7, obmp8, obmp9<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"FWH Support Codejock ActiveX\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oBmp1 := TBitmap<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">Define</span><span style=\"color: #000000;\">&#40;</span> , <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\n</span>ew2.bmp\"</span>, oWnd <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oBmp2 := TBitmap<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">Define</span><span style=\"color: #000000;\">&#40;</span> , <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\o</span>pen2.bmp\"</span>, oWnd <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oBmp3 := TBitmap<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">Define</span><span style=\"color: #000000;\">&#40;</span> , <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\a</span>lphabmp<span style=\"color: #000000;\">\\e</span>xplorer.bmp\"</span>, oWnd <span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oBmp4 := TBitmap<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">Define</span><span style=\"color: #000000;\">&#40;</span> , <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\o</span>pen.bmp\"</span>, oWnd <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oBmp5 := TBitmap<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">Define</span><span style=\"color: #000000;\">&#40;</span> , <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\p</span>eople.bmp\"</span>, oWnd <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oBmp6 := TBitmap<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">Define</span><span style=\"color: #000000;\">&#40;</span> , <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\k</span>eys.bmp\"</span>, oWnd <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oBmp7 := TBitmap<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">Define</span><span style=\"color: #000000;\">&#40;</span> , <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\q</span>uit.bmp\"</span>, oWnd <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oBmp8 := TBitmap<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">Define</span><span style=\"color: #000000;\">&#40;</span> , <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\c</span>opy.bmp\"</span>, oWnd <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oBmp9 := TBitmap<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">Define</span><span style=\"color: #000000;\">&#40;</span> , <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\i</span>nfo.bmp\"</span>, oWnd <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oAct := TActiveX<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span> oWnd, <span style=\"color: #ff0000;\">\"Codejock.CommandBarsFrame.12.1.1\"</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span> &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">//@ 0, 0 ACTIVEX oAct PROGID \"Codejock.CommandBarsFrame.12.1.1\" OF oWnd</span><br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oAct:<span style=\"color: #000000;\">bOnEvent</span> = <span style=\"color: #000000;\">&#123;</span> | cEvent, aParams, pParams | RibbonBarEvent<span style=\"color: #000000;\">&#40;</span> cEvent, aParams, pParams, aButtons, oWnd <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oAct:<span style=\"color: #00C800;\">Do</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"AttachToWindow\"</span>, oWnd:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oAct:<span style=\"color: #00C800;\">Do</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"EnableOffice2007Frame\"</span>, .T. <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oAct:<span style=\"color: #00C800;\">Do</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"VisualTheme\"</span>, .T. <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">// ToolTipContext - Richard &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oToolTipContext := TOleAuto<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span> ActXPdisp<span style=\"color: #000000;\">&#40;</span> oAct:<span style=\"color: #000000;\">hActiveX</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oToolTipContext := oToolTipContext:<span style=\"color: #000000;\">ToolTipContext</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oToolTipContext:<span style=\"color: #0000ff;\">Style</span> = <span style=\"color: #000000;\">5</span> &nbsp;&& xtpToolTipOffice2007<br />&nbsp; &nbsp; &nbsp; &nbsp;oToolTipContext:<span style=\"color: #000000;\">ShowTitleAndDescription</span><span style=\"color: #000000;\">&#40;</span> .T., <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oToolTipContext:<span style=\"color: #000000;\">ShowImage</span><span style=\"color: #000000;\">&#40;</span> .T., <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oToolTipContext:<span style=\"color: #000000;\">SetMargin</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oToolTipContext:<span style=\"color: #000000;\">MaxTipWidth</span> = <span style=\"color: #000000;\">180</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">// StatusBar-Richard</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oStatusBar := TOleAuto<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span> ActXPdisp<span style=\"color: #000000;\">&#40;</span> oAct:<span style=\"color: #000000;\">hActiveX</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oStatusBar:<span style=\"color: #000000;\">StatusBar</span>:<span style=\"color: #000000;\">Visible</span> = .T.<br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oStatusBar:<span style=\"color: #000000;\">StatusBar</span>:<span style=\"color: #000000;\">AddPane</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oStatusBar:<span style=\"color: #000000;\">StatusBar</span>:<span style=\"color: #000000;\">AddPane</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">59137</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oStatusBar:<span style=\"color: #000000;\">StatusBar</span>:<span style=\"color: #000000;\">AddPane</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">59138</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oStatusBar:<span style=\"color: #000000;\">StatusBar</span>:<span style=\"color: #000000;\">AddPane</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">59139</span> <span style=\"color: #000000;\">&#41;</span> &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oStatusBar:<span style=\"color: #000000;\">StatusBar</span>:<span style=\"color: #000000;\">IdleText</span> = <span style=\"color: #ff0000;\">\"FWH support Codejock RibbonBar\"</span> &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oIcons := oAct:<span style=\"color: #00C800;\">Do</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"icons\"</span> <span style=\"color: #000000;\">&#41;</span> &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oIcons:<span style=\"color: #000000;\">AddBitmap</span><span style=\"color: #000000;\">&#40;</span> oBmp1:<span style=\"color: #000000;\">hBitmap</span>,<span style=\"color: #000000;\">1</span>,xtpImageNormal,.f. <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oIcons:<span style=\"color: #000000;\">AddBitmap</span><span style=\"color: #000000;\">&#40;</span> oBmp2:<span style=\"color: #000000;\">hBitmap</span>,<span style=\"color: #000000;\">2</span>,xtpImageNormal,.f. <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oIcons:<span style=\"color: #000000;\">AddBitmap</span><span style=\"color: #000000;\">&#40;</span> oBmp3:<span style=\"color: #000000;\">hBitmap</span>,<span style=\"color: #000000;\">3</span>,xtpImageNormal,.t. <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// 4th param, Bool to Alpha Channel Support &nbsp;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oIcons:<span style=\"color: #000000;\">AddBitmap</span><span style=\"color: #000000;\">&#40;</span> oBmp4:<span style=\"color: #000000;\">hBitmap</span>,<span style=\"color: #000000;\">4</span>,xtpImageNormal,.f. <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oIcons:<span style=\"color: #000000;\">AddBitmap</span><span style=\"color: #000000;\">&#40;</span> oBmp5:<span style=\"color: #000000;\">hBitmap</span>,<span style=\"color: #000000;\">5</span>,xtpImageNormal,.f. <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oIcons:<span style=\"color: #000000;\">AddBitmap</span><span style=\"color: #000000;\">&#40;</span> oBmp6:<span style=\"color: #000000;\">hBitmap</span>,<span style=\"color: #000000;\">6</span>,xtpImageNormal,.f. <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oIcons:<span style=\"color: #000000;\">AddBitmap</span><span style=\"color: #000000;\">&#40;</span> oBmp7:<span style=\"color: #000000;\">hBitmap</span>,<span style=\"color: #000000;\">7</span>,xtpImageNormal,.f. <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oIcons:<span style=\"color: #000000;\">AddBitmap</span><span style=\"color: #000000;\">&#40;</span> oBmp8:<span style=\"color: #000000;\">hBitmap</span>,<span style=\"color: #000000;\">8</span>,xtpImageNormal,.f. <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oIcons:<span style=\"color: #000000;\">AddBitmap</span><span style=\"color: #000000;\">&#40;</span> oBmp9:<span style=\"color: #000000;\">hBitmap</span>,<span style=\"color: #000000;\">9</span>,xtpImageNormal,.f. <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oIcons:<span style=\"color: #000000;\">LoadBitmap</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\e</span>dit.bmp\"</span>,<span style=\"color: #000000;\">4</span>, xtpImageNormal<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">//oAct:Hide()</span><br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">// RibbonBar - Richard</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oRb = oAct:<span style=\"color: #00C800;\">Do</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"AddRibbonBar\"</span>, <span style=\"color: #ff0000;\">\"Ribbon Bar\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oRb:<span style=\"color: #000000;\">EnableDocking</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">64</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oRb:<span style=\"color: #000000;\">EnableFrameTheme</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oRb:<span style=\"color: #000000;\">ShowQuickAccessBelowRibbon</span><span style=\"color: #000000;\">&#40;</span>.F.<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oRb:<span style=\"color: #000000;\">ShowCaptionAlways</span><span style=\"color: #000000;\">&#40;</span>.T.<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oRb:<span style=\"color: #000000;\">ShowQuickAccess</span><span style=\"color: #000000;\">&#40;</span>.T.<span style=\"color: #000000;\">&#41;</span> &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oRb:<span style=\"color: #000000;\">ShowGripper</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">// QuickAccess - Richard &nbsp;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oQA:= oRb:<span style=\"color: #000000;\">QuickAccessControls</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oQBtn1 := oQA:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span>, <span style=\"color: #ff0000;\">\"&New\"</span> &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oQBtn2 := oQA:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #ff0000;\">\"&Save\"</span> &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oQBtn3 := oQA:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">8</span>, <span style=\"color: #ff0000;\">\"&copy\"</span> &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oQA:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">9</span>, <span style=\"color: #ff0000;\">\"&info\"</span> &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">// Add SysButton - Richard</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oSysButton := oRb:<span style=\"color: #000000;\">AddSystemButton</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oSysButton:<span style=\"color: #000000;\">IconId</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oSysButton:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">4</span>, <span style=\"color: #ff0000;\">\"&New\"</span> &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oSysbutton:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">5</span>, <span style=\"color: #ff0000;\">\"&Open...\"</span> &nbsp; &nbsp; <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oSysbutton:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">6</span>, <span style=\"color: #ff0000;\">\"&Save\"</span> &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oSysbutton:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">6</span>, <span style=\"color: #ff0000;\">\"Save &As...\"</span> &nbsp;<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oControl := oSysButton:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">4</span>, <span style=\"color: #000000;\">5</span>, <span style=\"color: #ff0000;\">\"&Print\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oControl:<span style=\"color: #000000;\">BeginGroup</span> = .T.<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oPopupBar := TOleAuto<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span> ActXPdisp<span style=\"color: #000000;\">&#40;</span> oAct:<span style=\"color: #000000;\">hActiveX</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oPopupBar := oPopupBar:<span style=\"color: #000000;\">CreateCommandBar</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"CXTPRibbonSystemPopupBarPage\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oControl:<span style=\"color: #000000;\">CommandBar</span> = oPopupBar<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oControl := oPopupBar:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">8</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"Preview and print the document\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oControl:<span style=\"color: #000000;\">Width</span> = <span style=\"color: #000000;\">296</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oControl:<span style=\"color: #000000;\">DefaultItem</span> = .T.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oControl:<span style=\"color: #0000ff;\">Style</span> = <span style=\"color: #000000;\">1</span> &nbsp;&& xtpButtonCaption<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oPopupBar:<span style=\"color: #000000;\">DefaultButtonStyle</span> = <span style=\"color: #000000;\">5</span> &nbsp;&& xtpButtonCaptionAndDescription<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oPopupBar:<span style=\"color: #000000;\">SetIconSize</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">32</span>, <span style=\"color: #000000;\">32</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oPopupBar:<span style=\"color: #000000;\">ShowGripper</span> = .F.<br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oPopupBar:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">4</span>, <span style=\"color: #ff0000;\">\"Print Pre&view\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oPrnSetup = oPopupBar:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">5</span>, <span style=\"color: #ff0000;\">\"Pr&int Setup...\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oPopupBar:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">6</span>, <span style=\"color: #ff0000;\">\"Print Pre&view\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oSysbutton:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1230</span>, <span style=\"color: #ff0000;\">\"Prepare\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oSysbutton:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1235</span>, <span style=\"color: #ff0000;\">\"Send\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oSysbutton:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1230</span>, <span style=\"color: #ff0000;\">\"Publish\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oExitBtn2 = oSysbutton:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">7</span>, <span style=\"color: #ff0000;\">\"Close\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oSysbutton:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">SetIconSize</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">32</span>, <span style=\"color: #000000;\">32</span> <span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">// RibbonBar Table - Richard &nbsp;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oTabFiles = oRb:<span style=\"color: #000000;\">InsertTab</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"&Files\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oTabFiles_Grp1 = oTabFiles:<span style=\"color: #000000;\">Groups</span>:<span style=\"color: #000000;\">AddGroup</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"&Clipboard\"</span>, <span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oTabFiles_Grp1:<span style=\"color: #000000;\">ShowOptionButton</span> = .T.<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">// TabFiles Group ToolTip - Richard</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oTabFiles_Grp1:<span style=\"color: #000000;\">ControlGroupOption</span>:<span style=\"color: #0000ff;\">Id</span> = <span style=\"color: #000000;\">1000</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oTabFiles_Grp1:<span style=\"color: #000000;\">ControlGroupOption</span>:<span style=\"color: #000000;\">ToolTipText</span> = <span style=\"color: #ff0000;\">\"Clipboard\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oTabFiles_Grp1:<span style=\"color: #000000;\">ControlGroupOption</span>:<span style=\"color: #000000;\">DescriptionText</span> = <span style=\"color: #ff0000;\">\"Show clipboard dialog\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oTabFiles_Grp1:<span style=\"color: #000000;\">ControlGroupOption</span>:<span style=\"color: #000000;\">IconId</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oPaste := oTabFiles_Grp1:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">4</span>, <span style=\"color: #000000;\">1</span>, <span style=\"color: #ff0000;\">\"&Paste\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oPaste:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span>, <span style=\"color: #ff0000;\">\"&Paste\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oPaste:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #ff0000;\">\"&Paste Special\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oButton1 = oTabFiles_Grp1:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> xtpControlButton, <span style=\"color: #000000;\">2</span>, <span style=\"color: #ff0000;\">\"&Cut\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oButton2 = oTabFiles_Grp1:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> xtpControlButton, <span style=\"color: #000000;\">3</span>, <span style=\"color: #ff0000;\">\"&Copy\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oBtn1 := oTabFiles_Grp1:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> &nbsp;<span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">9</span>, <span style=\"color: #ff0000;\">\"Format\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oBtn1:<span style=\"color: #000000;\">Enabled</span> = .F.<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oBtn2 := oTabFiles_Grp1:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> &nbsp;<span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">8</span>, <span style=\"color: #ff0000;\">\"Delete\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oExitBtn := oTabFiles_Grp1:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> &nbsp;xtpControlButton, <span style=\"color: #000000;\">7</span>, <span style=\"color: #ff0000;\">\"Exit\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oTabFiles_Grp2 := oTabFiles:<span style=\"color: #000000;\">Groups</span>:<span style=\"color: #000000;\">AddGroup</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"&Font\"</span>, <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oButton3 = oTabFiles_Grp2:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> xtpControlButton, <span style=\"color: #000000;\">4</span>, <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oButton4 = oTabfiles_Grp2:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> xtpControlButton, <span style=\"color: #000000;\">3</span>, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oButton4:<span style=\"color: #000000;\">SetIconSize</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">64</span>,<span style=\"color: #000000;\">64</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oButton4:<span style=\"color: #000000;\">Width</span> = <span style=\"color: #000000;\">70</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oButton4:<span style=\"color: #000000;\">Height</span> = <span style=\"color: #000000;\">70</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oTabEdit &nbsp;= oRb:<span style=\"color: #000000;\">InsertTab</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #ff0000;\">\"&Edit\"</span> <span style=\"color: #000000;\">&#41;</span> &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oTabBuild = oRb:<span style=\"color: #000000;\">InsertTab</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2</span>, <span style=\"color: #ff0000;\">\"&Build\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oTabBuild:<span style=\"color: #0000ff;\">Color</span> = <span style=\"color: #000000;\">5</span> &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oTable_Grp := oTabBuild:<span style=\"color: #000000;\">Groups</span>:<span style=\"color: #000000;\">AddGroup</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"&Show/Hide\"</span>, <span style=\"color: #000000;\">5025</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oTable_Grp:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">9</span>, <span style=\"color: #000000;\">2807</span>, <span style=\"color: #ff0000;\">\"Ruler\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oTable_Grp:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">9</span>, <span style=\"color: #000000;\">2808</span>, <span style=\"color: #ff0000;\">\"GridLines\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oTable_Grp:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">9</span>, <span style=\"color: #000000;\">2809</span>, <span style=\"color: #ff0000;\">\"Properties\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oTable_Grp:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">9</span>, <span style=\"color: #000000;\">2810</span>, <span style=\"color: #ff0000;\">\"Document Map\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oTable_Grp:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">9</span>, <span style=\"color: #000000;\">2811</span>, <span style=\"color: #ff0000;\">\"Thumbnails\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oTable_Grp:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">9</span>, <span style=\"color: #000000;\">2812</span>, <span style=\"color: #ff0000;\">\"Document Action Bar\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oControlOptions := oRb:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"Options\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oControlOptions:<span style=\"color: #000000;\">Flags</span> = <span style=\"color: #000000;\">1</span> &nbsp;&& xtpFlagRightAlign<br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oControl := oControlOptions:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"Styles\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oControl:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">3000</span>, <span style=\"color: #ff0000;\">\"Blue\"</span> &nbsp; <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oControl:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">3001</span>, <span style=\"color: #ff0000;\">\"Black\"</span> &nbsp;<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oControl:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">3003</span>, <span style=\"color: #ff0000;\">\"Silver\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oControl:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">3002</span>, <span style=\"color: #ff0000;\">\"Aqua\"</span> &nbsp; <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oControlPopup := oControlOptions:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"Font\"</span>, <span style=\"color: #000000;\">-1</span>, .F.<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oControlPopup:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">11</span>, <span style=\"color: #000000;\">32883</span>, <span style=\"color: #ff0000;\">\"System Default\"</span>, <span style=\"color: #000000;\">-1</span>, .F.<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oControl := oControlPopup:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">11</span>, <span style=\"color: #000000;\">32884</span>, <span style=\"color: #ff0000;\">\"Normal\"</span>, <span style=\"color: #000000;\">-1</span>, .F.<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oControl:<span style=\"color: #000000;\">BeginGroup</span> = .T.<br />&nbsp; &nbsp; &nbsp; &nbsp;oControlPopup:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">11</span>, <span style=\"color: #000000;\">32885</span>, <span style=\"color: #ff0000;\">\"Large\"</span>, <span style=\"color: #000000;\">-1</span>, .F.<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oControlPopup:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">11</span>, <span style=\"color: #000000;\">32886</span>, <span style=\"color: #ff0000;\">\"Extra Large\"</span>, <span style=\"color: #000000;\">-1</span>, .F.<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oControl := oControlPopup:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">32887</span>, <span style=\"color: #ff0000;\">\"Auto Resize Icons\"</span>, <span style=\"color: #000000;\">-1</span>, .F.<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oControl:<span style=\"color: #000000;\">BeginGroup</span> = .T.<br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oControlOptions:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">3004</span>, <span style=\"color: #ff0000;\">\"Right To Left\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oControlOptions:<span style=\"color: #000000;\">CommandBar</span>:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">3005</span>, <span style=\"color: #ff0000;\">\"Animation\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oControlAbout := oRb:<span style=\"color: #000000;\">Controls</span>:<span style=\"color: #000000;\">Add</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">4000</span>, <span style=\"color: #ff0000;\">\"&About\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oControlAbout&#<span style=\"color: #000000;\">058</span>;Flags = <span style=\"color: #000000;\">1</span> &nbsp;&& xtpFlagRightAlign<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;AAdd<span style=\"color: #000000;\">&#40;</span> aButtons, oButton1 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;AAdd<span style=\"color: #000000;\">&#40;</span> aButtons, oButton2 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;AADD<span style=\"color: #000000;\">&#40;</span> aButtons, oQBtn1 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;AADD<span style=\"color: #000000;\">&#40;</span> aButtons, oQBtn2 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;AADD<span style=\"color: #000000;\">&#40;</span> aButtons, oQBtn3 <span style=\"color: #000000;\">&#41;</span> &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;AADD<span style=\"color: #000000;\">&#40;</span> aButtons, oExitBtn <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;AADD<span style=\"color: #000000;\">&#40;</span> aButtons, oExitBtn2 <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;AADD<span style=\"color: #000000;\">&#40;</span> aButtons, oControlAbout <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;AADD<span style=\"color: #000000;\">&#40;</span> aButtons, oPrnSetup <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;oButton1:<span style=\"color: #000000;\">Caption</span> = <span style=\"color: #ff0000;\">\"FiveWin power!\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oButton1:<span style=\"color: #000000;\">TooltipText</span> = <span style=\"color: #ff0000;\">\"Ribbonbar for FWH\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; <span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; <span style=\"color: #00C800;\">function</span> RibbonBarEvent<span style=\"color: #000000;\">&#40;</span> cEvent, aParams, pParams, aButtons, oWnd <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">do</span> <span style=\"color: #00C800;\">case</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">case</span> cEvent == <span style=\"color: #ff0000;\">\"Execute\"</span> .and. Len<span style=\"color: #000000;\">&#40;</span> aButtons <span style=\"color: #000000;\">&#41;</span> > <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">do</span> <span style=\"color: #00C800;\">case</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">case</span> aButtons<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hObj</span> == aParams<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Button 1\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &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> aButtons<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hObj</span> == aParams<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Button 2\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">case</span> aButtons<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hObj</span> == aParams<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"From Quick Access Button 1\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">case</span> aButtons<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hObj</span> == aParams<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"From Quick Access Button 2\"</span> + CRLF + <span style=\"color: #ff0000;\">\"FIVEWIN SHARING POWER\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">case</span> aButtons<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hObj</span> == aParams<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"From Quick Access Button 3\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &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> aButtons<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hObj</span> == aParams<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oWnd:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &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> aButtons<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">7</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hObj</span> == aParams<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oWnd:<span style=\"color: #000000;\">End</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; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">case</span> aButtons<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">8</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hObj</span> == aParams<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FWH's ActiveX Power support Codejock\"</span>, <span style=\"color: #ff0000;\">\"About Codejock\"</span> <span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp;<br />&nbsp; &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> aButtons<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">hObj</span> == aParams<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PrinterSetup<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp;<br />&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; &nbsp; &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;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endcase</span> &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endcase</span> &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; <span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br />&nbsp; &nbsp; &nbsp;<br />&nbsp;</div>[/code:1zg6obwo]", "time": "09:21", "topic": "Codejock and Harbour + FWH", "username": "richard-service" } ]
Codejock and Harbour + FWH
[ { "date": "2014-01-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks Richard.\nUnfortunately this sample code does not work either.\nAll I get is the warning message that I'm using the trial version.\nAfter clicking Yes or No button, the program closes.\n\n[img:1oqo0xq0]https&#58;//imagizer&#46;imageshack&#46;us/v2/487x304q90/191/0t0t&#46;png[/img:1oqo0xq0]\n\nSaludos,\n\nGeorge", "time": "14:16", "topic": "Codejock and Harbour + FWH", "username": "George" } ]
Codejock and Harbour + FWH
[ { "date": "2014-01-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi\nI just test codejock v15.0.1 work fine.", "time": "16:06", "topic": "Codejock and Harbour + FWH", "username": "richard-service" } ]
Codejock and Harbour + FWH
[ { "date": "2014-01-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Richard,\nI did recompile with xHarbour Pro + FWH 13.08 and now the ribbon is displayed:\n[img:2opqb11k]https&#58;//imagizer&#46;imageshack&#46;us/v2/240x127q90/c/199/682i&#46;png[/img:2opqb11k]\nHowever errors are displayed when I click ribbon bar buttons.\n[code=fw:2opqb11k]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Application<br />===========<br />   Path and <span style=\"color: #0000ff;\">name</span>: <span style=\"color: #000000;\">C</span>:\\___MTA64\\RICHARD.EXE <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">32</span> bits<span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #0000ff;\">Size</span>: <span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">399</span>,<span style=\"color: #000000;\">744</span> bytes<br />   Compiler version: <span style=\"color: #000000;\">xHarbour</span> <span style=\"color: #000000;\">1.2</span><span style=\"color: #000000;\">.3</span> Intl. <span style=\"color: #000000;\">&#40;</span>SimpLex<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#40;</span>Build <span style=\"color: #000000;\">20130617</span><span style=\"color: #000000;\">&#41;</span><br />   FiveWin  Version: <span style=\"color: #000000;\">FWHX</span> <span style=\"color: #000000;\">13.07</span><br />   Windows version: <span style=\"color: #000000;\">6.1</span>, Build <span style=\"color: #000000;\">7601</span> Service Pack <span style=\"color: #000000;\">1</span><br /><br />   Time <span style=\"color: #0000ff;\">from</span> start: <span style=\"color: #000000;\">0</span> hours <span style=\"color: #000000;\">0</span> mins <span style=\"color: #000000;\">4</span> secs <br />   Error occurred <span style=\"color: #00C800;\">at</span>: <span style=\"color: #000000;\">01</span>/<span style=\"color: #000000;\">26</span>/<span style=\"color: #000000;\">14</span>, <span style=\"color: #000000;\">10</span>:<span style=\"color: #000000;\">51</span>:<span style=\"color: #000000;\">11</span><br />   Error description: <span style=\"color: #000000;\">Error</span> BASE/<span style=\"color: #000000;\">1070</span>  Argument error: ==<br />   Args:<br />     <span style=\"color: #000000;\">&#91;</span>   <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> = N   <span style=\"color: #000000;\">171331776</span><br />     <span style=\"color: #000000;\">&#91;</span>   <span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> = O   <span style=\"color: #000000;\">171355984</span><br /><br />Stack Calls<br />===========<br />   Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">C</span>:\\___MTA64\\Richard.prg => RIBBONBAREVENT<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">253</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">C</span>:\\___MTA64\\Richard.prg => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>MAIN<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">60</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\ACTIVEX.PRG => TACTIVEX&#<span style=\"color: #000000;\">058</span>;ONEVENT<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">141</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>:  => WINRUN<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => TWINDOW:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1003</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">C</span>:\\___MTA64\\Richard.prg => MAIN<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">244</span> <span style=\"color: #000000;\">&#41;</span><br /><br />System<br />======<br />   CPU type: <span style=\"color: #000000;\">Intel</span><span style=\"color: #000000;\">&#40;</span>R<span style=\"color: #000000;\">&#41;</span> Core<span style=\"color: #000000;\">&#40;</span>TM<span style=\"color: #000000;\">&#41;</span> i7 CPU         <span style=\"color: #000000;\">870</span>  @ <span style=\"color: #000000;\">2</span>.93GHz <span style=\"color: #000000;\">75</span> Mhz<br />   Hardware memory: <span style=\"color: #000000;\">8184</span> megs<br /><br />   Free System resources: <span style=\"color: #000000;\">90</span> %<br />        GDI    resources: <span style=\"color: #000000;\">90</span> %<br />        User   resources: <span style=\"color: #000000;\">90</span> %<br /><br />   Windows total applications running: <span style=\"color: #000000;\">7</span><br />      <span style=\"color: #000000;\">1</span> ,                                                                                                     <br />      <span style=\"color: #000000;\">2</span> , C:\\PROGRA~<span style=\"color: #000000;\">2</span>\\CODEJO~<span style=\"color: #000000;\">1</span>\\ActiveX\\XTREME~<span style=\"color: #000000;\">1.6</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">3</span>\\Bin\\CODEJO~<span style=\"color: #000000;\">3</span>.OCX                                          <br />      <span style=\"color: #000000;\">3</span> , C:\\Windows\\syswow64\\SHLWAPI.dll                                                                     <br />      <span style=\"color: #000000;\">4</span> , C:\\___MTA64\\RICHARD.EXE                                                                             <br />      <span style=\"color: #000000;\">5</span> DDE <span style=\"color: #00C800;\">Server</span> <span style=\"color: #0000ff;\">Window</span>, C:\\Windows\\syswow64\\ole32.dll                                                                       <br />      <span style=\"color: #000000;\">6</span> <span style=\"color: #00C800;\">Default</span> IME, C:\\Windows\\syswow64\\USER32.dll                                                                      <br />      <span style=\"color: #000000;\">7</span> GDI+ <span style=\"color: #0000ff;\">Window</span>, C:\\Windows\\WinSxS\\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1<span style=\"color: #000000;\">.1</span><span style=\"color: #000000;\">.7601</span>.18120_none_72d2e82386681b</div>[/code:2opqb11k]\nIt's possible the problem is related to using PellesC by xHarbour Pro.\n\nWhen Using Harbour + FWH I get the following Error:\n[code=fw:2opqb11k]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Application<br />===========<br />   Path and <span style=\"color: #0000ff;\">name</span>: <span style=\"color: #000000;\">C</span>:\\___MTA64\\RICHARD.EXE <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">32</span> bits<span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #0000ff;\">Size</span>: <span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">921</span>,<span style=\"color: #000000;\">472</span> bytes<br />   Compiler version: <span style=\"color: #000000;\">Harbour</span> <span style=\"color: #000000;\">3.2</span>.0dev <span style=\"color: #000000;\">&#40;</span>r1306132159<span style=\"color: #000000;\">&#41;</span><br />   FiveWin  Version: <span style=\"color: #000000;\">FWH</span> <span style=\"color: #000000;\">13.07</span><br />   Windows version: <span style=\"color: #000000;\">6.1</span>, Build <span style=\"color: #000000;\">7601</span> Service Pack <span style=\"color: #000000;\">1</span><br /><br />   Time <span style=\"color: #0000ff;\">from</span> start: <span style=\"color: #000000;\">0</span> hours <span style=\"color: #000000;\">0</span> mins <span style=\"color: #000000;\">1</span> secs <br />   Error occurred <span style=\"color: #00C800;\">at</span>: <span style=\"color: #000000;\">01</span>/<span style=\"color: #000000;\">26</span>/<span style=\"color: #000000;\">14</span>, <span style=\"color: #000000;\">10</span>:<span style=\"color: #000000;\">52</span>:<span style=\"color: #000000;\">09</span><br />   Error description: <span style=\"color: #000000;\"><span style=\"color: #000000;\">&#40;</span>DOS</span> Error <span style=\"color: #000000;\">-2147352562</span><span style=\"color: #000000;\">&#41;</span> WINOLE/<span style=\"color: #000000;\">1007</span>  Argument error: <span style=\"color: #000000;\">VISUALTHEME</span><br />   Args:<br />     <span style=\"color: #000000;\">&#91;</span>   <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> = L   .T.<br /><br />Stack Calls<br />===========<br />   Called <span style=\"color: #0000ff;\">from</span>:  => TOLEAUTO:<span style=\"color: #000000;\">VISUALTHEME</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>:  => __OBJSENDMSG<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\ACTIVEX.PRG => TACTIVEX&#<span style=\"color: #000000;\">058</span>;DO<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">95</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">richard</span>.prg => MAIN<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">65</span> <span style=\"color: #000000;\">&#41;</span><br /><br />System<br />======<br />   CPU type: <span style=\"color: #000000;\">Intel</span><span style=\"color: #000000;\">&#40;</span>R<span style=\"color: #000000;\">&#41;</span> Core<span style=\"color: #000000;\">&#40;</span>TM<span style=\"color: #000000;\">&#41;</span> i7 CPU         <span style=\"color: #000000;\">870</span>  @ <span style=\"color: #000000;\">2</span>.93GHz <span style=\"color: #000000;\">2950</span> Mhz<br />   Hardware memory: <span style=\"color: #000000;\">8184</span> megs<br /><br />   Free System resources: <span style=\"color: #000000;\">90</span> %<br />        GDI    resources: <span style=\"color: #000000;\">90</span> %<br />        User   resources: <span style=\"color: #000000;\">90</span> %<br /><br />   Windows total applications running: <span style=\"color: #000000;\">6</span><br />      <span style=\"color: #000000;\">1</span> ,                                                                                                     <br />      <span style=\"color: #000000;\">2</span> , C:\\PROGRA~<span style=\"color: #000000;\">2</span>\\CODEJO~<span style=\"color: #000000;\">1</span>\\ActiveX\\XTREME~<span style=\"color: #000000;\">1.6</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">3</span>\\Bin\\CODEJO~<span style=\"color: #000000;\">3</span>.OCX                                          <br />      <span style=\"color: #000000;\">3</span> , C:\\Windows\\syswow64\\SHLWAPI.dll                                                                     <br />      <span style=\"color: #000000;\">4</span> , C:\\___MTA64\\RICHARD.EXE                                                                             <br />      <span style=\"color: #000000;\">5</span> DDE <span style=\"color: #00C800;\">Server</span> <span style=\"color: #0000ff;\">Window</span>, C:\\Windows\\syswow64\\OLE32.DLL                                                                       <br />      <span style=\"color: #000000;\">6</span> GDI+ <span style=\"color: #0000ff;\">Window</span>, C:\\Windows\\WinSxS\\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1<span style=\"color: #000000;\">.1</span><span style=\"color: #000000;\">.7601</span>.18120_none_72d2e82386681b <br /> </div>[/code:2opqb11k]\n\nPlease see below my BAT file used with Harbour:\n[code=fw:2opqb11k]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">@ECHO OFF<br />CLS<br />ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿<br />ECHO ³ FiveWin <span style=\"color: #00C800;\">for</span> Harbour <span style=\"color: #000000;\">13.08</span> - Aug.  <span style=\"color: #000000;\">2013</span>          Harbour development <span style=\"color: #0000ff;\">power</span>  ³Ü<br />ECHO ³ <span style=\"color: #000000;\">&#40;</span>c<span style=\"color: #000000;\">&#41;</span> FiveTech, <span style=\"color: #000000;\">1993</span><span style=\"color: #000000;\">-2013</span>   <span style=\"color: #00C800;\">for</span> Microsoft Windows 9X/NT/200X/ME/XP/Vista/<span style=\"color: #000000;\">7</span>/<span style=\"color: #000000;\">8</span> ³Û<br />ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ<br />ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß<br /><br />CLS<br /><br /><span style=\"color: #00C800;\">if</span> A%<span style=\"color: #000000;\">1</span> == A GOTO :<span style=\"color: #000000;\">SINTAX</span><br /><span style=\"color: #00C800;\">if</span> NOT EXIST %<span style=\"color: #000000;\">1</span>.prg GOTO :<span style=\"color: #000000;\">NOEXIST</span><br /><br />set FWDIR=C:\\FWH_13<span style=\"color: #000000;\">.08</span><br />set HBDIR=c:\\harbour_aug13<br /><br />rem echo <span style=\"color: #0000ff;\">on</span><br />rem <span style=\"color: #00C800;\">pause</span> <span style=\"color: #ff0000;\">\"b\"</span><br />set GT=gtgui<br /><br />ECHO Compiling...<br /><br />set hdir=%HBDIR%<br />set hdirl=%hdir%\\lib<br />set fwh=%FWDIR%<br />set bcdir=c:\\bcc582<br /><br />rem echo <span style=\"color: #0000ff;\">on</span><br />rem <span style=\"color: #00C800;\">pause</span> <span style=\"color: #ff0000;\">\"c\"</span><br /><br />%hdir%\\bin\\harbour %<span style=\"color: #000000;\">1</span> /n /i%fwh%\\include;%hdir%\\include /w /p %<span style=\"color: #000000;\">2</span> %<span style=\"color: #000000;\">3</span> > comp.log <span style=\"color: #000000;\">2</span>> warnings.log<br /><span style=\"color: #00C800;\">if</span> errorlevel <span style=\"color: #000000;\">1</span> goto COMPILEERRORS<br />@type comp.log<br />@type warnings.log<br /><br />echo -O2 -e%<span style=\"color: #000000;\">1</span>.exe -I%hdir%\\include -I%bcdir%\\include %<span style=\"color: #000000;\">1</span>.c > b32.bc<br />%bcdir%\\bin\\bcc32 -M -c @b32.bc<br />:<span style=\"color: #000000;\">ENDCOMPILE</span><br /><br /><span style=\"color: #00C800;\">IF</span> EXIST %<span style=\"color: #000000;\">1</span>.rc %bcdir%\\bin\\brc32 -r -I%bcdir%\\include %<span style=\"color: #000000;\">1</span><br />rem <span style=\"color: #00C800;\">IF</span> EXIST %<span style=\"color: #000000;\">1</span>.rc %vcdir%\\bin\\rc -r -d__FLAT__ %<span style=\"color: #000000;\">1</span><br /><br />echo %bcdir%\\lib\\c0w32.obj + > b32.bc<br />echo %<span style=\"color: #000000;\">1</span>.obj, + >> b32.bc<br />echo %<span style=\"color: #000000;\">1</span>.exe, + >> b32.bc<br />echo %<span style=\"color: #000000;\">1</span>.map, + >> b32.bc<br />echo %fwh%\\lib\\FiveH.lib %fwh%\\lib\\FiveHC.lib %fwh%\\lib\\libmysql.lib %fwh%\\lib\\libmysqld.lib %fwh%\\lib\\dolphin.lib + >> b32.bc<br />echo %hdirl%\\hbwin.lib + >> b32.bc<br />echo %hdirl%\\gtwin.lib + >> b32.bc<br />echo %hdirl%\\gtgui.lib + >> b32.bc<br />echo %hdirl%\\hbrtl.lib + >> b32.bc<br />echo %hdirl%\\hbvm.lib + >> b32.bc<br />echo %hdirl%\\hblang.lib + >> b32.bc<br />echo %hdirl%\\hbmacro.lib + >> b32.bc<br />echo %hdirl%\\hbrdd.lib + >> b32.bc<br />echo %hdirl%\\rddntx.lib + >> b32.bc<br />echo %hdirl%\\rddcdx.lib + >> b32.bc<br />echo %hdirl%\\rddfpt.lib + >> b32.bc<br />echo %hdirl%\\hbsix.lib + >> b32.bc<br />echo %hdirl%\\hbdebug.lib + >> b32.bc<br />echo %hdirl%\\hbcommon.lib + >> b32.bc<br />echo %hdirl%\\hbpp.lib + >> b32.bc<br />echo %hdirl%\\hbcpage.lib + >> b32.bc<br />echo %hdirl%\\hbcplr.lib + >> b32.bc<br />echo %hdirl%\\hbct.lib + >> b32.bc<br />echo %hdirl%\\hbpcre.lib + >> b32.bc<br />echo %hdirl%\\xhb.lib + >> b32.bc<br />echo %hdirl%\\hbziparc.lib + >> b32.bc<br />echo %hdirl%\\hbmzip.lib + >> b32.bc<br />echo %hdirl%\\hbzlib.lib + >> b32.bc<br />echo %hdirl%\\minizip.lib + >> b32.bc<br />echo %hdirl%\\png.lib + >> b32.bc<br />echo %hdirl%\\hbcurl.lib + >> b32.bc<br />echo %hdirl%\\hbusrrdd.lib + >> b32.bc<br />echo %fwh%\\lib\\libcurl.lib + >> b32.bc<br /><br />rem Uncomment these two lines <span style=\"color: #0000ff;\">to</span> use Advantage RDD<br />rem echo %hdirl%\\rddads.lib + >> b32.bc<br />rem echo %hdirl%\\Ace32.lib + >> b32.bc<br /><br /> echo rddads_harbour.lib + >> b32.bc<br /> echo Ace32.lib + >> b32.bc<br /><br />rem echo %fwh%\\lib\\dolphin.lib + >> b32.bc<br />rem echo %fwh%\\lib\\libmysql.lib + >> b32.bc<br /><br />echo %bcdir%\\lib\\cw32.lib + >> b32.bc<br />echo %bcdir%\\lib\\uuid.lib + >> b32.bc<br />echo %bcdir%\\lib\\import32.lib + >> b32.bc<br />echo %bcdir%\\lib\\ws2_32.lib + >> b32.bc<br />echo %bcdir%\\lib\\psdk\\odbc32.lib + >> b32.bc<br />echo %bcdir%\\lib\\psdk\\nddeapi.lib + >> b32.bc<br />echo %bcdir%\\lib\\psdk\\iphlpapi.lib + >> b32.bc<br />echo %bcdir%\\lib\\psdk\\msimg32.lib + >> b32.bc<br />echo %bcdir%\\lib\\psdk\\psapi.lib + >> b32.bc<br />echo %bcdir%\\lib\\psdk\\rasapi32.lib + >> b32.bc<br />echo %bcdir%\\lib\\psdk\\gdiplus.lib + >> b32.bc<br />echo %bcdir%\\lib\\psdk\\shell32.lib, >> b32.bc<br /><br /><span style=\"color: #00C800;\">IF</span> EXIST %<span style=\"color: #000000;\">1</span>.res echo %<span style=\"color: #000000;\">1</span>.res >> b32.bc<br /><span style=\"color: #00C800;\">if</span> %GT% == gtwin %bcdir%\\bin\\ilink32 -Gn -Tpe -s @b32.bc<br /><span style=\"color: #00C800;\">IF</span> ERRORLEVEL <span style=\"color: #000000;\">1</span> GOTO LINKERROR<br /><span style=\"color: #00C800;\">if</span> %GT% == gtgui %bcdir%\\bin\\ilink32 -Gn -aa -Tpe -s @b32.bc<br /><span style=\"color: #00C800;\">IF</span> ERRORLEVEL <span style=\"color: #000000;\">1</span> GOTO LINKERROR<br />ECHO * Application successfully built *<br /><br />COPY MAIN.EXE MTA32.EXE<br /><br />rem signtool.exe sign /fd sha256 %<span style=\"color: #000000;\">1</span>.exe<br />%<span style=\"color: #000000;\">1</span><br />GOTO EXIT<br />ECHO<br /><br />rem delete temporary files<br />@del %<span style=\"color: #000000;\">1</span>.c<br /><br />:<span style=\"color: #000000;\">COMPILEERRORS</span><br />@type comp.log<br />@type warnings.log<br />ECHO * Compile errors *<br />GOTO EXIT<br /><br />:<span style=\"color: #000000;\">LINKERROR</span><br />ECHO * Linking errors *<br />GOTO EXIT<br /><br />:<span style=\"color: #000000;\">SINTAX</span><br />ECHO    SYNTAX: <span style=\"color: #000000;\">Build</span> <span style=\"color: #000000;\">&#91;</span>Program<span style=\"color: #000000;\">&#93;</span>     <span style=\"color: #000000;\">&#123;</span>-- No especifiques la extensi¢n PRG<br />ECHO                                <span style=\"color: #000000;\">&#123;</span>-- Don<span style=\"color: #ff0000;\">'t specify .PRG extension<br />GOTO EXIT<br /><br />:NOEXIST<br />ECHO The specified PRG %1 does not exist<br /><br />:EXIT</span></div>[/code:2opqb11k]\nI will do some more testing. Thanks for your help.\n\nRegards,\n\nGeorge", "time": "16:57", "topic": "Codejock and Harbour + FWH", "username": "George" } ]
Codejock and Harbour + FWH
[ { "date": "2014-01-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi George\nif you have any question, I will help you.", "time": "18:07", "topic": "Codejock and Harbour + FWH", "username": "richard-service" } ]
Codejock and Harbour + FWH
[ { "date": "2014-01-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi George,\n\nPlease Change like this\n\nfunction RibbonBarEvent( cEvent, aParams, pParams, aButtons, oWnd )\n \n do case\n case cEvent == \"Execute\" .and. Len( aButtons ) > 0\n do case\n case aButtons[ 1 ]:hObj == aParams[ 1 ][color=#FF0000:2gjpvhta]:hObj[/color:2gjpvhta]\n MsgInfo( \"Button 1\" )\n \n case aButtons[ 2 ]:hObj == aParams[ 1 ][color=#FF0000:2gjpvhta]:hObj[/color:2gjpvhta]\n MsgInfo( \"Button 2\" )\n \n case aButtons[ 3 ]:hObj == aParams[ 1 ][color=#FF0000:2gjpvhta]:hObj[/color:2gjpvhta]\n MsgInfo( \"From Quick Access Button 1\" )\n \n case aButtons[ 4 ]:hObj == aParams[ 1 ][color=#FF0000:2gjpvhta]:hObj[/color:2gjpvhta]\n MsgInfo( \"From Quick Access Button 2\" + CRLF + \"FIVEWIN SHARING POWER\" )\n \n case aButtons[ 5 ]:hObj == aParams[ 1 ][color=#FF0000:2gjpvhta]:hObj[/color:2gjpvhta]\n MsgInfo( \"From Quick Access Button 3\" )\n \n case aButtons[ 6 ]:hObj == aParams[ 1 ][color=#FF0000:2gjpvhta]:hObj[/color:2gjpvhta]\n oWnd:End() \n \n case aButtons[ 7 ]:hObj == aParams[ 1 ][color=#FF0000:2gjpvhta]:hObj[/color:2gjpvhta]\n oWnd:End()\n \n case aButtons[ 8 ]:hObj == aParams[ 1 ][color=#FF0000:2gjpvhta]:hObj[/color:2gjpvhta]\n MsgInfo( \"FWH's ActiveX Power support Codejock\", \"About Codejock\" ) \n \n case aButtons[ 9 ]:hObj == aParams[ 1 ][color=#FF0000:2gjpvhta]:hObj[/color:2gjpvhta]\n PrinterSetup() \n \n \n endcase \n endcase \n \n return nil\n\n- Ramesh Babu P", "time": "02:06", "topic": "Codejock and Harbour + FWH", "username": "RAMESHBABU" } ]
Codejock and Harbour + FWH
[ { "date": "2014-01-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Ramesh,\nAfter the changes I get when using harbour + FWH 13.08 the following message:\n[code=fw:tywhayfi]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Application<br />===========<br />   Path and <span style=\"color: #0000ff;\">name</span>: <span style=\"color: #000000;\">C</span>:\\FWH_13<span style=\"color: #000000;\">.08</span>\\samples\\RICHARD1.exe <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">32</span> bits<span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #0000ff;\">Size</span>: <span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">921</span>,<span style=\"color: #000000;\">984</span> bytes<br />   Compiler version: <span style=\"color: #000000;\">Harbour</span> <span style=\"color: #000000;\">3.2</span>.0dev <span style=\"color: #000000;\">&#40;</span>r1306132159<span style=\"color: #000000;\">&#41;</span><br />   FiveWin  Version: <span style=\"color: #000000;\">FWH</span> <span style=\"color: #000000;\">13.07</span><br />   Windows version: <span style=\"color: #000000;\">6.1</span>, Build <span style=\"color: #000000;\">7601</span> Service Pack <span style=\"color: #000000;\">1</span><br /><br />   Time <span style=\"color: #0000ff;\">from</span> start: <span style=\"color: #000000;\">0</span> hours <span style=\"color: #000000;\">0</span> mins <span style=\"color: #000000;\">7</span> secs <br />   Error occurred <span style=\"color: #00C800;\">at</span>: <span style=\"color: #000000;\">01</span>/<span style=\"color: #000000;\">27</span>/<span style=\"color: #000000;\">14</span>, <span style=\"color: #000000;\">09</span>:<span style=\"color: #000000;\">14</span>:<span style=\"color: #000000;\">13</span><br />   Error description: <span style=\"color: #000000;\"><span style=\"color: #000000;\">&#40;</span>DOS</span> Error <span style=\"color: #000000;\">-2147352562</span><span style=\"color: #000000;\">&#41;</span> WINOLE/<span style=\"color: #000000;\">1007</span>  Argument error: <span style=\"color: #000000;\">VISUALTHEME</span><br />   Args:<br />     <span style=\"color: #000000;\">&#91;</span>   <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> = L   .T.<br /><br />Stack Calls<br />===========<br />   Called <span style=\"color: #0000ff;\">from</span>:  => TOLEAUTO:<span style=\"color: #000000;\">VISUALTHEME</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>:  => __OBJSENDMSG<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\ACTIVEX.PRG => TACTIVEX&#<span style=\"color: #000000;\">058</span>;DO<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">95</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">RICHARD1</span>.prg => MAIN<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">65</span> <span style=\"color: #000000;\">&#41;</span><br /><br />System<br />======<br />   CPU type: <span style=\"color: #000000;\">Intel</span><span style=\"color: #000000;\">&#40;</span>R<span style=\"color: #000000;\">&#41;</span> Core<span style=\"color: #000000;\">&#40;</span>TM<span style=\"color: #000000;\">&#41;</span> i7 CPU         <span style=\"color: #000000;\">870</span>  @ <span style=\"color: #000000;\">2</span>.93GHz <span style=\"color: #000000;\">2950</span> Mhz<br />   Hardware memory: <span style=\"color: #000000;\">8184</span> megs<br /><br />   Free System resources: <span style=\"color: #000000;\">90</span> %<br />        GDI    resources: <span style=\"color: #000000;\">90</span> %<br />        User   resources: <span style=\"color: #000000;\">90</span> %<br /><br />   Windows total applications running: <span style=\"color: #000000;\">7</span><br />      <span style=\"color: #000000;\">1</span> ,                                                                                                     <br />      <span style=\"color: #000000;\">2</span> , C:\\FWH_13<span style=\"color: #000000;\">.08</span>\\samples\\RICHARD1.exe                                                                   <br />      <span style=\"color: #000000;\">3</span> , C:\\PROGRA~<span style=\"color: #000000;\">2</span>\\CODEJO~<span style=\"color: #000000;\">1</span>\\ActiveX\\XTREME~<span style=\"color: #000000;\">1.6</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">3</span>\\Bin\\CODEJO~<span style=\"color: #000000;\">3</span>.OCX                                          <br />      <span style=\"color: #000000;\">4</span> , C:\\Windows\\syswow64\\SHLWAPI.dll                                                                     <br />      <span style=\"color: #000000;\">5</span> DDE <span style=\"color: #00C800;\">Server</span> <span style=\"color: #0000ff;\">Window</span>, C:\\Windows\\syswow64\\OLE32.DLL                                                                       <br />      <span style=\"color: #000000;\">6</span> GDI+ <span style=\"color: #0000ff;\">Window</span>, C:\\Windows\\WinSxS\\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1<span style=\"color: #000000;\">.1</span><span style=\"color: #000000;\">.7601</span>.18120_none_72d2e82386681b <br />      <span style=\"color: #000000;\">7</span> SYM_AVPAPP_WINDOW_NAME_<span style=\"color: #000000;\">&#123;</span>1BE293D4-E7AD<span style=\"color: #000000;\">-4314</span>-B8C9-C088A7CC1E69<span style=\"color: #000000;\">&#125;</span>, C:\\Users\\GeorgeRM\\AppData\\<span style=\"color: #00C800;\">Local</span>\\Temp\\Codejock.SuitePro.ActiveX.Eval<span style=\"color: #000000;\">.16</span><span style=\"color: #000000;\">.2</span><span style=\"color: #000000;\">.6</span>.dll</div>[/code:tywhayfi]\nAfter commenting the line 65 oAct:Do( \"VisualTheme\", .T. ), the program compiles without error but the same result only displaying the message about Trial Codejock Version and then the program closes.\n\nIf compiling with xHarbour I get the error message: \"Unresolved external '_hb_parns' ; after adding the C function:\n[code=fw:tywhayfi]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#pragma</span> BEGINDUMP<br /><br />void * hb_parns<span style=\"color: #000000;\">&#40;</span> int i <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #000000;\">&#123;</span><br />   <span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">0</span>;<br /><span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00D7D7;\">#pragma</span> ENDDUMP<br /> </div>[/code:tywhayfi] the program compiles without error but with the same result.\nI read in the forum, a Richard message, that this is the usual behavior (only displaying a message), for demo version Codejock and Harbour + FWH.\n[url:tywhayfi]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=3&t=15102&p=78323&hilit=codejock+demo+only#p78323[/url:tywhayfi]\n\nRegards,\n\nGeorge", "time": "15:38", "topic": "Codejock and Harbour + FWH", "username": "George" } ]
Codejock and Harbour + FWH
[ { "date": "2008-09-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\r\n\r\nAnyone using those great controls from FWH?.", "time": "15:40", "topic": "Codejock controls", "username": "MOISES" } ]
Codejock controls
[ { "date": "2008-09-12", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"MOISES\":3bmnl838]Hi,\n\nAnyone using those great controls from FWH?.[/quote:3bmnl838]\r\n\r\nYes, I have use Codejock into FWH.\r\n\r\nRegards,\r\n\r\nRichard", "time": "17:16", "topic": "Codejock controls", "username": "richard-service" } ]
Codejock controls
[ { "date": "2008-09-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Moises,\r\n\r\nI never heard about these controls.\r\nWhat are they doing ?\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "17:27", "topic": "Codejock controls", "username": "ukoenig" } ]
Codejock controls
[ { "date": "2008-09-12", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"ukoenig\":151y37zc]Hello Moises,\n\nI never heard about these controls.\nWhat are they doing ?\n\nRegards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->[/quote:151y37zc]\r\n\r\nHi \r\n\r\nLook it\r\n[url:151y37zc]http&#58;//www&#46;codejock&#46;com/[/url:151y37zc]\r\nor\r\n[url:151y37zc]http&#58;//67&#46;222&#46;39&#46;232/forums/viewtopic&#46;php?t=10378&postdays=0&postorder=asc&highlight=codejock&start=15[/url:151y37zc]\r\n\r\n[url:151y37zc]http&#58;//67&#46;222&#46;39&#46;232/forums/viewtopic&#46;php?t=9104&highlight=codejock[/url:151y37zc]\r\n\r\n\r\n\r\n\r\nRegards,\r\n\r\nRichard", "time": "17:29", "topic": "Codejock controls", "username": "richard-service" } ]
Codejock controls
[ { "date": "2014-01-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola,\nEstoy tratando de integrar los componentes de \"Codejock Bar\" usando el siguiente codigo (encontrado en el foro):\n[code=fw:27l40jxa]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />  <span style=\"color: #00C800;\">PUBLIC</span> oWnd, oAct, oRb, oTabFiles, oTabEdit, oTabBuild<br />  <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br />  @ <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> ACTIVEX oAct PROGID <span style=\"color: #ff0000;\">\"Codejock.CommandBarsFrame.16.2.6\"</span> <span style=\"color: #0000ff;\">OF</span> oWnd<br />  oAct:<span style=\"color: #00C800;\">Do</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"AttachToWindow\"</span>, oWnd:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span><br />  oRb = oAct:<span style=\"color: #00C800;\">Do</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"AddRibbonBar\"</span>, <span style=\"color: #ff0000;\">\"fwh\"</span> <span style=\"color: #000000;\">&#41;</span><br />  oTabFiles = oRb:<span style=\"color: #000000;\">InsertTab</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"&Files\"</span> <span style=\"color: #000000;\">&#41;</span><br />  oTabEdit  = oRb:<span style=\"color: #000000;\">InsertTab</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #ff0000;\">\"&Edit\"</span> <span style=\"color: #000000;\">&#41;</span><br />  oTabBuild = oRb:<span style=\"color: #000000;\">InsertTab</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2</span>, <span style=\"color: #ff0000;\">\"&Build\"</span> <span style=\"color: #000000;\">&#41;</span><br />  oTabFiles:<span style=\"color: #000000;\">Groups</span>:<span style=\"color: #000000;\">AddGroup</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Test 1\"</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />  oTabFiles:<span style=\"color: #000000;\">Groups</span>:<span style=\"color: #000000;\">AddGroup</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Test 2\"</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span><br />  <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:27l40jxa]\n\nAl inicio el programa ejecuta correctamente y presenta el mensaje de que estoy usndo el ActiveX (Trial version) de Codejock, pero despues solo presenta una franja negra en lugar del Ribbonbar.\nEstoy usando Harbour de Agosto 2013 + FWH 13.08.\nAlguna sugerencia?\n\nGracias,\n\nGeorge", "time": "16:05", "topic": "Codejock y Harbour + FWH", "username": "George" } ]
Codejock y Harbour + FWH
[ { "date": "2014-01-23", "forum": "FiveWin para Harbour/xHarbour", "text": "George,\n\nFIVEWIN disponibiliza uma classe nativa para RIBBON BAR:\n\nc:\\fwh\\samples\\ribbon.prg\nc:\\fwh\\samples\\ribbon2.prg\nc:\\fwh\\samples\\ribbon3.prg", "time": "18:00", "topic": "Codejock y Harbour + FWH", "username": "MGA" } ]
Codejock y Harbour + FWH
[ { "date": "2014-01-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias SGS por responder.\nHe visto la clase Ribbon de FW y parece que es bien completa.\nLo que sucede es que quiero hacer algunas pruebas, con este y otros componentes de Codejock (como el GRAPH), para ver como interactuan con Harbour+FWH. \n\nHas tenido alguna experiencia con el Codejock?\n\nSaludos,\n\nGeorge", "time": "19:50", "topic": "Codejock y Harbour + FWH", "username": "George" } ]
Codejock y Harbour + FWH
[ { "date": "2008-10-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello everybody,\r\n\r\nI am new FWH 8.09 user and I try to build application with our local Croatian codepage characters. \r\n\r\nq: Can someone teach me how to get Croatian fonts on button bar. All fonts are OK in all other aspects (indexing, seek, browse, say, get) but not on button bar.\r\n\r\nHere is piece of known source and screen shoot with wrong fonts on button bar and good fonts on bottom of screen.\r\n\r\nThanks,\r\n\r\nBoris Shibila\r\n\r\n \r\n*-----------------------------------------------------------------------------\r\n#include \"FiveWin.ch\"\r\n\r\nREQUEST HB_LANG_HR1250\r\nREQUEST HB_CODEPAGE_HR1250\r\n\r\nstatic oWnd\r\n\r\nfunction Main()\r\n\r\n local oBar, oPopup, oBtn\r\n public oBrw, cString, oWndMain\r\n\r\n HB_langselect( \"HR1250\" )\r\n HB_SetCodePage( \"HR1250\" )\r\n\r\n *\r\n *\r\n *\r\n SetBalloon( .T. ) // Balloon shape required for tooltips\r\n\r\n DEFINE WINDOW oWndMain TITLE \"TC2008\" MDI\r\n\r\n DEFINE BUTTONBAR oBar OF oWndMain SIZE 60, 60 2007\r\n DEFINE BUTTON OF oBar RESOURCE \"attach\" PROMPT \"Š&#272;Ž&#268;&#262;\" \r\n DEFINE BUTTON OF oBar RESOURCE \"telefon\" PROMPT \"Telefon\" \r\n\r\n SET MESSAGE OF oWndMain TO \"Codepage characters: Š&#272;Ž&#268;&#262;b \" CLOCK KEYBOARD 2007\r\n ACTIVATE WINDOW oWndMain MAXIMIZED\r\n\r\nreturn nil\r\n*-----------------------------------------------------------------------------\r\n[img:g8gghg6e]http&#58;//www&#46;paradigma&#46;hr/cp&#46;jpg[/img:g8gghg6e]", "time": "23:29", "topic": "Codepage chars on button bar...", "username": "bosibila" } ]
Codepage chars on button bar...
[ { "date": "2008-10-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Boris,\r\n\r\nI found a solution, to paint anything inside the buttons\r\nof the buttonbar.\r\nFor me, the main-reason was the still missing font-define.\r\nI created a selection of different 24-Bit transparent-bitmaps \r\nfor the buttonbar as templates.\r\nOn the bottom, i have some space for any text.\r\nI write directly the text in the buttom-earea of a copy \r\nfrom a selected bitmap.\r\nIf you don't need a picture, you can create just a transparent\r\ntext-bitmap-button.\r\nThere you have the choice, to paint anything you want.\r\n\r\n[code:2z51tyoy]\nDEFINE BUTTON oBtn4 OF oBar1 ACTION &#40; IIF&#40; FILE&#40; \"xBrwHelp&#46;exe\" &#41;, Winexec&#40;\"xBrwHelp&#46;exe\"&#41;, ;\nMsgAlert&#40; \"No HelpFile &#58; xBrwHelp&#46;exe\", \"Error\" &#41; &#41; &#41; ;\nFILENAME \"help_1&#46;bmp\" PROMPT \"\" TOOLTIP \"Help\"\n\n// The prompt must be \"\"\n\n[/code:2z51tyoy]\r\n\r\n[img:2z51tyoy]http&#58;//www&#46;pflegeplus&#46;com/pictures/buttonbar1&#46;jpg[/img:2z51tyoy]\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "01:25", "topic": "Codepage chars on button bar...", "username": "ukoenig" } ]
Codepage chars on button bar...
[ { "date": "2008-10-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Uwe, thanks for idea.\r\n\r\nBest regards", "time": "13:49", "topic": "Codepage chars on button bar...", "username": "bosibila" } ]
Codepage chars on button bar...
[ { "date": "2008-10-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Boris,\r\n\r\njust another Test with Resource-Workshop.\r\nThe bitmap must have the same size like in the buttonbar-define.\r\nThe button is stored in the RC-file.\r\n\r\nDEFINE BUTTONBAR oBar1 OF oWnd SIZE 65, 80 2007 RIGHT \r\n\r\nDEFINE BUTTON oBtn4 OF oBar1 ACTION ( IIF( FILE( \"xBrwHelp.exe\" ), Winexec(\"xBrwHelp.exe\"), ;\r\nMsgAlert( \"No HelpFile : xBrwHelp.exe\", \"Error\" ) ) ) ;\r\nRESOURCE \"Button4\" PROMPT \"\" TOOLTIP \"Help\"\r\n\r\n[img:3egk4d4c]http&#58;//www&#46;pflegeplus&#46;com/pictures/buttonbar3&#46;jpg[/img:3egk4d4c]\r\n\r\n[img:3egk4d4c]http&#58;//www&#46;pflegeplus&#46;com/pictures/buttonbar2&#46;jpg[/img:3egk4d4c]\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "15:10", "topic": "Codepage chars on button bar...", "username": "ukoenig" } ]
Codepage chars on button bar...
[ { "date": "2006-04-15", "forum": "All products support", "text": "Salve a tutti,\nqualcuno di voi ha una routine di controllo/generazione codice fiscale e controllo partita iva ?\n\nGrazie.\n\nMarco", "time": "07:17", "topic": "Codice fiscale/ partita IVA", "username": "Marco Turco" } ]
Codice fiscale/ partita IVA
[ { "date": "2006-04-15", "forum": "All products support", "text": "Controllo Codice Fiscale:\n\n[code:3a3ntsvp]FUNCTION ISCOD&#40; cCod &#41;\n\n LOCAL aCod &#58;= &#123; 1, 0, 5, 7, 9, 13, 15, 17, 19, 21, 2, 4, 18, 20, 11, 3, 6, 8, 12, 14, 16, 10, 22, 25, 24, 23 &#125;\n LOCAL nChr, cChr, nPos, nCod &#58;= 0\n\n IF LEN&#40; ALLTRIM&#40; cCod &#41; &#41; != 16; RETURN &#46;F&#46;; ENDIF\n\n FOR nChr = 1 TO 15\n cChr = SUBSTR&#40; cCod, nChr, 1 &#41;\n IF !ISALPHA&#40; cChr &#41; &#46;AND&#46; !ISDIGIT&#40; cChr &#41;; RETURN &#46;F&#46;; ENDIF\n nPos = ASC&#40; cChr &#41; - IF&#40; ISALPHA&#40; cChr &#41;, ASC&#40; \"A\" &#41;, ASC&#40; \"0\" &#41; &#41;\n nCod += IF&#40; nChr % 2 = 0, nPos, aCod&#91; nPos + 1 &#93; &#41;\n NEXT\n\n RETURN nCod % 26 = ASC&#40; SUBSTR&#40; cCod, nChr, 1 &#41; &#41; - ASC&#40; \"A\" &#41;[/code:3a3ntsvp]\n\nControllo Partita IVA:\n\n[code:3a3ntsvp]FUNCTION ISIVA&#40; cCod &#41;\n\n LOCAL nChr, nPos, nCod &#58;= 0\n\n IF LEN&#40; RTRIM&#40; cCod &#41; &#41; != 11 &#46;OR&#46; cCod = \"00000000000\"; RETURN &#46;F&#46;; ENDIF\n\n FOR nChr = 1 TO 10\n nPos = ASC&#40; SUBSTR&#40; cCod, nChr, 1 &#41; &#41; - ASC&#40; \"0\" &#41;\n nCod += IF&#40; nChr % 2 = 0, INT&#40; nPos * 2 / 10 + &#40; nPos * 2 &#41; % 10 &#41;, nPos &#41;\n NEXT\n\n RETURN &#40; 10 - nCod % 10 &#41; % 10 = ASC&#40; SUBSTR&#40; cCod, nChr, 1 &#41; &#41; - ASC&#40; \"0\" &#41;[/code:3a3ntsvp]\n\nPer quanto riguarda la generazione, avrei quella per il Codice Fiscale ma richiede anche il database aggiornato dei codici dei comuni.\n\nSe ti serve dimmelo (ma il mio DBF dei codici dei comuni non so quanto sia aggiornato).\n\nEMG", "time": "10:23", "topic": "Codice fiscale/ partita IVA", "username": "Enrico Maria Giordano" } ]
Codice fiscale/ partita IVA
[ { "date": "2006-04-15", "forum": "All products support", "text": "io avrei tutto un programma che genera i codici fiscali :sarebbe troppo grande da mettere qui.\n\nPoi ci vuole l'archivio comuni che potrebbe essere reperibile in giro", "time": "16:38", "topic": "Codice fiscale/ partita IVA", "username": "Silvio" } ]
Codice fiscale/ partita IVA
[ { "date": "2006-04-15", "forum": "All products support", "text": "Per il controllo dell'iva io uso \n[code:3a7j8by6]\n/***************************\n\n function OKIVA&#40; PI, obbligo &#41;\n\n//***************************\n// Syntax&#58; OKIVA&#40; <ExpC>, &#91;<ExpL>&#93; &#41;\n// <ExpC> Š il n&#46; di partita iva &#40;Š una stringa!&#41;\n// <ExpL> se Š &#46;T&#46; la partita IVA Š obbligatoria &#40;default&#41;, altrimenti pu• essere vuota\n// Restituisce &#46;t&#46;=tutto ok ; &#46;f&#46;= errata\n\nlocal s &#58;= 0, i, t, pi1, pi2, ok &#58;= &#46;f&#46;\n\nIF pcount&#40;&#41; = 1\n obbligo = &#46;f&#46; // default non obbligatoria\nENDIF\n\ns &#58;= 0\n\nIF empty&#40; pi &#41;\n return&#40; if&#40; obbligo, &#46;f&#46;, &#46;t&#46; &#41; &#41; // se obbligatoria ritorna &#46;F&#46;\nENDIF\n\nIF len&#40; alltrim&#40; pi &#41; &#41; != 11\n return&#40;&#46;f&#46;&#41; // &#46;f&#46;\nENDIF\n\n// non vengono controllati gli uffici iva, tanto c'Š il cecksum&#46;&#46;&#46;\n//IF val&#40;subst&#40;pi,8,3&#41;&#41;<1 &#46;or&#46; val&#40;substr&#40;pi,8,3&#41;&#41;>100\n// * uffici iva &#40;il 100 esiste - Firenze&#41;\n// return&#40;ok&#41; // &#46;f&#46;\n//ENDIF\n\ni &#58;= 1\nWHILE i < 11\n pi1 &#58;= val&#40;substr&#40;pi,i,1&#41;&#41;\n pi2 &#58;= val&#40;substr&#40;pi,i+1,1&#41;&#41;\n s &#58;= s+pi1+2*pi2-9*int&#40;pi2/5&#41;\n i &#58;= i+2\nENDDO\n\nt &#58;= 10-&#40;s-int&#40;s/10&#41;*10&#41;\nIF t = 10\n t &#58;= 0\nENDIF\n\nIF t # val&#40;substr&#40;pi,11,1&#41;&#41;\n return&#40; ok &#41; // &#46;f&#46;\nENDIF\n\nok &#58;= &#46;t&#46;\nreturn&#40; ok &#41; // &#46;T&#46;\n\n[/code:3a7j8by6]", "time": "16:45", "topic": "Codice fiscale/ partita IVA", "username": "Silvio" } ]
Codice fiscale/ partita IVA
[ { "date": "2006-04-15", "forum": "All products support", "text": "Per il controllo del CF io uso :\n[code:168pcct0]\n*ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß\n FUNCTION CFISC&#40; CF, obbligo, CfNasc, CfSex &#41;\n*ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß\n\n\n// controllo codice fiscale\n\n// Syntax&#58; cfisc&#40;<ExpC>, &#91;<ExpL>&#93;&#41;\n// dove <ExpC> èil numero di codice fiscale da controllare\n// <ExpL> indica se si accetta anche il CF vuoto &#40;default&#41; =&#46;f&#46;\n// oppure se è obbligatorio = &#46;t&#46;\n// Restituisce&#58; se errato restituisce &#46;F&#46;\n// se corretto restituisce &#46;T&#46;\n//\n// Se esistono il 3&#46; e 4&#46; parametro &#40;passati per referenza&#41; \n// vi vengono scritti CFNasc &#40;Data di nascita&#41; tutti formati europei\n// CFSex &#40;Sesso = M F&#41;\n//\n// per il GET sul Codice Fiscale si consiglia questa Picture&#58;\n// @ 10,10 get cod pict \"@! AAAAAA99A99A999A\"\n// es&#58; TNLMRZ56C15L552S\n\nlocal td &#58;= \"0100050709131517192102041820110306081214161022252423\"\nlocal mn &#58;= \"ABCDEHLMPRST\"\nlocal f4 &#58;= 0, pp &#58;= 0, p &#58;= 1\nlocal i, p1, j, CfDataNascita, CfSesso, sep &#58;= \"\", DataVuota\n\nIF obbligo == NIL\n obbligo &#58;= &#46;f&#46; // accetta anche CF vuoto\nENDIF\n\nif CfNasc != NIL\n // Separatori data &#40;formato europeo&#41; possibili&#58; / - &#46;\n sep &#58;= substr&#40;dtoc&#40;date&#40;&#41;&#41;,3,1&#41;\n // Default\n CfNasc &#58;= ctod&#40;\" \"+sep+\" \"+sep+\" \"&#41;\n CfSex &#58;= \" \"\nendif\n\nCF &#58;= upper&#40; alltrim&#40;CF&#41; &#41;\nIF LEN&#40;CF&#41; = 0\n // accetta anche Cod fisc&#46; vuoto\n return&#40; !obbligo &#41; // se CF obbligatorio non passato controllo\nENDIF\n\nIF len&#40;CF&#41; < 16\n return&#40; &#46;f&#46; &#41; // errore!\nENDIF\n\nFOR I &#58;= 1 TO 15\n P1 &#58;= ASC&#40; substr&#40; CF, I, 1 &#41; &#41;\n \n IF P1 > 47 &#46;and&#46; P1 < 58\n P1 -= 48\n ENDIF\n \n IF P1 > 64 &#46;and&#46; P1 < 91\n P1 -= 65\n ENDIF\n \n IF P = 0\n PP += P1\n P &#58;= 1\n ELSE\n PP += VAL&#40; substr&#40; TD, &#40;P1*2+1&#41;, 2 &#41; &#41;\n P &#58;= 0\n ENDIF\nNEXT\n\nPP &#58;= &#40;PP - &#40;INT &#40;PP/26&#41; &#41; * 26&#41; + 65\n\nif chr&#40;pp&#41; != right&#40;cf, 1&#41;\n // codice fiscale errato\n return&#40;&#46;f&#46;&#41;\nENDIF\n\nP1 &#58;= VAL&#40; substr&#40; Cf, 10, 2 &#41; &#41;\nCfSesso &#58;= \"M\"\nIF P1 > 40\n P1 -= 40\n CfSesso &#58;= \"F\"\nENDIF\n\nIF P1 < 10\n CfDataNascita &#58;= \"0\" + RIGHT&#40; STR&#40; P1, 2 &#41;, 1 &#41;\n J &#58;= 0\nELSE\n CfDataNascita &#58;= RIGHT&#40; STR&#40; P1, 2 &#41;, 2 &#41;\n J &#58;= 0\nENDIF\n\nFOR I &#58;= 1 TO 12\n IF substr&#40; Cf, 9, 1&#41; == substr&#40; MN, I, 1 &#41;\n J &#58;= I\n I &#58;= 12\n ENDIF\nNEXT\n\nIF J = 0\n // codice fiscale errato\n return&#40;&#46;f&#46;&#41;\nENDIF\n\nIF J < 10\n CfDataNascita += sep + \"0\" + RIGHT&#40; STR&#40; J, 2 &#41;, 1 &#41;\nELSE\n CfDataNascita += sep + RIGHT&#40; STR&#40; J, 2 &#41;, 2 &#41;\nENDIF\n\nCfDataNascita += sep + substr&#40; Cf, 7, 2 &#41;\n\nCfNasc &#58;= ctod&#40; CfDataNasc &#41;\nCfSex &#58;= Cfsesso\n\nreturn&#40;&#46;t&#46;&#41;\n\n[/code:168pcct0]\n\neh..spero che ti serva e .....Buona Pasqua!!!!!!!!", "time": "16:48", "topic": "Codice fiscale/ partita IVA", "username": "Silvio" } ]
Codice fiscale/ partita IVA
[ { "date": "2006-04-26", "forum": "All products support", "text": "Grazie EMG e Silvio.\n\nMarco", "time": "09:54", "topic": "Codice fiscale/ partita IVA", "username": "Marco Turco" } ]
Codice fiscale/ partita IVA
[ { "date": "2013-02-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola a todos.\nEstoy buscando alguna funcion que me permita codificar y decodificar archivos xml en base64 para Harbour y no la encuentro, quizas alguien lo tenga y me lo pueda facilitar.\nMuchas gracias\n\nJorge Jaurena", "time": "20:36", "topic": "Codificacion en Base64", "username": "Jorge Jaurena" } ]
Codificacion en Base64
[ { "date": "2013-02-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Jorge,\n\nPrueba con las funciones hb_base64decode() y hb_base64encode() de Harbour", "time": "23:42", "topic": "Codificacion en Base64", "username": "Antonio Linares" } ]
Codificacion en Base64
[ { "date": "2013-02-21", "forum": "FiveWin para Harbour/xHarbour", "text": "[size=85:2827mau6][quote=\"Jorge Jaurena\":2827mau6]Estoy buscando alguna funcion que me permita codificar y decodificar archivos xml...[/quote:2827mau6][/size:2827mau6]Perdón por la pregunta: ¿ Por que hay que codificar/decodificar archivos xml ?\nGracias por la respuesta.", "time": "11:57", "topic": "Codificacion en Base64", "username": "JmGarcia" } ]
Codificacion en Base64
[ { "date": "2013-02-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Estoy usando Harbour 1.0.1 y me parece que no estan, ¿como puedo incorporarlas? Gracias.\n\nJorge Jaurena\n\nPD JmGarcia: necesito codificarlos en base64 porque el web server al que debo comunicarme asi me lo pide, solo por eso. Saludos", "time": "13:41", "topic": "Codificacion en Base64", "username": "Jorge Jaurena" } ]
Codificacion en Base64
[ { "date": "2013-02-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Jorge,\n\nLo mas sencillo es que actualices Harbour <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "14:59", "topic": "Codificacion en Base64", "username": "Antonio Linares" } ]
Codificacion en Base64
[ { "date": "2013-02-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Si, eso pense de entrada, pero tengo temor de que no me empiece a compilar algunas cosas bien, intento, y si no puedo lograr que ande bien tendre\nque volver a molestar por aqui.\nMuchas Gracias.\n\nJorge Jaurena", "time": "19:27", "topic": "Codificacion en Base64", "username": "Jorge Jaurena" } ]
Codificacion en Base64
[ { "date": "2013-02-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Jorge,\n\nLa versión actual suele ser la más completa y probada. Especialmente en desarrollos de código abierto. \n\nAsi que todo debería compilar bien, salvo que tengas que hacer algún cambio pequeño y aqui te ayudaremos a solucionarlo en caso de ser necesario.", "time": "22:14", "topic": "Codificacion en Base64", "username": "Antonio Linares" } ]
Codificacion en Base64
[ { "date": "2013-02-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Esta me funciona a mi excelente\n\nPones una variable\ncXml := Base64toStr(oNodo:CData)\n\n\ny aca el codigo\n\n\n// otras\n* BASE64.PRG\n* Creation le 30/12/2008\n* Auteur Badara Thiam\n* Derniere modification le 25/09/2009 à 16:35:37\n\n* Modification du 25/09/2009 effectuée dans StrToBase64()\n* Résout une erreur de conversion apparaissant lorsque :\n* ( le nombre de caractères dans la chaine multiplié par <!-- s8) --><img src=\"{SMILIES_PATH}/icon_cool.gif\" alt=\"8)\" title=\"Cool\" /><!-- s8) --> n'est pas un multiple de 6\n\n*******************\nFUNCTION StrToBase64( cTexte )\n*******************\n* Conversion en base 64 de la chaine cTexte\n\n* Un alphabet de 65 caractères est utilisé pour permettre la représentation de 6 bits par caractère :\n* \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\"\n\n* Le '=' (65e caractère) est utilisé dans le processus de codage pour les caractères finaux.\n\nLOCAL cTexte64 := \"\"\nLOCAL X\nLOCAL cHex\nDO WHILE !( cTexte == \"\" )\n cHex := \"\"\n\n * Le processus de codage représente des groupes de 24 bits de données en entrée par une chaîne en sortie de 4 caractères codés.\n * En procédant de gauche à droite, un groupe de 24 bits est créé en concaténant 3 octets (8 bits par octet).\n FOR X := 1 TO 3\n * Conversion de chaque caractère en chaine binaire de 8 octets\n cHex += CarToBin( LEFT(cTexte, 1) )\n IF LEN(cTexte) > 1\n cTexte := SUBSTR(cTexte, 2)\n ELSE\n cTexte := \"\"\n EXIT\n ENDIF\n NEXT X\n\n * Ces 24 bits (ici contenus dans cHex, ou au moins un multiple) sont traités comme 4 groupes concaténés de 6 bits chacun convertis\n * en un unique caractère dans l'alphabet de la base 64.\n\n * Chaque groupe de 6 bits est utilisé comme index dans la table des caractères de la base 64.\n * Le caractère référencé par l'index correspondant est utilisé comme codage de ce groupe de 6 bits.\n\n FOR X := 1 TO 4\n\n IF SUBSTR(cHex, ( (X - 1) * 6) + 1 ) == \"\"\n cTexte64 += REPLICATE(\"=\", 4 - X + 1)\n EXIT\n ELSE\n\n * Un traitement spécial est effectué si moins de 24 bits sont disponibles à la fin des données\n * à coder. Aucun bit ne restant non-codé,\n * si moins de 24 bits sont disponibles alors des bits à zéro sont ajoutés à la droite des données\n * pour former un nombre entier de groupes de 6 bits.\n IF LEN( cHex ) % 6 > 0\n * Ajout des bits à zéro\n cHex += REPLICATE(\"0\", 6 - ( LEN( cHex ) % 6 ) )\n ENDIF\n\n\n cTexte64 += Carac64( \"00\" + SUBSTR(cHex, ( (X - 1) * 6) + 1, 6 ) )\n ENDIF\n NEXT X\nENDDO\nRETURN cTexte64\n\n*********************\nFUNCTION Base64ToStr( cTexte64 )\n*********************\n* décodage d'un texte codé en base 64\nLOCAL cTexte := \"\"\nLOCAL X\nLOCAL cHex\nLOCAL cCar\nDO WHILE !( cTexte64 == \"\" )\n try \n cCar := LEFT(cTexte64,4)\n catch\n end\n cHex := \"\"\n try \n FOR X := 1 TO 4 \n IF SUBSTR(cCar, X, 1 ) != \"=\"\n cHex += Hex64( SUBSTR(cCar, X, 1 ) )\n ELSE\n EXIT\n ENDIF\t\n NEXT X\n catch\n end\n\n FOR X := 1 TO 3\n IF SUBSTR(cHex, ( (X - 1) * <!-- s8) --><img src=\"{SMILIES_PATH}/icon_cool.gif\" alt=\"8)\" title=\"Cool\" /><!-- s8) --> + 1 ) == \"\"\n EXIT\n ELSE\n cTexte += BinToCar( SUBSTR(cHex, ( (X - 1) * <!-- s8) --><img src=\"{SMILIES_PATH}/icon_cool.gif\" alt=\"8)\" title=\"Cool\" /><!-- s8) --> + 1, 8 ) )\n ENDIF\n NEXT X\n\n IF LEN(cTexte64) > 4\n cTexte64 := SUBSTR(cTexte64, 5)\n ELSE\n cTexte64 := \"\"\n ENDIF\nENDDO\nRETURN cTexte\n\n****************\nFUNCTION Carac64( cBin )\n****************\n* Renvoie le caractère correspondant en base 64\nLOCAL nPos := ASC( BinToCar( @cBin ) ) + 1\nRETURN SUBSTR( \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\", nPos, 1)\n\n**************\nFUNCTION Hex64( carac64 )\n**************\n* Renvoie le caractère correspondant en base 64\nLOCAL cCodeAsc := CHR( AT(carac64, \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\" ) -1 )\nRETURN SUBSTR( CarToBin( @cCodeAsc ) , 3, 6)\n\n*****************\nFUNCTION CarToBin( carac, lInverse )\n*****************\n* Renvoie le caractère correspondant dans une chaine binaire (composée de 0 et 1) de 8 bits\n\n#define cHexa \"0123456789ABCDEF\"\n#define aBin {\"0000\", \"0001\", \"0010\", \"0011\", \"0100\", \"0101\", \"0110\", \"0111\", ;\n \"1000\", \"1001\", \"1010\", \"1011\", \"1100\", \"1101\", \"1110\", \"1111\" }\nLOCAL cToHex\n\nIF EMPTY( lInverse )\n* Retourne la chaine binaire en ayant reçu le caractère ASCII\n cToHex := str2Hex( carac )\n RETURN aBin[ AT( LEFT(cToHex,1), cHexa ) ] + aBin[ AT( SUBSTR(cToHex,2), cHexa ) ]\nELSE\n* Retourne le caractère ASCII en ayant reçu la chaine binaire\n cToHex := SUBSTR(cHexa, ASCAN(aBin, LEFT(carac,4 ) ), 1 ) ;\n + SUBSTR(cHexa, ASCAN(aBin, SUBSTR(carac,5,4 ) ), 1 )\n RETURN Hex2str( cToHex )\nENDIF\nRETURN NIL\n\n*****************\nFUNCTION BinToCar( cBin )\n*****************\nRETURN CarToBin( @cBin, .T. )", "time": "23:13", "topic": "Codificacion en Base64", "username": "jponce" } ]
Codificacion en Base64
[ { "date": "2013-02-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Muchas gracias jponce por tu aporte, pero a pesar de que estas funciones anden correctamente estoy convencido de que Antonio tiene razon en la necesidad de mantener el lenguaje actualizado, y asi debe ser ya que por lo menos en mi caso Yo vivo de esto y mis clientes me pagan por el software que les instalo y el soporte que recibo aqui siempre ha sido excelente.\nGracias nuevamente.\n\nJorge Jaurena", "time": "00:06", "topic": "Codificacion en Base64", "username": "Jorge Jaurena" } ]
Codificacion en Base64
[ { "date": "2013-02-26", "forum": "FiveWin para Harbour/xHarbour", "text": "A la orden .\n\nEste codigo fuente que puse funciona perfectamente para decodificar XML, cuando quieres decodificar un PDF ya no funciona o Quieres decodificar un Word, etc, funciona practicamente para XML.\n\nPero de que funciona para lo que necesitas te funciona.\n\nAtentamente\nJulio Ponce", "time": "03:22", "topic": "Codificacion en Base64", "username": "jponce" } ]
Codificacion en Base64
[ { "date": "2016-08-24", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Jorge:\ncoma sacarias el valor base64 a abc123\nya que en este link <!-- m --><a class=\"postlink\" href=\"http://hash.online-convert.com/es/generador-sha1\">http://hash.online-convert.com/es/generador-sha1</a><!-- m -->\nda este resultado: \nbase64: Y2fEjdGT1W6nsLqtJbGUVeUp9e4= \n\ny con tu funcion da otro valor\n\nsaludos", "time": "16:57", "topic": "Codificacion en Base64", "username": "jbrita" } ]
Codificacion en Base64
[ { "date": "2018-12-29", "forum": "FiveWin para Harbour/xHarbour", "text": "no sirve en el texto hay \"ñ\"", "time": "10:37", "topic": "Codificacion en Base64", "username": "QAZWSX2K" } ]
Codificacion en Base64
[ { "date": "2018-12-30", "forum": "FiveWin para Harbour/xHarbour", "text": "Buenas noches\n\nYo vengo usando estas funciones que las bajé del Foro:\n\n[code=fw:v41lv41z]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">* BASE64.PRG<br />* Creation le <span style=\"color: #000000;\">30</span>/<span style=\"color: #000000;\">12</span>/<span style=\"color: #000000;\">2008</span><br />* Auteur Badara Thiam<br />* Derniere modification le <span style=\"color: #000000;\">25</span>/<span style=\"color: #000000;\">09</span>/<span style=\"color: #000000;\">2009</span> à <span style=\"color: #000000;\">16</span>:<span style=\"color: #000000;\">35</span>:<span style=\"color: #000000;\">37</span><br /><br />* Cambio <span style=\"color: #000000;\">25</span>/<span style=\"color: #000000;\">09</span>/<span style=\"color: #000000;\">2009</span> realizado en StrToBase64 <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#41;</span><br />* Resuelve un error de conversión se produce cuando :<br /><span style=\"color: #000000;\">*</span> <span style=\"color: #000000;\">&#40;</span> El número de caracteres de la cadena multiplicado por <span style=\"color: #000000;\">8</span> <span style=\"color: #000000;\">&#41;</span> no es un múltiplo de <span style=\"color: #000000;\">6</span><br /><br /><br />*******************<br /><span style=\"color: #00C800;\">FUNCTION</span> StrToBase64<span style=\"color: #000000;\">&#40;</span> cTexte <span style=\"color: #000000;\">&#41;</span><br />*******************<br />* Conversión de base <span style=\"color: #000000;\">64</span> de la cadena de ctext<br /><br />* Un alfabeto de <span style=\"color: #000000;\">65</span> caracteres se utiliza para permitir la representación de <span style=\"color: #000000;\">6</span> bits por carácter :<br /><span style=\"color: #000000;\">*</span> <span style=\"color: #ff0000;\">\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\"</span><br /><br />* El <span style=\"color: #ff0000;\">'='</span> <span style=\"color: #000000;\">&#40;</span> carácter 65a <span style=\"color: #000000;\">&#41;</span> se utiliza en el proceso de codificación para los caracteres finales.<br /><br /><span style=\"color: #00C800;\">LOCAL</span> cTexte64 := <span style=\"color: #ff0000;\">\"\"</span><br /><span style=\"color: #00C800;\">LOCAL</span> X<br /><span style=\"color: #00C800;\">LOCAL</span> cHex<br /><span style=\"color: #00C800;\">DO</span> <span style=\"color: #00C800;\">WHILE</span> !<span style=\"color: #000000;\">&#40;</span> cTexte == <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">&#41;</span><br />cHex := <span style=\"color: #ff0000;\">\"\"</span><br /><br />* El proceso de codificación representa grupos de datos de entrada de <span style=\"color: #000000;\">24</span> bits por una cadena de salida de <span style=\"color: #000000;\">4</span> caracteres codificados .<br />* Procediendo de izquierda a derecha , un grupo de <span style=\"color: #000000;\">24</span> bits se crea mediante la concatenación de tres bytes <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">8</span> bits por byte <span style=\"color: #000000;\">&#41;</span> .<br /><span style=\"color: #00C800;\">FOR</span> X := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">3</span><br />* Convertir cada cadena de caracteres binarios de <span style=\"color: #000000;\">8</span> bytes<br />cHex += CarToBin<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">LEFT</span><span style=\"color: #000000;\">&#40;</span>cTexte, <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">IF</span> LEN<span style=\"color: #000000;\">&#40;</span>cTexte<span style=\"color: #000000;\">&#41;</span> > <span style=\"color: #000000;\">1</span><br />cTexte := <span style=\"color: #0000ff;\">SUBSTR</span><span style=\"color: #000000;\">&#40;</span>cTexte, <span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">ELSE</span><br />cTexte := <span style=\"color: #ff0000;\">\"\"</span><br />EXIT<br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">NEXT</span> X<br /><br />* Estos <span style=\"color: #000000;\">24</span> bits <span style=\"color: #000000;\">&#40;</span>en este caso contenía en cHex , o al menos un múltiple<span style=\"color: #000000;\">&#41;</span> se tratan como <span style=\"color: #000000;\">4</span> grupos concatenados de <span style=\"color: #000000;\">6</span> bits cada convertidos<br />* En un solo carácter en el alfabeto de la base <span style=\"color: #000000;\">64</span> .<br /><br />* Cada grupo de <span style=\"color: #000000;\">6</span> bits se utiliza como un índice en la tabla de caracteres de la base <span style=\"color: #000000;\">64</span> .<br />* El carácter referencia el índice correspondiente se utiliza como la codificación de este grupo de <span style=\"color: #000000;\">6</span> bits.<br /><br /><span style=\"color: #00C800;\">FOR</span> X := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">4</span><br /><br /><span style=\"color: #00C800;\">IF</span> <span style=\"color: #0000ff;\">SUBSTR</span><span style=\"color: #000000;\">&#40;</span>cHex, <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span>X - <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span> * <span style=\"color: #000000;\">6</span><span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"\"</span><br />cTexte64 += REPLICATE<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"=\"</span>, <span style=\"color: #000000;\">4</span> - X + <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span><br />EXIT<br /><span style=\"color: #00C800;\">ELSE</span><br /><br />* Procesamiento especial se lleva a cabo si hay menos de <span style=\"color: #000000;\">24</span> bits están disponibles al <span style=\"color: #00C800;\">final</span> de los datos<br />* Codificación . <span style=\"color: #0000ff;\">Sin</span> bits restantes no codificado ,<br />* Menos de <span style=\"color: #000000;\">24</span> bits están disponibles a continuación, los bits de cero se añaden a la derecha de los datos<br />* Para formar un número entero de <span style=\"color: #000000;\">6</span> grupos de bits .<br /><br /><span style=\"color: #00C800;\">IF</span> LEN<span style=\"color: #000000;\">&#40;</span> cHex <span style=\"color: #000000;\">&#41;</span> % <span style=\"color: #000000;\">6</span> > <span style=\"color: #000000;\">0</span><br />* La adición de bits cero<br />cHex += REPLICATE<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"0\"</span>, <span style=\"color: #000000;\">6</span> - <span style=\"color: #000000;\">&#40;</span> LEN<span style=\"color: #000000;\">&#40;</span> cHex <span style=\"color: #000000;\">&#41;</span> % <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">ENDIF</span><br /><br />cTexte64 += Carac64<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"00\"</span> + <span style=\"color: #0000ff;\">SUBSTR</span><span style=\"color: #000000;\">&#40;</span>cHex, <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span>X - <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span> * <span style=\"color: #000000;\">6</span><span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">NEXT</span> X<br /><span style=\"color: #00C800;\">ENDDO</span><br /><span style=\"color: #00C800;\">RETURN</span> cTexte64<br /><br />*********************<br /><span style=\"color: #00C800;\">FUNCTION</span> Base64ToStr<span style=\"color: #000000;\">&#40;</span> cTexte64 <span style=\"color: #000000;\">&#41;</span><br />*********************<br />* La decodificación de un texto codificado de base <span style=\"color: #000000;\">64</span><br /><span style=\"color: #00C800;\">LOCAL</span> cTexte := <span style=\"color: #ff0000;\">\"\"</span><br /><span style=\"color: #00C800;\">LOCAL</span> X<br /><span style=\"color: #00C800;\">LOCAL</span> cHex<br /><span style=\"color: #00C800;\">LOCAL</span> cCar<br /><span style=\"color: #00C800;\">DO</span> <span style=\"color: #00C800;\">WHILE</span> !<span style=\"color: #000000;\">&#40;</span> cTexte64 == <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">try</span><br />cCar := <span style=\"color: #0000ff;\">LEFT</span><span style=\"color: #000000;\">&#40;</span>cTexte64,<span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#41;</span><br />catch<br />end<br />cHex := <span style=\"color: #ff0000;\">\"\"</span><br /><span style=\"color: #00C800;\">try</span><br /><span style=\"color: #00C800;\">FOR</span> X := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">4</span><br /><span style=\"color: #00C800;\">IF</span> <span style=\"color: #0000ff;\">SUBSTR</span><span style=\"color: #000000;\">&#40;</span>cCar, X, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> != <span style=\"color: #ff0000;\">\"=\"</span><br />cHex += Hex64<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">SUBSTR</span><span style=\"color: #000000;\">&#40;</span>cCar, X, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">ELSE</span><br />EXIT<br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">NEXT</span> X<br />catch<br />end<br /><br /><span style=\"color: #00C800;\">FOR</span> X := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">3</span><br /><span style=\"color: #00C800;\">IF</span> <span style=\"color: #0000ff;\">SUBSTR</span><span style=\"color: #000000;\">&#40;</span>cHex, <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span>X - <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span> * <span style=\"color: #000000;\">8</span><span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"\"</span><br />EXIT<br /><span style=\"color: #00C800;\">ELSE</span><br />cTexte += BinToCar<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">SUBSTR</span><span style=\"color: #000000;\">&#40;</span>cHex, <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span>X - <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span> * <span style=\"color: #000000;\">8</span><span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">8</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">NEXT</span> X<br /><br /><span style=\"color: #00C800;\">IF</span> LEN<span style=\"color: #000000;\">&#40;</span>cTexte64<span style=\"color: #000000;\">&#41;</span> > <span style=\"color: #000000;\">4</span><br />cTexte64 := <span style=\"color: #0000ff;\">SUBSTR</span><span style=\"color: #000000;\">&#40;</span>cTexte64, <span style=\"color: #000000;\">5</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">ELSE</span><br />cTexte64 := <span style=\"color: #ff0000;\">\"\"</span><br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">ENDDO</span><br /><span style=\"color: #00C800;\">RETURN</span> cTexte<br /><br />****************<br /><span style=\"color: #00C800;\">FUNCTION</span> Carac64<span style=\"color: #000000;\">&#40;</span> cBin <span style=\"color: #000000;\">&#41;</span><br />****************<br />* Devuelve el carácter de base <span style=\"color: #000000;\">64</span> que corresponde<br /><span style=\"color: #00C800;\">LOCAL</span> nPos := <span style=\"color: #0000ff;\">ASC</span><span style=\"color: #000000;\">&#40;</span> BinToCar<span style=\"color: #000000;\">&#40;</span> @cBin <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #0000ff;\">SUBSTR</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\"</span>, nPos, <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span><br /><br />**************<br /><span style=\"color: #00C800;\">FUNCTION</span> Hex64<span style=\"color: #000000;\">&#40;</span> carac64 <span style=\"color: #000000;\">&#41;</span><br />**************<br /><br />* Devuelve el carácter de base <span style=\"color: #000000;\">64</span> que corresponde<br /><span style=\"color: #00C800;\">LOCAL</span> cCodeAsc := CHR<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">AT</span><span style=\"color: #000000;\">&#40;</span>carac64, <span style=\"color: #ff0000;\">\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">-1</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #0000ff;\">SUBSTR</span><span style=\"color: #000000;\">&#40;</span> CarToBin<span style=\"color: #000000;\">&#40;</span> @cCodeAsc <span style=\"color: #000000;\">&#41;</span> , <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">6</span><span style=\"color: #000000;\">&#41;</span><br /><br />*****************<br /><span style=\"color: #00C800;\">FUNCTION</span> CarToBin<span style=\"color: #000000;\">&#40;</span> carac, lInverse <span style=\"color: #000000;\">&#41;</span><br />*****************<br />* Devuelve el carácter que corresponde a una cadena binaria <span style=\"color: #000000;\">&#40;</span> que consiste en <span style=\"color: #000000;\">0</span> y <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">8</span> -bit<br /><br /><span style=\"color: #00D7D7;\">#define</span> cHexa <span style=\"color: #ff0000;\">\"0123456789ABCDEF\"</span><br /><span style=\"color: #00D7D7;\">#define</span> aBin <span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"0000\"</span>, <span style=\"color: #ff0000;\">\"0001\"</span>, <span style=\"color: #ff0000;\">\"0010\"</span>, <span style=\"color: #ff0000;\">\"0011\"</span>, <span style=\"color: #ff0000;\">\"0100\"</span>, <span style=\"color: #ff0000;\">\"0101\"</span>, <span style=\"color: #ff0000;\">\"0110\"</span>, <span style=\"color: #ff0000;\">\"0111\"</span>, ;<br /><span style=\"color: #ff0000;\">\"1000\"</span>, <span style=\"color: #ff0000;\">\"1001\"</span>, <span style=\"color: #ff0000;\">\"1010\"</span>, <span style=\"color: #ff0000;\">\"1011\"</span>, <span style=\"color: #ff0000;\">\"1100\"</span>, <span style=\"color: #ff0000;\">\"1101\"</span>, <span style=\"color: #ff0000;\">\"1110\"</span>, <span style=\"color: #ff0000;\">\"1111\"</span> <span style=\"color: #000000;\">&#125;</span><br /><span style=\"color: #00C800;\">LOCAL</span> cToHex<br /><br /><span style=\"color: #00C800;\">IF</span> EMPTY<span style=\"color: #000000;\">&#40;</span> lInverse <span style=\"color: #000000;\">&#41;</span><br />* Devuelve la cadena binaria de haber recibido el carácter ASCII<br />cToHex := str2Hex<span style=\"color: #000000;\">&#40;</span> carac <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">RETURN</span> aBin<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #00C800;\">AT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">LEFT</span><span style=\"color: #000000;\">&#40;</span>cToHex,<span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>, cHexa <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#93;</span> + aBin<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #00C800;\">AT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #0000ff;\">SUBSTR</span><span style=\"color: #000000;\">&#40;</span>cToHex,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>, cHexa <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#93;</span><br /><span style=\"color: #00C800;\">ELSE</span><br />* Devuelve el carácter ASCII de haber recibido la cadena binaria<br />cToHex := <span style=\"color: #0000ff;\">SUBSTR</span><span style=\"color: #000000;\">&#40;</span>cHexa, ASCAN<span style=\"color: #000000;\">&#40;</span>aBin, <span style=\"color: #0000ff;\">LEFT</span><span style=\"color: #000000;\">&#40;</span>carac,<span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> ;<br />+ <span style=\"color: #0000ff;\">SUBSTR</span><span style=\"color: #000000;\">&#40;</span>cHexa, ASCAN<span style=\"color: #000000;\">&#40;</span>aBin, <span style=\"color: #0000ff;\">SUBSTR</span><span style=\"color: #000000;\">&#40;</span>carac,<span style=\"color: #000000;\">5</span>,<span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">RETURN</span> Hex2str<span style=\"color: #000000;\">&#40;</span> cToHex <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br />*****************<br /><span style=\"color: #00C800;\">FUNCTION</span> BinToCar<span style=\"color: #000000;\">&#40;</span> cBin <span style=\"color: #000000;\">&#41;</span><br />*****************<br /><span style=\"color: #00C800;\">RETURN</span> CarToBin<span style=\"color: #000000;\">&#40;</span> @cBin, .T. <span style=\"color: #000000;\">&#41;</span></div>[/code:v41lv41z]\n\nMe parece que es la misma publicada lineas arriba por JPonce\n\nAlex:\n\nNo tengo problemas con caracteres especiales por que en los campos donde se pueden generar las \"ñ\",\"Ñ\" al momento de construir el XML utilizo \n![CDATA] es para que analizador semantico lo intreprete como una cadena:\n\n[url:v41lv41z]https&#58;//es&#46;wikipedia&#46;org/wiki/CDATA[/url:v41lv41z]\n\nSaludos", "time": "02:45", "topic": "Codificacion en Base64", "username": "LuisPonce" } ]
Codificacion en Base64
[ { "date": "2008-01-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola a todos:\n\nNo consigo mostrar en un php una ñ importada desde una base de datos MYSQL. La codificacion de la base de datos está en utf8 y tengo la codificacion del php en utf8.\n\nTodos los acentos y caracteres latinos aparecen sin problemas, menos la dichosa ñ desde la base de datos <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->\n\nAlguna idea?\n\nGracias", "time": "21:16", "topic": "Codificacion latina en MYSQL", "username": "Kibo Studios" } ]
Codificacion latina en MYSQL
[ { "date": "2012-01-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Se lleva compartiendo desde el principio de fivewin tanto uno como otro metodo para realizar los dialogos de las aplicaciones , pero a nivel de programacion ( rendimiento y velocidad de desarrollo ) a DIA DE HOY , ¿ que argumentos tenemos para decantarnos a usar uno u otro ? . ¿ Cual es masa efectivo a la hora de ejcutarse ? \nEspero que la pregunta genere debate y aporte claridad y soluciones .\nSaludos.", "time": "11:59", "topic": "Codigo vs Recursos", "username": "mastintin" } ]
Codigo vs Recursos
[ { "date": "2012-01-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Mastintin,\n\nEn mi caso, se me hace practicamente imposible crear mis pantallas a codigo, ya que se iria todo el dia probando y ajustando las posiciones de los objetos en el dialogo. En cambio usando recursos, lo haces en minutos, ya sea con WS, pelles u otros editores de recursos.\n\nSin embargo, varias clases nuevas o recientes, al parecer solo estan disponibles para ventanas.\n\nSaludos", "time": "20:08", "topic": "Codigo vs Recursos", "username": "Raymundo Islas M." } ]
Codigo vs Recursos
[ { "date": "2012-01-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Mastintin,\n\nDejando a parte los beneficios del uso de los recursos, a nivel de rendimiento de programacion esta claro que la productividad pasa por el uso de estos. Con cualquier editor de recursos la velocidad de contrucción y DISEÑO es incomparable. No hay dudas sobre el tema.", "time": "08:24", "topic": "Codigo vs Recursos", "username": "Carles" } ]
Codigo vs Recursos
[ { "date": "2012-01-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias Carles. estoy de acuerdo contigo , pero ...\n\nLa posibilidad de poder hacer un \"generador de código\" para diseñar los dialogos como demuestra el ejemplo desing.prg y la ampliacion de los metodos cgenprg poco a poco en las clases según veo en este foro ( haciedo una busqueda por cgenprg ) parece que \"acorta \" esa distancia que existe a la hora de diseñar , a eso debemos sumar que algunas nuevas clases segun parece , se ejecutan desde código . Lo que no tengo tan claro es el rendimiento de estos dialogos frente a los recursos .\nEstoy con la version gratuita 6.12 haciendo algunas cosillas sobre el ejemplo desing y poniendo algo de codigo en clases que como bmp.prg no tienen aun el metodo cgenprg() ( en esta version claro ) .Imagino que en versiones modernas todo este soporte este ya desarrollado y las posibilidades de diseñar estén muy avanzadas asi que la duda aumenta. <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) --> \nGracias por contestar y dar opiniones.\nSaludos a todos", "time": "09:21", "topic": "Codigo vs Recursos", "username": "mastintin" } ]
Codigo vs Recursos
[ { "date": "2012-01-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola a todos,\n\nEstoy de acuerdo en lo de diseñar con una herramienta que nos facilite el trabajo y nos evite el prueba error.\n\nLo que no me gusta es usar un editor de recursos 'externo' a FiveWin; es que soy muy primitivo y bastante bruto.\n\nHace años cree una utilidad/herramienta que permitía diseñar ventanas, diálogos y folders con la mayoría de los controles existentes en ese momento.\n\nSi alguién tiene tiempo y quiere mejorarla y convertirla a 32b. que me lo diga y se la paso completa.\n\nEsta herramienta permitía diseñar visualmente una ventana/diálogo y obtener la definición de variables y el código del diseño como estos (en dos ficheros independientes):\n\n[code=fw:3jxtlx5k]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">//FICHERO .LCL</span><br /><span style=\"color: #B900B9;\">/* *** Def. Var. FWD *** Window/Dialog: oIndex00 */</span><br /><span style=\"color: #00C800;\">Local</span> oIndex00<br /><span style=\"color: #00C800;\">Local</span> oIndexar<br /><span style=\"color: #00C800;\">Local</span> oCancelar<br /><span style=\"color: #00C800;\">Local</span> oFWDCk, uFWDCk<br /><span style=\"color: #00C800;\">Local</span> oLbIndex, uLbIndex<br /><span style=\"color: #00C800;\">Local</span> olPack, lPack<br /><span style=\"color: #B900B9;\">/* *** End Def. FWD *** Window/Dialog: oIndex00 */</span><br /><br /><br /><span style=\"color: #B900B9;\">// FICHERO .SCR</span><br /><span style=\"color: #B900B9;\">// FiveWiDi: Diseñador de ventanas y diálogos por C.Gelabert 11-12-2001<>18:19:44</span><br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oIndex00 <span style=\"color: #0000ff;\">TITLE</span> GetTrad<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Indexació de dades\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">35</span>,<span style=\"color: #000000;\">244</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">408</span>,<span style=\"color: #000000;\">524</span> COLORS ;<br />    J02CLRTEXTO,J02CLRWND <span style=\"color: #0000ff;\">OF</span> AMPAarra<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">FONT</span> J02FONTWND <span style=\"color: #B900B9;\">//FIVEWIDI</span><br /><br />@ <span style=\"color: #000000;\">2.00</span>,<span style=\"color: #000000;\">9.00</span> <span style=\"color: #0000ff;\">SAY</span> GetTrad<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Fitxers disponibles\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">OF</span> oindex00 COLORS J02CLRTEXTO,;<br />    J02CLRFONDO <span style=\"color: #0000ff;\">FONT</span> J02FONTSAY <span style=\"color: #0000ff;\">CENTER</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">122.50</span>,<span style=\"color: #000000;\">11.00</span> <span style=\"color: #0000ff;\">UPDATE</span> <span style=\"color: #B900B9;\">//FIVEWIDI</span><br /><br />@ <span style=\"color: #000000;\">16.50</span>,<span style=\"color: #000000;\">9.50</span> <span style=\"color: #0000ff;\">LISTBOX</span> oLbIndex <span style=\"color: #0000ff;\">VAR</span> uLbIndex <span style=\"color: #0000ff;\">ITEMS</span> aGetNomDBF<span style=\"color: #000000;\">&#40;</span> AMPAarra, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">SIZE</span> ;<br />    <span style=\"color: #000000;\">122.50</span>,<span style=\"color: #000000;\">105.50</span> <span style=\"color: #0000ff;\">OF</span> oindex00 COLORS J02CLRTEXTO,J02CLRFONDO <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">FONT</span> J02FONTLB ;<br />    <span style=\"color: #0000ff;\">UPDATE</span> MULTIPLE <span style=\"color: #B900B9;\">//FIVEWIDI</span><br /><br />@ <span style=\"color: #000000;\">128.50</span>,<span style=\"color: #000000;\">9.00</span> FWDCHECKBOX oFWDCk <span style=\"color: #0000ff;\">VAR</span> uFWDCk <span style=\"color: #0000ff;\">PROMPT</span> GetTrad<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Tots els fitxers\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">OF</span> ;<br />    oindex00 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">123.00</span>,<span style=\"color: #000000;\">12.00</span> <span style=\"color: #0000ff;\">FONT</span> J02FONTSAY <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> FWDCkChange<span style=\"color: #000000;\">&#40;</span>AMPAarra, ;<br />    oFWDCk, oLbIndex<span style=\"color: #000000;\">&#41;</span> COLORS J02CLRTEXTO,J02CLRWND <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">UPDATE</span> LIKEBUTTON <span style=\"color: #B900B9;\">//FIVEWIDI</span><br /><br />@ <span style=\"color: #000000;\">144.50</span>,<span style=\"color: #000000;\">10.00</span> <span style=\"color: #0000ff;\">CHECKBOX</span> olPack <span style=\"color: #0000ff;\">VAR</span> lPack <span style=\"color: #0000ff;\">PROMPT</span> ;<br />    GetTrad<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"El.liminar registres esborrats\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">OF</span> oindex00 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">122.00</span>,<span style=\"color: #000000;\">14.00</span> <span style=\"color: #0000ff;\">FONT</span> ;<br />    TFont<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">'Arial'</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-11</span>,.F.,.F.,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">400</span>,.F.,.F.,.F.,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">3</span>,<span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">1</span>,<span style=\"color: #00C800;\">nil</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br />    <span style=\"color: #0000ff;\">MESSAGE</span> GetTrad<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Depurarà els fitxers eliminant els registres marcats com a esborrats.\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">UPDATE</span> <span style=\"color: #B900B9;\">//FIVEWIDI</span><br /><br />@ <span style=\"color: #000000;\">163.00</span>,<span style=\"color: #000000;\">9.00</span> <span style=\"color: #0000ff;\">BUTTON</span> oIndexar <span style=\"color: #0000ff;\">PROMPT</span> GetTrad<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"&Indexar\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">48.00</span>,<span style=\"color: #000000;\">16.00</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> ;<br />    Index01<span style=\"color: #000000;\">&#40;</span> AMPAarra,  oLbIndex:<span style=\"color: #000000;\">GetSelItems</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, lPack <span style=\"color: #000000;\">&#41;</span>, lAcaba := .T., ;<br />    oIndex00:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">DEFAULT</span> <span style=\"color: #0000ff;\">OF</span> oindex00 <span style=\"color: #0000ff;\">FONT</span> J02FONTBTN <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">UPDATE</span> <span style=\"color: #B900B9;\">//FIVEWIDI</span><br /><br />@ <span style=\"color: #000000;\">163.00</span>,<span style=\"color: #000000;\">84.00</span> <span style=\"color: #0000ff;\">BUTTON</span> oCancelar <span style=\"color: #0000ff;\">PROMPT</span> GetTrad<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"&Cancel·lar\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">48.00</span>,<span style=\"color: #000000;\">16.00</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> ;<br />    lAcaba := .T., oIndex00:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">OF</span> oIndex00 <span style=\"color: #0000ff;\">FONT</span> J02FONTBTN <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">UPDATE</span> CANCEL <span style=\"color: #B900B9;\">//FIVEWIDI</span><br /> </div>[/code:3jxtlx5k]\n\nCómo se usa?\nFácil, en el PRG correspondiente añadía:\n\n#include elnombredelfichero.lcl\n../.. lo que sea\n#include elnombredelfichero.scr\nACTIVATE DIALOG olerele\n../.. lo que sea\n\nAlgunas cosas que podía hacer:\n- es capaz de releer este mismo código para permitir modificar el diseño.\n- podía tener controles personalizados con valores predefinidos.\n- permitía usar variables para la definición de FONT y COLORS.\n- ...\n\n\nSólo les pediré que sean comprensivos y se ahorren comentarios sobre la codificación que encuentren; es mi primera aplicación en FiveWin.\n\nLa Herramienta se llama FiveWiDi (Fivewin Windows Dialogs) y creo sinceramente que si yo pude, sin duda ustedes podran hacerla muchísimo mejor.\n\nVenga, quién se anima?", "time": "09:30", "topic": "Codigo vs Recursos", "username": "FiveWiDi" } ]
Codigo vs Recursos
[ { "date": "2012-01-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Manuel,\n\nAhora ya me he perdido en tu planteamiento inicial. \"¿ que argumentos tenemos para decantarnos a usar uno u otro ?\" Creo q la respuesta es clara, peroooo ahora detecto quizas la pregunta en otro sentido. FWH no tiene realmente un IDE de desarrollo, y es por eso que los usuarios usan cada uno sus propias herramientas para codificar, diseñar pantallas etc... ya sabes. Creo ahora que quizas quieras controlar desde una propia aplicacion el control, modificacion, creacion,... de tus dialogos, es asi ?. Esto ya seria una metodologia de trabajo en tus programas que le daria pleno dinamismo. Actualmente tu ya puedes crearte tus propias rutinas de creacion de dialogos para q el propio usario pueda crearse el mismo pantallas de datas que junto a la potencia de los scripts de harbour da como resultado una combinación explosiva y muy potente. De hecho los grandes paquetes de gestion cada vez mas ofrecen estas técnicas de uso para que el usuario personalice cada vez mas su paquete a su entorno. Yo hace tiempo que pongo este metodo de trabajo en mis aplicaciones, permitiendo en la parte que crea de la aplicacion pleno control al usuario, tanto de diseño como de scripts.\n\nOtro tema es crearte tu IDE de diseño: editor de codigo, de pantallas, de depuracion, de reporting,... todo integrado y no depender de herramientas externas. Existe -> NO, Es posible -> SI. Tu puedes usar tu xMate, uEstudio, ... (yo uso un editor de 50 Kb. q.exe), y tus editores de recursos, tus bats... y de alguna manera esta todo desperdigado, pero funciona. Te gustaria otra manera ? Si, pero esto es Esparta !!! (digo FWH <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) --> ), pero te aseguro q TODO es posible.", "time": "11:01", "topic": "Codigo vs Recursos", "username": "Carles" } ]
Codigo vs Recursos
[ { "date": "2012-01-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Carles. Efectivamente la pregunta va en ambos sentidos.\nSabemos que los recursos funcionan , pero una aplicacion grande , toda desde código , como se comprotará con un uso intensivo ? \nSi esto es \"viable \" y no existe otro motivo que yo desconozca ,es el momento de plantearse ,esa la segunda parte que expones , los scripts y los diseñadores dentro de nuestros programas pueden dar una potencia brutal , y porque no usarlo en nuestro flujo de desarrollo tambien .\nSaludos .", "time": "11:19", "topic": "Codigo vs Recursos", "username": "mastintin" } ]
Codigo vs Recursos
[ { "date": "2012-01-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Disculpen , pero hay en plaza un generador de dialogos y ventanas que genera un prg esta orientado a fivewin y su autor es Ricardo Mouras funciona bien. yo guardo solo los iconos y bmp en recursos el resto lo hago tipo manual. \n\n Juan Carlos", "time": "12:25", "topic": "Codigo vs Recursos", "username": "juan carlos bellucci" } ]
Codigo vs Recursos
[ { "date": "2012-01-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Juan Carlos,\n\nPodrias informarnos de la url, gracias <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "12:30", "topic": "Codigo vs Recursos", "username": "Antonio Linares" } ]
Codigo vs Recursos
[ { "date": "2012-01-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Manuel,\n\n[quote:1wdl37jo]toda desde código , como se comprotará con un uso intensivo ? [/quote:1wdl37jo]\nno te lo puedo contestar porque siempre he usado las dll para la parte de recursos, pero por lo que yo se, no tendria de darte problema ninguno\n\n[quote:1wdl37jo]los scripts y los diseñadores dentro de nuestros programas pueden dar una potencia brutal , y porque no usarlo en nuestro flujo de desarrollo tambien .[/quote:1wdl37jo]\n\nSi señor <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> . Pero tampoco tendria porque diseñarse todo como aplicacion autocontenida. Basicamente yo lo que hago es guardarme en una tabla los diseños de la pantalla y en otra los scripts q los manejan. Por muchos scripts o pantallas, la aplicacion no crece, solo las tablas. Es mas, en cualquieer momento puedes enviar a tu cliente o quien sea un nuevo diseño y un nuevo script sin tener q tocar la aplicacion para nada. Piensa en todas estas ventajas, ya no solo a nivel funcional <!-- s;-) --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\";-)\" title=\"Wink\" /><!-- s;-) -->", "time": "12:32", "topic": "Codigo vs Recursos", "username": "Carles" } ]
Codigo vs Recursos
[ { "date": "2012-01-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Manuel,\n\nTienes a tu disposición un FWH 11.12 gratuito <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) --> Envíame un email a <!-- e --><a href=\"mailto:[email protected]\">[email protected]</a><!-- e --> y te facilitamos los datos para descargarlo y tu número de licencia de usuario.\n\nHa sido un despiste mio no ofrecértelo después de la ayuda tan valiosa que siempre has ofrecido con FiveMac, etc <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nGracias!", "time": "12:33", "topic": "Codigo vs Recursos", "username": "Antonio Linares" } ]
Codigo vs Recursos
[ { "date": "2012-01-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio,\n\nimagino que se refiere a Visual Union.\n\n[url:qz83zxl8]http&#58;//www&#46;pctoledo&#46;com&#46;br/forum/filebase&#46;php?d=1&id=143&c_old=0&what=c&page=1[/url:qz83zxl8]\n\nSaludos,\n\nFélix", "time": "12:45", "topic": "Codigo vs Recursos", "username": "Baxajaun" } ]
Codigo vs Recursos
[ { "date": "2012-01-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Si no queremos usar DLL la podemos guardar como .RES con PELLEC y la agregamos como un programa mas.\n\nSaludos,\n\nAdhemar", "time": "13:21", "topic": "Codigo vs Recursos", "username": "acuellar" } ]
Codigo vs Recursos
[ { "date": "2012-01-09", "forum": "FiveWin para Harbour/xHarbour", "text": "<!-- e --><a href=\"mailto:[email protected]\">[email protected]</a><!-- e --> VRMM.03", "time": "15:08", "topic": "Codigo vs Recursos", "username": "juan carlos bellucci" } ]
Codigo vs Recursos
[ { "date": "2012-01-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola,\n\nGracias por el aporte del IDE.\n\n¿Y hay algún editor de recursos similar al Workshop?.\n\n¿Piensa Fivetech acabar el editor de recursos que empezó?. Muchas gracias.", "time": "18:43", "topic": "Codigo vs Recursos", "username": "mgsoft" } ]
Codigo vs Recursos
[ { "date": "2012-01-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Mgsoft,\n\nMuchas de las pruebas que hacemos son pruebas de concepto principalmente, puesto que no tenemos los recursos suficientes (tiempo, programadores, financiación) para completarlos. Nuestra intención en esos casos es \"abrir la puerta\" para que quienes esten interesados puedan continuar su desarrollo y adaptarlos a sus necesidades.\n\nNos gustaría poder completar cada idea, cada proyecto que iniciamos, pero nuestra responsabilidad principal es que FWH funcione correctamente, que esté en sincronía con Harbour y xHarbour, y hacerlo crecer para que los usuarios de FWH esten respaldados y puedan usarlo con todas las garantias <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEs por esto que desde el inicio de FW, siempre hemos optado por recomendar herramientas de terceros, para completar las funcionalidades que nos hagan falta.", "time": "23:29", "topic": "Codigo vs Recursos", "username": "Antonio Linares" } ]
Codigo vs Recursos
[ { "date": "2012-01-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio,\n\nMuchas gracias por la respuesta.\n\nEn todo caso, ¿no habéis pensado en priorizar alguno de tales desarrollos pendientes y comercializarlos como un nuevo producto que debe adquirirse?. De este modo, se abrirían nuevas líneas y también ingresos adicionales.\n\nUn saludo", "time": "09:44", "topic": "Codigo vs Recursos", "username": "mgsoft" } ]
Codigo vs Recursos
[ { "date": "2012-01-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Todo lo que estais diciendo está muy bien, recursos, scripts, etc, facilitan mucho el trabajo. Pero a mi, de un tiempo a esta parte me he encontrado con un problema gordo (imagino que vosotros tambien) y es las distintas resoluciones con las que te puedes encontrar. Una pantalla en DLL para 1024X768 en una de 1280X1024 se ve pequeña y en una esquina, y no digamos en una 1280X768. Y si la diseñas para 1280X1024 en 1024X768 pierdes la mitad del diseño. Esto me obliga a programar los dialogs a código y con coordenadas relativas en lugar de absolutas. Y eso sí es un problema grande.\n\nSaludos", "time": "13:53", "topic": "Codigo vs Recursos", "username": "antolin" } ]
Codigo vs Recursos