messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2010-11-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Faltaba esto:\n\n[code=fw:19x4tayo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">/***************************************************************************<br />* Sistema .....: WBrowseSample<br />* Programa ....: DlgWBrw.PRG<br />* Autor .......: Anderson<br />* Data ........: 15/02/2008 às 14:18:56<br />* Revisado em .: 15/02/2008 às 14:18:56<br />***************************************************************************/</span><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">'FiveWin.ch'</span><br /><br />****************************************************************************<br /><span style=\"color: #00C800;\">FUNCTION</span> ShowDlg<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />****************************************************************************<br /><br /><span style=\"color: #00C800;\">Private</span> oDlg := <span style=\"color: #00C800;\">Nil</span>, oBrw, oTmr<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">select</span> <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp;use customer<br /><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">Define</span> <span style=\"color: #0000ff;\">Dialog</span> &nbsp; &nbsp; oDlg &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">of</span> &nbsp; &nbsp; &nbsp; &nbsp; oWnd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">resource</span> &nbsp; <span style=\"color: #ff0000;\">\"DLG\"</span><br /><br /><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">//-- Browse -----------------------------------------------------------//</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">Redefine</span> <span style=\"color: #0000ff;\">LISTBOX</span> &nbsp; oBrw &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FIELDS &nbsp; &nbsp;FIRST, &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; LAST, &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; STREET, &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; <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span>MARRIED,<span style=\"color: #ff0000;\">'True'</span>,<span style=\"color: #ff0000;\">'False'</span><span style=\"color: #000000;\">&#41;</span>, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Str<span style=\"color: #000000;\">&#40;</span>AGE<span style=\"color: #000000;\">&#41;</span>, &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; Str<span style=\"color: #000000;\">&#40;</span>SALARY<span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; HEADERS &nbsp; <span style=\"color: #ff0000;\">\"Nome\"</span>,<span style=\"color: #ff0000;\">\"Sobrenome\"</span>,<span style=\"color: #ff0000;\">\"Endereço\"</span>, &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\"Casado\"</span>,<span style=\"color: #ff0000;\">\"Idade\"</span>,<span style=\"color: #ff0000;\">\"Salario\"</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Sizes &nbsp; &nbsp; <span style=\"color: #000000;\">090</span>,<span style=\"color: #000000;\">090</span>,<span style=\"color: #000000;\">090</span>,<span style=\"color: #000000;\">060</span>,<span style=\"color: #000000;\">100</span>,<span style=\"color: #000000;\">100</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ID</span> &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">4001</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">OF</span> &nbsp; &nbsp; &nbsp; &nbsp;oDlg<br /><br />&nbsp; &nbsp;oBrw:<span style=\"color: #000000;\">nClrPane</span> &nbsp; := <span style=\"color: #000000;\">&#123;</span>|| ClrPaneBrw<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">Activate</span> <span style=\"color: #0000ff;\">Dialog</span> &nbsp; oDlg &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">Center</span> &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; <span style=\"color: #0000ff;\">on</span> <span style=\"color: #0000ff;\">init</span> &nbsp;OnInit<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp;oTmr:<span style=\"color: #000000;\">Deactivate</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp;close all<br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">/*------------------------------------------------------------------------*/</span><br /><br />****************************************************************************<br /><span style=\"color: #00C800;\">static</span> procedure OnInit<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />****************************************************************************<br />*<br />* Executar tarefa ao iniciar o <span style=\"color: #0000ff;\">dialog</span><br />* Parametros: <span style=\"color: #000000;\">nenhum</span><br />* Retorno: <span style=\"color: #000000;\">Nenhum</span><br />*<br />* Autor: <span style=\"color: #000000;\">Anderson</span><br />* <span style=\"color: #000000;\">05</span>/<span style=\"color: #000000;\">04</span>/<span style=\"color: #000000;\">2008</span> - <span style=\"color: #000000;\">09</span>:<span style=\"color: #000000;\">38</span>:<span style=\"color: #000000;\">53</span><br />*<br />****************************************************************************<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">Define</span> &nbsp; <span style=\"color: #0000ff;\">Timer</span> &nbsp; &nbsp; oTmr &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">Interval</span> &nbsp;<span style=\"color: #000000;\">1000</span> &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">Of</span> &nbsp; &nbsp; &nbsp; &nbsp;oDlg &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">Action</span> &nbsp; &nbsp;<span style=\"color: #000000;\">&#40;</span>oBrw:<span style=\"color: #0000ff;\">Paint</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,oBrw:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,oBrw:<span style=\"color: #000000;\">UpStable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">Activate</span> <span style=\"color: #0000ff;\">Timer</span> oTmr<br /><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">Nil</span><br /><br /><span style=\"color: #B900B9;\">/*------------------------------------------------------------------------*/</span><br /><br />****************************************************************************<br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> ClrPaneBrw<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />****************************************************************************<br />*<br />* Trocar cor da linha <span style=\"color: #00C800;\">do</span> <span style=\"color: #0000ff;\">listbox</span><br />* Parametros:<br /><span style=\"color: #000000;\">*</span> Retorno: <span style=\"color: #000000;\">Nenhum</span><br />*<br />* Autor: <span style=\"color: #000000;\">Anderson</span><br />* <span style=\"color: #000000;\">05</span>/<span style=\"color: #000000;\">04</span>/<span style=\"color: #000000;\">2008</span> - <span style=\"color: #000000;\">09</span>:<span style=\"color: #000000;\">32</span>:<span style=\"color: #000000;\">59</span><br />*<br />****************************************************************************<br /><br /><span style=\"color: #00C800;\">local</span> Result := nRgb<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> MARRIED<br />&nbsp; &nbsp; &nbsp; Result := nRgb<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">200</span>,<span style=\"color: #000000;\">200</span>,<span style=\"color: #000000;\">223</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;elseif AGE > <span style=\"color: #000000;\">80</span><br />&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> Val<span style=\"color: #000000;\">&#40;</span><span style=\"color: #0000ff;\">Right</span><span style=\"color: #000000;\">&#40;</span>Time<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> % <span style=\"color: #000000;\">2</span> == <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Result := nRgb<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">255</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Result := nRgb<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; end<br />&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp;end<br /><br /><span style=\"color: #00C800;\">Return</span> Result<br /><br /><span style=\"color: #B900B9;\">/*------------------------------------------------------------------------*/</span><br /><br />&nbsp;</div>[/code:19x4tayo]\n\nun saludo\n JLL", "time": "20:26", "topic": "CAN FLASH A XBROWSE ?", "username": "jll-fwh" } ]
CAN FLASH A XBROWSE ?
[ { "date": "2010-11-17", "forum": "FiveWin for Harbour/xHarbour", "text": "this is a good idea \nthanks\ndo you have an idea how converte it on xbrowse control ?", "time": "21:11", "topic": "CAN FLASH A XBROWSE ?", "username": "Silvio" } ]
CAN FLASH A XBROWSE ?
[ { "date": "2010-11-17", "forum": "FiveWin for Harbour/xHarbour", "text": "why this not run ????\n\n[code=fw:3me2i7ch]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">FUNCTION</span> ShowDlg<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">Private</span> oDlg := <span style=\"color: #00C800;\">Nil</span>, oBrw, oTmr<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">select</span> <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp;USE CUSTOMER <span style=\"color: #0000ff;\">ALIAS</span> CUST<br /><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">Define</span> <span style=\"color: #0000ff;\">Dialog</span> &nbsp; &nbsp; oDlg &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">of</span> &nbsp; &nbsp; &nbsp; &nbsp; oWnd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">800</span>,<span style=\"color: #000000;\">600</span><br /><br /><br />&nbsp; &nbsp; &nbsp; @ <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrw <span style=\"color: #0000ff;\">OF</span> oDlg ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">300</span>, <span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">AUTOCOLS</span> <span style=\"color: #0000ff;\">ALIAS</span> <span style=\"color: #ff0000;\">'CUST'</span> BACKGROUND <span style=\"color: #ff0000;\">\"\"</span><br /><br /><br />&nbsp; &nbsp;oBrw:<span style=\"color: #000000;\">nRowDividerStyle</span> = LINESTYLE_NOLINES<br />&nbsp; &nbsp;oBrw:<span style=\"color: #000000;\">nColDividerStyle</span> = LINESTYLE_NOLINES<br />&nbsp; &nbsp;oBrw:<span style=\"color: #000000;\">nMarqueeStyle</span> &nbsp; &nbsp;= MARQSTYLE_HIGHLROW<br /><br /><br />&nbsp; <span style=\"color: #B900B9;\">// oBrw:nClrPane &nbsp; := {|| ClrPaneBrw() }</span><br />&nbsp; &nbsp; oBrw:<span style=\"color: #000000;\">bClrStd</span> := <span style=\"color: #000000;\">&#123;</span> || Colores<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"CUST\"</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> &nbsp;<span style=\"color: #B900B9;\">// colori</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; oBrw:<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">Activate</span> <span style=\"color: #0000ff;\">Dialog</span> &nbsp; oDlg &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">Center</span> &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; <span style=\"color: #0000ff;\">on</span> <span style=\"color: #0000ff;\">init</span> &nbsp;OnInit<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;oTmr:<span style=\"color: #000000;\">Deactivate</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;close all<br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">nil</span><br /><br /><br /><span style=\"color: #00C800;\">static</span> procedure OnInit<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; <span style=\"color: #0000ff;\">Define</span> &nbsp; <span style=\"color: #0000ff;\">Timer</span> &nbsp; &nbsp; oTmr &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">Interval</span> &nbsp;<span style=\"color: #000000;\">1000</span> &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">Of</span> &nbsp; &nbsp; &nbsp; &nbsp;oDlg &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">Action</span> &nbsp; &nbsp;<span style=\"color: #000000;\">&#40;</span>oBrw:<span style=\"color: #0000ff;\">Paint</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,oBrw:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,oBrw:<span style=\"color: #000000;\">UpStable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">Activate</span> <span style=\"color: #0000ff;\">Timer</span> oTmr<br /><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">Nil</span><br /><br /><br /><br />&nbsp;<span style=\"color: #00C800;\">FUNCTION</span> Colores<span style=\"color: #000000;\">&#40;</span>cdbf<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> aCol:=<span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp;<span style=\"color: #00C800;\">IF</span> <span style=\"color: #000000;\">&#40;</span>cdbf<span style=\"color: #000000;\">&#41;</span>->MARRIED<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; aCol:=<span style=\"color: #000000;\">&#123;</span>CLR_BLACK, RGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">193</span>,<span style=\"color: #000000;\">221</span>,<span style=\"color: #000000;\">255</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;elseif <span style=\"color: #000000;\">&#40;</span>cdbf<span style=\"color: #000000;\">&#41;</span>->AGE > <span style=\"color: #000000;\">80</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> Val<span style=\"color: #000000;\">&#40;</span><span style=\"color: #0000ff;\">Right</span><span style=\"color: #000000;\">&#40;</span>Time<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> % <span style=\"color: #000000;\">2</span> == <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; aCol:=<span style=\"color: #000000;\">&#123;</span>CLR_BLACK, nRgb<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">255</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;aCol:=<span style=\"color: #000000;\">&#123;</span>CLR_BLACK,nRgb<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; end<br /><br /><br /><span style=\"color: #00C800;\">ENDIF</span><br /><br /><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #000000;\">&#40;</span>aCol<span style=\"color: #000000;\">&#41;</span></div>[/code:3me2i7ch]", "time": "23:58", "topic": "CAN FLASH A XBROWSE ?", "username": "Silvio" } ]
CAN FLASH A XBROWSE ?
[ { "date": "2010-11-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Hola Silvio:\n\nEn la clase xBrowse no existe el metodo ::UpStable(), simplemente refresca con ::Refresh() o para repintar todo ::Refresh( .T )\n\nUn saludo\nJLL", "time": "00:26", "topic": "CAN FLASH A XBROWSE ?", "username": "jll-fwh" } ]
CAN FLASH A XBROWSE ?
[ { "date": "2010-11-18", "forum": "FiveWin for Harbour/xHarbour", "text": "ok but it not run ok \nloook please this \n[code=fw:3sxfj10b]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <br /><span style=\"color: #B900B9;\">/***************************************************************************<br />* Sistema .....: BrwSample<br />* Programa ....:<br />* Autor .......: Anderson<br />* Data ........: 15/02/2008 às 13:35:56<br />* Revisado em .: 15/02/2008 às 13:35:56<br />***************************************************************************/</span><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">'fivewin.ch'</span><br />&nbsp;<span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">'xbrowse.ch'</span><br />****************************************************************************<br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />****************************************************************************<br /><br />&nbsp; <span style=\"color: #00C800;\">local</span> cWallPaper := <span style=\"color: #ff0000;\">''</span>, oBgBmp := <span style=\"color: #00C800;\">nil</span>, nWidth := nHeight := <span style=\"color: #000000;\">0</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; cTitle := <span style=\"color: #ff0000;\">\"\"</span><br />&nbsp; <span style=\"color: #00C800;\">public</span> oWnd<br /><br />&nbsp; set Bell &nbsp; &nbsp; &nbsp; &nbsp;Off<br />&nbsp; set Console &nbsp; &nbsp; Off<br />&nbsp; set Delimiters &nbsp;Off<br />&nbsp; set Century &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">On</span><br />&nbsp; set Echo &nbsp; &nbsp; &nbsp; &nbsp;Off<br />&nbsp; set Exclusive &nbsp; Off<br />&nbsp; set <span style=\"color: #0000ff;\">Menu</span> &nbsp; &nbsp; &nbsp; &nbsp;Off<br />&nbsp; set Intensity &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">On</span><br />&nbsp; set <span style=\"color: #0000ff;\">Printer</span> &nbsp; &nbsp; Off<br />&nbsp; set Scoreboard &nbsp;Off<br />&nbsp; set Delete &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">On</span><br />&nbsp; set Wrap &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">On</span><br />&nbsp; set Status &nbsp; &nbsp; &nbsp;Off<br />&nbsp; set 3dlook &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">On</span><br />&nbsp; set Talk &nbsp; &nbsp; &nbsp; &nbsp;Off<br />&nbsp; set Date &nbsp; &nbsp; &nbsp; &nbsp;Brit<br />&nbsp; set Epoch &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">1920</span><br />&nbsp; set Device &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">To</span> Screen<br />&nbsp; set Typeahead &nbsp; <span style=\"color: #0000ff;\">To</span> <span style=\"color: #000000;\">2048</span><br />&nbsp; set Decimal &nbsp; &nbsp; <span style=\"color: #0000ff;\">To</span> <span style=\"color: #000000;\">2</span><br /><br />&nbsp; SetBalloon<span style=\"color: #000000;\">&#40;</span>.t.<span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; <span style=\"color: #B900B9;\">//-- Icone (Deve ser o primeiro icone do .res) -------------------------//</span><br /><br />&nbsp; oIcon := TIcon<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;\">\"RCA\"</span>,,<span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; <span style=\"color: #B900B9;\">//-- Window ------------------------------------------------------------//</span><br /><br />&nbsp; cTitle := <span style=\"color: #ff0000;\">\"RCA Sistemas - WBrowse Sample\"</span><br /><br />&nbsp; <span style=\"color: #0000ff;\">Define</span> <span style=\"color: #0000ff;\">Window</span> &nbsp; &nbsp;oWnd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">Title</span> &nbsp; &nbsp; cTitle &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">Menu</span> &nbsp; &nbsp; &nbsp;CreateMenu<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">Icon</span> &nbsp; &nbsp; &nbsp;oIcon &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">FROM</span> &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">600</span>,<span style=\"color: #000000;\">800</span><br /><br />&nbsp; oWnd:<span style=\"color: #000000;\">nHeight</span> := oWnd:<span style=\"color: #000000;\">nVertRes</span><br />&nbsp; oWnd:<span style=\"color: #000000;\">nWidth</span> &nbsp;:= oWnd:<span style=\"color: #000000;\">nHorzRes</span><br /><br />&nbsp; <span style=\"color: #B900B9;\">//-- KeyDown -----------------------------------------------------------//</span><br /><br />&nbsp; cWallPaper := <span style=\"color: #ff0000;\">\"BG\"</span><br />&nbsp; nHeight &nbsp; &nbsp;:= <span style=\"color: #000000;\">440</span><br />&nbsp; nWidth &nbsp; &nbsp; := <span style=\"color: #000000;\">440</span><br /><br />&nbsp; nLeft := <span style=\"color: #000000;\">&#40;</span> oWnd:<span style=\"color: #000000;\">nHorzRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> - nWidth <span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">2</span><br />&nbsp; nTop &nbsp;:= <span style=\"color: #000000;\">&#40;</span> oWnd:<span style=\"color: #000000;\">nVertRes</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> - nHeight<span style=\"color: #000000;\">&#41;</span> / <span style=\"color: #000000;\">2</span><br /><br />&nbsp; @ nTop,nLeft <span style=\"color: #0000ff;\">Image</span> &nbsp; &nbsp; &nbsp;oImage &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">resource</span> &nbsp; cWallPaper &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">Of</span> &nbsp; &nbsp; &nbsp; &nbsp; oWnd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;no border &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">Pixel</span><br /><br />&nbsp; <span style=\"color: #B900B9;\">//-- Barra de ferramentas ----------------------------------------------//</span><br /><br />&nbsp; CreateToolBar<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; <span style=\"color: #B900B9;\">//-- Barra de status ---------------------------------------------------//</span><br /><br />&nbsp; Barra<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; <span style=\"color: #B900B9;\">//-- Ativa a janela ----------------------------------------------------//</span><br /><br />&nbsp; <span style=\"color: #0000ff;\">Activate</span> <span style=\"color: #0000ff;\">Window</span> &nbsp; &nbsp;oWnd <span style=\"color: #0000ff;\">Maximized</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">valid</span> &nbsp; &nbsp; ValidClose<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; <span style=\"color: #B900B9;\">//-- Encerra a procedure principal -------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">return</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #B900B9;\">/*------------------------------------------------------------------------*/</span><br /><br />****************************************************************************<br /><span style=\"color: #00C800;\">static</span> procedure CreateToolBar<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />****************************************************************************<br />*<br />* Criar a barra de ferramentas da janela principal<br />* Parametros: <span style=\"color: #000000;\">Nenhum</span><br />* Retorno: <span style=\"color: #000000;\">Nenhum</span><br />*<br />* Autor: <span style=\"color: #000000;\">anderson</span><br />* <span style=\"color: #000000;\">18</span>/<span style=\"color: #000000;\">7</span>/<span style=\"color: #000000;\">2007</span> - <span style=\"color: #000000;\">16</span>:<span style=\"color: #000000;\">44</span>:<span style=\"color: #000000;\">24</span><br />*<br />****************************************************************************<br /><br /><span style=\"color: #00C800;\">local</span> oToolBar := <span style=\"color: #00C800;\">Nil</span><br /><br />&nbsp; <span style=\"color: #B900B9;\">//-- Barra de ferramentas ----------------------------------------------//</span><br />&nbsp; <br />&nbsp; <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">ButtonBar</span> oToolBar <span style=\"color: #0000ff;\">of</span> oWnd <span style=\"color: #0000ff;\">Size</span> <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">70</span> <span style=\"color: #000000;\">2007</span><br /><br />&nbsp; <span style=\"color: #0000ff;\">Define</span> <span style=\"color: #0000ff;\">Button</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">OF</span> &nbsp; &nbsp; &nbsp; &nbsp;oToolBar &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">prompt</span> &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"Dialogo\"</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">Resource</span> &nbsp;<span style=\"color: #ff0000;\">\"Dialog48\"</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">action</span> &nbsp; ShowDlg<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Group<br /><br />&nbsp; <span style=\"color: #0000ff;\">Define</span> <span style=\"color: #0000ff;\">BUTTON</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">OF</span> &nbsp; &nbsp; &nbsp; &nbsp;oToolBar &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">prompt</span> &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"Sair\"</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">Resource</span> &nbsp;<span style=\"color: #ff0000;\">\"Sair48\"</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">Action</span> &nbsp; &nbsp;<span style=\"color: #000000;\">&#40;</span>oWnd:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Group<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">Nil</span><br /><br /><span style=\"color: #B900B9;\">/*------------------------------------------------------------------------*/</span><br /><br />****************************************************************************<br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> CreateMenu<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />****************************************************************************<br />*<br />* Criar um objeto <span style=\"color: #0000ff;\">menu</span><br />* Parametros: <span style=\"color: #000000;\">Nenhum</span><br />* Retorno: <span style=\"color: #000000;\">Objeto</span> - <span style=\"color: #0000ff;\">Menu</span> da janela principal<br />*<br />* Autor: <span style=\"color: #000000;\">Anderson</span><br />* <span style=\"color: #000000;\">17</span>/<span style=\"color: #000000;\">7</span>/<span style=\"color: #000000;\">2007</span> - <span style=\"color: #000000;\">12</span>:<span style=\"color: #000000;\">24</span>:<span style=\"color: #000000;\">35</span><br />*<br />****************************************************************************<br /><br /><span style=\"color: #00C800;\">local</span> Result := <span style=\"color: #00C800;\">Nil</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">menu</span> Result <span style=\"color: #000000;\">2007</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">menuitem</span> <span style=\"color: #ff0000;\">\"Menu\"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">menu</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">menuitem</span> <span style=\"color: #ff0000;\">\"Browse piscando\"</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">message</span> &nbsp;<span style=\"color: #ff0000;\">\"Exibir browse piscando\"</span> &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">action</span> &nbsp; ShowDlg<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">resource</span> <span style=\"color: #ff0000;\">\"Dialog16\"</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; helpid <span style=\"color: #ff0000;\">\"\"</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">separator</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">menuitem</span> &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"Sai&r\"</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">message</span> &nbsp; &nbsp; <span style=\"color: #ff0000;\">\"Fechar sistema\"</span> &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; accelerator ACC_NORMAL, VK_ESCAPE &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">resource</span> &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"Sair16\"</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">action</span> &nbsp; &nbsp; &nbsp;oWnd:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">endmenu</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">endmenu</span><br /><br /><span style=\"color: #00C800;\">Return</span> Result<br /><br /><span style=\"color: #B900B9;\">/*------------------------------------------------------------------------*/</span><br /><br />****************************************************************************<br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> ValidClose<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />****************************************************************************<br />*<br />* Validar a saida <span style=\"color: #00C800;\">do</span> sistema<br />* Parametro: <span style=\"color: #000000;\">Nenhum</span><br />* Retorno: <span style=\"color: #000000;\">L</span>ógico - se permite ou nao sair<br />*<br />* Autor: <span style=\"color: #000000;\">Anderson</span><br />* <span style=\"color: #000000;\">17</span>/<span style=\"color: #000000;\">7</span>/<span style=\"color: #000000;\">2007</span> - <span style=\"color: #000000;\">12</span>:<span style=\"color: #000000;\">32</span>:<span style=\"color: #000000;\">42</span><br />*<br />****************************************************************************<br /><br /><span style=\"color: #00C800;\">local</span> Result := .f.<br /><br />&nbsp; Result := Sn<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">'Deseja sair do sistema'</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">Return</span> Result<br /><br /><span style=\"color: #B900B9;\">/*------------------------------------------------------------------------*/</span><br /><br />****************************************************************************<br /><span style=\"color: #00C800;\">function</span> Barra<span style=\"color: #000000;\">&#40;</span>cMensagem<span style=\"color: #000000;\">&#41;</span><br />****************************************************************************<br /><br /><span style=\"color: #00C800;\">local</span> oFntMess, cWndName := <span style=\"color: #ff0000;\">\"\"</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">default</span> cMensagem := <span style=\"color: #ff0000;\">\"Copyright © 2008 - RCA Sistemas Ltda.\"</span><br /><br />&nbsp; &nbsp;SysRefresh<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">Define</span> <span style=\"color: #0000ff;\">Font</span> oFntMess <span style=\"color: #0000ff;\">Name</span> <span style=\"color: #ff0000;\">\"Tahoma\"</span><br /><br />&nbsp; &nbsp;set <span style=\"color: #0000ff;\">message</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">of</span> &nbsp; &nbsp; &nbsp; &nbsp; oWnd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">to</span> &nbsp; &nbsp; &nbsp; &nbsp; cMensagem &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">2007</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">centered</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">Font</span> &nbsp; &nbsp; &nbsp; oFntMess<br /><br />&nbsp; &nbsp;SysRefresh<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #B900B9;\">/*------------------------------------------------------------------------*/</span><br /><br />****************************************************************************<br /><span style=\"color: #00C800;\">function</span> SN<span style=\"color: #000000;\">&#40;</span>cQuestion,cDefault<span style=\"color: #000000;\">&#41;</span><br />****************************************************************************<br /><br /><span style=\"color: #00C800;\">local</span> cAlias<br /><br />&nbsp; &nbsp;cDefault := <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span>ValType<span style=\"color: #000000;\">&#40;</span>cDefault<span style=\"color: #000000;\">&#41;</span> != <span style=\"color: #ff0000;\">\"C\"</span>,<span style=\"color: #ff0000;\">\"S\"</span>,cDefault<span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;cAlias := <span style=\"color: #0000ff;\">Alias</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;cQuestion := StrTran<span style=\"color: #000000;\">&#40;</span>cQuestion,<span style=\"color: #ff0000;\">\";\"</span>,chr<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">13</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> Upper<span style=\"color: #000000;\">&#40;</span>cDefault<span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"N\"</span> &nbsp;<span style=\"color: #B900B9;\">// Foco fica em Nao.</span><br />&nbsp; &nbsp; &nbsp; &nbsp;Result := MsgNoYes<span style=\"color: #000000;\">&#40;</span>AllTrim<span style=\"color: #000000;\">&#40;</span>cQuestion<span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\" ?\"</span> ,<span style=\"color: #ff0000;\">\"Confirmação\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp;Result := MsgYesNo<span style=\"color: #000000;\">&#40;</span>AllTrim<span style=\"color: #000000;\">&#40;</span>cQuestion<span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\" ?\"</span> ,<span style=\"color: #ff0000;\">\"Confirmação\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> .not. Empty<span style=\"color: #000000;\">&#40;</span>AllTrim<span style=\"color: #000000;\">&#40;</span>cAlias<span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">Select</span> <span style=\"color: #000000;\">&#40;</span>cAlias<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;end<br /><br /><span style=\"color: #00C800;\">return</span> Result<br /><br /><span style=\"color: #B900B9;\">/*------------------------------------------------------------------------*/</span><br /><br />&nbsp;<br /><span style=\"color: #B900B9;\">/***************************************************************************<br />* Sistema .....: WBrowseSample<br />* Programa ....: DlgWBrw.PRG<br />* Autor .......: Anderson<br />* Data ........: 15/02/2008 às 14:18:56<br />* Revisado em .: 15/02/2008 às 14:18:56<br />***************************************************************************/</span><br /><br /><br />****************************************************************************<br /><span style=\"color: #B900B9;\">/*FUNCTION ShowDlg()<br />****************************************************************************<br /><br />Private oDlg := Nil, oBrw, oTmr<br /><br />&nbsp; &nbsp;select 0<br />&nbsp; &nbsp;use customer<br /><br /><br />&nbsp; &nbsp;Define Dialog &nbsp; &nbsp; oDlg &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; of &nbsp; &nbsp; &nbsp; &nbsp; oWnd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; resource &nbsp; \"DLG\"<br /><br /><br />&nbsp; &nbsp;//-- Browse -----------------------------------------------------------//<br /><br />&nbsp; &nbsp;Redefine LISTBOX &nbsp; oBrw &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FIELDS &nbsp; &nbsp;FIRST, &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; LAST, &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; STREET, &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; if(MARRIED,'True','False'), &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Str(AGE), &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; Str(SALARY) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; HEADERS &nbsp; \"Nome\",\"Sobrenome\",\"Endereço\", &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"Casado\",\"Idade\",\"Salario\" &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Sizes &nbsp; &nbsp; 090,090,090,060,100,100 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ID &nbsp; &nbsp; &nbsp; &nbsp;4001 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OF &nbsp; &nbsp; &nbsp; &nbsp;oDlg<br /><br />&nbsp; &nbsp;oBrw:nClrPane &nbsp; := {|| ClrPaneBrw() }<br /><br />&nbsp; &nbsp;Activate Dialog &nbsp; oDlg &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Center &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; on init &nbsp;OnInit()<br /><br />&nbsp; &nbsp;oTmr:Deactivate()<br /><br />&nbsp; &nbsp;close all<br /><br />RETURN nil<br />&nbsp; */</span><br /><span style=\"color: #B900B9;\">/*------------------------------------------------------------------------*/</span><br /><br /><br />****************************************************************************<br /><br /><br /><span style=\"color: #B900B9;\">/*------------------------------------------------------------------------*/</span><br /><br />&nbsp;<span style=\"color: #00C800;\">FUNCTION</span> ShowDlg<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">Private</span> oDlg := <span style=\"color: #00C800;\">Nil</span>, oBrw, oTmr<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">select</span> <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp;USE CUSTOMER <span style=\"color: #0000ff;\">ALIAS</span> CUST<br /><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">Define</span> <span style=\"color: #0000ff;\">Dialog</span> &nbsp; &nbsp; oDlg &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">of</span> &nbsp; &nbsp; &nbsp; &nbsp; oWnd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">800</span>,<span style=\"color: #000000;\">600</span><br /><br /><br />&nbsp; &nbsp; &nbsp; @ <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrw <span style=\"color: #0000ff;\">OF</span> oDlg ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">400</span>, <span style=\"color: #000000;\">400</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">AUTOCOLS</span> <span style=\"color: #0000ff;\">ALIAS</span> <span style=\"color: #ff0000;\">'CUST'</span> BACKGROUND <span style=\"color: #ff0000;\">\"\"</span><br /><br /><br />&nbsp; &nbsp;oBrw:<span style=\"color: #000000;\">nRowDividerStyle</span> = LINESTYLE_NOLINES<br />&nbsp; &nbsp;oBrw:<span style=\"color: #000000;\">nColDividerStyle</span> = LINESTYLE_NOLINES<br />&nbsp; &nbsp;oBrw:<span style=\"color: #000000;\">nMarqueeStyle</span> &nbsp; &nbsp;= MARQSTYLE_HIGHLROW<br /><br /><br /><br />&nbsp; &nbsp; oBrw:<span style=\"color: #000000;\">bClrStd</span> := <span style=\"color: #000000;\">&#123;</span> || ClrPaneBrw<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> &nbsp;<span style=\"color: #B900B9;\">// colori</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; oBrw:<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">Activate</span> <span style=\"color: #0000ff;\">Dialog</span> &nbsp; oDlg &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">Center</span> &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; <span style=\"color: #0000ff;\">on</span> <span style=\"color: #0000ff;\">init</span> &nbsp;OnInit<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;oTmr:<span style=\"color: #000000;\">Deactivate</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;close all<br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">nil</span><br /><br /><br /><br /><br /><br /><span style=\"color: #00C800;\">static</span> procedure OnInit<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; <span style=\"color: #0000ff;\">Define</span> &nbsp; <span style=\"color: #0000ff;\">Timer</span> &nbsp; &nbsp; oTmr &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">Interval</span> &nbsp;<span style=\"color: #000000;\">1000</span> &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">Of</span> &nbsp; &nbsp; &nbsp; &nbsp;oDlg &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">action</span> &nbsp; oBrw:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #B900B9;\">// Action &nbsp; &nbsp;(oBrw:Paint(),oBrw:Refresh(),oBrw:UpStable())</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">Activate</span> <span style=\"color: #0000ff;\">Timer</span> oTmr<br /><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">Nil</span><br /><br /><br /><br /><br />&nbsp;<span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> ClrPaneBrw<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">local</span> Result := nRgb<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">Local</span> aCol:=<span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> CUST->MARRIED<br />&nbsp; &nbsp; &nbsp; Result := nRgb<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">200</span>,<span style=\"color: #000000;\">200</span>,<span style=\"color: #000000;\">223</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;elseif CUST->AGE > <span style=\"color: #000000;\">80</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> Val<span style=\"color: #000000;\">&#40;</span><span style=\"color: #0000ff;\">Right</span><span style=\"color: #000000;\">&#40;</span>Time<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> % <span style=\"color: #000000;\">2</span> == <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Result := nRgb<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">255</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Result := nRgb<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; end<br /><br />&nbsp; &nbsp;end<br /><br /><span style=\"color: #00C800;\">Return</span> &nbsp; aCol:=<span style=\"color: #000000;\">&#123;</span>CLR_BLACK,Result <span style=\"color: #000000;\">&#125;</span><br /><br /><br /><br /><br /><br />&nbsp;</div>[/code:3sxfj10b]", "time": "09:49", "topic": "CAN FLASH A XBROWSE ?", "username": "Silvio" } ]
CAN FLASH A XBROWSE ?
[ { "date": "2006-04-22", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio en BTNBMP la clausula CANCEL no funciona.\nHay alguna forma de arreglarlo?.\n\nGracias", "time": "06:39", "topic": "CANCEL EN BTNBMP", "username": "jmua" } ]
CANCEL EN BTNBMP
[ { "date": "2006-04-25", "forum": "FiveWin para Harbour/xHarbour", "text": "José Martin,\n\nTienes que asignar el dato lCancel del TBtnBmp, aquí tienes un ejemplo funcionando correctamente:\n[code:36lv9qws]\n#include \"FiveWin&#46;ch\"\n\nfunction Main&#40;&#41;\n\n local oDlg, cText &#58;= Space&#40; 10 &#41;, oBtn\n \n DEFINE DIALOG oDlg TITLE \"Test\"\n \n @ 1, 1 GET cText VALID ! Empty&#40; cText &#41;\n \n @ 40, 25 BTNBMP oBtn FILE \"exit2&#46;bmp\" SIZE 15, 15 ACTION oDlg&#58;End&#40;&#41;\n \n oBtn&#58;lCancel = &#46;t&#46;\n \n ACTIVATE DIALOG oDlg CENTER\n \nreturn nil \n[/code:36lv9qws]", "time": "10:41", "topic": "CANCEL EN BTNBMP", "username": "Antonio Linares" } ]
CANCEL EN BTNBMP
[ { "date": "2006-05-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio,\nFunciona bien muchas gracias.\nAhora me gustaria saber como puedo asignar una tecla aceleradora al mismo tBTNBMP\nUn saludo\n\n[quote=\"Antonio Linares\":379xmlgd]José Martin,\n\nTienes que asignar el dato lCancel del TBtnBmp, aquí tienes un ejemplo funcionando correctamente:\n[code:379xmlgd]\n#include \"FiveWin&#46;ch\"\n\nfunction Main&#40;&#41;\n\n local oDlg, cText &#58;= Space&#40; 10 &#41;, oBtn\n \n DEFINE DIALOG oDlg TITLE \"Test\"\n \n @ 1, 1 GET cText VALID ! Empty&#40; cText &#41;\n \n @ 40, 25 BTNBMP oBtn FILE \"exit2&#46;bmp\" SIZE 15, 15 ACTION oDlg&#58;End&#40;&#41;\n \n oBtn&#58;lCancel = &#46;t&#46;\n \n ACTIVATE DIALOG oDlg CENTER\n \nreturn nil \n[/code:379xmlgd][/quote:379xmlgd]", "time": "15:21", "topic": "CANCEL EN BTNBMP", "username": "jmua" } ]
CANCEL EN BTNBMP
[ { "date": "2006-05-04", "forum": "FiveWin para Harbour/xHarbour", "text": "José,\n\nLa clase TBtnBmp no admite aceleradores. En su lugar puedes usar un botón TButtonBmp que si los soporta. Resisa samples\\TestBuBm.prg", "time": "15:52", "topic": "CANCEL EN BTNBMP", "username": "Antonio Linares" } ]
CANCEL EN BTNBMP
[ { "date": "2006-05-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Amigo no se si sea lo que estas buscando... Pero si creas tus dialogos con recursos lo puedes hacer anteponiendo un & antes de la letra de cada boton.... y cuando haces alt+laletra, toma el foco el boton respectivo luego presionas la tecla Enter. \n\nEspero te sirva", "time": "17:22", "topic": "CANCEL EN BTNBMP", "username": "leandro" } ]
CANCEL EN BTNBMP
[ { "date": "2006-05-05", "forum": "FiveWin para Harbour/xHarbour", "text": "he probado el tButtonBmp y no de deja utilzar Bitmaps desde recursos, solo desde ficheros externos, no se si hare algo mal pero es lo que me pasa.\nEsto no me interesa pues no quiero utilizar nada externo a la aplicación.\nEn Cuanto a lo que dice Leandro alfonso, esta bien pero ya son tres teclas las que hay que pulsar y solo quiero que al pulsar Alt+Tecla ejecute la accion.\n\nSaludos", "time": "07:24", "topic": "CANCEL EN BTNBMP", "username": "jmua" } ]
CANCEL EN BTNBMP
[ { "date": "2006-05-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Me corrijo, si funciona con recursos solo cambie la palabra RESOURCE por BITMAP.\n\nSaludos", "time": "07:50", "topic": "CANCEL EN BTNBMP", "username": "jmua" } ]
CANCEL EN BTNBMP
[ { "date": "2011-09-02", "forum": "FiveWin para Harbour/xHarbour", "text": "Holas,\n\nalguien tiene funcionando SBUTTONS con CANCEL, un SBUTTON con cancel definido no cancela la validación en un GET, estoy utilizando la versión 7 de sbutton\n\nsaludos\n\nMarcelo", "time": "13:46", "topic": "CANCEL en SBUTTON no funciona", "username": "Marcelo Via Giglio" } ]
CANCEL en SBUTTON no funciona
[ { "date": "2011-09-02", "forum": "FiveWin para Harbour/xHarbour", "text": "Intenta:\n\nLCANCEL := .T.", "time": "14:13", "topic": "CANCEL en SBUTTON no funciona", "username": "karinha" } ]
CANCEL en SBUTTON no funciona
[ { "date": "2011-09-02", "forum": "FiveWin para Harbour/xHarbour", "text": "karinha,\n\ngracias por responder, pero ya intente eso también aún así no me está funcionando\n\nsaludos\n\nMarcelo", "time": "16:18", "topic": "CANCEL en SBUTTON no funciona", "username": "Marcelo Via Giglio" } ]
CANCEL en SBUTTON no funciona
[ { "date": "2011-09-02", "forum": "FiveWin para Harbour/xHarbour", "text": "Y con CANCEL UPDATE directamente en el REDEFINE BUTTON??", "time": "16:47", "topic": "CANCEL en SBUTTON no funciona", "username": "karinha" } ]
CANCEL en SBUTTON no funciona
[ { "date": "2011-09-02", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola\n\nsbutton es la clase de manuel mercado, si es asi\n\nprueba modificando la clase C:\\FWH\\SOURCE\\CLASSES\\CONTROL.PRG\n[code=fw:4jin3u1l]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #00C800;\">METHOD</span> KillFocus<span style=\"color: #000000;\">&#40;</span> hCtlFocus <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> TControl<br /><br />   <span style=\"color: #00C800;\">local</span> oWnd<br /><br />   <span style=\"color: #00C800;\">if</span> ! Empty<span style=\"color: #000000;\">&#40;</span> hCtlFocus <span style=\"color: #000000;\">&#41;</span> .and. ::<span style=\"color: #000000;\">bValid</span> != <span style=\"color: #00C800;\">nil</span> .and. WndParents<span style=\"color: #000000;\">&#40;</span> hCtlFocus, ::<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span> .and. ;<br />      <span style=\"color: #000000;\">&#40;</span> oWnd := oWndFromhWnd<span style=\"color: #000000;\">&#40;</span> hCtlFocus <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> != <span style=\"color: #00C800;\">nil</span> .and. ;<br />      Upper<span style=\"color: #000000;\">&#40;</span> oWnd:<span style=\"color: #000000;\">Classname</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> $ <span style=\"color: #ff0000;\">\"TBUTTON;TBTNBMP;TBUTTONBMP;TSBUTTON\"</span> .and. ;<br />      <span style=\"color: #000000;\">&#40;</span> oWnd:<span style=\"color: #000000;\">lCancel</span> != <span style=\"color: #00C800;\">nil</span> .and. oWnd:<span style=\"color: #000000;\">lCancel</span> .and. ;<br /> </div>[/code:4jin3u1l]", "time": "17:24", "topic": "CANCEL en SBUTTON no funciona", "username": "Patricio Avalos Aguirre" } ]
CANCEL en SBUTTON no funciona
[ { "date": "2011-09-02", "forum": "FiveWin para Harbour/xHarbour", "text": "Patricio,\n\ngracias, ya había encontrado eso y se soluciona con ello, muchas gracias por responder\n\nkarinha, gracias por la atención\n\nsaludos\n\nMarcelo", "time": "17:30", "topic": "CANCEL en SBUTTON no funciona", "username": "Marcelo Via Giglio" } ]
CANCEL en SBUTTON no funciona
[ { "date": "2006-10-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Dado el caso de tener el foco en un get donde tengo una validación...\n\ny el botón de salir tambien dentro del mismo folder.\n\nREDEFINE BUTTON aBtns[6] ID 506 OF oFld:aDialogs[2] CANCEL ; // Salir\n ACTION ( oDlg:End() )\n\n\nCon la cláusula CANCEL, la tecla aceleradora no funciona. Alt + S\nSi le quito el CANCEL al button, entonces... entra la validación.\n\nLo que quiero es usar CANCEL para salir. Esto solo sucede en folders\n\nFWH 2.7 build mayo + harbour\nGracias", "time": "02:54", "topic": "CANCEL en button en folder no funciona", "username": "fleal" } ]
CANCEL en button en folder no funciona
[ { "date": "2013-09-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Saludos.\n\nhabia dejado este detalle al olvido, pero si alguien ha resuelto el problema del la clausula CANCEL en el sbrowse 7.0\ny si lo pudiera compartir.\n\nCaso.\n\n @ 11,10 SBUTTON oBtn[1] PROMPT '&Aceptar' RESOURCE 'GOSEMA','GOSEMV' OF oDLG(1);\n ACTION ( lSalir:=ValidaVent(aVent),; // valida que los gets se cumplan\n IF( lSalir,;\n ( _lSalvar:=.T.,;\n AfectaDBF(aVent,lBloquea,bProceso),;\n NIL) );\n XP COLOR COLOR_ACEPTA;\n SIZE 33,12 TEXT POSITION 4;\n PIXEL\n\n @ 11,100 SBUTTON oBtn[2] PROMPT '&Cancelar' RESOURCE 'GOSEMN','GOSEMR' OF oDLG(1);\n ACTION ( lSalir:=.t., _lSalvar:=.F.,;\n AfectaDBF(aVent,lBloquea,bProceso) ),;\n XP COLOR COLOR_CANCELA;\n SIZE 33,12 TEXT POSITION 4;\n PIXEL CANCEL /////// aqui el detalle///////\n\nal presionar el boton \"cancelar\", este no pierde el foco, me sigue avisando de los gets que debo validar.\nesto no lo hacia en la version 4.0", "time": "02:20", "topic": "CANCEL en tsbutton 7.0, no funciona", "username": "noe aburto" } ]
CANCEL en tsbutton 7.0, no funciona
[ { "date": "2013-09-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Expongo una diferencia entre las versiones 4 y 7 en el segundo return (x) cambia\n\nversion 7 ***************************************************************************************\nMETHOD GetDlgCode( nLastKey ) CLASS TSButton\n\n If nLastKey > 0 .and. nLastKey == ::nWakeup\n ::nWakeup := 0\n EndIf\n\n If ( ! ::oWnd:lValidating .and. ::lCancel .and. ::cAccel != Nil .and. GetAsyncKey( VK_MENU ) .and. ;\n GetAsyncKey( Asc( Upper( ::cAccel ) ) ) .and. ::nWakeup == 0 )\n\n ::SendMsg( FM_CLICK )\n Return 1\n ElseIf (! ::oWnd:lValidating .and. ::lWhen .and. !::lCancel .and. ::cAccel != Nil .and. ;\n GetAsyncKey( VK_MENU ) .and. GetAsyncKey( Asc( Upper( ::cAccel ) ) ) .and. ::nWakeup == 0 )\n\n ::SendMsg( FM_CLICK )\n Return NIL ////////////// aqui /////////////////\n EndIf\n\nReturn If( ::lActive, DLGC_WANTALLKEYS, Nil )\n\nversion 4****************************************************************************************************\nMETHOD GetDlgCode( nLastKey ) CLASS TSButton\n\n If nLastKey > 0 .and. nLastKey == ::nWakeup\n ::nWakeup := 0\n EndIf\n\n If ( ! ::oWnd:lValidating .and. ::lCancel .and. ::cAccel != Nil .and. GetAsyncKey( VK_MENU ) .and. ;\n GetAsyncKey( Asc( Upper( ::cAccel ) ) ) .and. ::nWakeup == 0 )\n\n ::SendMsg( FM_CLICK )\n Return 1\n ElseIf (! ::oWnd:lValidating .and. ::lWhen .and. !::lCancel .and. ::cAccel != Nil .and. ;\n GetAsyncKey( VK_MENU ) .and. GetAsyncKey( Asc( Upper( ::cAccel ) ) ) .and. ::nWakeup == 0 )\n\n ::SendMsg( FM_CLICK )\n Return 1 ////////////// aqui /////////////////\n EndIf\n\nReturn If( ::lActive, DLGC_WANTALLKEYS, Nil )", "time": "02:42", "topic": "CANCEL en tsbutton 7.0, no funciona", "username": "noe aburto" } ]
CANCEL en tsbutton 7.0, no funciona
[ { "date": "2013-09-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Noé,\n\nPor favor prueba a añadir TSBUTTON a esta lista de nombres de Clases en control.prg Método KillFocus():\n\n Upper( oWnd:Classname() ) $ \"TBUTTON;TBTNBMP;TBUTTONBMP;TBTNFLAT\" .and. ;", "time": "18:29", "topic": "CANCEL en tsbutton 7.0, no funciona", "username": "Antonio Linares" } ]
CANCEL en tsbutton 7.0, no funciona
[ { "date": "2013-09-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio Linares.\nGracias por la solución.", "time": "21:09", "topic": "CANCEL en tsbutton 7.0, no funciona", "username": "noe aburto" } ]
CANCEL en tsbutton 7.0, no funciona
[ { "date": "2007-01-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Olá Amigos, \n\nEu estou tentando compilar um exemplo de Ftp e aconteceu o seguinte : \n\nCANNOT LOAD WinINet.dll ! \n\nTestei em 5 Micros: \n\n3 com XP e conecçao ADSL, deu erro da DLL \n\n1 com Win98 conecçao Via radio, deu certo \n\n1 com XP conecçao Via radio, deu certo \n\nO Ex. q eu estou testando eh este. \n\nFTPDIR.PRG \n[code:f341v15c]\n// Testing the FiveWin new Internet Classes \n\n#include \"FiveWin&#46;ch\" \n\n//----------------------------------------------------------------------------// \n\nfunction Main&#40;&#41; \n\n local oInternet &#58;= TInternet&#40;&#41;&#58;New&#40;&#41; \n local oFTP &#58;= TFTP&#40;&#41;&#58;New&#40; \"ftp&#46;host&#46;com&#46;br\", oInternet,\"UserName\",\"PassWord\" &#41; // Microsoft FTP \n local aFiles \n\n if ! Empty&#40; oFTP&#58;hFTP &#41; \n aFiles = oFTP&#58;Directory&#40; \"*&#46;*\" &#41; \n AEval&#40; aFiles, &#123; | aFile | MsgInfo&#40; aFile&#91; 1 &#93; &#41; &#125; &#41; \n msginfo&#40;\"conectou\"&#41; \n else \n MsgAlert&#40; \"oFTP&#58;hFTP is null\" &#41; \n endif \n\n oInternet&#58;End&#40;&#41; \n\n MsgInfo&#40; \"Done!\" &#41; \n\nreturn nil \n\n//----------------------------------------------------------------------------// \n[/code:f341v15c]\n\n@braços Ale\n[/code]", "time": "02:40", "topic": "CANNOT LOAD WinINet.dll !", "username": "Ale SB" } ]
CANNOT LOAD WinINet.dll !
[ { "date": "2007-01-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Ale,\n\nTu ejemplo funciona correctamente en XP con SP2. Acabamos de probarlo conectando con ftp.microsoft.com", "time": "08:15", "topic": "CANNOT LOAD WinINet.dll !", "username": "Antonio Linares" } ]
CANNOT LOAD WinINet.dll !
[ { "date": "2007-01-05", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":1rt23wbg]Ale,\n\nTu ejemplo funciona correctamente en XP con SP2. Acabamos de probarlo conectando con ftp.microsoft.com[/quote:1rt23wbg]\n\nLa mañana buena Antonio, \n \nSí, con la conexión Via Radio, funciona perfectamente. \n \nPero, con la conexión ADSL, este error volviendo,: Cannot Load WinINet.Dll. \n \n¿Porque? \n \n¿Usted Probó con la conexión ADLS? \n \n¿Cómo yo pruebo el tipo de conexión que yo estoy usando? \n \nExcuse para las tantas preguntas, pero, yo soy el borde de perder a un Cliente si esto si no resuelve.\n\nGracias por la atención\n\n@braços Ale", "time": "11:19", "topic": "CANNOT LOAD WinINet.dll !", "username": "Ale SB" } ]
CANNOT LOAD WinINet.dll !
[ { "date": "2007-01-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Ale,\n\nLo hemos probado con ADSL. Puedes probarlo en otro ordenador ?", "time": "07:56", "topic": "CANNOT LOAD WinINet.dll !", "username": "Antonio Linares" } ]
CANNOT LOAD WinINet.dll !
[ { "date": "2007-01-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Ale,\n\ncuidado con el firewall de windows. Asegúrate de que tu aplicacion está dentro de las excepciones, sino lo bloqueará y te dejará en nil la conexión.\n\nCarlos", "time": "13:36", "topic": "CANNOT LOAD WinINet.dll !", "username": "carlosmora" } ]
CANNOT LOAD WinINet.dll !
[ { "date": "2013-02-11", "forum": "Off Topic / Otros temas", "text": "Para los que estan cansados de MS Office y quieren una opcion libre y en las nubes, saludos... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: --> \n\n<!-- m --><a class=\"postlink\" href=\"http://es.libreoffice.org/home/\">http://es.libreoffice.org/home/</a><!-- m -->", "time": "18:49", "topic": "CANSADO DE MS-OFFICE", "username": "joseluisysturiz" } ]
CANSADO DE MS-OFFICE
[ { "date": "2013-02-11", "forum": "Off Topic / Otros temas", "text": "Hace años que dejé de usar Office y solo uso Google docs.\n\nHoy por hoy estoy super satisfecho con el cambio, y no dejaria de usarlo salvo que encontrase algo realmente mejor <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "19:11", "topic": "CANSADO DE MS-OFFICE", "username": "Antonio Linares" } ]
CANSADO DE MS-OFFICE
[ { "date": "2016-09-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Buen dia, asi como dice el titulo, necesito saber la cantidad de MESES existentes entre 2 fechas, revise algunas funciones de fechas y consegui una pero es la cantidad de dias transcurridos en un periodo o en un año desde 01/01, pero lo que en si busco es saber si tengo 2 fechas la cantidad de AÑOS y MESES entre las 2 fechas si existen años de diferencias, sino solo los MESES, no se si alguien ya tendra algo parecido o si hay funciones nativas que lo hagan, desde ya gracias por sus ayudas y sugerencias, saludos... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->", "time": "22:39", "topic": "CANTIDAD DE MESES Y AÑOS ENTRE 2 FECHAS - RESUELTO", "username": "joseluisysturiz" } ]
CANTIDAD DE MESES Y AÑOS ENTRE 2 FECHAS - RESUELTO
[ { "date": "2016-09-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Bueno, me hice esta pequeña funcion y hasta lo que revise...hace lo que quiero, aca la dejo por si a alguien le es util o si la puede mejorar o le consigue algun detalle...esta probada a vuelo de pajaro, saludos... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: --> \n\n[code=fw:w06f0zgo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />PROCEDURE calcula_meses_anos<span style=\"color: #000000;\">&#40;</span> nFchIni, nFchFin, nVarAno, nVarMes, oGetAno, oGetMes <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> nMeses := nAnos := <span style=\"color: #000000;\">0</span><br /><br />* nFchIni -> FCH.INICIAL MENOR<br />* nFchFin -> FCH.<span style=\"color: #00C800;\">FINAL</span> MAYOR<br />* nVarAno -> <span style=\"color: #0000ff;\">VAR</span> Q GUARDA VALOR EN AÑOS<br />* nVarMes -> <span style=\"color: #0000ff;\">VAR</span> Q GUARDA VALOR EN MESES<br />* oGetAno -> <span style=\"color: #0000ff;\">GET</span> CONTENEDOR VALOR EN AÑOS<br />* oGetMes -> <span style=\"color: #0000ff;\">GET</span> CONTENEDOR VALOR EN AÑOS<br /><br />&nbsp; &nbsp;nAnos := <span style=\"color: #0000ff;\">Year</span><span style=\"color: #000000;\">&#40;</span> nFchFin <span style=\"color: #000000;\">&#41;</span> - <span style=\"color: #0000ff;\">Year</span><span style=\"color: #000000;\">&#40;</span> nFchIni <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #B900B9;\">/*<br />SI MES 1RA FCHA ES MAYOR A MES 2DA FCHA LE RESTO A nAnos 1<br />Y LA CANTIDAD DE MESES SERIAN 12 MENOS MES 1RA FCHA + MES 2DA FCHA<br /><br />SI MES 1RA FCHA ES MENOR O IGUAL A MES 2DA FCHA, nAnos QUEDA IGUAL<br />Y MESES SERIAN MES 2DA FCHA - MES 1RA FCHA<br />*/</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">IF</span> Month<span style=\"color: #000000;\">&#40;</span> nFchIni <span style=\"color: #000000;\">&#41;</span> > Month<span style=\"color: #000000;\">&#40;</span> nFchFin <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; nAnos &nbsp;:= nAnos - <span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp; &nbsp; nMeses := <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">12</span> - Month<span style=\"color: #000000;\">&#40;</span> nFchIni <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> + Month<span style=\"color: #000000;\">&#40;</span> nFchFin <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">ELSE</span><br />&nbsp; &nbsp; &nbsp; nMeses := Month<span style=\"color: #000000;\">&#40;</span> nFchFin <span style=\"color: #000000;\">&#41;</span> - Month<span style=\"color: #000000;\">&#40;</span> nFchIni <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">ENDIF</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">IF</span> <span style=\"color: #0000ff;\">Year</span><span style=\"color: #000000;\">&#40;</span> nFchIni <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #0000ff;\">Year</span><span style=\"color: #000000;\">&#40;</span> nFchFin <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; nAnos &nbsp;:= <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp; nMeses := Month<span style=\"color: #000000;\">&#40;</span> nFchFin <span style=\"color: #000000;\">&#41;</span> - Month<span style=\"color: #000000;\">&#40;</span> nFchIni <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #B900B9;\">//</span><br />&nbsp; &nbsp;nVarAno := nAnos<br />&nbsp; &nbsp;nVarMes := nMeses<br /><br />&nbsp; &nbsp;oGetAno:<span style=\"color: #0000ff;\">REFRESH</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;oGetMes:<span style=\"color: #0000ff;\">REFRESH</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">RETURN</span><br />&nbsp;</div>[/code:w06f0zgo]", "time": "00:08", "topic": "CANTIDAD DE MESES Y AÑOS ENTRE 2 FECHAS - RESUELTO", "username": "joseluisysturiz" } ]
CANTIDAD DE MESES Y AÑOS ENTRE 2 FECHAS - RESUELTO
[ { "date": "2016-09-20", "forum": "FiveWin para Harbour/xHarbour", "text": "José Luis un buen día.\n\nTengo lo siguiente:\n[quote:2nsjfooe]\n\n# include \"fivewin.ch\"\n\nFunction Main ()\nLocal dfecha1 := \"\"\nLocal sEdad := \"\"\nLocal sDias := \"\"\n\nSET DATE TO ANSI\nSET CENTURY ON\ndFecha1 := DATE ()\n\nDEFINE DIALOG oDlg FROM 000, 000 TO 300, 260 PIXEL ;\n TITLE \"Edad entre dos fechas\"\n\n @ 005, 010 SAY \"Fecha de Nacimiento\" SIZE 070, 14 PIXEL OF oDlg COLOR nRGB ( 016, 016, 240 ), nRGB ( 240, 240, 240 )\n \n @ 005, 080 DTPICKER odfecha1 VAR dfecha1 SIZE 050, 14 PIXEL OF oDlg COLOR nRGB ( 240, 240, 240 ), nRGB ( 240, 016, 016 ) ; \n MESSAGE \"Digite la fecha de nacimiento\" \n\n @ 020, 010 BUTTON \"Calcule\" SIZE 030, 014 PIXEL OF oDlg ;\n ACTION ( sEdad := DFechas ( dFecha1, \"0\" ), osEdad:Refresh (),;\n sDias := DFechas ( dFecha1, \"1\" ), osDias:Refresh () )\n\n @ 040, 010 SAY osEdad VAR sEdad SIZE 200, 14 PIXEL OF oDlg COLOR nRGB ( 016, 016, 240 ), nRGB ( 240, 240, 240 )\n @ 054, 010 SAY osDias VAR sDias SIZE 200, 14 PIXEL OF oDlg COLOR nRGB ( 016, 016, 240 ), nRGB ( 240, 240, 240 ) \n \nACTIVATE DIALOG oDlg \n \nReturn ( NIL )\n* -------------------------------------------------------------------------------------------------------------- *\n\n* -------------------------------------------------------------------------------------------------------------- *\nFunction DFechas ( DA, cViene ) && Calcular una Edad desde una fecha a la actualidad en años.meses.dias\nLocal nDias, nAnos, nMeses\nLocal Dias_ano := 365.28\nLocal Dias_Mes := 30\n\nDefault cViene := \"0\" && 0 := sin días calculados, 1 := con los días calculados\n\nnDias := DATE () - DA && Diferencia de Días entre DATE y una Fecha dada 2013.08.25 - 1957.03.04 := 20628 := 56 años, 5 meses, 3 semanas\nnAnos := INT ( nDias / Dias_ano ) && Cuantos años hay entre esos dias de diferencia 56\nnDias1 := nDias - ( nAnos * Dias_ano ) && Días sobrantes 132 \nnMeses := INT ( nDias1 / Dias_Mes ) && Cuantos meses hay en esos días sobrantes\nnDias2 := nDias1 - ( nMeses * Dias_Mes ) && Días sobrantes\n\nReturn ( IIF ( cViene = \"1\", TRANSFORM ( nDias, \"999,999\" ) + \" días, \", \"\" ) + ;\n TRANSFORM ( nAnos, \"9,999\" ) + \" años, \" + ;\n TRANSFORM ( nMeses, \"99\" ) + \" meses, \" + ;\n TRANSFORM ( nDias2, \"99\" ) + \" días\" )\n* -------------------------------------------------------------------------------------------------------------- *\n*\n*\n*\n*\n[/quote:2nsjfooe]\n\na ver si te sirve\n\nun saludo", "time": "16:25", "topic": "CANTIDAD DE MESES Y AÑOS ENTRE 2 FECHAS - RESUELTO", "username": "J. Ernesto" } ]
CANTIDAD DE MESES Y AÑOS ENTRE 2 FECHAS - RESUELTO
[ { "date": "2016-09-22", "forum": "FiveWin para Harbour/xHarbour", "text": "Ernesto, con la funcion que cree y publique resolvi lo que necesitaba, igual es bueno tener otras opciones, la diferencia con la tuya es que da hasta los dias, la mia solo los años y meses que es lo que necesitaba. igual probare la tuya haber si coincidimos en los valores resultanes, por lo menos en la de años y meses deberiamos coincidir, ya hice muchas pruebas manualmente y han coincididos con los resultados de mi funcion, Igual gracias por tu opcion...saludos... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->", "time": "02:44", "topic": "CANTIDAD DE MESES Y AÑOS ENTRE 2 FECHAS - RESUELTO", "username": "joseluisysturiz" } ]
CANTIDAD DE MESES Y AÑOS ENTRE 2 FECHAS - RESUELTO
[ { "date": "2012-11-03", "forum": "FiveWin para Harbour/xHarbour", "text": "Buenos dias listeros, un saludito,\nTenia algun tiempo de estar retirado de las canchas, pues regreso,\n\nUn pregunta que viene dando vueltas haber si es posible, \n\nTengo un dlg con cuatro botones , se pueden mover a voluntad ! con el mouse lo botones y guardar su posicion en una variable, con esto deseo hacer un dlg con varios controles en este caso botones y con el mouse moverlos dentro del dlg y capturar las cordenadas en una variable y guardarlos, para luego cargar un dlg y crear los controles desde codigo y dales las cordenadas guardadas anterirmente. \nSera posible !!\n\nAgradeceria desde ya ayuda que me pudieran guiar y dame un ejemplo simple..\nMuchas gracias.\n\nOscar Chacon\nGuapilescity, Costa Rica.", "time": "18:00", "topic": "CAPTURAR CORDENADAS Y MOVER UN BOTTON DENTRO DE UN Dialogo", "username": "guapilescity" } ]
CAPTURAR CORDENADAS Y MOVER UN BOTTON DENTRO DE UN Dialogo
[ { "date": "2012-11-03", "forum": "FiveWin para Harbour/xHarbour", "text": "No sé que versión de FW manejas pero en samples tienes las fuentes de un ide y creo que ahí hay algo de lo que necestas.\n\nSaludos", "time": "22:59", "topic": "CAPTURAR CORDENADAS Y MOVER UN BOTTON DENTRO DE UN Dialogo", "username": "horacio" } ]
CAPTURAR CORDENADAS Y MOVER UN BOTTON DENTRO DE UN Dialogo
[ { "date": "2012-11-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias por el tips,\nNo tengo mucha exeriencia, en el asunto pero desearia algo un poco menos complidado porque no se cuales seran las funciones, agradesco desde ya\ncualquier ejmplo simple que puedan compartir.\nMuchas Gracias desde ya.\nOscar Chacon \nBusmatic.", "time": "02:29", "topic": "CAPTURAR CORDENADAS Y MOVER UN BOTTON DENTRO DE UN Dialogo", "username": "guapilescity" } ]
CAPTURAR CORDENADAS Y MOVER UN BOTTON DENTRO DE UN Dialogo
[ { "date": "2012-11-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Oscar,\n\nTienes un ejemplo en FWH/samples/design.prg. Te lo copio aqui:\n\ndesign.prg:\n[code=fw:18yb5tab]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">// Dialogs designer</span><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00C800;\">static</span> oDlg, lDesign := .T.<br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Dialog designer\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">500</span>, <span style=\"color: #000000;\">300</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">STYLE</span> nOr<span style=\"color: #000000;\">&#40;</span> WS_THICKFRAME, WS_SYSMENU <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;oDlg:<span style=\"color: #000000;\">cVarName</span> = <span style=\"color: #ff0000;\">\"oDlg\"</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> &nbsp;PlaceControl<span style=\"color: #000000;\">&#40;</span> oDlg <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">PAINT</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> lDesign, DrawGrid<span style=\"color: #000000;\">&#40;</span> oDlg:<span style=\"color: #000000;\">hWnd</span>, hDC, cPS, <span style=\"color: #000000;\">8</span>, <span style=\"color: #000000;\">8</span> <span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">RIGHT</span> <span style=\"color: #0000ff;\">CLICK</span> EditDialog<span style=\"color: #000000;\">&#40;</span> nRow, nCol, oDlg <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">function</span> PlaceControl<span style=\"color: #000000;\">&#40;</span> oDlg <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oBtn1, oBtn2<br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">232</span>, <span style=\"color: #000000;\">144</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtn1 <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&Ok\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">25</span> DESIGN <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">PIXEL</span><br /><br />&nbsp; &nbsp;oBtn1:<span style=\"color: #000000;\">bRClicked</span> = <span style=\"color: #000000;\">&#123;</span> | nRow, nCol | EditControl<span style=\"color: #000000;\">&#40;</span> nRow, nCol, oBtn1 <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">232</span>, <span style=\"color: #000000;\">264</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtn2 <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&Cancel\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">25</span> DESIGN <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">PIXEL</span><br /><br />&nbsp; &nbsp;oBtn2:<span style=\"color: #000000;\">bRClicked</span> = <span style=\"color: #000000;\">&#123;</span> | nRow, nCol | EditControl<span style=\"color: #000000;\">&#40;</span> nRow, nCol, oBtn2 <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;<br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> &nbsp; <br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">function</span> CreateSay<span style=\"color: #000000;\">&#40;</span> oDlg <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oSay<br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Label:\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">70</span>, <span style=\"color: #000000;\">20</span> DESIGN<br /><br />&nbsp; &nbsp;oSay:<span style=\"color: #000000;\">bGet</span> = <span style=\"color: #00C800;\">nil</span><br />&nbsp; &nbsp;oSay:<span style=\"color: #000000;\">lWantClick</span> = .T.<br />&nbsp; &nbsp;BringWindowToTop<span style=\"color: #000000;\">&#40;</span> oSay:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span> <br />&nbsp; &nbsp;oSay:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<br />&nbsp; &nbsp;oSay:<span style=\"color: #000000;\">bRClicked</span> = <span style=\"color: #000000;\">&#123;</span> | nRow, nCol | EditControl<span style=\"color: #000000;\">&#40;</span> nRow, nCol, oSay <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;<br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> &nbsp; <br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">function</span> EditControl<span style=\"color: #000000;\">&#40;</span> nRow, nCol, oControl <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oMenu<br />&nbsp; &nbsp;<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">MENU</span> oMenu <span style=\"color: #0000ff;\">POPUP</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Bring to front\"</span> <span style=\"color: #0000ff;\">ACTION</span> BringWindowToTop<span style=\"color: #000000;\">&#40;</span> oControl:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SEPARATOR</span><br />&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Text\"</span> <span style=\"color: #0000ff;\">ACTION</span> EditTitle<span style=\"color: #000000;\">&#40;</span> oControl <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SEPARATOR</span><br />&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Position\"</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENU</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"nTop\"</span> &nbsp; &nbsp;+ Chr<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">&#41;</span> + LTrim<span style=\"color: #000000;\">&#40;</span> Str<span style=\"color: #000000;\">&#40;</span> oControl:<span style=\"color: #000000;\">nTop</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"nLeft\"</span> &nbsp; + Chr<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">&#41;</span> + LTrim<span style=\"color: #000000;\">&#40;</span> Str<span style=\"color: #000000;\">&#40;</span> oControl:<span style=\"color: #000000;\">nLeft</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Move up\"</span> &nbsp; <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oControl:<span style=\"color: #000000;\">HideDots</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oControl:<span style=\"color: #000000;\">nTop</span>--, oControl:<span style=\"color: #000000;\">ShowDots</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Move down\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oControl:<span style=\"color: #000000;\">HideDots</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oControl:<span style=\"color: #000000;\">nTop</span>++, oControl:<span style=\"color: #000000;\">ShowDots</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDMENU</span><br />&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Size\"</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENU</span> <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"nWidth\"</span> &nbsp;+ Chr<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">&#41;</span> + LTrim<span style=\"color: #000000;\">&#40;</span> Str<span style=\"color: #000000;\">&#40;</span> oControl:<span style=\"color: #000000;\">nWidth</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"nHeight\"</span> + Chr<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">&#41;</span> + LTrim<span style=\"color: #000000;\">&#40;</span> Str<span style=\"color: #000000;\">&#40;</span> oControl:<span style=\"color: #000000;\">nHeight</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDMENU</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ENDMENU</span><br />&nbsp; &nbsp;<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">POPUP</span> oMenu <span style=\"color: #0000ff;\">WINDOW</span> oControl <span style=\"color: #00C800;\">AT</span> nRow, nCol<br />&nbsp; &nbsp;<br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> &nbsp; <br />&nbsp; &nbsp;<br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">function</span> CreateGet<span style=\"color: #000000;\">&#40;</span> oDlg <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oGet, cVar := Space<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">20</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">GET</span> oGet <span style=\"color: #0000ff;\">VAR</span> cVar <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">136</span>, <span style=\"color: #000000;\">24</span> DESIGN<br /><br />&nbsp; &nbsp;BringWindowToTop<span style=\"color: #000000;\">&#40;</span> oGet:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span> <br />&nbsp; &nbsp;oGet:<span style=\"color: #000000;\">bRClicked</span> = <span style=\"color: #000000;\">&#123;</span> | nRow, nCol | EditControl<span style=\"color: #000000;\">&#40;</span> nRow, nCol, oGet <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oGet:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> &nbsp; <br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">function</span> CreateButton<span style=\"color: #000000;\">&#40;</span> oDlg <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oBtn<br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtn <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Button\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">25</span> DESIGN<br /><br />&nbsp; &nbsp;BringWindowToTop<span style=\"color: #000000;\">&#40;</span> oBtn:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span> <br />&nbsp; &nbsp;oBtn:<span style=\"color: #000000;\">bRClicked</span> = <span style=\"color: #000000;\">&#123;</span> | nRow, nCol | EditControl<span style=\"color: #000000;\">&#40;</span> nRow, nCol, oBtn <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oBtn:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> &nbsp; <br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">function</span> CreateCheckBox<span style=\"color: #000000;\">&#40;</span> oDlg <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oChk, lValue := .F.<br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">CHECKBOX</span> oChk <span style=\"color: #0000ff;\">VAR</span> lValue <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&Checkbox\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">15</span> DESIGN<br /><br />&nbsp; &nbsp;BringWindowToTop<span style=\"color: #000000;\">&#40;</span> oChk:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span> <br />&nbsp; &nbsp;oChk:<span style=\"color: #000000;\">bRClicked</span> = <span style=\"color: #000000;\">&#123;</span> | nRow, nCol | EditControl<span style=\"color: #000000;\">&#40;</span> nRow, nCol, oChk <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oChk:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> &nbsp; <br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">function</span> CreateListBox<span style=\"color: #000000;\">&#40;</span> oDlg <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oLbx, cItem<br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">LISTBOX</span> oLbx <span style=\"color: #0000ff;\">VAR</span> cItem <span style=\"color: #0000ff;\">ITEMS</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"One\"</span>, <span style=\"color: #ff0000;\">\"Two\"</span>, <span style=\"color: #ff0000;\">\"three\"</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">120</span> DESIGN<br /><br />&nbsp; &nbsp;BringWindowToTop<span style=\"color: #000000;\">&#40;</span> oLbx:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span> <br />&nbsp; &nbsp;oLbx:<span style=\"color: #000000;\">bRClicked</span> = <span style=\"color: #000000;\">&#123;</span> | nRow, nCol | EditControl<span style=\"color: #000000;\">&#40;</span> nRow, nCol, oLbx <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oLbx:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> &nbsp; <br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">function</span> CreateComboBox<span style=\"color: #000000;\">&#40;</span> oDlg <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oCbx, cItem<br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oCbx <span style=\"color: #0000ff;\">VAR</span> cItem <span style=\"color: #0000ff;\">ITEMS</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"One\"</span>, <span style=\"color: #ff0000;\">\"Two\"</span>, <span style=\"color: #ff0000;\">\"three\"</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">120</span> DESIGN<br /><br />&nbsp; &nbsp;BringWindowToTop<span style=\"color: #000000;\">&#40;</span> oCbx:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span> <br />&nbsp; &nbsp;oCbx:<span style=\"color: #000000;\">bRClicked</span> = <span style=\"color: #000000;\">&#123;</span> | nRow, nCol | EditControl<span style=\"color: #000000;\">&#40;</span> nRow, nCol, oCbx <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oCbx:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> &nbsp; <br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">function</span> CreateGroup<span style=\"color: #000000;\">&#40;</span> oDlg <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oGrp<br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span> GROUP oGrp <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Group\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">120</span> DESIGN<br /><br />&nbsp; &nbsp;oGrp:<span style=\"color: #000000;\">bRClicked</span> = <span style=\"color: #000000;\">&#123;</span> | nRow, nCol | EditControl<span style=\"color: #000000;\">&#40;</span> nRow, nCol, oGrp <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oGrp:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> &nbsp; <br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">function</span> CreateRadio<span style=\"color: #000000;\">&#40;</span> oDlg <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oRad, oRadMenu := TRadMenu<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: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span> RADIOITEM oRad <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&Radio1\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">60</span>, <span style=\"color: #000000;\">15</span> DESIGN RADIOMENU oRadMenu<br /><br />&nbsp; &nbsp;BringWindowToTop<span style=\"color: #000000;\">&#40;</span> oRad:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span> <br />&nbsp; &nbsp;oRad:<span style=\"color: #000000;\">bRClicked</span> = <span style=\"color: #000000;\">&#123;</span> | nRow, nCol | EditControl<span style=\"color: #000000;\">&#40;</span> nRow, nCol, oRad <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oRad:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> &nbsp; <br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> EditDialog<span style=\"color: #000000;\">&#40;</span> nRow, nCol, oDlg <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oMenu<br />&nbsp; &nbsp;<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">MENU</span> oMenu <span style=\"color: #0000ff;\">POPUP</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Title...\"</span> <span style=\"color: #0000ff;\">ACTION</span> EditTitle<span style=\"color: #000000;\">&#40;</span> oDlg <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SEPARATOR</span><br />&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Add control\"</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENU</span> <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Say\"</span> &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTION</span> CreateSay<span style=\"color: #000000;\">&#40;</span> oDlg <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Get\"</span> &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTION</span> CreateGet<span style=\"color: #000000;\">&#40;</span> oDlg <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Button\"</span> &nbsp; <span style=\"color: #0000ff;\">ACTION</span> CreateButton<span style=\"color: #000000;\">&#40;</span> oDlg <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"CheckBox\"</span> <span style=\"color: #0000ff;\">ACTION</span> CreateCheckBox<span style=\"color: #000000;\">&#40;</span> oDlg <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Radio\"</span> &nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTION</span> CreateRadio<span style=\"color: #000000;\">&#40;</span> oDlg <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"ListBox\"</span> &nbsp;<span style=\"color: #0000ff;\">ACTION</span> CreateListBox<span style=\"color: #000000;\">&#40;</span> oDlg <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"ComboBox\"</span> <span style=\"color: #0000ff;\">ACTION</span> CreateComboBox<span style=\"color: #000000;\">&#40;</span> oDlg <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"GroupBox\"</span> <span style=\"color: #0000ff;\">ACTION</span> CreateGroup<span style=\"color: #000000;\">&#40;</span> oDlg <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDMENU</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SEPARATOR</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"PRG code...\"</span> <span style=\"color: #0000ff;\">ACTION</span> MemoEdit<span style=\"color: #000000;\">&#40;</span> oDlg:<span style=\"color: #000000;\">cGenPrg</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #ff0000;\">\"PRG code\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"RC code...\"</span> <span style=\"color: #0000ff;\">ACTION</span> MemoEdit<span style=\"color: #000000;\">&#40;</span> oDlg:<span style=\"color: #000000;\">SaveToRC</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #ff0000;\">\"RC code\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SEPARATOR</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Position\"</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENU</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"nTop\"</span> &nbsp;+ Chr<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">&#41;</span> + LTrim<span style=\"color: #000000;\">&#40;</span> Str<span style=\"color: #000000;\">&#40;</span> WndTop<span style=\"color: #000000;\">&#40;</span> oDlg:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"nLeft\"</span> + Chr<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">&#41;</span> + LTrim<span style=\"color: #000000;\">&#40;</span> Str<span style=\"color: #000000;\">&#40;</span> WndLeft<span style=\"color: #000000;\">&#40;</span> oDlg:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDMENU</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Size\"</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MENU</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"nWidth\"</span> &nbsp;+ Chr<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">&#41;</span> + LTrim<span style=\"color: #000000;\">&#40;</span> Str<span style=\"color: #000000;\">&#40;</span> oDlg:<span style=\"color: #000000;\">nWidth</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"nHeight\"</span> + Chr<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">&#41;</span> + LTrim<span style=\"color: #000000;\">&#40;</span> Str<span style=\"color: #000000;\">&#40;</span> oDlg:<span style=\"color: #000000;\">nHeight</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDMENU</span> &nbsp;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SEPARATOR</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> oDlg:<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">lDrag</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"&Test mode\"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> AEval<span style=\"color: #000000;\">&#40;</span> oDlg:<span style=\"color: #000000;\">aControls</span>, <span style=\"color: #000000;\">&#123;</span> | o | o:<span style=\"color: #000000;\">lDrag</span> := .F. <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> Len<span style=\"color: #000000;\">&#40;</span> oDlg:<span style=\"color: #000000;\">aControls</span> <span style=\"color: #000000;\">&#41;</span> > <span style=\"color: #000000;\">0</span>, oDlg:<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">HideDots</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lDesign := .F., oDlg:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">else</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"&Design mode\"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> AEval<span style=\"color: #000000;\">&#40;</span> oDlg:<span style=\"color: #000000;\">aControls</span>, <span style=\"color: #000000;\">&#123;</span> | o | o:<span style=\"color: #000000;\">lDrag</span> := .T. <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> Len<span style=\"color: #000000;\">&#40;</span> oDlg:<span style=\"color: #000000;\">aControls</span> <span style=\"color: #000000;\">&#41;</span> > <span style=\"color: #000000;\">0</span>, oDlg:<span style=\"color: #000000;\">aControls</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">ShowDots</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lDesign := .T., oDlg:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">endif</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ENDMENU</span><br />&nbsp; &nbsp;<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">POPUP</span> oMenu <span style=\"color: #0000ff;\">WINDOW</span> oDlg <span style=\"color: #00C800;\">AT</span> nRow, nCol <span style=\"color: #B900B9;\">// SAVE</span><br />&nbsp; &nbsp;<br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> &nbsp; <br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> EditTitle<span style=\"color: #000000;\">&#40;</span> oWnd <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oDlg, oGet, cOldTitle := PadR<span style=\"color: #000000;\">&#40;</span> oWnd:<span style=\"color: #000000;\">cCaption</span>, <span style=\"color: #000000;\">100</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Dialog title\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">600</span>, <span style=\"color: #000000;\">110</span><br />&nbsp; &nbsp;<br />&nbsp; &nbsp;oWnd:<span style=\"color: #000000;\">cCaption</span> = PadR<span style=\"color: #000000;\">&#40;</span> oWnd:<span style=\"color: #000000;\">cCaption</span>, <span style=\"color: #000000;\">100</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">GET</span> oGet <span style=\"color: #0000ff;\">VAR</span> oWnd:<span style=\"color: #000000;\">cCaption</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">285</span>, <span style=\"color: #000000;\">12</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> oWnd:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">&#40;</span> AllTrim<span style=\"color: #000000;\">&#40;</span> oGet:<span style=\"color: #000000;\">GetText</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <br />&nbsp; &nbsp;<br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">18</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"&Ok\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">ACTION</span> oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">25</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"&Cancel\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oWnd:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">&#40;</span> cOldTitle <span style=\"color: #000000;\">&#41;</span>, oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br />&nbsp; &nbsp;<br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> &nbsp;<br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------//</span></div>[/code:18yb5tab]", "time": "20:26", "topic": "CAPTURAR CORDENADAS Y MOVER UN BOTTON DENTRO DE UN Dialogo", "username": "Antonio Linares" } ]
CAPTURAR CORDENADAS Y MOVER UN BOTTON DENTRO DE UN Dialogo
[ { "date": "2012-11-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Exelente , \nComo siempre muchas gracias por la ayuda, \n\nOscar Chacon", "time": "04:27", "topic": "CAPTURAR CORDENADAS Y MOVER UN BOTTON DENTRO DE UN Dialogo", "username": "guapilescity" } ]
CAPTURAR CORDENADAS Y MOVER UN BOTTON DENTRO DE UN Dialogo
[ { "date": "2012-11-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Estimados, \n\nGracias como siempre ayuda invaluable.\n\nCon respecto a el mismo topico, mi pregunta es la siguinte\n\nYa tengo los controles y sus cordenadas pero se podra hacer lo siguiente,\n\nCon el click derecho mueves el control y lo posiciconas dentro de la dlg donde yo quiero , perfecto , deseo ejecutar una accion cuando sueltas el control que tenias precionado, como podria hacerlo ? \n\nMuchas Gracias y desde ya..\n\nGuapilesCity", "time": "05:56", "topic": "CAPTURAR CORDENADAS Y MOVER UN BOTTON DENTRO DE UN Dialogo", "username": "guapilescity" } ]
CAPTURAR CORDENADAS Y MOVER UN BOTTON DENTRO DE UN Dialogo
[ { "date": "2012-11-28", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio, is there an error because I create a get with size 12 and then the source became 8 \n @ 1, 2 GET oGet VAR cVar OF oDlg SIZE 130, 12 DESIGN\n\n\n\nPrg source\n\n@ 16, 56 GET oGet SIZE 128, 8 PIXEL OF oDlg", "time": "13:16", "topic": "CAPTURAR CORDENADAS Y MOVER UN BOTTON DENTRO DE UN Dialogo", "username": "Silvio.Falconi" } ]
CAPTURAR CORDENADAS Y MOVER UN BOTTON DENTRO DE UN Dialogo
[ { "date": "2012-12-01", "forum": "FiveWin para Harbour/xHarbour", "text": "Agradezco desde ya la ayuda \n\nBUENAS , por aqui de nuevo \n\nTodo muy bien hasta que llegamos a la parte donde mueves el control creado , con el mouse.\nEl ultimo control creado mantiene sus coordenadas en el dialog pero pulsas cualquier otro control ya creado estos toman las cordenadas de ultimo control que creaste,\n\nSera posible si le damos un doble click encima de cada control creado podamos actulizar las cordendas propias de cada uno !\n\nEstoy tratando de hacer en un dlg los diferentes arqueotipos de los asientos en un autobus , como hay tanta cantidad estilos y modelos de autobuses hay que crearlos por eso es importante poder esta moviendo los controles que en este caso serias botones para dar forma un arqueotipo .\n\nGracias cualquier ayuda agradeceria.\n\nGuapilescity\nOscar Chacon", "time": "05:03", "topic": "CAPTURAR CORDENADAS Y MOVER UN BOTTON DENTRO DE UN Dialogo", "username": "guapilescity" } ]
CAPTURAR CORDENADAS Y MOVER UN BOTTON DENTRO DE UN Dialogo
[ { "date": "2011-03-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Buenos dias estimados amigos del foro\nEn el foro encontre estas funciones que estoy tratando de adecuarlas a mis necesidades, pero tengo 2 problemas.\n\n1.- cuando ligo el programa con esta funcion SetCommState( @cDcb ) ) me da un error de Windows encontro un problema y debe cerrar\n\n2.- Comentada esta funcion corre el programa , la primera vez captura la llamada y tomo de la cadena emitida el valor correspondiente al\nnumero telefonico, para al volver a intertar tomar la siguiente llamada ya no aparece nada.\n\npor favor si alguien me puede ayudar adjunto el codigo\nUtilizo xHarbour 10.4 y Fwh de abril del 2010\nGracias de antemano\n\n#include \"fiveWin.ch\"\n\nfunction fReadPort\n\nlocal cDcb, lError, nError\nlocal numero := space(8)\ncErrCode := space( 15 )\n\nif !( gnCom := OpenComm( 'COM3', 1024, 256 ) ) == 0\n*IF ! SetCommState( gnCom, cDcb )\n* nError = GetCommError( gnCom)\n* MsgInfo( \"Error al setear: \" + Str( nError ) )\n* RETURN 0\n* ELSE\n* MsgRun(\"Puerto Seteado\")\n*-ENDIF\n\nif !(BuildCommDcb( \"COM3:9600,E,8,1\", @cDcb )) //.and. SetCommState( @cDcb ) )\nnError := GetCommError( gnComm, @cErrCode )\nMsgAlert( \"Error No se pudo abrir Puerto \"+ str( nError ) + CRLF + cErrCode)\nRETURN( .f. )\nendif\nendif\n*?? 'pase open'\ncBlock=space(702)\n*nTry=0\n*?? 'antes de do'\ndo while .T.\n do while .T. //nTry<10 // can remove this nTry if not applicable\n if ( nBytes := readComm( gnComm, @cBlock) ) > 0 \n msgwait('Llamada a ingresado..','',2)\n ?? cblock\n exit\n else\n msgwait('Esperando llamada.... ','',1)\n endif\n enddo\n numero := substr(cBlock,47,10)\n*?? numero\n*Lector() //*/* Lueog lo procesamos.\n*graba_llamada(numero)\n*numero := space(8)\n\n\n if FlushComm( gnComm, 0 ) != 0\n nError = GetCommError( gnComm )\n Msgwait( 'Error Limpiando el COM Error:' ,'',.01 )\n endif\n\n if ! CloseComm( gnComm )\n nError = GetCommError( gnComm )\n Msgwait( 'No Pude cerrar el com Error: ' ,'',.01 )\n endif\n cBlock=space(702)\nif MsgYesno('Desea salir','Atencion')\n return nil\nendif\nenddo\nRETURN( .t. )\n\nfunction graba_llamada(numero)\nlocal codbus\nDBSELECTAREA(\"tregis\")\nordSetfocus(\"iregis\")\n*dbgotop()\nif regismas(codbus:=numero)\n ponlock()\n trtelefono := numero\n trfecha := date()\n quilock()\nendif\n\nreturn nil", "time": "14:02", "topic": "CAPTURAR LAMADA DE CENTRAL TELEFONICA", "username": "EASYSOFT" } ]
CAPTURAR LAMADA DE CENTRAL TELEFONICA
[ { "date": "2011-03-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola buenas tardes\n\nUna solución es la siguiente\nal principio del programa abres el puerto utilizando las mismas funciones con sus respectivas validaciones como lo estas haciendo \n\nFunction Main\n nCommB := OpenComm( )\n BuildCommDcb()\n SetCommState( )\n.\n. llamado de Funciones\n.\n closecomm()\n\nPrimero que no estas abriendo y cerrando el puerto cada vez que estas registrando una llamada y segundo te evitas el error del SetCommState( )\n\ndejas la misma función sin la parte de abrir y cerrar los puerto\n\nfunction l fReadPort\ncBlock=space(702)\n*nTry=0\n*?? 'antes de do'\ndo while .T.\ndo while .T. //nTry<10 // can remove this nTry if not applicable\nif ( nBytes := readComm( gnComm, @cBlock) ) > 0 \nmsgwait('Llamada a ingresado..','',2)\n?? cblock\nexit\nelse\nmsgwait('Esperando llamada.... ','',1)\nendif\nenddo\nnumero := substr(cBlock,47,10)\n*?? numero\n*Lector() //*/* Lueog lo procesamos.\n*graba_llamada(numero)\n*numero := space(8)\n\n\nif FlushComm( gnComm, 0 ) != 0\nnError = GetCommError( gnComm )\nMsgwait( 'Error Limpiando el COM Error:' ,'',.01 )\nendif\n\ncBlock=space(702)\nif MsgYesno('Desea salir','Atencion')\nreturn nil\nendif\nenddo\nRETURN( .t. )\n\nle quitas el closecomm() que debe ir es cuando vas a cerrar por completo el programa \n\nrecomendación puedes usar el FlushComm( gnComm, 1 ) para que limpie la cola de recepción.\n\nEso sirve bien para balanzas, abrir gavetas, llamadas todo lo relacionado con puerto\n\nIng. Luis Duque - Venezuela", "time": "19:31", "topic": "CAPTURAR LAMADA DE CENTRAL TELEFONICA", "username": "luisduque" } ]
CAPTURAR LAMADA DE CENTRAL TELEFONICA
[ { "date": "2011-03-14", "forum": "FiveWin para Harbour/xHarbour", "text": "Luis Muchas gracias\nvoy a probar y comunico los resultados", "time": "14:33", "topic": "CAPTURAR LAMADA DE CENTRAL TELEFONICA", "username": "EASYSOFT" } ]
CAPTURAR LAMADA DE CENTRAL TELEFONICA
[ { "date": "2013-12-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola,\n\nalguien sabe como puedo capturar, sin redefinir el bkeydown del xbrowse, las teclas flecha der y flecha izq ?\n\nGracias.\nSaludos. Ariel.", "time": "16:42", "topic": "CAPTURAR VK_LEFT / _RIGHT", "username": "Ariel" } ]
CAPTURAR VK_LEFT / _RIGHT
[ { "date": "2013-12-12", "forum": "FiveWin para Harbour/xHarbour", "text": "if GetKeyState( VK_LEFT )\n..\nelse GetAsyncKeyState( VK_RIGHT )\n..\nendif\n\nno sirve?", "time": "19:49", "topic": "CAPTURAR VK_LEFT / _RIGHT", "username": "karinha" } ]
CAPTURAR VK_LEFT / _RIGHT
[ { "date": "2013-12-14", "forum": "FiveWin para Harbour/xHarbour", "text": "Nop, no lo reconoce... la unica forma que lo pude solucionar fue sobreescribiendo el bkeydown\n\nFunction ModifyClass()\n\nOVERRIDE METHOD KeyDown IN CLASS TXBrowse WITH METHOD xBrwKeyDown\n\nEXTEND CLASS TXBrowse WITH DATA bMyKeyDown\n\nReturn NIL\n\nsalu2.", "time": "14:33", "topic": "CAPTURAR VK_LEFT / _RIGHT", "username": "Ariel" } ]
CAPTURAR VK_LEFT / _RIGHT
[ { "date": "2013-12-16", "forum": "FiveWin para Harbour/xHarbour", "text": "<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=6&t=27066&p=150398&hilit=CAPTURAR+VK_LEFT#p150398\">viewtopic.php?f=6&t=27066&p=150398&hilit=CAPTURAR+VK_LEFT#p150398</a><!-- l -->", "time": "12:05", "topic": "CAPTURAR VK_LEFT / _RIGHT", "username": "karinha" } ]
CAPTURAR VK_LEFT / _RIGHT
[ { "date": "2021-09-22", "forum": "mod_harbour", "text": "From FB - modharbour.club\n\n\ndear friends, would you be so kind as to give an example of how to fill the bootstrap 4 -> card-columns from w3 school from database? I would need 4 columns: image, title, text and button. it would be great if you could show me how this is done...kind regards and thanks in advance ruth\n[code=fw:38mlmuzd]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><!DOCTYPE html><br /><html lang=<span style=\"color: #ff0000;\">\"en\"</span>><br /><head><br />  <title>Bootstrap Example</title><br />  <meta charset=<span style=\"color: #ff0000;\">\"utf-8\"</span>><br />  <meta <span style=\"color: #0000ff;\">name</span>=<span style=\"color: #ff0000;\">\"viewport\"</span> content=<span style=\"color: #ff0000;\">\"width=device-width, initial-scale=1\"</span>><br />  <link rel=<span style=\"color: #ff0000;\">\"stylesheet\"</span> href=<span style=\"color: #ff0000;\">\"https://maxcdn.bootstrapcdn.com/.../css/bootstrap.min.css\"</span>><br />  <script src=<span style=\"color: #ff0000;\">\"https://ajax.googleapis.com/.../jquery/3.5.1/jquery.min.js\"</span>></script><br />  <script src=<span style=\"color: #ff0000;\">\"https://cdnjs.cloudflare.com/.../1.16.0/umd/popper.min.js\"</span>></script><br />  <script src=<span style=\"color: #ff0000;\">\"https://maxcdn.bootstrapcdn.com/.../js/bootstrap.min.js\"</span>></script><br /></head><br /><body><br /><div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"container\"</span>><br /><br /><br /><br /><br /><div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card-columns\"</span>><br />  <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card\"</span>><br />    <img <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card-img-top\"</span> src=<span style=\"color: #ff0000;\">\"img_avatar1.png\"</span> alt=<span style=\"color: #ff0000;\">\"Card image\"</span> <span style=\"color: #0000ff;\">style</span>=<span style=\"color: #ff0000;\">\"width:100%\"</span>><br />    <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card-body\"</span>><br />      <h4 <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card-title\"</span>>John Doe</h4><br />      <p <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card-text\"</span>>Some example <span style=\"color: #0000ff;\">text</span> some example <span style=\"color: #0000ff;\">text</span>. John Doe is an architect and engineer</p><br />      <a href=<span style=\"color: #ff0000;\">\"#\"</span> <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"btn btn-primary\"</span>>See Profile</a><br />    </div><br />  </div><br />    <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card\"</span>><br />    <img <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card-img-top\"</span> src=<span style=\"color: #ff0000;\">\"img_avatar1.png\"</span> alt=<span style=\"color: #ff0000;\">\"Card image\"</span> <span style=\"color: #0000ff;\">style</span>=<span style=\"color: #ff0000;\">\"width:100%\"</span>><br />    <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card-body\"</span>><br />      <h4 <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card-title\"</span>>John Doe</h4><br />      <p <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card-text\"</span>>Some example <span style=\"color: #0000ff;\">text</span> some example <span style=\"color: #0000ff;\">text</span>. John Doe is an architect and engineer</p><br />      <a href=<span style=\"color: #ff0000;\">\"#\"</span> <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"btn btn-primary\"</span>>See Profile</a><br />    </div><br />  </div><br />    <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card\"</span>><br />    <img <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card-img-top\"</span> src=<span style=\"color: #ff0000;\">\"img_avatar1.png\"</span> alt=<span style=\"color: #ff0000;\">\"Card image\"</span> <span style=\"color: #0000ff;\">style</span>=<span style=\"color: #ff0000;\">\"width:100%\"</span>><br />    <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card-body\"</span>><br />      <h4 <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card-title\"</span>>John Doe</h4><br />      <p <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card-text\"</span>>Some example <span style=\"color: #0000ff;\">text</span> some example <span style=\"color: #0000ff;\">text</span>. John Doe is an architect and engineer</p><br />      <a href=<span style=\"color: #ff0000;\">\"#\"</span> <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"btn btn-primary\"</span>>See Profile</a><br />    </div><br />  </div><br />    <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card\"</span>><br />    <img <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card-img-top\"</span> src=<span style=\"color: #ff0000;\">\"img_avatar1.png\"</span> alt=<span style=\"color: #ff0000;\">\"Card image\"</span> <span style=\"color: #0000ff;\">style</span>=<span style=\"color: #ff0000;\">\"width:100%\"</span>><br />    <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card-body\"</span>><br />      <h4 <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card-title\"</span>>John Doe</h4><br />      <p <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card-text\"</span>>Some example <span style=\"color: #0000ff;\">text</span> some example <span style=\"color: #0000ff;\">text</span>. John Doe is an architect and engineer</p><br />      <a href=<span style=\"color: #ff0000;\">\"#\"</span> <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"btn btn-primary\"</span>>See Profile</a><br />    </div><br />  </div><br />    <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card\"</span>><br />    <img <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card-img-top\"</span> src=<span style=\"color: #ff0000;\">\"img_avatar1.png\"</span> alt=<span style=\"color: #ff0000;\">\"Card image\"</span> <span style=\"color: #0000ff;\">style</span>=<span style=\"color: #ff0000;\">\"width:100%\"</span>><br />    <div <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card-body\"</span>><br />      <h4 <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card-title\"</span>>John Doe</h4><br />      <p <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"card-text\"</span>>Some example <span style=\"color: #0000ff;\">text</span> some example <span style=\"color: #0000ff;\">text</span>. John Doe is an architect and engineer</p><br />      <a href=<span style=\"color: #ff0000;\">\"#\"</span> <span style=\"color: #00C800;\">class</span>=<span style=\"color: #ff0000;\">\"btn btn-primary\"</span>>See Profile</a><br />    </div><br />  </div><br />  </div><br /> </div><br /></body><br /></html></div>[/code:38mlmuzd]", "time": "09:18", "topic": "CARD_COLUMN (example is called SUBMARINE )", "username": "Otto" } ]
CARD_COLUMN (example is called SUBMARINE )
[ { "date": "2021-09-22", "forum": "mod_harbour", "text": "Ruth, you can test the program here:\n[url:2x1arzdh]https&#58;//www&#46;modharbour&#46;club/cardcolumns/index&#46;prg[/url:2x1arzdh]\nDownload link for the program:\n[url:2x1arzdh]https&#58;//www&#46;modharbour&#46;club/cardcolumns/cardcolumns&#46;zip[/url:2x1arzdh]", "time": "09:18", "topic": "CARD_COLUMN (example is called SUBMARINE )", "username": "Otto" } ]
CARD_COLUMN (example is called SUBMARINE )
[ { "date": "2021-09-22", "forum": "mod_harbour", "text": "Live Demo: [url:tez81lsd]https&#58;//www&#46;modharbour&#46;club/cardcolumns/index&#46;prg[/url:tez81lsd]\n\nDOWNLOAD: [url:tez81lsd]https&#58;//www&#46;modharbour&#46;club/cardcolumns/submarine&#46;zip[/url:tez81lsd]\n\n[img:tez81lsd]https&#58;//mybergland&#46;com/fwforum/submarine2&#46;jpg[/img:tez81lsd]", "time": "10:22", "topic": "CARD_COLUMN (example is called SUBMARINE )", "username": "Otto" } ]
CARD_COLUMN (example is called SUBMARINE )
[ { "date": "2021-09-22", "forum": "mod_harbour", "text": "[b:g5prurx4]Project name \"SUBMARINE\"[/b:g5prurx4]\ntemplate for a web page\ndata comes from a DBF file\nbootstrap 4 -> card-columns from w3 school\nadded a bs4 w3school slider snippet\nLive-Demo\n<!-- m --><a class=\"postlink\" href=\"https://www.modharbour.club/submarine/index.prg\">https://www.modharbour.club/submarine/index.prg</a><!-- m -->\nDownload\n<!-- m --><a class=\"postlink\" href=\"https://www.modharbour.club/submarine/submarine.zip\">https://www.modharbour.club/submarine/submarine.zip</a><!-- m -->", "time": "19:34", "topic": "CARD_COLUMN (example is called SUBMARINE )", "username": "Otto" } ]
CARD_COLUMN (example is called SUBMARINE )
[ { "date": "2017-05-12", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola buenas tardes esperando que se encuentren bien les envio cordial saludos.\n\nDespues de tanto tiempo que no entraba al foro y deje de programar un buen de meses,ahora me solicitan un detalle.\n\n1.- Me piden que desarrolle un calendario como si fuera citas medicas.\nPero en ese caso es un calendario para los contadores o auxiliares contables que lleven su control o sepan que fechas haran presentacion de impuestos o sea declaracion mensual de impuestos a una fecha limite segun su RFC de la empresa y que sea automatico ya que mes a mes es la misma de fechas a presentar segun su RFC.\nY que surja como si fuera alarma o AVISO avisando que faltan equis dias para la declaracion de ISR despues del cierre del mes contable.\n\nLas declaraciones a presentar son estas: ...\n\n En orden: ...\n[b:1dqojy5l]ISR e IVA ->Fecha limite a presentar Calendarizado\nDIOT -> Fecha limite a presentar Calendarizado\n3% sobre nomina ->Fecha limite a presentar Calendarizado\n3% hospedaje ->Fecha limite a presentar Calendarizado\nCuota de IMSS e Infonavit ->Fecha limite a presentar Calendarizado\n[/b:1dqojy5l]\nExiste alguna clase o algo parecido que hayan desarrollado con esas caracteristicas?\nAlgun ejemplo estandarizado para ese proposito que pretendo desarrollar ya que se me viene a la cabeza pero aun asi me falta mas por aclarar mis dudas respecto a crear ese tipo de calendario.\n\n\n2.- Los contadores y auxiliares contables desean llevar un mejor control de sus archivos en un sistema automatizado sin necesidad de estar buscando o copiando sus archivos descargados ya sea .PDF de IDSE,SIPARE, etc etc etc . entre las carpetas de los archivos compartidos en RED del servidor...\n\nEjemplo en la actualidad los contadores tienen que acceder a las carpetas:\n\n..\\\\servidor\\Archivos\\ISLA HOMES\\Ene2016\\Nominas ->archivos .pdf\n ISLA HOMES\\Ene2017\\Nominas ->archivos .pdf \n\n..\\\\\\servidor\\Fiscal\\ISLA HOMES\\ENE2016\\3%SOBRE NOMINA\\ ->Archivos .doc ó .PDF\n ETC, ETC, ETC,....\n\nY ahora lo que necesitan los contadores o auxiliares contables es tener un sistema desarrollado con esas caracteristicas, o sea almacenar toda esa informacion cargando al sistema todos los archivos \"ESPECIFICAMENTE ARCHIVOS DE DECLARACION DE IMPUESTOS\" con el ejemplo que les puse arriba mencionado al sistema.\n\nComo puedo cargar esos archivos al sistema que pretendo desarrollar y que a su vez el usuario con solo darle click accese a la informacion ya sea PDF,excel,documentos de word etc etc etc sin necesidad de estar buscando entre todas las carpetas del servidor ya que el sistema nismo ya lo tiene ubicado la ruta de los archivos del servidor..!\n\nY otro punto como puedo hacer que en el mismo sistema el usuario copie el archivo o pegue equis archivo al sistema de la ruta ubicada sin necesidad de estar buscando en la red a copiar el archivo que descargara de internet, se puede hacer eso?\n\nY por ultimo el sistema se puede cargar los archivos automaticamente o a su vez en forma manual segun el usuario desea hacer en el sistema.\n\nPor favor necesito sugerencias, ejemplos ideas y los campos a crear .\n\nDe antemano les agradecere mucho su ayuda de todos ustedes en este foro que siempre ayudan y comparten sus experiencias.\n\nAtte: Adriano Casanova C.\n<!-- e --><a href=\"mailto:acc69@hotmail.com\">acc69@hotmail.com</a><!-- e -->", "time": "23:54", "topic": "CARGAR ARCHIVOS A DBF DESDE DISCO DURO", "username": "ACC69" } ]
CARGAR ARCHIVOS A DBF DESDE DISCO DURO
[ { "date": "2017-05-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Saludos ACC, para lo del calendario...lo mas recomendado es la clase TCalex de Daniel Gil que esta en los repositorios, coloca ese nombre en el buscador y tendras mucha informacion...en relacion a los demas temas, hay que analizar un poco mas la informacion de lo que requieres, ya que uno dice las cosas de forma casi resumen, pero al desarrollar sale cada detallito y periquito que tomar en cuenta. El otro punto es cuanto tiempo dispones para el desarrollo...y que tipo de almacenamiento de la informacion piensas usar.?...saludos... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->", "time": "03:08", "topic": "CARGAR ARCHIVOS A DBF DESDE DISCO DURO", "username": "joseluisysturiz" } ]
CARGAR ARCHIVOS A DBF DESDE DISCO DURO
[ { "date": "2017-05-15", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"joseluisysturiz\":4s1fx82j]Saludos ACC, para lo del calendario...lo mas recomendado es la clase TCalex de Daniel Gil que esta en los repositorios, coloca ese nombre en el buscador y tendras mucha informacion...en relacion a los demas temas, hay que analizar un poco mas la informacion de lo que requieres, ya que uno dice las cosas de forma casi resumen, pero al desarrollar sale cada detallito y periquito que tomar en cuenta. El otro punto es cuanto tiempo dispones para el desarrollo...y que tipo de almacenamiento de la informacion piensas usar.?...saludos... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->[/quote:4s1fx82j]\n\n\nHola Ing. Luis gracias por responder .\nEn el punto numero 2:\nPues algo sencillo que se cargue en forma manual los archivos de documentos,excel,que se encuentren en la red del servidor y el tipo de almacenamiento es dbf por el momento es algo sencillo, pero no encuentro la luz por donde empezar solo requiero como cargar esos archivos y que el usuario con solo darle click en los archivos a seleccionar dentro del sistema abra cada documento y tengo en mente hacerlo desde txbrowse\nAlgo asi:\n\nNombre de la carpeta Ruta del archivo\n------------------------------------------------------\n\nMas o menos con ese ejemplo dentro del txbrowse o alguna idea mas o sugerencias.\nSeria como otro ejemplo cargar archivos de fotos .bmp ,png, etc ??\nPero como se podria hacer en forma automacia con solo darle click con F5 y actualice archivos descargados o copiados a sus respectivos carpetas de origen\n\nEn el caso del calendario ya tengo en mente solo necesito la clase que le solicite al ing. Cristobal.\n\nGracias Ing. Luis.\n\nSaludos", "time": "17:06", "topic": "CARGAR ARCHIVOS A DBF DESDE DISCO DURO", "username": "ACC69" } ]
CARGAR ARCHIVOS A DBF DESDE DISCO DURO
[ { "date": "2017-05-16", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"ACC69\":2em2v6lx][quote=\"joseluisysturiz\":2em2v6lx]Saludos ACC, para lo del calendario...lo mas recomendado es la clase TCalex de Daniel Gil que esta en los repositorios, coloca ese nombre en el buscador y tendras mucha informacion...en relacion a los demas temas, hay que analizar un poco mas la informacion de lo que requieres, ya que uno dice las cosas de forma casi resumen, pero al desarrollar sale cada detallito y periquito que tomar en cuenta. El otro punto es cuanto tiempo dispones para el desarrollo...y que tipo de almacenamiento de la informacion piensas usar.?...saludos... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->[/quote:2em2v6lx]\n\n\nHola Ing. Luis gracias por responder .\nEn el punto numero 2:\nPues algo sencillo que se cargue en forma manual los archivos de documentos,excel,que se encuentren en la red del servidor y el tipo de almacenamiento es dbf por el momento es algo sencillo, pero no encuentro la luz por donde empezar solo requiero como cargar esos archivos y que el usuario con solo darle click en los archivos a seleccionar dentro del sistema abra cada documento y tengo en mente hacerlo desde txbrowse\nAlgo asi:\n\nNombre de la carpeta Ruta del archivo\n------------------------------------------------------\n\nMas o menos con ese ejemplo dentro del txbrowse o alguna idea mas o sugerencias.\nSeria como otro ejemplo cargar archivos de fotos .bmp ,png, etc ??\nPero como se podria hacer en forma automacia con solo darle click con F5 y actualice archivos descargados o copiados a sus respectivos carpetas de origen\n\nEn el caso del calendario ya tengo en mente solo necesito la clase que le solicite al ing. Cristobal.\n\nGracias Ing. Luis.\n\nSaludos[/quote:2em2v6lx]\n\nSaludos, en el tema de subir archivo te recomendaria usar DATABASE(mysql, mariadb, etc) en vez de DBF, ya que puedes cargarlo en un campo blog(memo), asi como se cargan las imagenes, asi para donde se mueva la TABLA contenedora de los datos, estaran los documentos, sobre ese tema hay aca en el foro, la colega AIDA hizo algo parecido pero con PDF, busca aca en el foro y encontraras informacion relacionada.\n\nEn relacion a lo del calendario, la clase que le pedistes a Navarro creo es la misma que te sugeri...cualquier ayuda, todos en el foro estamos a la orden...creo para eso somos un foro...DAR DE IGUAL FORMA LO QUE RECIBAIS..esto lo dijo San XBase, jejeje, saludos, gracias... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: --> \n\n<!-- m --><a class=\"postlink\" href=\"https://phenobarbital.wordpress.com/2007/08/03/cargar-datos-en-mysql-con-load-data-infile/\">https://phenobarbital.wordpress.com/200 ... ta-infile/</a><!-- m -->", "time": "03:55", "topic": "CARGAR ARCHIVOS A DBF DESDE DISCO DURO", "username": "joseluisysturiz" } ]
CARGAR ARCHIVOS A DBF DESDE DISCO DURO
[ { "date": "2017-05-16", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"joseluisysturiz\":1d4q1ep8][quote=\"ACC69\":1d4q1ep8][quote=\"joseluisysturiz\":1d4q1ep8]Saludos ACC, para lo del calendario...lo mas recomendado es la clase TCalex de Daniel Gil que esta en los repositorios, coloca ese nombre en el buscador y tendras mucha informacion...en relacion a los demas temas, hay que analizar un poco mas la informacion de lo que requieres, ya que uno dice las cosas de forma casi resumen, pero al desarrollar sale cada detallito y periquito que tomar en cuenta. El otro punto es cuanto tiempo dispones para el desarrollo...y que tipo de almacenamiento de la informacion piensas usar.?...saludos... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->[/quote:1d4q1ep8]\n\n\nHola Ing. Luis gracias por responder .\nEn el punto numero 2:\nPues algo sencillo que se cargue en forma manual los archivos de documentos,excel,que se encuentren en la red del servidor y el tipo de almacenamiento es dbf por el momento es algo sencillo, pero no encuentro la luz por donde empezar solo requiero como cargar esos archivos y que el usuario con solo darle click en los archivos a seleccionar dentro del sistema abra cada documento y tengo en mente hacerlo desde txbrowse\nAlgo asi:\n\nNombre de la carpeta Ruta del archivo\n------------------------------------------------------\n\nMas o menos con ese ejemplo dentro del txbrowse o alguna idea mas o sugerencias.\nSeria como otro ejemplo cargar archivos de fotos .bmp ,png, etc ??\nPero como se podria hacer en forma automacia con solo darle click con F5 y actualice archivos descargados o copiados a sus respectivos carpetas de origen\n\nEn el caso del calendario ya tengo en mente solo necesito la clase que le solicite al ing. Cristobal.\n\nGracias Ing. Luis.\n\nSaludos[/quote:1d4q1ep8]\n\nSaludos, en el tema de subir archivo te recomendaria usar DATABASE(mysql, mariadb, etc) en vez de DBF, ya que puedes cargarlo en un campo blog(memo), asi como se cargan las imagenes, asi para donde se mueva la TABLA contenedora de los datos, estaran los documentos, sobre ese tema hay aca en el foro, la colega AIDA hizo algo parecido pero con PDF, busca aca en el foro y encontraras informacion relacionada.\n\nEn relacion a lo del calendario, la clase que le pedistes a Navarro creo es la misma que te sugeri...cualquier ayuda, todos en el foro estamos a la orden...creo para eso somos un foro...DAR DE IGUAL FORMA LO QUE RECIBAIS..esto lo dijo San XBase, jejeje, saludos, gracias... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: --> \n\n<!-- m --><a class=\"postlink\" href=\"https://phenobarbital.wordpress.com/2007/08/03/cargar-datos-en-mysql-con-load-data-infile/\">https://phenobarbital.wordpress.com/200 ... ta-infile/</a><!-- m -->[/quote:1d4q1ep8]\n\n\nBuenos dias Ing. Jose Luis gracias por esta sugerencia no se me habia pasado por la mente, pero ya tengo buen avance ya que les urge este sencillo sistema pero tomare en cuenta su sugerencia, pero me surgen otras dudas pero ahi lo voy resolviendo paso a paso.\n\nCual es el metodo para que me lea desde disco duro a mi sistema ejecutable [b:1d4q1ep8]fecha y hora de la creacion,tipo de archivo y tamaño del equis archivo[/b:1d4q1ep8].\nAlguien me pueda apoyar???\n\nEn el disco duro de la unidad se lee asi...que metodo puedo cargar a mi sistema lo que mencione anteriormente.\n\n[b:1d4q1ep8]Nombre Fecha de modificacion Tipo Tamaño\n-------------------------------------------------------------------------------------------------------[/b:1d4q1ep8]\n\nEsperando contar con su amable apoyo y respuesta favorable,quedo de ustedes.\n\nSaludos y buen dia.\nAtte: Adriano C. C.", "time": "15:40", "topic": "CARGAR ARCHIVOS A DBF DESDE DISCO DURO", "username": "ACC69" } ]
CARGAR ARCHIVOS A DBF DESDE DISCO DURO
[ { "date": "2017-05-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola buenos dias alguien que me pueda ayudar que metodo debo cargar a mi sistema de lo mencionado anteriormente?? o no me di a entender lo que requiero hacer.\nPorfas \n\nGracias.\nAtte: Adriano C. C.", "time": "15:31", "topic": "CARGAR ARCHIVOS A DBF DESDE DISCO DURO", "username": "ACC69" } ]
CARGAR ARCHIVOS A DBF DESDE DISCO DURO
[ { "date": "2017-05-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Si lo que quieres es la información sobre un fichero concreto, podrías utilizar\n[code=fw:317mxtve]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #0000ff;\">XBrowse</span><span style=\"color: #000000;\">&#40;</span> DIRECTORY<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"myfile.ext\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:317mxtve]", "time": "15:50", "topic": "CARGAR ARCHIVOS A DBF DESDE DISCO DURO", "username": "cnavarro" } ]
CARGAR ARCHIVOS A DBF DESDE DISCO DURO
[ { "date": "2017-05-18", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"cnavarro\":i89ktsdx]Si lo que quieres es la información sobre un fichero concreto, podrías utilizar\n[code=fw:i89ktsdx]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #0000ff;\">XBrowse</span><span style=\"color: #000000;\">&#40;</span> DIRECTORY<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"myfile.ext\"</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:i89ktsdx][/quote:i89ktsdx]\n\n\nGracias por responder Ing. Cristobal, hago las pruebas y comento respecto a la informacion recabada de disco duro de los ficheros de documentos.\n\nSaludos y buen dia.!\n\nAtte: Adriano C. C.", "time": "15:55", "topic": "CARGAR ARCHIVOS A DBF DESDE DISCO DURO", "username": "ACC69" } ]
CARGAR ARCHIVOS A DBF DESDE DISCO DURO
[ { "date": "2013-04-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola amigos, alguno de ustedes sabe donde puedo encontrar imagenes bmp de COMIDAS, BEBIDAS, TRAGOS, ETC. Para restaurantes, quiero incorporar imagenes a los botones de un punto de venta.\n\nGracias,\nJuan Fco. Vásquez M.\nRep. Dom. \nSantiago", "time": "18:00", "topic": "CARPETA CON IMAGENES BMP PARA COMIDAS Y BEBIDAS DE RESTAURAN", "username": "juan fco. vasquez Mendoza" } ]
CARPETA CON IMAGENES BMP PARA COMIDAS Y BEBIDAS DE RESTAURAN
[ { "date": "2013-04-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Aca hay muchas gratuitas y en las utilidades del foro, hay otros link de imagenes e iconos gratis, en este que te pongo puedes colocar el tema y te traera imagenes relacionadas, espero te sirva, igual en google puedes colocar cosas relacionadas con restaurant en la pestaña imagenes, saludos.. <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: --> \n\n<!-- m --><a class=\"postlink\" href=\"http://es.all-free-download.com/\">http://es.all-free-download.com/</a><!-- m -->\n\nuno directo\n\n<!-- m --><a class=\"postlink\" href=\"http://es.all-free-download.com/vectores-gratis/vector-icono/restaurante_de_cocina_vector_icono_02_152654.html\">http://es.all-free-download.com/vectore ... 52654.html</a><!-- m -->", "time": "03:16", "topic": "CARPETA CON IMAGENES BMP PARA COMIDAS Y BEBIDAS DE RESTAURAN", "username": "joseluisysturiz" } ]
CARPETA CON IMAGENES BMP PARA COMIDAS Y BEBIDAS DE RESTAURAN
[ { "date": "2013-04-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias Hermano, bendiciones\n\nSaludos,\nJuan", "time": "17:41", "topic": "CARPETA CON IMAGENES BMP PARA COMIDAS Y BEBIDAS DE RESTAURAN", "username": "juan fco. vasquez Mendoza" } ]
CARPETA CON IMAGENES BMP PARA COMIDAS Y BEBIDAS DE RESTAURAN
[ { "date": "2006-01-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola a todos:\n\nHace un rato estaba navegando en la pagina de ADS, y me encontre con esta excelente herramienta para diseño de bases de datos SQL:\n\n[url:2erdk7lq]http&#58;//www&#46;casestudio&#46;com[/url:2erdk7lq]\n\nPara los que no sepan que es CASE, son las iniciales de Computer Aided Software Engineering, o Ingenieria de Software Auxiliada por Computadora.\n\nLo que me gusto muchísimo es que soporta diseño de practicametne cualquier producto SQL, y no SQL, porque soporta diseño para Clipper 5.x, Advantage Database Server y los favoritos SQL de los programadores (x)Harbour: MySQL, Access, FireBird y SQL Server.\n\nGenera diagramas entidad relacion, relaciones multiples, integridad referencial, crea las tablas y todo lo necesario para un buen diseño de bases de datos.", "time": "20:20", "topic": "CASE Studio 2, para diseño y modelado de base de datos", "username": "R.F." } ]
CASE Studio 2, para diseño y modelado de base de datos
[ { "date": "2006-01-24", "forum": "FiveWin para Harbour/xHarbour", "text": "Le daremos un vistazo con mucho gusto", "time": "00:12", "topic": "CASE Studio 2, para diseño y modelado de base de datos", "username": "armandini" } ]
CASE Studio 2, para diseño y modelado de base de datos
[ { "date": "2006-01-24", "forum": "FiveWin para Harbour/xHarbour", "text": "Rene:\nHas probado Dezign for databases - <!-- m --><a class=\"postlink\" href=\"http://www.datanamic.com/dezign/\">http://www.datanamic.com/dezign/</a><!-- m --> ?\nQue mejoras trae sobre él ?\n\nSaludos,", "time": "15:59", "topic": "CASE Studio 2, para diseño y modelado de base de datos", "username": "José Luis Sánchez" } ]
CASE Studio 2, para diseño y modelado de base de datos
[ { "date": "2006-01-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Rene,\n\n Esto es un asunto que me interesa muchisimo. Por lo tanto, me gustaria de saber si alguno de ustedes usa el CASE Studio 2 o alguna otra herramienta CASE pues deseo empezar a usar algo como el CASE Studio 2 y no sé por donde empezar.\n\nSaludos,\n\nKleyber Derick", "time": "03:19", "topic": "CASE Studio 2, para diseño y modelado de base de datos", "username": "Kleyber" } ]
CASE Studio 2, para diseño y modelado de base de datos
[ { "date": "2014-03-04", "forum": "FiveWin for Pocket PC", "text": "Hello\n\nI have been asked to get my WindowsMobile application running on a CASIO IT-9000. The program runs OK and done the work to cope with a much higher screen resolution.\n\nHowever the main reason for using this new hardware is it has a built in printer. We are used to using the COM port to send commands to the printer via BlueTooth, but this device has its own Library PrinterLib.lib which I am struggling to link into our exe.\n\nI have been told to use the following library from the CASIO SDK C:\\Program Files (x86)\\CASIO\\MBSys\\LIB\\ARMV4I\\PrinterLib.lib but I get the following error.\n\nNMAKE : fatal error U1077: 'p:\\vce\\bin\\link' : return code '0x458'\nStop.\nPrinterLib.lib(PrinterLib.dll) : fatal error LNK1112: module machine type 'THUMB' conflicts with target machine type 'ARM'\n\nIt looks like the LIB has not been compiled for ARM but I have contacted CASIO and they sent me a PrinterLib.lib from one of there developers working on this device but of course he is using Visual Studio which is the supported development platform.\n\nAny suggestions? Has anyone else got this device printing using FiveWin for Pocket PC?\n\nRegards\nChris Millard", "time": "15:42", "topic": "CASIO PrinterLib.lib", "username": "ChrisMillard" } ]
CASIO PrinterLib.lib
[ { "date": "2014-06-17", "forum": "FiveWin for Pocket PC", "text": "Hello,\n\nI have an APP on Casio IT 3000 with a built in printer, printing OK. \n\nTry add this link option: /MACHINE:THUMB", "time": "11:45", "topic": "CASIO PrinterLib.lib", "username": "Salvador" } ]
CASIO PrinterLib.lib
[ { "date": "2023-11-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Estimados amigo,\nobtengo esta cadena JSON pero no puedo procesar la informacion que continua a \"licencia\", gracias por vuestro apoyo\n\n{\"status\":200,\"message\":\"Exito\",\"data\":{\"numero_documento\":\"23869035\",\"grupo_sanguineo\":\"O+\",\"donacion_organos\":\"SI\",\"licencia\":[{\"numero\":\"Z23869035\",\"categoria\":\"A I\",\"fecha_vencimiento\":\"09/03/2031\",\"estado\":\"VIGENTE\",\"restricciones\":\"CON LENTES\"}]}}", "time": "04:52", "topic": "CAdena JSON", "username": "Willi Quintana" } ]
CAdena JSON
[ { "date": "2023-11-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Willi, prueba de esta manera:\n\n[code=fw:1hsiw33u]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />cJs := <span style=\"color: #ff0000;\">'{\"status\":200,\"message\":\"Exito\",\"data\":{\"numero_documento\":\"23869035\",\"grupo_sanguineo\":\"O+\",\"donacion_organos\":\"SI\",\"licencia\":[{\"numero\":\"Z23869035\",\"categoria\":\"A I\",\"fecha_vencimiento\":\"09/03/2031\",\"estado\":\"VIGENTE\",\"restricciones\":\"CON LENTES\"}]}}'</span><br />hJs := <span style=\"color: #ff0000;\">\"\"</span><br />hb_jsonDecode<span style=\"color: #000000;\">&#40;</span>cJs,@hJs<span style=\"color: #000000;\">&#41;</span><br />hDat := hJs<span style=\"color: #000000;\">&#91;</span><span style=\"color: #ff0000;\">\"data\"</span><span style=\"color: #000000;\">&#93;</span><br />aLic := hDat<span style=\"color: #000000;\">&#91;</span><span style=\"color: #ff0000;\">\"licencia\"</span><span style=\"color: #000000;\">&#93;</span><br />hLic := aLic<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span><br />? hLic<span style=\"color: #000000;\">&#91;</span><span style=\"color: #ff0000;\">\"numero\"</span><span style=\"color: #000000;\">&#93;</span><br /> </div>[/code:1hsiw33u]\n\nSaludos cordiales.\n\nCarlos.", "time": "13:57", "topic": "CAdena JSON", "username": "csincuir" } ]
CAdena JSON
[ { "date": "2023-11-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias Carlos, funcionó perfectamente", "time": "16:01", "topic": "CAdena JSON", "username": "Willi Quintana" } ]
CAdena JSON
[ { "date": "2010-07-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola,\n\nAlguien tiene alguna funcion para calcular el RFC ?\n\nGracias\n\nRene", "time": "00:28", "topic": "CAlculo RFC Mexico", "username": "rene.montano" } ]
CAlculo RFC Mexico
[ { "date": "2010-07-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Hecha un vistazo a este link, talvez sea lo que buscas...\n\n[url:18ihqj2v]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=6&t=1380&p=5750&hilit=rfc#p5750[/url:18ihqj2v]", "time": "00:33", "topic": "CAlculo RFC Mexico", "username": "Bayron" } ]
CAlculo RFC Mexico
[ { "date": "2019-12-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello, \nI did this simple test:\n[code=fw:3uk9ydan]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <fivewin.ch><br /><br />proc main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">LOCAL</span> oWnd, oCombo, cValue<span style=\"color: #B900B9;\">// := Space(100)</span><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br />   @ <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oCombo <span style=\"color: #0000ff;\">VAR</span> cValue <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">200</span>,<span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">STYLE</span> CBS_DROPDOWN<br />   <span style=\"color: #B900B9;\">//oCombo:oGet:SetSel() //this does nothing</span><br />   <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd</div>[/code:3uk9ydan]\n\nMy problem is that when the application starts, the text inside the combobox is all selected:\n[img:3uk9ydan]https&#58;//i&#46;imgur&#46;com/HnhXBhL&#46;png[/img:3uk9ydan]\n\nI see there is no way to avoid the TGet creation on CBS_DROPDOWN, personally I would prefer the TEdit control", "time": "17:09", "topic": "CBS_DROPDOWN select all empty text", "username": "AntoninoP" } ]
CBS_DROPDOWN select all empty text
[ { "date": "2019-12-12", "forum": "FiveWin for Harbour/xHarbour", "text": "hi,\n[quote=\"AntoninoP\":c7urrw7q]\nMy problem is that when the application starts, the text inside the combobox is all selected:\n[/quote:c7urrw7q]\ni see ... empty <!-- s:idea: --><img src=\"{SMILIES_PATH}/icon_idea.gif\" alt=\":idea:\" title=\"Idea\" /><!-- s:idea: --> \n\ni'm still a FiveWin Newbie so i not know Syntax. \nunder Xbase++ i \"set\" most pre-select 1st Element from DropDown List into EDIT Part of ComboBox\n[code=fw:c7urrw7q]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">   oCombo:<span style=\"color: #000000;\">setData</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span></div>[/code:c7urrw7q]", "time": "04:29", "topic": "CBS_DROPDOWN select all empty text", "username": "Jimmy" } ]
CBS_DROPDOWN select all empty text
[ { "date": "2019-12-12", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Jimmy\":2dtqju47]hi,\n[quote=\"AntoninoP\":2dtqju47]\nMy problem is that when the application starts, the text inside the combobox is all selected:\n[/quote:2dtqju47]\ni see ... empty[/quote:2dtqju47]\n\nmy problem is the blue rectangle...\n\nwith \n[code=fw:2dtqju47]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">&#40;</span>oCombo:<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">SetSel</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span></div>[/code:2dtqju47]\nI obtain a semi-acceptable result", "time": "06:37", "topic": "CBS_DROPDOWN select all empty text", "username": "AntoninoP" } ]
CBS_DROPDOWN select all empty text
[ { "date": "2019-12-12", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"AntoninoP\":1ptsf8ks]\nmy problem is the blue rectangle...[/quote:1ptsf8ks]\nsorry i don't understand what your Problem with Frame is <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \ndo you want \"no Frame\" or \"small Frame with long Text\" or other Color of Frame ...\n\n[quote=\"AntoninoP\":1ptsf8ks]\nwith \n[code=fw:1ptsf8ks]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">&#40;</span>oCombo:<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">SetSel</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span></div>[/code:1ptsf8ks]\nI obtain a semi-acceptable result[/quote:1ptsf8ks]\nok so it is not empty any more a 1st ist select only, or <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->", "time": "07:25", "topic": "CBS_DROPDOWN select all empty text", "username": "Jimmy" } ]
CBS_DROPDOWN select all empty text
[ { "date": "2019-12-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Here my final code...\n\n[code=fw:25krppaw]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <fivewin.ch><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Constant.ch\"</span><br /><br />#xcommand @ <nRow>, <nCol> MYCOMBOBOX <span style=\"color: #000000;\">&#91;</span> <oCbx> <span style=\"color: #0000ff;\">VAR</span> <span style=\"color: #000000;\">&#93;</span> <cVar> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <it: <span style=\"color: #0000ff;\">PROMPTS</span>, ITEMS> <aItems> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">SIZE</span> <nWidth>, <nHeight> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <dlg:<span style=\"color: #0000ff;\">OF</span>,<span style=\"color: #0000ff;\">WINDOW</span>,DIALOG> <oWnd> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <help:<span style=\"color: #000000;\">HELPID</span>, <span style=\"color: #0000ff;\">HELP</span> ID> <nHelpId> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> <uChange> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">VALID</span> <uValid> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <color: <span style=\"color: #0000ff;\">COLOR</span>,COLORS> <nClrText> <span style=\"color: #000000;\">&#91;</span>,<nClrBack><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <pixel: <span style=\"color: #000000;\">PIXEL</span>> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">FONT</span> <oFont> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <update: <span style=\"color: #000000;\">UPDATE</span>> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">MESSAGE</span> <cMsg> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">WHEN</span> <uWhen> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <design: <span style=\"color: #000000;\">DESIGN</span>> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">BITMAPS</span> <acBitmaps> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">ON</span> DRAWITEM <uBmpSelect> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">STYLE</span> <nStyle> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <pict: <span style=\"color: #000000;\">PICT</span>, PICTURE> <cPicture> <span style=\"color: #000000;\">&#93;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #00C800;\">EDIT</span> <span style=\"color: #0000ff;\">CHANGE</span> <uEChange> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> HEIGHTGET <nHGet> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> SELHEIGHT <nSelHt> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> ITEMHEIGHT <nItmHt> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> <lw: <span style=\"color: #000000;\">LISTWIDTH</span>, DROPWIDTH> <nDropW> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> DIRECTORY <cDir> <span style=\"color: #000000;\">&#91;</span>ATTRIB <attr><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#91;</span>SAYDIR <oSayDir> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp;=> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#91;</span> <oCbx> := <span style=\"color: #000000;\">&#93;</span> MyComboBox<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span> <nRow>, <nCol>, bSETGET<span style=\"color: #000000;\">&#40;</span><cVar><span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<aItems>, <nWidth>, <nHeight>, <oWnd>, <nHelpId>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">&#123;</span>|Self|<uChange><span style=\"color: #000000;\">&#125;</span><span style=\"color: #000000;\">&#93;</span>, <<span style=\"color: #000000;\">&#123;</span>uValid<span style=\"color: #000000;\">&#125;</span>>, <nClrText>, <nClrBack>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<.<span style=\"color: #0000ff;\">pixel</span>.>, <oFont>, <cMsg>, <.<span style=\"color: #0000ff;\">update</span>.>, <<span style=\"color: #000000;\">&#123;</span>uWhen<span style=\"color: #000000;\">&#125;</span>>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<.design.>, <acBitmaps>, <span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">&#123;</span>|nItem|<uBmpSelect><span style=\"color: #000000;\">&#125;</span><span style=\"color: #000000;\">&#93;</span>, <nStyle>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<cPicture>, <span style=\"color: #000000;\">&#91;</span><<span style=\"color: #000000;\">&#123;</span>uEChange<span style=\"color: #000000;\">&#125;</span>><span style=\"color: #000000;\">&#93;</span>, <span style=\"color: #000000;\">&#91;</span><<span style=\"color: #000000;\">&#40;</span>oCbx<span style=\"color: #000000;\">&#41;</span>><span style=\"color: #000000;\">&#93;</span>, <nHGet>, <span style=\"color: #000000;\">&#91;</span><nSelHt><span style=\"color: #000000;\">&#93;</span>, <span style=\"color: #000000;\">&#91;</span><nItmHt><span style=\"color: #000000;\">&#93;</span>, <span style=\"color: #000000;\">&#91;</span><nDropW><span style=\"color: #000000;\">&#93;</span>, <span style=\"color: #000000;\">&#91;</span><cDir><span style=\"color: #000000;\">&#93;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span><attr><span style=\"color: #000000;\">&#93;</span>, <span style=\"color: #000000;\">&#91;</span><oSayDir><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><br />proc main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> oWnd, oCombo, oSay, cValue := <span style=\"color: #ff0000;\">\"\"</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">1</span> MYCOMBOBOX oCombo <span style=\"color: #0000ff;\">VAR</span> cValue <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">200</span>,<span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">STYLE</span> CBS_DROPDOWN <span style=\"color: #B900B9;\">//ON EDIT CHANGE {|| MsgInfo(oCombo:GetText()) }</span><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> cValue <span style=\"color: #0000ff;\">UPDATE</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">200</span>,<span style=\"color: #000000;\">20</span><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">// I must use both</span><br />&nbsp; &nbsp;oCombo:<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">bAfterChange</span> := <span style=\"color: #000000;\">&#123;</span>|| oSay:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">&#40;</span>oCombo:<span style=\"color: #000000;\">GetText</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oCombo:<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">bUpdate</span> := oCombo:<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">bAfterChange</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<span style=\"color: #B900B9;\">// ON INIT (oCombo:oGet:SetSel())</span><br /><br /><span style=\"color: #00C800;\">class</span> MyComboBox inherit TComboBox<br />&nbsp; &nbsp; CONSTRUCTOR <span style=\"color: #00C800;\">New</span><br /><span style=\"color: #00C800;\">endclass</span><br /><br /><br /><span style=\"color: #00C800;\">class</span> MyText inherit TEdit<br />&nbsp; &nbsp; <span style=\"color: #00C800;\">DATA</span> bAfterChange<br />&nbsp; &nbsp; <span style=\"color: #00C800;\">METHOD</span> KeyUp<span style=\"color: #000000;\">&#40;</span> nKey, nFlags <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">INLINE</span> iif<span style=\"color: #000000;\">&#40;</span>!empty<span style=\"color: #000000;\">&#40;</span>::<span style=\"color: #000000;\">bAfterChange</span><span style=\"color: #000000;\">&#41;</span>,eval<span style=\"color: #000000;\">&#40;</span>::<span style=\"color: #000000;\">bAfterChange</span><span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #00C800;\">Super</span>:<span style=\"color: #000000;\">KeyUp</span><span style=\"color: #000000;\">&#40;</span>nKey, nFlags<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">endclass</span><br /><br /><br /><span style=\"color: #00D7D7;\">#define</span> COMBO_BASE &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">320</span><br /><span style=\"color: #00D7D7;\">#define</span> CB_FINDSTRING &nbsp; &nbsp;<span style=\"color: #000000;\">&#40;</span> COMBO_BASE + <span style=\"color: #000000;\">12</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00D7D7;\">#define</span> COLOR_WINDOW &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">5</span><br /><span style=\"color: #00D7D7;\">#define</span> COLOR_WINDOWTEXT &nbsp; &nbsp; <span style=\"color: #000000;\">8</span><br /><span style=\"color: #00D7D7;\">#define</span> GW_CHILD &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">5</span><br /><span style=\"color: #B900B9;\">// Copied from TComboBox:New</span><br /><span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">&#40;</span> nRow, nCol, bSetGet, aItems, nWidth, nHeight, oWnd, nHelpId,;<br />&nbsp; &nbsp; bChange, bValid, nClrFore, nClrBack, lPixel, oFont,;<br />&nbsp; &nbsp; cMsg, lUpdate, bWhen, lDesign, acBitmaps, bDrawItem, nStyle,;<br />&nbsp; &nbsp; cPict, bEChange, cVarName, nHGet, ;<br />&nbsp; &nbsp; nSelHt, nItmHt, nListWidth, cDir, nAttr, oSayDir <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> MyComboBox<br /><br /><span style=\"color: #00C800;\">if</span> nClrFore == <span style=\"color: #00C800;\">nil</span><br />nClrBack := GetSysColor<span style=\"color: #000000;\">&#40;</span> COLOR_WINDOW <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">endif</span><br /><br /><span style=\"color: #00C800;\">DEFAULT</span> nRow &nbsp; &nbsp; := <span style=\"color: #000000;\">0</span>, nCol := <span style=\"color: #000000;\">0</span>, bSetGet := <span style=\"color: #000000;\">&#123;</span> || <span style=\"color: #00C800;\">nil</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp;oWnd &nbsp; &nbsp; := GetWndDefault<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp;oFont &nbsp; &nbsp;:= oWnd:<span style=\"color: #000000;\">oFont</span>,;<br />&nbsp; &nbsp;aItems &nbsp; := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span>, nWidth := <span style=\"color: #000000;\">40</span>, nHeight := <span style=\"color: #000000;\">60</span>,;<br />&nbsp; &nbsp;nClrFore := GetSysColor<span style=\"color: #000000;\">&#40;</span> COLOR_WINDOWTEXT <span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp;lPixel &nbsp; := .f., lUpdate := .f., lDesign := .f.,;<br />&nbsp; &nbsp;nStyle &nbsp; := CBS_DROPDOWNLIST<br /><br />::<span style=\"color: #000000;\">lUnicode</span> &nbsp;= FW_SetUnicode<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />::<span style=\"color: #000000;\">cCaption</span> &nbsp;= <span style=\"color: #ff0000;\">\"\"</span><br />::<span style=\"color: #000000;\">nTop</span> &nbsp; &nbsp; &nbsp;= nRow * <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> lPixel, <span style=\"color: #000000;\">1</span>, CMB_CHARPIX_H <span style=\"color: #000000;\">&#41;</span><br />::<span style=\"color: #000000;\">nLeft</span> &nbsp; &nbsp; = nCol * <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> lPixel, <span style=\"color: #000000;\">1</span>, CMB_CHARPIX_W <span style=\"color: #000000;\">&#41;</span><br />::<span style=\"color: #000000;\">nBottom</span> &nbsp; = ::<span style=\"color: #000000;\">nTop</span> &nbsp;+ nHeight - <span style=\"color: #000000;\">1</span><br />::<span style=\"color: #000000;\">nRight</span> &nbsp; &nbsp;= ::<span style=\"color: #000000;\">nLeft</span> + nWidth &nbsp;- <span style=\"color: #000000;\">1</span><br />::<span style=\"color: #000000;\">nAt</span> &nbsp; &nbsp; &nbsp; = <span style=\"color: #000000;\">0</span><br />::<span style=\"color: #000000;\">aItems</span> &nbsp; &nbsp;= aItems<br />::<span style=\"color: #000000;\">bChange</span> &nbsp; = bChange<br />::<span style=\"color: #000000;\">bSetGet</span> &nbsp; = bSetGet<br />::<span style=\"color: #000000;\">uOriginalValue</span> = Eval<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">bSetGet</span> <span style=\"color: #000000;\">&#41;</span><br />::<span style=\"color: #000000;\">oWnd</span> &nbsp; &nbsp; &nbsp;= oWnd<br />::<span style=\"color: #000000;\">cSearchKey</span> := <span style=\"color: #ff0000;\">\"\"</span><br /><br /><span style=\"color: #00C800;\">if</span> acBitmaps != <span style=\"color: #00C800;\">nil</span><br />::<span style=\"color: #000000;\">SetBitmaps</span><span style=\"color: #000000;\">&#40;</span> acBitmaps <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">else</span><br />::<span style=\"color: #000000;\">lOwnerDraw</span> = .f.<br /><span style=\"color: #B900B9;\">/*<br />// FWH 17.07<br />if !Empty( nHGet )<br />&nbsp;::nBmpHeight := nHGet<br />endif<br />*/</span><br /><span style=\"color: #00C800;\">endif</span><br /><br />::<span style=\"color: #000000;\">nStyle</span> &nbsp; &nbsp;= nOR<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> nStyle == CBS_DROPDOWN, <span style=\"color: #000000;\">0</span>, LBS_NOTIFY <span style=\"color: #000000;\">&#41;</span>, WS_TABSTOP,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nStyle,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LBS_DISABLENOSCROLL, WS_CHILD, WS_VISIBLE, WS_BORDER,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WS_VSCROLL, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> lDesign, WS_CLIPSIBLINGS, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">IF</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lOwnerDraw</span>, CBS_OWNERDRAWFIXED, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #B900B9;\">//::nExStyle &nbsp;= nOr( WS_EX_LEFT, WS_EX_LEFTSCROLLBAR )</span><br /><br />::<span style=\"color: #000000;\">nId</span> &nbsp; &nbsp; &nbsp; = ::<span style=\"color: #000000;\">GetNewId</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />::<span style=\"color: #000000;\">nHelpId</span> &nbsp; = nHelpId<br />::<span style=\"color: #000000;\">bValid</span> &nbsp; &nbsp;= bValid<br />::<span style=\"color: #000000;\">lDrag</span> &nbsp; &nbsp; = lDesign<br />::<span style=\"color: #000000;\">lCaptured</span> = .f.<br />::<span style=\"color: #000000;\">cMsg</span> &nbsp; &nbsp; &nbsp;= cMsg<br />::<span style=\"color: #000000;\">lUpdate</span> &nbsp; = lUpdate<br />::<span style=\"color: #000000;\">bWhen</span> &nbsp; &nbsp; = bWhen<br />::<span style=\"color: #000000;\">bDrawItem</span> = bDrawItem<br /><br />::<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">&#40;</span> nClrFore, nClrBack <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">if</span> oFont == <span style=\"color: #00C800;\">nil</span><br />::<span style=\"color: #000000;\">GetFont</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">else</span><br />::<span style=\"color: #000000;\">SetFont</span><span style=\"color: #000000;\">&#40;</span> oFont <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">endif</span><br /><br />::<span style=\"color: #000000;\">oGet</span> := MyText<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #0000ff;\">ReDefine</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">nil</span> &nbsp; &nbsp; ,; &nbsp;<span style=\"color: #B900B9;\">// ID not used</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">Self</span> &nbsp; &nbsp; &nbsp; &nbsp;,; <span style=\"color: #B900B9;\">//oWnd, </span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">bSetGet</span> &nbsp; ,; <span style=\"color: #B900B9;\">//bSetGet, </span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cPict &nbsp; &nbsp; &nbsp; ,; <span style=\"color: #B900B9;\">//cPicture,</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">nil</span> &nbsp; &nbsp; &nbsp; &nbsp; ,; <span style=\"color: #B900B9;\">//bChanged,</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bEChange &nbsp; &nbsp;,; <span style=\"color: #B900B9;\">//bUpdate,</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">nil</span> &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#41;</span>; <span style=\"color: #B900B9;\">//bHScroll )</span><br /><br /><span style=\"color: #B900B9;\">// FWH 17.07</span><br /><span style=\"color: #00C800;\">if</span> cDir != <span style=\"color: #00C800;\">nil</span><br />::<span style=\"color: #000000;\">cDir</span> &nbsp; &nbsp; &nbsp;:= cDir<br />::<span style=\"color: #000000;\">lDir</span> &nbsp; &nbsp; &nbsp;:= .t.<br />::<span style=\"color: #000000;\">nDirStyle</span> := nAttr<br />::<span style=\"color: #000000;\">oSayDir</span> &nbsp; := oSayDir<br /><span style=\"color: #00C800;\">endif</span><br /><span style=\"color: #00C800;\">if</span> nHGet != <span style=\"color: #00C800;\">nil</span><br />::<span style=\"color: #000000;\">hSelectionHeight</span> &nbsp; := nHGet<br />::<span style=\"color: #000000;\">hItemHeight</span> &nbsp; &nbsp; &nbsp; &nbsp;:= nHGet<br /><span style=\"color: #00C800;\">else</span><br />::<span style=\"color: #000000;\">hSelectionHeight</span> &nbsp; := nSelHt<br />::<span style=\"color: #000000;\">hItemHeight</span> &nbsp; &nbsp; &nbsp; &nbsp;:= nItmHt<br /><span style=\"color: #00C800;\">endif</span><br />::<span style=\"color: #000000;\">hDropWidth</span> &nbsp; &nbsp; &nbsp; &nbsp; := nListWidth<br /><span style=\"color: #B900B9;\">// FWH17.07 end</span><br /><br /><span style=\"color: #00C800;\">if</span> ! Empty<span style=\"color: #000000;\">&#40;</span> oWnd:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span><br />::<span style=\"color: #000000;\">Create</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"COMBOBOX\"</span> <span style=\"color: #000000;\">&#41;</span><br />::<span style=\"color: #00C800;\">Default</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />::<span style=\"color: #000000;\">SetFont</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oFont</span> <span style=\"color: #000000;\">&#41;</span><br />oWnd:<span style=\"color: #000000;\">AddControl</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">Self</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">else</span><br />oWnd:<span style=\"color: #000000;\">DefControl</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">Self</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">endif</span><br /><br /><span style=\"color: #00C800;\">DEFAULT</span> cVarName := <span style=\"color: #ff0000;\">\"oCbx\"</span> + ::<span style=\"color: #000000;\">GetCtrlIndex</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />::<span style=\"color: #000000;\">cVarName</span> = cVarName<br /><br />::<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">hWnd</span> = GetWindow<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hWnd</span>, GW_CHILD <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">if</span> ! Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; ::<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">Link</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />::<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">bLostFocus</span> = ;<br />&nbsp;<span style=\"color: #000000;\">&#123;</span> | hCtlFocus, nAt, cItem| cItem := ::<span style=\"color: #000000;\">GetText</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp;nAt := ::<span style=\"color: #000000;\">SendMsg</span><span style=\"color: #000000;\">&#40;</span> CB_FINDSTRING, <span style=\"color: #000000;\">0</span>, Trim<span style=\"color: #000000;\">&#40;</span> cItem <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #000000;\">1</span>,;<br />&nbsp; &nbsp; &nbsp;Eval<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">bSetGet</span>, cItem <span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp;::<span style=\"color: #0000ff;\">Select</span><span style=\"color: #000000;\">&#40;</span> nAt <span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp;::<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">&#40;</span> cItem <span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">bValid</span> != <span style=\"color: #00C800;\">nil</span> .and. ;<br />&nbsp; &nbsp; &nbsp;GetParent<span style=\"color: #000000;\">&#40;</span> hCtlFocus <span style=\"color: #000000;\">&#41;</span> == GetParent<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ! Eval<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">bValid</span>, ::<span style=\"color: #000000;\">oGet</span>, <span style=\"color: #00C800;\">Self</span> <span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp;::<span style=\"color: #000000;\">PostMsg</span><span style=\"color: #000000;\">&#40;</span> WM_SETFOCUS <span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">&#41;</span>,<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><span style=\"color: #B900B9;\">//::oGet:bKeyChar = { | nKey | ::GetKeyChar( nKey ) }</span><br /><span style=\"color: #00C800;\">endif</span><br /><br /><span style=\"color: #00C800;\">if</span> lDesign<br />::<span style=\"color: #000000;\">CheckDots</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">endif</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">Self</span></div>[/code:25krppaw]", "time": "08:29", "topic": "CBS_DROPDOWN select all empty text", "username": "AntoninoP" } ]
CBS_DROPDOWN select all empty text
[ { "date": "2007-02-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Fivewinners,\n\nHow i can set CC or BCC in an Outlook via OLE ?\n\nRegards, Norbert", "time": "19:51", "topic": "CC and BCC in Outlook", "username": "NK" } ]
CC and BCC in Outlook
[ { "date": "2007-02-23", "forum": "FiveWin for Harbour/xHarbour", "text": "oMail:CC = \"...\"\noMail:BCC = \"...\"\n\nEMG", "time": "20:00", "topic": "CC and BCC in Outlook", "username": "Enrico Maria Giordano" } ]
CC and BCC in Outlook
[ { "date": "2007-02-25", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"EnricoMaria\":1psyzq0w]oMail:CC = \"...\"\noMail:BCC = \"...\"\n\nEMG[/quote:1psyzq0w]\n\nMany thanks, it works\n\nRegards, Norbert", "time": "20:29", "topic": "CC and BCC in Outlook", "username": "NK" } ]
CC and BCC in Outlook
[ { "date": "2019-01-17", "forum": "FiveWin para Harbour/xHarbour", "text": "CCCO (con copia oculta) no funciona con windows live mail. Sólo funciona con CC (con copia). ¿Algún cambio en MAIL.CH?\n\nRegards, saludos.", "time": "13:53", "topic": "CCCO (con copia oculta) no funciona con windows live mail.", "username": "karinha" } ]
CCCO (con copia oculta) no funciona con windows live mail.
[ { "date": "2009-05-12", "forum": "Off Topic / Otros temas", "text": "Hi all,\nthe CD duplication company we always use to print the CD for our customers has failed this morning.\nAnyone know a good CD duplication company based in Europe to suggest me ?\n\nThanks", "time": "08:00", "topic": "CD duplication in Europe", "username": "Marco Turco" } ]
CD duplication in Europe
[ { "date": "2014-10-14", "forum": "FiveWin para Harbour/xHarbour", "text": "hola \n\ncómo enviar correo electrónico utilizando CDO y @outlook.com TLS ?\n\nCDO no admite TLS? ver link\n<!-- m --><a class=\"postlink\" href=\"http://stackoverflow.com/questions/12812408/is-there-some-trick-to-making-vbscript-cdo-work-with-amazon-ses-smtp\">http://stackoverflow.com/questions/1281 ... n-ses-smtp</a><!-- m -->\n<!-- m --><a class=\"postlink\" href=\"http://thinkinginsoftware.blogspot.com.br/2012/06/send-email-using-tls-from-windows.html\">http://thinkinginsoftware.blogspot.com. ... ndows.html</a><!-- m -->\n\nalguien lo hizo?\n\n[]s", "time": "15:54", "topic": "CDO y @outlook.com TLS", "username": "Sistem" } ]
CDO y @outlook.com TLS
[ { "date": "2014-10-17", "forum": "FiveWin para Harbour/xHarbour", "text": "<!-- m --><a class=\"postlink\" href=\"http://www.pctoledo.com.br/forum/viewtopic.php?f=43&t=14189\">http://www.pctoledo.com.br/forum/viewto ... 43&t=14189</a><!-- m -->", "time": "16:33", "topic": "CDO y @outlook.com TLS", "username": "hmpaquito" } ]
CDO y @outlook.com TLS
[ { "date": "2013-07-21", "forum": "FiveWin for Harbour/xHarbour", "text": "To All\n\nI have been trying to use CDO to send SMTP e-mail from a Project Management application I am writing. I have created a Gmail account and I use Rafa's CDO code mentioned in the Spanish forum... and I have been successful. Unfortunately, when I login to a different network or location ( other than the location\\Network that created the Gmail account ) the CDO e-mail fails every time.\n\nI am just curious ... I have the same code that runs flawlessly from my office ( location and IP where I created the gmail account ) .. has anyone experienced this behavor in any applications they are currently using ?\n\nTo clarify .. I am using gmail as an SMTP relay to distribute my application's e-mail to various Project stakeholders.\n\nAgain .. this code runs perfectly from my office ... but if I login to a different network and run the same code .. it fails.\n\nAny Ideas??\n\nRick Lipkin\n\n[code=fw:xouoi4jc]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">//---------------------------------------------</span><br /><span style=\"color: #00C800;\">Function</span> _SendMail<span style=\"color: #000000;\">&#40;</span>cSmtp_Host,nPort,lSsl,;<br />                           cSmtp_UserId,cSmtp_Password,cFrom,cTo,aCC,cSubject,cMessage,oDlg<span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">Local</span> oEmailCfg,oErr,lFailed,oEmailMsg,cAddress,i<br /><br />SysReFresh<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #B900B9;\">// smtpauthenticate</span><br /><span style=\"color: #B900B9;\">// 0 cdoAnonymous Perform no authentication.</span><br /><span style=\"color: #B900B9;\">// 1 cdoBasic     Use the basic (clear text) authentication mechanism.</span><br /><span style=\"color: #B900B9;\">// 2 cdoNTLM      Use the NTLM authentication mechanism.</span><br /><br /><span style=\"color: #00C800;\">If</span> empty<span style=\"color: #000000;\">&#40;</span>aCC<span style=\"color: #000000;\">&#41;</span><br />   cAddress := <span style=\"color: #ff0000;\">\"\"</span><br /><span style=\"color: #00C800;\">Else</span><br />   <span style=\"color: #00C800;\">For</span> i = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> Len<span style=\"color: #000000;\">&#40;</span>aCC<span style=\"color: #000000;\">&#41;</span><br />       <span style=\"color: #00C800;\">If</span> i = <span style=\"color: #000000;\">1</span><br />          cAddress := aCC<span style=\"color: #000000;\">&#91;</span>i<span style=\"color: #000000;\">&#93;</span><br />       <span style=\"color: #00C800;\">Else</span><br />          cAddress := cAddress+<span style=\"color: #ff0000;\">\",\"</span>+aCC<span style=\"color: #000000;\">&#91;</span>i<span style=\"color: #000000;\">&#93;</span><br />       <span style=\"color: #00C800;\">Endif</span><br />    <span style=\"color: #00C800;\">Next</span><br /><span style=\"color: #00C800;\">Endif</span><br /><br />lFailed := .f.<br /><span style=\"color: #00C800;\">TRY</span><br />  oEmailCfg := CREATEOBJECT<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"CDO.Configuration\"</span> <span style=\"color: #000000;\">&#41;</span><br />  WITH OBJECT oEmailCfg:<span style=\"color: #000000;\">Fields</span>                                                          <span style=\"color: #B900B9;\">// cSmtp_Host</span><br />  :<span style=\"color: #000000;\">Item</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"http://schemas.microsoft.com/cdo/configuration/smtpserver\"</span> <span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #000000;\">Value</span>       := cSmtp_Host  <span style=\"color: #B900B9;\">//::smtpServer</span><br />  :<span style=\"color: #000000;\">Item</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"http://schemas.microsoft.com/cdo/configuration/smtpserverport\"</span> <span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #000000;\">Value</span>   := nPort <span style=\"color: #B900B9;\">//465 //::smtpPort</span><br />  :<span style=\"color: #000000;\">Item</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"http://schemas.microsoft.com/cdo/configuration/sendusing\"</span> <span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #000000;\">Value</span>        := <span style=\"color: #000000;\">2</span> <span style=\"color: #B900B9;\">//::sendusing  // Remote SMTP = 2, local = 1</span><br />  :<span style=\"color: #000000;\">Item</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"http://schemas.microsoft.com/cdo/configuration/smtpauthenticate\"</span> <span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #000000;\">Value</span> := <span style=\"color: #000000;\">1</span> <span style=\"color: #B900B9;\">//::AUTH // 0 , 1 ,2</span><br />  :<span style=\"color: #000000;\">Item</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"http://schemas.microsoft.com/cdo/configuration/smtpusessl\"</span> <span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #000000;\">Value</span>       := lSsl <span style=\"color: #B900B9;\">//::SSL</span><br />  :<span style=\"color: #000000;\">Item</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"http://schemas.microsoft.com/cdo/configuration/sendusername\"</span> <span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #000000;\">Value</span>     := cSmtp_Userid   <span style=\"color: #B900B9;\">//::username</span><br />  :<span style=\"color: #000000;\">Item</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"http://schemas.microsoft.com/cdo/configuration/sendpassword\"</span> <span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #000000;\">Value</span>     := cSmtp_Password <br />  :<span style=\"color: #000000;\">Item</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout\"</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #000000;\">Value</span> := <span style=\"color: #000000;\">15</span> <span style=\"color: #B900B9;\">//::TimerOut</span><br />  :<span style=\"color: #0000ff;\">Update</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />  END WITH<br /><br />CATCH oError<br />   <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Error in Configuration\"</span> <span style=\"color: #000000;\">&#41;</span><br />END<br /><br />oError := <span style=\"color: #00C800;\">NIL</span><br /><span style=\"color: #00C800;\">TRY</span><br />   oEmailMsg  := CREATEOBJECT <span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"CDO.Message\"</span> <span style=\"color: #000000;\">&#41;</span><br />   WITH OBJECT oEmailMsg<br />        :<span style=\"color: #000000;\">Configuration</span> = oEmailCfg<br />        :<span style=\"color: #0000ff;\">From</span>     := cFrom<br />        :<span style=\"color: #0000ff;\">To</span>       := cTo <br />        :<span style=\"color: #000000;\">CC</span>       := cAddress<br /><br />        :<span style=\"color: #000000;\">BCC</span>      := <span style=\"color: #ff0000;\">\"\"</span><br />        :<span style=\"color: #0000ff;\">Subject</span>  := cSubject<br />     <span style=\"color: #B900B9;\">// :MDNRequested = .T.       // Solicitud de reconocimiento, o acuse de recibo</span><br />        :<span style=\"color: #000000;\">TextBody</span> := cMessage<br /><br />        * <span style=\"color: #00C800;\">for</span> each cFile in ::<span style=\"color: #000000;\">aFiles</span><br />                *    :<span style=\"color: #000000;\">AddAttachment</span><span style=\"color: #000000;\">&#40;</span> cfile <span style=\"color: #000000;\">&#41;</span><br />        * <span style=\"color: #00C800;\">next</span><br />        :<span style=\"color: #000000;\">Fields</span>:<span style=\"color: #0000ff;\">update</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />        :<span style=\"color: #000000;\">Send</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />     <span style=\"color: #B900B9;\">// ? \"[ \"+Time()+\" ] Enviado correo :\"+ ::email</span><br />   END<br />CATCH oError<br />      <span style=\"color: #0000ff;\">MsgINfo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Error in sending e-mail:\"</span>+  oError:<span style=\"color: #000000;\">Description</span> <span style=\"color: #000000;\">&#41;</span><br />      lFailed := .t.<br />END<br /><br />oEmailCfg := <span style=\"color: #00C800;\">NIL</span><br />oEmailMsg := <span style=\"color: #00C800;\">NIL</span><br /><br />oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />SysRefresh<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">Return</span><span style=\"color: #000000;\">&#40;</span>lFailed<span style=\"color: #000000;\">&#41;</span><br /><br /> </div>[/code:xouoi4jc]", "time": "17:34", "topic": "CDO Email strange behavoir", "username": "Rick Lipkin" } ]
CDO Email strange behavoir
[ { "date": "2013-07-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Rick,\n\nSometimes, if gmail detect that the account is being used from another location it asks to enter a veryfication code.\n\nMaybe this will be the issue.\n\nCan you use another SMTP provider, ie Amazon cloud services?.", "time": "21:19", "topic": "CDO Email strange behavoir", "username": "lucasdebeltran" } ]
CDO Email strange behavoir
[ { "date": "2013-07-21", "forum": "FiveWin for Harbour/xHarbour", "text": "For it could be useful\nVerify that you have activated the option \"two-step verification\" of your account. (Security)\n\nIf so, in Gmail maybe have to enlist the application that you are using and does not allow that protocol and assign a password. When you walk from this application have to put the password defined for that application, not the account.\nNot if he has anything to do with your problem.\nThis text is translated Translate, so I recommend you look in Google \"two-step verification GMail\".\nI've also had a problem on computers that the user has activated the option \"Do not close session\".\nI hope you can fix it.\nregards\n\n[url:3mfsvaxs]http&#58;//www&#46;genbeta&#46;com/correo/que-es-la-verificacion-en-dos-pasos-de-gmail-y-por-que-es-importante-activarla[/url:3mfsvaxs]\n\nPor si te puede ayudar\nComprueba que no tienes activada la opcion \"Verificacion en dos pasos\" de tu cuenta. (Seguridad)\n\nSi es asi, en Gmail quizas tengas que dar de alta la aplicacion que vas a usar y que no permite ese protocolo y ponerle una contraseña. Cuando entras desde esa aplicacion tienes que poner la contraseña definida para esa aplicacion y no la de la cuenta.\nNo se si tiene algo que ver con tu problema.\nEste texto esta traducido con Translate, por lo que te recomiendo que busques en Google \"Verificacion en dos pasos de GMail\".\nTambien he tenido algun problema en equipos en los que el usuario tiene activa la opcion \"No cerrar sesion\".\nEspero que puedas solucionarlo.\nSaludos", "time": "21:45", "topic": "CDO Email strange behavoir", "username": "cnavarro" } ]
CDO Email strange behavoir
[ { "date": "2013-07-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Cristobal\n\nI have done some research on Google searching for 'gmail smtp relay' .. and it does seem to be possible.\n\nI have entered and verified my security code and the account is active. I am using port 465 and some of the research suggests using port 587.\n\nI am continuing my research.\n\nThanks\nRick Lipkin", "time": "14:20", "topic": "CDO Email strange behavoir", "username": "Rick Lipkin" } ]
CDO Email strange behavoir
[ { "date": "2013-07-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Rick,\n\nTwo things to try. Check to make sure that the port isn't being blocked at the customer's site. Also, try increasing the timeout interval (it is normally 30).\n\n:Item( \"http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout\"):Value := 30\n\nIs your code trapping and displaying errors? If not add it. OK, that was three things.\n\nJames", "time": "20:57", "topic": "CDO Email strange behavoir", "username": "James Bott" } ]
CDO Email strange behavoir
[ { "date": "2013-07-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Rick,\n\nAnother thought. The customer company may be intentionally blocking the Gmail site to prevent employees from accessing their personal mail at work.\n\nJames", "time": "22:06", "topic": "CDO Email strange behavoir", "username": "James Bott" } ]
CDO Email strange behavoir
[ { "date": "2013-07-22", "forum": "FiveWin for Harbour/xHarbour", "text": "James\n\nI had a second set of eyes look at this and I was getting the infamous \"Member not found\" ADO error which doesn't really tell me much .. \n\nHere is what I found and this seems to be the fix .. the cFrom when dealing with gMail has to be a fully distinguished email address rather than just a value even if it is a dummy name and domain.\n\ncFrom := \"PMO Admin\" // works on my machine but fails everywhere else\ncFrom := \"PMO_Admin@bogus.com\" // works all the time <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: --> \n\nApparently when I created my gMail account .. CDO must have pulled a value ( perhaps from the registry ) from my machine and plugged in the value of cFrom and the email was delivered as <Pmo Admin>. Using \"Pmo_Admin@bogus.com\" ( fully distinguished address ) allows the email to be sent and it does get delivered.\n\nI have tested this fix on a different machine in my office and it worked great ( which previously errored to ) .. what I have not done is to test this again on my laptop logged into a different network.\n\nI think everything should work .. I will let you know in the morning. <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) --> \n\nRick Lipkin", "time": "23:09", "topic": "CDO Email strange behavoir", "username": "Rick Lipkin" } ]
CDO Email strange behavoir
[ { "date": "2013-07-23", "forum": "FiveWin for Harbour/xHarbour", "text": "To All\n\nAs I mentioned in the last post .. sending email with CDO is quite possible and using gMail as a 'SMTP RELAY' is a great way to integrate sending e-mail from your applications.\n\nThe final solution ( specific to gmail ) was to put a qualified e-mail address in the 'from' parameter even if it is not a real address .. as log as you have a name and domain ( <!-- e --><a href=\"mailto:name@bogus.com\">name@bogus.com</a><!-- e --> ) .. along with a legitimate 'to' .. CDO and gMail makes a great combination.\n\nRick Lipkin", "time": "14:24", "topic": "CDO Email strange behavoir", "username": "Rick Lipkin" } ]
CDO Email strange behavoir
[ { "date": "2013-07-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Rick,\n\nGlad to hear you solved the problem.\n\nI always specify the From field like this:\n\ncFrom:= [\"James Bott\" <jbott@whatever.com>]\n\nI never tried using a bogus email address during testing--I just send test emails to myself.\n\nRegards,\nJames", "time": "15:35", "topic": "CDO Email strange behavoir", "username": "James Bott" } ]
CDO Email strange behavoir
[ { "date": "2013-07-23", "forum": "FiveWin for Harbour/xHarbour", "text": "I implemented CDO several months back and resolved the remaining SSL issues some of my clients faced.\n\nWith that said, I do NOT use Gmail. It would not surprise me that any corporation or individual who seeks to not have 100% of their information broadcast to the world would block Gmail. Please carefully read the Privacy Policy ( very easily found ) that applies to all Google services ( and doesn't that include Android phones ? ) . Because I often handle items for others, I cannot voluntarily submit their information to a global server to be sold to anyone with any interest.\n\nNothing is ever FREE. Everything has a cost, and the fee for using \"free\" services is to allow them to do whatever they want with your data.\n\nTim", "time": "16:16", "topic": "CDO Email strange behavoir", "username": "TimStone" } ]
CDO Email strange behavoir
[ { "date": "2013-07-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim\n\nI truly understand your concerns .. when using SMTP Relay .. I am using the gMail service to just distribute my e-mail. None of the messages are stored anywhere on any gMail account.\n\nAll I have done is created a gmail account and then use CDO to point it to SMTP.GMAIL.COM, port 465 with SSl and furnish my email credentials UserId and Password.\n\nI can direct mail, cc, bc to anyone I want and all gMail does is handle the Relay.. nothing is stored anywhere, Google is just the traffic handler. \n\nRick Lipkin\n\nps .. and it is free <!-- s8) --><img src=\"{SMILIES_PATH}/icon_cool.gif\" alt=\"8)\" title=\"Cool\" /><!-- s8) -->", "time": "17:25", "topic": "CDO Email strange behavoir", "username": "Rick Lipkin" } ]
CDO Email strange behavoir
[ { "date": "2013-07-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Rick,\n\nWell, just because you don't store it, doesn't mean that Google doesn't.\n\nTim, which SMTP server are you using? Or, do you have your own mail server setup?\n\nJames", "time": "18:52", "topic": "CDO Email strange behavoir", "username": "James Bott" } ]
CDO Email strange behavoir
[ { "date": "2013-07-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Rick,\n\nIt doesn't have to be stored there. Anything you touch Google is recorded ... even your searches, and cross referenced. The EU is now on the verge of assessing massive fines for privacy violations against them. \n\nJames,\n\nI have Microsoft hosted Exchange accounts. They have a different policy. Its only $4 a month and totally worth the cost. I can also use email accounts with my web hosting service, and that is unlimited.\n\nTim", "time": "20:55", "topic": "CDO Email strange behavoir", "username": "TimStone" } ]
CDO Email strange behavoir