messages
listlengths 1
1
| topic
stringlengths 2
60
|
|---|---|
[
{
"date": "2015-08-30",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"joseluisysturiz\":1jaekhrw]\nFrancisco, aprovechando lo que publicas, por casualidad tendras la creacion del MENU pero dinamicamente, es decir, dependiendo del nivel del usuario, entonces se agreguen unas opciones y otras no, estas ya creadas en una TABLA o DBF..? gracias, saludos..\n[/quote:1jaekhrw]\n\nJoseLuis, mira si esto es a lo que te refieres:\nEn tabla usuarios estan los campos logicos: facturas,invent,etc\nDespues de autorizar entrada al sistema, chequear a que modulos tiene acceso\nLuego en los ItemMenus establecer la condicion\n\n[code=fw:1jaekhrw]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">if</span> lAutoriza <br /> aModulosAcc:=<span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">}</span> <span style=\"color: #B900B9;\">//static</span><br /> <span style=\"color: #00C800;\">if</span> Usuarios->facturas=.t.<br /> aadd<span style=\"color: #000000;\">(</span>aModulosAcc,<span style=\"color: #ff0000;\">\"FACTURACION\"</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span> <br /> <span style=\"color: #00C800;\">if</span> Usuarios->Invent=.t.<br /> aadd<span style=\"color: #000000;\">(</span>aModulosAcc,<span style=\"color: #ff0000;\">\"INVENTARIO\"</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /><span style=\"color: #00C800;\">endif</span><br /><span style=\"color: #00C800;\">Return</span> lAutoriza<br /><br /><span style=\"color: #B900B9;\">//--------------------------//Controla si tiene acceso o no a determinado modulo</span><br /><span style=\"color: #00C800;\">Function</span> ModuloAcces<span style=\"color: #000000;\">(</span>cModulo<span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">local</span> lRet:=.f., n:=<span style=\"color: #000000;\">0</span><br /><br /><span style=\"color: #00C800;\">if</span> empty<span style=\"color: #000000;\">(</span>aModulosAcc<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">Return</span> .t.<br /><span style=\"color: #00C800;\">endif</span><br /> <br /><span style=\"color: #00C800;\">for</span> n:=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> len<span style=\"color: #000000;\">(</span>aModulosAcc<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">if</span> aModulosAcc<span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span> = upper<span style=\"color: #000000;\">(</span>cModulo<span style=\"color: #000000;\">)</span><br /> lRet:=.t.<br /> exit<br /> <span style=\"color: #00C800;\">endif</span><br /><span style=\"color: #00C800;\">next</span><br /><span style=\"color: #00C800;\">Return</span> lRet<br /> </div>[/code:1jaekhrw]\n\nEn la creacion del menu se puede hacer: (con esto apareceran, o no, los items del menu\nPor supuesto faltaría profundizar mas por cada opcion de cada sub-item (lo he dejado por el momento)\n[code=fw:1jaekhrw]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">if</span> ModuloAcces<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"Facturas\"</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"&Facturacion\"</span><br /> <span style=\"color: #0000ff;\">MENU</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Grabar &Facturas\"</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"etc\"</span><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /><span style=\"color: #00C800;\">endif</span><br /><br /><span style=\"color: #00C800;\">if</span> ModuloAcces<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"inventario\"</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"&Inventario\"</span><br /> <span style=\"color: #0000ff;\">MENU</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Grabar &Entradas (Compras y otros)\"</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Grabar &Salidas (Salidas diversas)\"</span><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /><span style=\"color: #00C800;\">endif</span><br /> </div>[/code:1jaekhrw]\n\nSaludos.",
"time": "00:23",
"topic": "Bitácora de Sistema",
"username": "FranciscoA"
}
] |
Bitácora de Sistema
|
[
{
"date": "2015-08-30",
"forum": "FiveWin para Harbour/xHarbour",
"text": "JoseLuis[quote:17sz376r]=En relacion a lo que necesita el colega, es guardar las acciones del usuario durante su estadia en el sistema, algo como un diario, lo que le llamamos..BITACORA DE USUARIO...[/quote:17sz376r]\n\nUpssssss.. \"Se te fué la onda\" (como decimos aqui)\n\nJosé:\nEfectivamente, uso una function llamada proceso() donde envío lo que hizo el usuario. Solo la uso para modificaciones o borrados.\n\nEjemplo, despues de comparar los datos pertinentes, si estos son diferentes hago lo siguiente:\nif cDescrip <> cDescripAnter\n Proceso(cNomUser+ \" Hizo cambios en xxx\") //cNomUser es static\nendif\n\n[code=fw:17sz376r]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">//------------------------</span><br /><span style=\"color: #00C800;\">Function</span> Proceso<span style=\"color: #000000;\">(</span>cData<span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">local</span> cOldSele:=<span style=\"color: #0000ff;\">Select</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, cFile<br /><span style=\"color: #00C800;\">local</span> nAnoProceso:=Val<span style=\"color: #000000;\">(</span>GetPvProfString<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"config\"</span>,<span style=\"color: #ff0000;\">\"AnoProceso\"</span>,<span style=\"color: #ff0000;\">\"0\"</span>,cIniFile<span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">local</span> cBitacora:=GetPvProfString<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"config\"</span>,<span style=\"color: #ff0000;\">\"bitacora\"</span>,<span style=\"color: #ff0000;\">\"S\"</span>,cIniFile<span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">local</span> cEquipo:=GetEnv<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"COMPUTERNAME\"</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">local</span> cUserWind:=GetEnv<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"USERNAME\"</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">local</span> cLogAnual<br /><br />cData:=cData+<span style=\"color: #ff0000;\">\" \"</span>+Alltrim<span style=\"color: #000000;\">(</span>cEquipo<span style=\"color: #000000;\">)</span>+<span style=\"color: #ff0000;\">\"_\"</span>+cUserWind<br /><br /> <span style=\"color: #00C800;\">if</span> upper<span style=\"color: #000000;\">(</span>cBitacora<span style=\"color: #000000;\">)</span>=<span style=\"color: #ff0000;\">\"S\"</span><br /> CrlProceso<span style=\"color: #000000;\">(</span>cData,nAnoProceso<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /><br /><span style=\"color: #B900B9;\">//*******</span><br /> <span style=\"color: #B900B9;\">//limpiar Logfile cada año</span><br /> <span style=\"color: #00C800;\">if</span> <span style=\"color: #0000ff;\">Year</span><span style=\"color: #000000;\">(</span>date<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span> <> nAnoProceso<br /> cLogAnual:=cExeName+<span style=\"color: #0000ff;\">Substr</span><span style=\"color: #000000;\">(</span>STR<span style=\"color: #000000;\">(</span>nAnoProceso,<span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">)</span>,<span style=\"color: #000000;\">3</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">)</span><br /> FRename<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">(</span>cPathDef<span style=\"color: #000000;\">)</span>+<span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\\"</span>+cExeName,(cPathDef)+\"</span>\\<span style=\"color: #ff0000;\">\"+cLogAnual )<br /> CopyFiles( {(cPathDef)+\"</span>\\<span style=\"color: #ff0000;\">\"+cLogAnual},{ GetWinDir()+\"</span>\\<span style=\"color: #ff0000;\">\"+cLogAnual} ) //DOBLE CONTROL<br /> WritePProString(\"</span>config<span style=\"color: #ff0000;\">\",\"</span>AnoProceso<span style=\"color: #ff0000;\">\",Str(Year(date())),cIniFile)<br /> endif<br /><br /> LogFile( cExeName, {cData} )<br />//*******<br /><br />RETURN NIL<br /></span></div>[/code:17sz376r]\n\nSaludos.",
"time": "00:36",
"topic": "Bitácora de Sistema",
"username": "FranciscoA"
}
] |
Bitácora de Sistema
|
[
{
"date": "2015-08-30",
"forum": "FiveWin para Harbour/xHarbour",
"text": "José, se me quedaba la funcion:\n[code=fw:2b4xft4g]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">//---------------------------Escribir en un fichero txt</span><br /><span style=\"color: #00C800;\">Function</span> CrlProceso<span style=\"color: #000000;\">(</span>cCadena,nAnoProceso<span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">local</span> cFile := <span style=\"color: #000000;\">(</span>cPathDef<span style=\"color: #000000;\">)</span>+<span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\B</span>itaco.txt\"</span>, nHand, cBitacAno<br /><span style=\"color: #00C800;\">local</span> cCad:=Dtoc<span style=\"color: #000000;\">(</span>date<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span>+<span style=\"color: #ff0000;\">\" \"</span>+time<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>+<span style=\"color: #ff0000;\">\": \"</span>+cCadena<br /><span style=\"color: #00C800;\">local</span> FO_READWRITE:=<span style=\"color: #000000;\">2</span>, FO_SHARED:=<span style=\"color: #000000;\">64</span> , FS_END:=<span style=\"color: #000000;\">2</span> <span style=\"color: #B900B9;\">//Fileio.ch</span><br /><br /> <span style=\"color: #B900B9;\">//limpiar Bitacora cada año</span><br /><span style=\"color: #00C800;\">if</span> <span style=\"color: #0000ff;\">Year</span><span style=\"color: #000000;\">(</span>date<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span> <> nAnoProceso<br /> cBitacAno:=<span style=\"color: #ff0000;\">\"BITC\"</span>+<span style=\"color: #0000ff;\">substr</span><span style=\"color: #000000;\">(</span>STR<span style=\"color: #000000;\">(</span>nAnoProceso,<span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">)</span>,<span style=\"color: #000000;\">3</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">)</span><br /> CopyFiles<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">{</span>cFile<span style=\"color: #000000;\">}</span>,<span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">(</span>cPathDef<span style=\"color: #000000;\">)</span>+<span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\\"</span>+cBitacAno+\"</span>.txt<span style=\"color: #ff0000;\">\"} )<br /> Ferase(cFile)<br /> WritePProString(\"</span>config<span style=\"color: #ff0000;\">\",\"</span>AnoProceso<span style=\"color: #ff0000;\">\",Str(Year(date())),cIniFile)<br />endif<br /><br />if !file(cFile)<br /> nHand := FCreate( cFile ) // creamos el archivo <br /> FWrite(nHand, cCad + CRLF+\"</span><span style=\"color: #ff0000;\">\") // escribimos en el archivo<br /> FClose(nHand) // cerramos el fichero<br />else<br /> nHand := FOpen( cFile, FO_READWRITE + FO_SHARED ) // abrimos el fichero lect-escrit-compartido<br /> FSeek(nHand, 0, FS_END) // nos colocamos al final del fichero<br /> FWrite(nHand, cCad + CRLF+\"</span><span style=\"color: #ff0000;\">\") // escribimos en el fichero<br /> FClose(nHand) // cerramos el fichero<br />endif<br /><br /> //WinExec(\"</span>NotePad.exe <span style=\"color: #ff0000;\">\"+cFile) <br /> SysRefresh()<br />Return nil<br /></span></div>[/code:2b4xft4g]\nSaludos.",
"time": "00:40",
"topic": "Bitácora de Sistema",
"username": "FranciscoA"
}
] |
Bitácora de Sistema
|
[
{
"date": "2015-08-30",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Francisco, revisare lo del los menu, lo mas importante es como dices, que active o no los sub-menu, estoy pensando en hacer algo como un TREE que las principales sean los titulos del menu y las ramas..cada sub-menu y al final le hacerle un check de activar o no al igual q las cabezeras, si la cabezera tien false..entonces no activo los sub-menu, crei seria algo sencillo y practico...lo que me tiene un poco perdido es crear las cabezeras y sub-menus dinamicamente desde un array que lo cargaria desde la tabla o dbf, si termino algo lo camparto haber si lo vamos mejorando para todos...o si alguien tiene algo que quiera compartir...sera bien recibido..gracias..saludos... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->",
"time": "02:02",
"topic": "Bitácora de Sistema",
"username": "joseluisysturiz"
}
] |
Bitácora de Sistema
|
[
{
"date": "2015-08-30",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[code=fw:23or895r]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br />Creación <span style=\"color: #0000ff;\">menu</span> en forma dinámica desde una tabla<br /><br />estructura de la tabla <span style=\"color: #0000ff;\">menu</span>.dbf<br /><br />- ccodigousu = código del usuario para filtrar su <span style=\"color: #0000ff;\">menu</span><br />- ccodigomen <span style=\"color: #000000;\">(</span>character <span style=\"color: #000000;\">20</span><span style=\"color: #000000;\">)</span>= código del <span style=\"color: #0000ff;\">menu</span> en estructura tipo árbol : <br /> primer nivel <span style=\"color: #000000;\">01</span>,<span style=\"color: #000000;\">02</span>,<span style=\"color: #000000;\">03</span>,etc<br /> segundo nivel <span style=\"color: #000000;\">0101</span>, <span style=\"color: #000000;\">0102</span>,<span style=\"color: #000000;\">0103</span>... etc<br /> tercer nivel <span style=\"color: #000000;\">010101</span>, <span style=\"color: #000000;\">010102</span>,<span style=\"color: #000000;\">010103</span>...etc<br />- cnombremen = nombre de la opción del <span style=\"color: #0000ff;\">menu</span><br />- lActOpcMen <span style=\"color: #000000;\">(</span>lógico<span style=\"color: #000000;\">)</span>= activa o desactiva opción del <span style=\"color: #0000ff;\">menu</span> para el usuario filtrado<br /> - cFunEjeMen = <span style=\"color: #00C800;\">function</span> a ejecturar según opcion<br /><br /><span style=\"color: #B900B9;\">// el llamado desde la window principal</span><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">46</span>, <span style=\"color: #000000;\">128</span> ;<br /> <span style=\"color: #0000ff;\">TITLE</span> HB_OEMTOANSI<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"ZERUS. Sistema de Gesti¢n Empresarial\"</span><span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">BRUSH</span> oBrush ;<br /> <span style=\"color: #0000ff;\">ICON</span> oIco ;<br /> <span style=\"color: #0000ff;\">MENU</span> MenuPrincipal<span style=\"color: #000000;\">(</span>oWnd<span style=\"color: #000000;\">)</span> ;<br /> MENUINFO <span style=\"color: #000000;\">3</span> ;<br /> <span style=\"color: #0000ff;\">MDI</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MenuPrincipal<span style=\"color: #000000;\">(</span>oWnd,cCodUsu<span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> cAliAct := <span style=\"color: #0000ff;\">ALIAS</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #B900B9;\">//INDEX ON CCODIGOMEN TAG ORDER1 TO &(cPatSis+\"\\menu.cdx\")</span><br />lUsaTab<span style=\"color: #000000;\">(</span>cPatSis+<span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\\"</span>, 'MENU.Dbf','MEN','MENU.CDX',.F.,NIL,'DBFCDX')<br /><br /> SET FILTER TO MEN->cCodigoUsu == cCodUsu<br /><br /> SELECT MEN<br /> DBSETORDER(1)<br /> GO TOP<br /><br /> MENU oMenu 2007<br /><br /> DO WHILE MEN->( !EOF() )<br /><br /> HB_IDLESTATE()<br /><br /> IF MEN->lActOpcMen<br /> MENUITEM HB_OEMTOANSI( ALLTRIM(MEN->cNombreMen) )<br /> ELSE<br /> MENUITEM HB_OEMTOANSI( ALLTRIM(MEN->cNombreMen) ) DISABLED<br /> ENDIF<br /><br /> MENU<br /> MENUX(1)<br /> ENDMENU<br /><br /> ENDDO<br /><br /> ENDMENU<br /><br />RETURN<br /><br /><br />//**************************************************************************************<br /><br />FUNCTION MENUX( nNroNiv )<br /><br /> LOCAL bBloEje, nNivAct<br /><br /> nNivAct := SUBS( MEN->cCodigoMen, 1, nNroNiv * 2 )<br /> DO WHILE MEN->( !EOF() ) .AND. SUBS( MEN->cCodigoMen,1,nNroNiv * 2 ) == nNivAct<br /><br /> IF LEN(ALLTRIM(MEN->cCodigoMen)) > nNroNiv * 2<br /> cFunEje := MEN->cFunEjeMen<br /> cNomOpc := HB_OEMTOANSI(MEN->cNombreMen)<br /> cRegAct := ALLTRIM(MEN->cCodigoMen)<br /><br /> MEN->( DBSKIP() )<br /> cRegSig := SUBS( MEN->cCodigoMen,1,( nNroNiv + 1 ) * 2 )<br /><br /> IF cRegAct == cRegSig<br /><br /> IF MEN->lActOpcMen // cRegAct<br /> MENUITEM ( ALLTRIM(cNomOpc) )<br /> ELSE<br /> MENUITEM ( ALLTRIM(cNomOpc) ) DISABLED<br /> ENDIF<br /><br /> SELECT MEN<br /> SKIP -1<br /> MENU<br /> MenuX( nNroNiv + 1 )<br /> ENDMENU<br /><br /> ELSE<br /><br /> bBloEje := &( \"</span><span style=\"color: #000000;\">{</span>||<span style=\"color: #ff0000;\">\" + IF( EMPTY( cFunEje ), \"</span>.T.<span style=\"color: #ff0000;\">\", ALLTRIM( cFunEje ) ) + \"</span><span style=\"color: #000000;\">}</span><span style=\"color: #ff0000;\">\" )<br /><br /> IF MEN->lActOpcMen<br /> MENUITEM ( ALLTRIM(cNomOpc) ) ACTION ( bBloEje ) BLOCK bBloEje<br /> ELSE<br /> MENUITEM ( ALLTRIM(cNomOpc) ) DISABLED ACTION ( bBloEje ) BLOCK bBloEje<br /> ENDIF<br /><br /> ENDIF<br /> ELSE<br /> MEN->( DBSKIP() )<br /> ENDIF<br /><br /> ENDDO<br /><br />RETURN NIL<br /><br /><br />johnson russi<br /><br /></span></div>[/code:23or895r]",
"time": "17:02",
"topic": "Bitácora de Sistema",
"username": "russimicro"
}
] |
Bitácora de Sistema
|
[
{
"date": "2015-09-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "muchas muchas gracias por sus ideas y aportes.. los comenzaré a analizar y luego les cuento como va quedando .. <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) --> muy amables todos!!!!\nRealmente me estan ayudando mucho!!\n\nSaludos,",
"time": "00:21",
"topic": "Bitácora de Sistema",
"username": "jose_murugosa"
}
] |
Bitácora de Sistema
|
[
{
"date": "2018-06-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Has anybody seen this type of behaviour in your FiveWin app. Using Bcc7:\n[img:9uc5our1]http://www.matrixcomputer.com/sharedimages/blackscreen.jpg[/img:9uc5our1]\n\nSeems to happen after user has been utilizing the program for a while.\nDoesn't happen on all workstations.\n\nThanks in advance...\n\nByron,",
"time": "21:39",
"topic": "Black Background on Window / Dialog",
"username": "byron.hopp"
}
] |
Black Background on Window / Dialog
|
[
{
"date": "2018-06-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "One of the reasons this could happen is when the brush used as background is deleted/released prematurely.",
"time": "02:09",
"topic": "Black Background on Window / Dialog",
"username": "nageswaragunupudi"
}
] |
Black Background on Window / Dialog
|
[
{
"date": "2017-09-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I have a fairly large app that sometimes the area of the MDI Frame turns black. Is this some sort of a resource leak in my app, any suggestions on what to check for, or how to remedy.\n\nBcc7\n\nThanks, \n\nByron ...",
"time": "15:44",
"topic": "Black Screen of Death.",
"username": "byron.hopp"
}
] |
Black Screen of Death.
|
[
{
"date": "2017-09-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Byron\n\nI presume this happens randomly ... I would put a few well placed oWndMdi:Refresh() and perhaps accompanied by a SysReFresh() after coming out of some of your large ( add\\edit ) modules .. after you close your tables ... especially if you are closing ADO tables .. and if they are Ado tables .. make sure you destroy the oRs Object .... oRs := nil ( even if oRs is a Local variable ) .. then oWndMdi:ReFresh(),SysReFresh()\n\nRick Lipkin",
"time": "16:08",
"topic": "Black Screen of Death.",
"username": "Rick Lipkin"
}
] |
Black Screen of Death.
|
[
{
"date": "2017-09-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Question, has GRADIENT in window?",
"time": "16:13",
"topic": "Black Screen of Death.",
"username": "karinha"
}
] |
Black Screen of Death.
|
[
{
"date": "2017-09-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "No to the Gradiant in the background.\nRick, thanks sounds very reasonable. It does use ADO everywhere.",
"time": "16:20",
"topic": "Black Screen of Death.",
"username": "byron.hopp"
}
] |
Black Screen of Death.
|
[
{
"date": "2017-09-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Byron,\n\nPlease also check the consume of GDI objects in your app:\n\n[url:2zbpwy6c]http://wiki.fivetechsoft.com/doku.php?id=fivewin_function_setresdebug[/url:2zbpwy6c]",
"time": "07:52",
"topic": "Black Screen of Death.",
"username": "Antonio Linares"
}
] |
Black Screen of Death.
|
[
{
"date": "2017-09-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "How do you make sure they are disposed of properly?\n\nJust launch my program, and then exit , and I get:\n\nCheckRes.Txt file...\n09/09/17 11:23:08: C:\\Datafile\\tmsbcc\\tmsbcc.exe -- FONT,1846159188,TMDIFRAME:GETFONT(3122)->TMDICLIENT:GETFONT(3099)->TMDICLIENT:NEW(147)->TMDIFRAME:NEW(178)->MAIN(106)\n\t\n09/09/17 11:23:08: C:\\Datafile\\tmsbcc\\tmsbcc.exe -- BMP,-1476060091,TMDIFRAME:HANDLEEVENT(0)->_FWH(3602)->WINRUN(0)->TMDIFRAME:ACTIVATE(1020)->MAIN(119)\n\t\n09/09/17 11:23:08: C:\\Datafile\\tmsbcc\\tmsbcc.exe -- ====================================================================================================\t\nEnd of CheckRes.txt file...\n\nHow do I get rid of these?\n\nByron ...",
"time": "19:26",
"topic": "Black Screen of Death.",
"username": "byron.hopp"
}
] |
Black Screen of Death.
|
[
{
"date": "2017-09-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Don't worry about those as FWH will clean them <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "10:53",
"topic": "Black Screen of Death.",
"username": "Antonio Linares"
}
] |
Black Screen of Death.
|
[
{
"date": "2017-09-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"byron.hopp\":3tf89m35]I have a fairly large app that sometimes the area of the MDI Frame turns black. Is this some sort of a resource leak in my app, any suggestions on what to check for, or how to remedy.\n\nBcc7\n\nThanks, \n\nByron ...[/quote:3tf89m35]\n\nWhat version of FWH are you using?\n\nRandal",
"time": "15:02",
"topic": "Black Screen of Death.",
"username": "Randal"
}
] |
Black Screen of Death.
|
[
{
"date": "2017-09-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Fivewin for Harbour 15.10",
"time": "18:00",
"topic": "Black Screen of Death.",
"username": "byron.hopp"
}
] |
Black Screen of Death.
|
[
{
"date": "2017-09-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"byron.hopp\":1s9gn0mq]Fivewin for Harbour 15.10[/quote:1s9gn0mq]\n\nHave you tried monitoring the GDI count on the Details tab of Windows (10) task manager?\n\nRandal",
"time": "22:33",
"topic": "Black Screen of Death.",
"username": "Randal"
}
] |
Black Screen of Death.
|
[
{
"date": "2017-09-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "On my Windows 10 Task Manager I don't see GDI Count, where would I find it.\n\nOn Details Tab:\nName\nPID\nStatus\nUser name\nCPU\nMemory (private working set)\nDescription\n\nOr is it one of the rows of the grid?\n\nThanks, \n\nByron ...",
"time": "22:57",
"topic": "Black Screen of Death.",
"username": "byron.hopp"
}
] |
Black Screen of Death.
|
[
{
"date": "2017-09-13",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Byron:\n\nYou may need to right click on one of the column headings to show a list of all column headings and then check the GDI column so it's visible.\n\nAs you open and close various windows/dialogs in your app you can watch the GDI count go up/down. As you close a dialog or window the GDI count should return to the value it was before you opened it or more specifically, repeated calls to the same window/dialog/report, etc. should not cause the GDI count to continue increasing.\n\nRandal\n\n\n[quote=\"byron.hopp\":ujk4zzgd]On my Windows 10 Task Manager I don't see GDI Count, where would I find it.\n\nOn Details Tab:\nName\nPID\nStatus\nUser name\nCPU\nMemory (private working set)\nDescription\n\nOr is it one of the rows of the grid?\n\nThanks, \n\nByron ...[/quote:ujk4zzgd]",
"time": "04:34",
"topic": "Black Screen of Death.",
"username": "Randal"
}
] |
Black Screen of Death.
|
[
{
"date": "2017-09-13",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Randall,\n\nWasn't that easy, sorry man I had no idea. I'll start looking at this. \n\nByron ...",
"time": "17:35",
"topic": "Black Screen of Death.",
"username": "byron.hopp"
}
] |
Black Screen of Death.
|
[
{
"date": "2017-11-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Once I see this number, what action do I take based on what value?\n\nMy customer is really getting a little pissy about this happening.\n\nThanks, \n\nByron ...",
"time": "21:18",
"topic": "Black Screen of Death.",
"username": "byron.hopp"
}
] |
Black Screen of Death.
|
[
{
"date": "2017-11-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Byron\n\nCan you reproduce this behavior on your machine or on other machines ... If not, I would ask your Customer to look at the offending machine(s) device manager and see what display adapter is in those machine(s).\n\nI bet you will find this is a local machine problem and a cranky video driver.\n\nRick Lipkin",
"time": "22:44",
"topic": "Black Screen of Death.",
"username": "Rick Lipkin"
}
] |
Black Screen of Death.
|
[
{
"date": "2017-11-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"byron.hopp\":2oaxrakb]Once I see this number, what action do I take based on what value?\n\nMy customer is really getting a little pissy about this happening.\n\nThanks, \n\nByron ...[/quote:2oaxrakb]\n\nByron,\n\nIs that number increasing and increasing ?",
"time": "11:23",
"topic": "Black Screen of Death.",
"username": "Antonio Linares"
}
] |
Black Screen of Death.
|
[
{
"date": "2019-10-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "For quite a while I had a problem on TBrowse grids where the screen background would turn black. This problem only came up on new versions of Windows 10, and only on some workstations (specifically Dell). I finally found a resolution and would like to share it.\n\nOur tbrowse grids far left column had a bitmap which we would toggle from having a bitmap, to no bitmap.\nWhen we toggled to no bitmap we just set the bitmap to nil.\nWorked fine on Windows 7, and some workstations on Windows 10.\nThis seemed to be the problem. I need to create a blank bitmap and problem went away.\nSo instead of setting it to nil we set to a blank bitmap (or whatever color the background was).\n\nHopefully this helps somebody.\n\nThanks,",
"time": "16:42",
"topic": "Black Screen on TBrowse with Windows 10.",
"username": "byron.hopp"
}
] |
Black Screen on TBrowse with Windows 10.
|
[
{
"date": "2018-08-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I asked often about this problem, and as I have found in the past, if I don't get many answers it must pretty unique.\nI found a solution to the black screen problem on some workstations, and it was the way we handled bitmaps.\n\n// Declare \n LOCAL bTagOn := LoadBitMap( GetResources(),\"CHECK4\" ) // single red check mark\n LOCAL bTagOff := LoadBitMap( GetResources(),\"CHECK5\" ) // blank grey screen\n\n// TC Browse Columns\n\n ADD COLUMN TO oBRW2 DATA if( lLogicalVar,bTagOn,bTagOff ) HEADER \"Include\" BITMAP SIZE 50 ALIGN CENTER\n\nWe run into the problem with the black screen on a Dell OPTEPLEX 7050 when we did the following. \n\n ADD COLUMN TO oBRW2 DATA if( lLogicalVar,bTagOn,\"\" ) HEADER \"Include\" BITMAP SIZE 50 ALIGN CENTER\n\nHaving the empty string passed to the browse column for a bitmap did not work well on the Dell, worked everywhere else.\n\nThanks,\n\nByron ...",
"time": "21:01",
"topic": "Black Screen within grids",
"username": "byron.hopp"
}
] |
Black Screen within grids
|
[
{
"date": "2018-08-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Byron,\n\nthanks for sharing it",
"time": "09:10",
"topic": "Black Screen within grids",
"username": "Antonio Linares"
}
] |
Black Screen within grids
|
[
{
"date": "2015-03-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi everyone;\n\nIn an effort not to stay too far behind today I'm testing with a newer fwh and noticed a black square around my btnbmps when the mouse hovers over it. That black square surrounding the button is not there with fwh 2012_04. Maybe I'm doing something wrong or maybe this is what everybody else likes. I don't like the black square. Is there a way to get rid of it?\n\n[code=fw:110uy030]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />...<br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"clm_tabs\"</span> ;<br /> <span style=\"color: #0000ff;\">OF</span> ::<span style=\"color: #000000;\">oOwner</span> TRANSPARENT <span style=\"color: #0000ff;\">COLOR</span> CLR_BLUE, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">240</span>, <span style=\"color: #000000;\">240</span>, <span style=\"color: #000000;\">240</span> <span style=\"color: #000000;\">)</span> ;<br /> GRADIENT <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">217</span>, <span style=\"color: #000000;\">227</span>, <span style=\"color: #000000;\">234</span> <span style=\"color: #000000;\">)</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">237</span>, <span style=\"color: #000000;\">242</span>, <span style=\"color: #000000;\">248</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> ;<br /> <span style=\"color: #0000ff;\">TITLE</span> cTitle<br />...<br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> aoBtns<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">301</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"Save32\"</span> TRANSPARENT NOBORDER TOOLTIP <span style=\"color: #ff0000;\">\"Save claim information to disk.\"</span><br /><br /> </div>[/code:110uy030]\n\nThank you,\n\n\nReinaldo.",
"time": "20:35",
"topic": "Black Square around BTNBMPs",
"username": "reinaldocrespo"
}
] |
Black Square around BTNBMPs
|
[
{
"date": "2015-03-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Here is a self-contained reduced sample of the problem. All you have to do is hover over the btnbmp to see the [ugly] black square that gets drawn around the button:\n\n[code=fw:xucq2tno]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> START<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <br /> <span style=\"color: #00C800;\">LOCAL</span> oDlg<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"TestDlg\"</span><br /> <br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"Find16\"</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">OF</span> oDlg NOBORDER ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"btnbmp\"</span> <span style=\"color: #000000;\">)</span> TRANSPARENT ;<br /> TOOLTIP <span style=\"color: #ff0000;\">\"Test BtnBmp\"</span> <br /> <br /> <span style=\"color: #0000ff;\">REDEFINE</span> BUTTONBMP BITMAP <span style=\"color: #ff0000;\">\"Close16\"</span> ;<br /> TEXTRIGHT ;<br /> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">201</span> ;<br /> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br /> <span style=\"color: #0000ff;\">ACTION</span> oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> ;<br /> TOOLTIP <span style=\"color: #ff0000;\">\"Remove id image\"</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <br /> <br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span> <br /> </div>[/code:xucq2tno]\n\nNow the .rc file\n\n[code=fw:xucq2tno]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />CLOSE16 BITMAP<br />MOVEABLE PURE LOADONCALL DISCARDABLE<br />LANGUAGE LANG_NEUTRAL, <span style=\"color: #000000;\">0</span><br />BEGIN<br /><span style=\"color: #ff0000;\">'42 4D 9E 02 00 00 00 00 00 00 36 00 00 00 28 00 '</span><br /><span style=\"color: #ff0000;\">'00 00 0E 00 00 00 0E 00 00 00 01 00 18 00 00 00 '</span><br /><span style=\"color: #ff0000;\">'00 00 68 02 00 00 12 0B 00 00 12 0B 00 00 00 00 '</span><br /><span style=\"color: #ff0000;\">'00 00 00 00 00 00 FF FF FF FF FF FF FE FE FE F6 '</span><br /><span style=\"color: #ff0000;\">'F6 F7 FD FD FD FF FF FF FF FF FF FF FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FF FD FD FD F5 F5 F6 FE FE FE FF FF FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'00 00 FF FF FF FD FD FE CF CF D5 5A 5A A8 D0 D0 '</span><br /><span style=\"color: #ff0000;\">'D4 FD FD FE FF FF FF FF FF FF FC FC FD C1 C1 CB '</span><br /><span style=\"color: #ff0000;\">'5F 5E A9 DE DE E4 FE FE FE FF FF FF 00 00 FE FE '</span><br /><span style=\"color: #ff0000;\">'FE CD CD D4 3E 3D C1 39 35 EE 51 4F C2 D2 D2 D8 '</span><br /><span style=\"color: #ff0000;\">'FD FD FE FC FC FD C0 C0 C9 4D 4A CE 3B 38 EE 4A '</span><br /><span style=\"color: #ff0000;\">'4A B6 DE DE E4 FE FE FE 00 00 FC FC FD 5B 5B AF '</span><br /><span style=\"color: #ff0000;\">'0E 0D EB 2A 28 F4 45 41 F2 50 4F BF D1 D1 D6 BF '</span><br /><span style=\"color: #ff0000;\">'BF CA 4D 4A CD 49 45 F4 2D 2A F5 13 12 E8 77 77 '</span><br /><span style=\"color: #ff0000;\">'B7 FE FE FE 00 00 FF FF FF E2 E2 EE 3C 3C C8 13 '</span><br /><span style=\"color: #ff0000;\">'13 EF 2A 27 F4 39 36 F1 46 46 C4 42 40 D0 3C 38 '</span><br /><span style=\"color: #ff0000;\">'F3 2B 29 F4 16 15 EE 4D 4D C5 ED ED F7 FF FF FF '</span><br /><span style=\"color: #ff0000;\">'00 00 FF FF FF FF FF FF E0 E0 ED 3C 3B CA 0E 0D '</span><br /><span style=\"color: #ff0000;\">'EF 18 16 F4 1E 1C F3 20 1E F3 18 17 F3 10 0F ED '</span><br /><span style=\"color: #ff0000;\">'4F 4F CB EC EC F7 FF FF FF FF FF FF 00 00 FF FF '</span><br /><span style=\"color: #ff0000;\">'FF FF FF FF FF FF FF DA DA E7 32 32 CA 02 03 F2 '</span><br /><span style=\"color: #ff0000;\">'04 03 F3 03 03 F2 04 04 F1 46 46 BC EB EB F5 FF '</span><br /><span style=\"color: #ff0000;\">'FF FF FF FF FF FF FF FF 00 00 FF FF FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FC FC FD B8 B8 C4 27 27 D2 01 01 F2 01 01 F3 00 '</span><br /><span style=\"color: #ff0000;\">'00 F2 02 02 F1 38 38 C3 CF CF D5 FD FD FE FF FF '</span><br /><span style=\"color: #ff0000;\">'FF FF FF FF 00 00 FF FF FF FC FC FD BD BD C6 3B '</span><br /><span style=\"color: #ff0000;\">'3B CD 1E 1E F1 21 21 F5 23 23 F3 23 23 F3 21 21 '</span><br /><span style=\"color: #ff0000;\">'F4 22 22 F0 48 48 BF D2 D2 D8 FD FD FE FF FF FF '</span><br /><span style=\"color: #ff0000;\">'00 00 FE FE FE C3 C3 CD 53 53 CF 4B 4B F4 4B 4B '</span><br /><span style=\"color: #ff0000;\">'F6 4C 4C F3 5C 5C C9 55 55 CD 4B 4B F3 4B 4B F6 '</span><br /><span style=\"color: #ff0000;\">'4C 4C F2 57 57 C0 D6 D6 DB FD FD FE 00 00 FC FC '</span><br /><span style=\"color: #ff0000;\">'FD 75 75 B9 6F 6F F2 6D 6D F8 6E 6E F4 6A 6A C3 '</span><br /><span style=\"color: #ff0000;\">'EC EC F6 E2 E2 F1 66 66 CC 6E 6E F5 6C 6C F7 6F '</span><br /><span style=\"color: #ff0000;\">'6F F1 81 81 B3 FD FD FE 00 00 FF FF FF EE EE F4 '</span><br /><span style=\"color: #ff0000;\">'77 77 CA 8E 8E F5 77 77 C9 F0 F0 F7 FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FF FF E4 E4 EE 75 75 CF 8E 8E F4 7B 7B C2 F5 F5 '</span><br /><span style=\"color: #ff0000;\">'FA FF FF FF 00 00 FF FF FF FF FF FF F0 F0 F6 91 '</span><br /><span style=\"color: #ff0000;\">'91 C9 F3 F3 F9 FF FF FF FF FF FF FF FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FF E7 E7 EF 92 92 C6 F7 F7 FA FF FF FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FF FF FF FF FF FF FF FF FF FF FF FF 00 00 '</span><br />END<br /><br /><br />FIND16 BITMAP<br />MOVEABLE PURE LOADONCALL DISCARDABLE<br />LANGUAGE LANG_NEUTRAL, <span style=\"color: #000000;\">0</span><br />BEGIN<br /><span style=\"color: #ff0000;\">'42 4D 36 03 00 00 00 00 00 00 36 00 00 00 28 00 '</span><br /><span style=\"color: #ff0000;\">'00 00 10 00 00 00 10 00 00 00 01 00 18 00 00 00 '</span><br /><span style=\"color: #ff0000;\">'00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 '</span><br /><span style=\"color: #ff0000;\">'00 00 00 00 00 00 FF FF FF FF FF FF FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FF FF FF FF FF FF FF FF FF 91 91 91 88 88 88 8A '</span><br /><span style=\"color: #ff0000;\">'8A 8A 8A 8A 8A 85 85 85 AD AD AD FF FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FF C8 C8 C8 83 83 83 8A 8A 8A 8A 8A 8A 89 89 89 '</span><br /><span style=\"color: #ff0000;\">'86 86 86 FC FC FC C0 B9 B8 DA 9F 95 FF DA D7 DD '</span><br /><span style=\"color: #ff0000;\">'BA B5 A4 79 71 7B 4B 40 61 33 2B FF FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FF 97 64 5D EE BB B2 F3 D3 CF BB 94 8E 83 56 4B '</span><br /><span style=\"color: #ff0000;\">'7F 49 3F A7 A7 A7 E9 E4 E3 B6 83 7C DE BA B6 BE '</span><br /><span style=\"color: #ff0000;\">'9D 98 8D 66 5F 6A 3E 34 5F 33 2A FF FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FF 98 66 5F CB 9C 95 D2 B3 AF A0 7D 77 71 47 3E '</span><br /><span style=\"color: #ff0000;\">'6D 3D 34 C8 C8 C8 FF FF FF B9 8C 84 EB D4 D2 D1 '</span><br /><span style=\"color: #ff0000;\">'B8 B3 9B 78 72 72 4C 41 64 3D 34 FF FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FF AD 81 76 DA B4 AD E3 CE CC B2 93 8C 7C 57 4D '</span><br /><span style=\"color: #ff0000;\">'6C 40 38 EC EC EB FF FF FF D6 B4 AA FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FC F5 BE A7 9F 8A 6D 61 74 54 4A FF FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FF D4 AC A2 FF F2 E8 FF FF FF DD CB C4 97 7C 71 '</span><br /><span style=\"color: #ff0000;\">'77 56 4C FF FF FF FF FF FF A2 88 80 FF FF FF FE '</span><br /><span style=\"color: #ff0000;\">'F3 ED B9 A1 99 86 68 5C 76 54 4B FF FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FF D0 A7 9D FD EA E1 FF FF FF D8 C4 BC 95 79 6E '</span><br /><span style=\"color: #ff0000;\">'62 43 39 FF FF FF FF FF FF A2 8D 88 FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FC F6 BD A6 9E 87 69 5E 84 60 55 93 93 93 C2 C2 '</span><br /><span style=\"color: #ff0000;\">'C2 DC B1 A7 FF F2 E9 FF FF FF DE CB C3 9A 7E 72 '</span><br /><span style=\"color: #ff0000;\">'4C 34 2D FF FF FF FF FF FF CB BC B9 DD D3 D3 C4 '</span><br /><span style=\"color: #ff0000;\">'AF A9 94 74 6B 79 56 4B 75 52 48 3A 2D 28 7B 6C '</span><br /><span style=\"color: #ff0000;\">'69 A7 80 76 C4 A7 9E D4 C5 C4 BB A0 99 96 73 69 '</span><br /><span style=\"color: #ff0000;\">'7A 6C 6A FF FF FF FF FF FF FF FF FF 79 69 65 E5 '</span><br /><span style=\"color: #ff0000;\">'CC C3 DF D8 D6 91 81 7A 65 4C 41 32 20 1C 6D 5A '</span><br /><span style=\"color: #ff0000;\">'56 DF BD B1 E3 DF DB 93 81 79 5A 41 36 2E 1E 19 '</span><br /><span style=\"color: #ff0000;\">'FF FF FF FF FF FF FF FF FF FF FF FF 98 80 7B FF '</span><br /><span style=\"color: #ff0000;\">'FF FD FF FF FF C6 AF A5 8D 6E 60 36 23 1E 74 63 '</span><br /><span style=\"color: #ff0000;\">'5D FF F0 E4 FF FF FF D7 C1 B9 91 72 66 45 30 2B '</span><br /><span style=\"color: #ff0000;\">'FF FF FF FF FF FF FF FF FF FF FF FF C7 B4 B0 D2 '</span><br /><span style=\"color: #ff0000;\">'BC B4 C2 B1 AE 95 75 6C 7C 58 4D 39 26 23 53 3F '</span><br /><span style=\"color: #ff0000;\">'39 CD A9 A0 CC C0 BF B1 93 8D 85 63 58 60 4C 48 '</span><br /><span style=\"color: #ff0000;\">'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF B2 '</span><br /><span style=\"color: #ff0000;\">'99 94 FF FF FF FF F6 F0 96 7A 6C 8E 7E 79 BF AE '</span><br /><span style=\"color: #ff0000;\">'AB FF FF FF FF FE F8 8F 73 65 81 6C 67 FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FF FF 62 38 30 7A 68 64 3A 20 19 FF FF FF CE C0 '</span><br /><span style=\"color: #ff0000;\">'BD 77 5F 59 40 26 1D 9B 88 85 FF FF FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FF FF D5 CA C7 83 6E 69 7D 65 5F FF FF FF F7 F6 '</span><br /><span style=\"color: #ff0000;\">'F5 93 7E 78 7B 61 5B FF FF FF FF FF FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF '</span><br /><span style=\"color: #ff0000;\">'FF FF FF FF FF FF '</span><br />END<br /><br /><br />TESTDLG <span style=\"color: #0000ff;\">DIALOG</span> <span style=\"color: #000000;\">6</span>, <span style=\"color: #000000;\">14</span>, <span style=\"color: #000000;\">163</span>, <span style=\"color: #000000;\">98</span><br /><span style=\"color: #0000ff;\">STYLE</span> DS_SETFONT |DS_MODALFRAME |WS_OVERLAPPED |WS_VISIBLE |WS_SYSMENU |WS_CAPTION <br />CAPTION <span style=\"color: #ff0000;\">\"Test Dlg\"</span><br /><span style=\"color: #0000ff;\">FONT</span> <span style=\"color: #000000;\">8</span>, <span style=\"color: #ff0000;\">\"MS Sans Serif\"</span><br />LANGUAGE LANG_NEUTRAL, <span style=\"color: #000000;\">0</span><br />BEGIN<br /> CONTROL <span style=\"color: #ff0000;\">\"\"</span>,<span style=\"color: #000000;\">1001</span>,<span style=\"color: #ff0000;\">\"BUTTON\"</span>,BS_GROUPBOX |WS_CHILD |WS_VISIBLE ,<span style=\"color: #000000;\">3</span>,<span style=\"color: #000000;\">69</span>,<span style=\"color: #000000;\">154</span>,<span style=\"color: #000000;\">23</span><br /> CONTROL <span style=\"color: #ff0000;\">\" Close\"</span>,<span style=\"color: #000000;\">201</span>,<span style=\"color: #ff0000;\">\"BUTTON\"</span>,BS_PUSHBUTTON |BS_VCENTER |BS_CENTER |WS_CHILD |WS_TABSTOP |WS_VISIBLE ,<span style=\"color: #000000;\">104</span>,<span style=\"color: #000000;\">75</span>,<span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">14</span><br /> CONTROL <span style=\"color: #ff0000;\">\"\"</span>,<span style=\"color: #000000;\">200</span>,<span style=\"color: #ff0000;\">\"TBtnBmp\"</span>,WS_CHILD |WS_VISIBLE ,<span style=\"color: #000000;\">15</span>,<span style=\"color: #000000;\">11</span>,<span style=\"color: #000000;\">14</span>,<span style=\"color: #000000;\">14</span><br />END<br /> </div>[/code:xucq2tno]\n\nPerhaps now you can all see what I mean?\n\nReinaldo.",
"time": "22:52",
"topic": "Black Square around BTNBMPs",
"username": "reinaldocrespo"
}
] |
Black Square around BTNBMPs
|
[
{
"date": "2015-03-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Let us simplify the test program futher so that anyone can test it easily. Also let us choose a larger bitmap so that the rectangle is visible more clearly.\n\n[code=fw:qkdmp4kv]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oDlg, oBtn<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">TITLE</span> FWVERSION<br /><br /> @ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn FILE <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\c</span>ascade.bmp\"</span> ;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">30</span>,<span style=\"color: #000000;\">30</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg TRANSPARENT NOBORDER <span style=\"color: #B900B9;\">//2007</span><br /><br /> @ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">70</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Close\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">60</span>,<span style=\"color: #000000;\">14</span> <span style=\"color: #0000ff;\">PIXEL</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;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:qkdmp4kv]\nWhen the mose hovers over the btnbmp we see a rectagle around the border of the button. This change happend around 14.08 when the earlier unweildy paint method was reorganised.\n\nYears back when the hover rectangle was introduced, it was implemented for 2007 buttons only and not for non-2007 style buttons. Now this feature works for both 2007 and non-2007 style btnbmps. Partculaly with noborder btnbmps this feature provides a visual indication of the hovered button.\n\nI request testing this sample program. Retaining or removal of this feature would depend on general users' preference.",
"time": "06:22",
"topic": "Black Square around BTNBMPs",
"username": "nageswaragunupudi"
}
] |
Black Square around BTNBMPs
|
[
{
"date": "2015-03-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Reinaldo,\n\n[quote=\"reinaldocrespo\":3m72rdb6]Here is a self-contained reduced sample of the problem. All you have to do is hover over the btnbmp to see the [ugly] black square that gets drawn around the button:[/quote:3m72rdb6]\n\nI see no black square around the button.\n\nEMG",
"time": "11:52",
"topic": "Black Square around BTNBMPs",
"username": "Enrico Maria Giordano"
}
] |
Black Square around BTNBMPs
|
[
{
"date": "2015-03-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Rao,\n\nI only see a tiny gray border around the button.\n\nEMG",
"time": "11:53",
"topic": "Black Square around BTNBMPs",
"username": "Enrico Maria Giordano"
}
] |
Black Square around BTNBMPs
|
[
{
"date": "2015-03-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Yes. I think that is what he is referring to.\nYou will see that more clearly in my example.\nThis appears when move hovers, highlighting the hovered button",
"time": "12:07",
"topic": "Black Square around BTNBMPs",
"username": "nageswaragunupudi"
}
] |
Black Square around BTNBMPs
|
[
{
"date": "2015-03-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote:12e9wn90]I request testing this sample program. Retaining or removal of this feature would depend on general users' preference.[/quote:12e9wn90]\n\nMy friends; think about it... if it is coded as NOBORDER, then it shouldn't draw a border so it really isn't a matter of user preference. If the user prefers a border, then remove the NOBORDER clause. Don't you think?\n\nBTW- what I see here is a black rectangle/square as you hover over the button.",
"time": "14:18",
"topic": "Black Square around BTNBMPs",
"username": "reinaldocrespo"
}
] |
Black Square around BTNBMPs
|
[
{
"date": "2015-03-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "There may be a better place to make this change but I get what I would call expected behavior by editing the Click() method of btnbmp.prg, adding a call to ::ResetBorder() at the end as follows:\n\n[code=fw:3tpw0yrx]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> ::<span style=\"color: #00C800;\">Super</span>:<span style=\"color: #0000ff;\">Click</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// keep it here, the latest!</span><br /> ::<span style=\"color: #000000;\">lProcessing</span> = .F.<br /><span style=\"color: #00C800;\">endif</span><br /> </div>[/code:3tpw0yrx]\n\n[code=fw:3tpw0yrx]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> ::<span style=\"color: #00C800;\">Super</span>:<span style=\"color: #0000ff;\">Click</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// keep it here, the latest!</span><br /> ::<span style=\"color: #000000;\">lProcessing</span> = .F.<br /> ::<span style=\"color: #000000;\">ResetBorder</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">endif</span><br /> </div>[/code:3tpw0yrx]\n\nThis is with 15.02, msvc\n\nRobb",
"time": "06:52",
"topic": "Black Square around BTNBMPs",
"username": "rhlawek"
}
] |
Black Square around BTNBMPs
|
[
{
"date": "2008-05-26",
"forum": "Off Topic / Otros temas",
"text": "Estimados señores:\r\n\r\n¿Alguien conoce y/o desarrolla software para dispositivos Blackberry?",
"time": "18:25",
"topic": "Blackberry",
"username": "fgondi"
}
] |
Blackberry
|
[
{
"date": "2006-09-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "¿Alguien ha intentado usar Blat desde FiveWin y bajo XP? Les ha funcionado?\n\n¿Existe una clase para manejar esta utilidad?\n\nSaludos y gracias\nCarlos G.",
"time": "23:02",
"topic": "Blat.exe",
"username": "FiveWiDi"
}
] |
Blat.exe
|
[
{
"date": "2006-09-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Carlos,\n\nyo no he utilizado Blat <!-- m --><a class=\"postlink\" href=\"http://www.blat.net/\">http://www.blat.net/</a><!-- m --> desde Fivewin, pero sí lo he hecho desde la solución de Backup Legato Networker y te puedo asegurar que es muy fácil su utilización. Qué necesitas ?\n\nSaludos,\n\nFélix",
"time": "11:32",
"topic": "Blat.exe",
"username": "Baxajaun"
}
] |
Blat.exe
|
[
{
"date": "2006-09-04",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Baxajaun\n\nPodrias postear un ejemplo funcional, incluyendo attachments, de como se usa BLAT.EXE \n\nSaludos\n\n\nGeorge",
"time": "17:02",
"topic": "Blat.exe",
"username": "George"
}
] |
Blat.exe
|
[
{
"date": "2006-09-05",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"Baxajaun\":2p18juth]Hola Carlos,\n\nyo no he utilizado Blat <!-- m --><a class=\"postlink\" href=\"http://www.blat.net/\">http://www.blat.net/</a><!-- m --> desde Fivewin, pero sí lo he hecho desde la solución de Backup Legato Networker y te puedo asegurar que es muy fácil su utilización. Qué necesitas ?\n\nSaludos,\n\nFélix[/quote:2p18juth]\n\nLa cosa es que he creado una clase que con un simple oMail := New(mis,parametros,de,envio):Send():End() todo se crea 'de perlas' y a la hora de enviar aparecen los problemas externos a la aplicación. (Esta tarde si puedo cuelgo la clase para que quien quiera).\n\nEl primer problema que he tenido es que el McAffee tenía bloqueado el envío de mails para Blat.exe, ya está solucionado, habilité que blat.exe pudiera enviar.\n\nEl segundo problema es que estoy intentado enviar sin haber realizado un '-install' y me constesta que el servidor no conoce las cuentas ¡¡destinatarias!!.\n\nAhora mismo en el entorno donde estoy no puedo reproducir el error; intentaré desde casa averiguar el código de error concreto.\n\nSaludos y gracias.\nCarlos G.",
"time": "07:52",
"topic": "Blat.exe",
"username": "FiveWiDi"
}
] |
Blat.exe
|
[
{
"date": "2006-09-08",
"forum": "FiveWin para Harbour/xHarbour",
"text": "George,\n\nla documentación de Blat es muy clara <!-- m --><a class=\"postlink\" href=\"http://www.blat.net/examples/\">http://www.blat.net/examples/</a><!-- m -->\n\nprimero la instalación:\n\nblat -install miservidor midireccion@midominio\n\npor ejemplo para enviar lo que llega por la salida estandar:\n\nblat - -to recipient -s \"SAVEGROUP COMPLETION REPORT\" -server smtp_server -q\n\ndonde recipient es la dirección de quien va a recibir el mensaje, lo que va de tras de -s es el asunto , smtp_server es el servidor y -q suprime todas las salidas por pantalla.\n\nPara envio de ficheros:\n\n- Ficheros binarios\n\nblat cuerpodelmensaje -to recipient -s \"Mis asuntos\" -server smtp_server -attach mifichero1,mifichero2,mificheroN -q\n\n- Ficheros ascii\n\nblat cuerpodelmensaje -to recipient -s \"Mis asuntos\" -server smtp_server -attacht mifichero1,mifichero2,mificheroN -q\n\nEn la página de blat <!-- m --><a class=\"postlink\" href=\"http://www.blat.net\">http://www.blat.net</a><!-- m --> tienes todas las opcioes del programa.\n\nSaludos",
"time": "09:17",
"topic": "Blat.exe",
"username": "Baxajaun"
}
] |
Blat.exe
|
[
{
"date": "2006-09-08",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Carlos,\n\nde la documentación de blat:\n\nBlat does not need to be installed!\nAll the 'Blat -install' command does is store various parameters in the Windows Regestry!\n \nNo necesita ser instalado. Y lo que hace blat -install es alamacenar varios parámetros en el registro de windows, almacenará los parámetros que le pasemos, como nombre del servidor, cuenta de correo que envia los mensajes, puerto utilizado, etc ...\n\nSaludos",
"time": "09:22",
"topic": "Blat.exe",
"username": "Baxajaun"
}
] |
Blat.exe
|
[
{
"date": "2006-09-08",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"Baxajaun\":2ts5hul5]Carlos,\n\nde la documentación de blat:\n\nBlat does not need to be installed!\nAll the 'Blat -install' command does is store various parameters in the Windows Regestry!\n \nNo necesita ser instalado. Y lo que hace blat -install es alamacenar varios parámetros en el registro de windows, almacenará los parámetros que le pasemos, como nombre del servidor, cuenta de correo que envia los mensajes, puerto utilizado, etc ...\n\nSaludos[/quote:2ts5hul5]\n\nEntiendo que con las opciones que tiene Blat, es posible realizar un '-install' de datos falsos y al momento de usar el Blat.exe especificar un servidor y un mail correctos. Es así?\nAun así, no me gusta realizar un '-install' y preferiría no hacerlo.\nSigo en ello (tengo poco tiempo)\n\nPor cierto, como puedo lanzar un fichero BAT desde FiveWin sobre W2000 o XP? Con Shellexecute no lo consigo.\n\nSaludos y gracias\nCarlos G.",
"time": "11:53",
"topic": "Blat.exe",
"username": "FiveWiDi"
}
] |
Blat.exe
|
[
{
"date": "2006-09-15",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Buscando, buscando, en la página de Daniel Andrade ahora alojada en \n\n<!-- m --><a class=\"postlink\" href=\"http://vikthor.com.mx/fivewin/\">http://vikthor.com.mx/fivewin/</a><!-- m -->\n\nhe econtrado una clase para manejar Blat escrita por Jesus D¡ez Gonzalez. Ahora también la tenéis en Hyperupload:\n\n<!-- m --><a class=\"postlink\" href=\"http://hyperupload.com/download/0270efa094/tblat.zip.html\">http://hyperupload.com/download/0270efa ... t.zip.html</a><!-- m --> \n\nSaludos,\n\nFelix",
"time": "21:45",
"topic": "Blat.exe",
"username": "Baxajaun"
}
] |
Blat.exe
|
[
{
"date": "2006-09-20",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"Baxajaun\":1tr8q1mm]Buscando, buscando, en la página de Daniel Andrade ahora alojada en \n\n<!-- m --><a class=\"postlink\" href=\"http://vikthor.com.mx/fivewin/\">http://vikthor.com.mx/fivewin/</a><!-- m -->\n\nhe econtrado una clase para manejar Blat escrita por Jesus D¡ez Gonzalez. Ahora también la tenéis en Hyperupload:\n\n<!-- m --><a class=\"postlink\" href=\"http://hyperupload.com/download/0270efa094/tblat.zip.html\">http://hyperupload.com/download/0270efa ... t.zip.html</a><!-- m --> \n\nSaludos,\n\nFelix[/quote:1tr8q1mm]\n\nGracias Felix,\n\nAyer dejé en utilidades una nueva clase para manejar Blat.exe de muy fácil uso y que no realiza (aunque si se desea lo permite) el install del Blat.\n\nLa clase que me indicas (tblat) no era de mi gusto, no me sentía cómodo (naturalmente con todo el respeto y agradecimiento a su creador).\n\nAunque se puede mejorar y ampliar mucho (de manera muy fácil), lo que hace esta clase cubre mis necesidades.\n\nLa principal característica es que trabaja con ficheros auxiliares que crea y borra automáticamente, de ahí la 'f' en su nombre.\n\nAquí se puede bajar:\n<!-- m --><a class=\"postlink\" href=\"http://hyperupload.com/download/0285db1b91/TfBlat.prg.html\">http://hyperupload.com/download/0285db1 ... t.prg.html</a><!-- m --> \n\nSaludos y gracias de nuevo.\nCarlos G.",
"time": "08:08",
"topic": "Blat.exe",
"username": "FiveWiDi"
}
] |
Blat.exe
|
[
{
"date": "2006-09-20",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Carlos,\n\nmuchas gracias.\n\nSaludos,\n\nFélix",
"time": "10:40",
"topic": "Blat.exe",
"username": "Baxajaun"
}
] |
Blat.exe
|
[
{
"date": "2011-09-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Buenas tardes,\n\nAlguien tiene o usa el enlazador Blinker 7.0 que me pueda enviar x email?\n\nGracias de antemano",
"time": "21:13",
"topic": "Blinker 7",
"username": "Compuin"
}
] |
Blinker 7
|
[
{
"date": "2011-09-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Por favor, no solicitar el envio de programas que no son libres, gracias",
"time": "22:05",
"topic": "Blinker 7",
"username": "Antonio Linares"
}
] |
Blinker 7
|
[
{
"date": "2006-01-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\n\nHappy new year to alls <!-- s:!: --><img src=\"{SMILIES_PATH}/icon_exclaim.gif\" alt=\":!:\" title=\"Exclamation\" /><!-- s:!: --> \n\nIs someone using Blinker 7.0 with [x]Harbour <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \nIt is possible and if not, why <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "11:35",
"topic": "Blinker and [x]Harbour compatibility",
"username": "Badara Thiam"
}
] |
Blinker and [x]Harbour compatibility
|
[
{
"date": "2006-01-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Badara Thiam\":1ec6hz46]Hello,\n\nHappy new year to alls <!-- s:!: --><img src=\"{SMILIES_PATH}/icon_exclaim.gif\" alt=\":!:\" title=\"Exclamation\" /><!-- s:!: --> \n\nIs someone using Blinker 7.0 with [x]Harbour <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \nIt is possible and if not, why <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->[/quote:1ec6hz46]\n\nNo, you have to use the linker of the C compiler you are using.\n\nEMG",
"time": "12:54",
"topic": "Blinker and [x]Harbour compatibility",
"username": "Enrico Maria Giordano"
}
] |
Blinker and [x]Harbour compatibility
|
[
{
"date": "2006-01-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Badara,\n\nEnrico's advise is the best choice, anyhow Blinker 7 lets you create 32 bits Windows EXE so theoretically it would be possible to use it to build Harbour/xHarbour applications.",
"time": "14:16",
"topic": "Blinker and [x]Harbour compatibility",
"username": "Antonio Linares"
}
] |
Blinker and [x]Harbour compatibility
|
[
{
"date": "2007-02-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi everybody,\n\nMy Problem is :\n\nIn Edit mode while I skip record one by one, say infos (like, row sum or display info from other database) are blinking. I am not able to stop blinking.\n\nI used, \n \n oSay:Refresh()\n\nprior to jump next record. But I do not get expected result.\n\nI also tried as,\n \n @ x, y Say oSay Prompt \"\" of oDlg ...\n\nprior to display next record info. But I do not get expected result.\n\nHow can I stop blinking ?\n\nWith Regards\nArindam",
"time": "15:22",
"topic": "Blinking Say info",
"username": "Arindam"
}
] |
Blinking Say info
|
[
{
"date": "2007-02-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Arindam,\n\nI'm not sure I understand the problem--it is going to have to erase and redraw the info which is going to cause a blink. If there is a lag time, then perhaps you are doing a lot of background processing between each record movement?\n\nCan you provide a small self contained example that shows the problem?\n\nJames",
"time": "18:19",
"topic": "Blinking Say info",
"username": "James Bott"
}
] |
Blinking Say info
|
[
{
"date": "2008-06-06",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello!\r\n\r\nHow to blink or make it blinking the xbrowse current row on ::nMarqueeStyle := MARQSTYLE_HIGHLROWRC <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \r\n\r\n\r\nHas any one with working code?\r\n\r\nThanks and regards,",
"time": "15:20",
"topic": "Blinking current row in xBrowse",
"username": "fraxzi"
}
] |
Blinking current row in xBrowse
|
[
{
"date": "2008-06-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Friend,\r\n\r\nFor me its work with tWBrowse:\r\n[code:jesjbeih]\n...\n @ 0,0 LISTBOX oLbxP1 FIELDS \"\" HEADERS \"\" SIZE 200,nSplitH PIXEL OF oChildWnd\n...\n DEFINE TIMER oCLITimer OF oWnd INTERVAL 300 ACTION Blinking( oLbxP1 )\n ACTIVATE TIMER oCLITimer\n\n ACTIVATE WINDOW oChildWnd MAXIMIZED\n return nil\n\nFunction Blinking( oBrw ) \n oBrw:nClrNFBack := iif( oBrw:nClrNFBack==oBrow:nClrBackfocus, oBrow:nClrBackfocus, CLR_BLACK)\n oBrw:nClrNFFore := iif( oBrw:nClrNFFore==oBrow:nClrBackfocus, CLR_BLACK, oBrow:nClrBackfocus)\n oBrw:Refresh() \n return .t.\n...\n[/code:jesjbeih]",
"time": "23:35",
"topic": "Blinking current row in xBrowse",
"username": "Rochinha"
}
] |
Blinking current row in xBrowse
|
[
{
"date": "2008-06-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Rochinha!\r\n\r\n\r\nFinally! someone generously answer this question.\r\n\r\nYou are right! <!-- s8) --><img src=\"{SMILIES_PATH}/icon_cool.gif\" alt=\"8)\" title=\"Cool\" /><!-- s8) --> the timer is the only way... changing the row's background color in iteration... I'm inspired to do it in xBrowse.\r\n\r\n\r\nThank you so much for the guide.\r\n\r\nRegards,",
"time": "03:20",
"topic": "Blinking current row in xBrowse",
"username": "fraxzi"
}
] |
Blinking current row in xBrowse
|
[
{
"date": "2008-06-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Good luck,\r\n\r\nA little modification:\r\n[code:1dr0lbx1]\nFunction Blinking( oBrw )\n if ! oBrw:lFocused\n oBrw:nClrNFBack := iif( oBrw:nClrNFBack==oBrw:nClrBackFocus,oBrw:nClrBackFocus,CLR_BLACK)\n oBrw:nClrNFFore := iif( oBrw:nClrNFFore==oBrw:nClrBackFocus,CLR_BLACK,oBrw:nClrBackFocus)\n oBrw:Refresh() \n endif\n return .t.\n[/code:1dr0lbx1]",
"time": "03:36",
"topic": "Blinking current row in xBrowse",
"username": "Rochinha"
}
] |
Blinking current row in xBrowse
|
[
{
"date": "2007-04-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi!\n\nIn my following test code, no of say are more for display the information. My problem is that, while I am entering data during checking and displaying the information, the Say information’s are blinking. The blinking rates are increasing gradually.\n\n#include \"FiveWin.ch\"\n \nStatic oGet, oSay, n, oFont, cStat\nStatic oDbf, oDbf1, oDbf2\n//----------------------------------------------------------------------------//\n\nFunction Main()\n Local oDlg1, BtnVal\n Local oBtnFind, oBtnDele, oBtnNext, oBtnPrev, oBtnGo, oBtnAdd, oBtnEdit, oBtnSave\n Local a1Buttons\n\n Set Century On\n Set Date Brit\n Set Date format \"dd/mm/yyyy\"\n\n // Replace value\n cStat := \"ADD\"\n\n // Open CustCat database and associate Indexes\n USE (CurDrive() + \":\\\" + \"Testpro\\Data\\CustCat.Dbf\") Alias \"RefCate\" NEW SHARED\n DATABASE oDbf2 \n \n // Open associate index files.\n SET INDEX TO (CurDrive() + \":\\\" + \"Testpro\\Data\\Cust_cat\")\n \n // Open Customer database and associate Indexes\n USE (CurDrive() + \":\\\" + \"Testpro\\Data\\Customer.Dbf\") Alias \"RefCust\" NEW SHARED\n DATABASE oDbf1 \n \n // Open associate index files.\n SET INDEX TO (CurDrive() + \":\\\" + \"Testpro\\Data\\Cust_no\")\n \n // Open Refill database and associate Indexes\n USE (CurDrive() + \":\\\" + \"Testpro\\Data\\Refill.Dbf\") Alias \"Refill\" NEW SHARED\n DATABASE oDbf \n\n // Open associate index files.\n SET INDEX TO (CurDrive() + \":\\\" + \"Testpro\\Data\\Ref_ord\")\n\n // Clean the Customer dataBase buffer\n oDbf:Blank() \n \n oDbf:OrderDt := oDbf2:LstOrdDt\n oDbf:OrderNo := oDbf2:LstOrdNo + 1\n oDbf:Cashmemo := oDbf2:LstCshMemo + 1\n oDbf:DaySerial := oDbf2:LstDaySrl + 1\n \n //Field gets strt here\n DEFINE FONT oFont NAME \"COURIER\" SIZE 12, 10\n \n DEFINE DIALOG oDlg1 ICON oIco RESOURCE \"Booking\" of oBookWind TITLE \"ADD INDENT\" Color RGB(170, 200, 210), RGB(170, 200, 210)\n \n SET FONT of oDlg1 to oFONT\n \n REDEFINE BUTTON oBtnFind ID 1 OF oDlg1\n\n REDEFINE BUTTON oBtnDele ID 2 OF oDlg1\n\n REDEFINE BUTTON oBtnNext ID 3 OF oDlg1\n\n REDEFINE BUTTON oBtnPrev ID 4 OF oDlg1\n\n REDEFINE BUTTON oBtnGo ID 5 OF oDlg1 \n \n REDEFINE BUTTON oBtnAdd ID 6 OF oDlg1\n\n REDEFINE BUTTON oBtnEdit ID 7 OF oDlg1 ;\n ACTION ( CheckESC(oDlg1), oDlg1:Update() )\n \n REDEFINE BUTTON oBtnBrow ID 8 OF oDlg1 ;\n ACTION ( lBrowFun := .T., oDlg1:End() )\n \n REDEFINE BUTTON oBtnSave ID 9 OF oDlg1 ;\n ACTION ( SaveData( oRecStat, username, today, oDlg1, UserName ), oDlg1:Update() )\n \n REDEFINE SAY oSay ID 12 OF oDlg1 Color RGB(56, 61, 249), RGB(170, 200, 210) Font oFont1 \n REDEFINE SAY oSay ID 13 OF oDlg1 Color RGB(56, 61, 249), RGB(170, 200, 210) Font oFont1 \n REDEFINE SAY oSay ID 14 OF oDlg1 Color RGB(56, 61, 249), RGB(170, 200, 210) Font oFont1 \n REDEFINE SAY oSay ID 15 OF oDlg1 Color RGB(56, 61, 249), RGB(170, 200, 210) Font oFont1 \n REDEFINE SAY oSay ID 16 OF oDlg1 Color RGB(56, 61, 249), RGB(170, 200, 210) Font oFont1 \n REDEFINE SAY oSay ID 17 OF oDlg1 Color RGB(56, 61, 249), RGB(170, 200, 210) Font oFont1 \n REDEFINE SAY oSay ID 18 OF oDlg1 Color RGB(56, 61, 249), RGB(170, 200, 210) Font oFont1 \n REDEFINE SAY oSay ID 19 OF oDlg1 Color RGB(56, 61, 249), RGB(170, 200, 210) Font oFont1 \n \n REDEFINE GET oGet Var oDbf:CustNo ID 20 OF oDlg1 ;\n Valid (If(!Empty(oDbf:CustNo), ;\n RegValCheck( \"ADD\", userlevel, username, today, oDlg1 )), BtnPrsVal()) ;\n Picture \"@!\" Color RGB(0, 0, 0), RGB(255, 255, 255) Font oFont \n\n REDEFINE GET oGet Var oDbf:DlvyChrg ID 21 OF oDlg1 ;\n When !Empty(oDbf:CustNo) ;\n Valid If(nOption3 = 1, If(oDbf:DlvyMode == \"H\", ;\n dChk(oDlg1, dName), .T.), .T.) ;\n Picture \"@Z 9999.99\" Color RGB(0, 0, 0), RGB(255, 255, 255) Font oFont \n \n REDEFINE GET oGet Var oDbf:DlvyReqst ID 22 OF oDlg1 ;\n When !Empty(oDbf:CustNo) ;\n Valid refcheck( \"ADD\" ) .And. ;\n ( If( SaveData( oRecStat, \"ADD\", today, oDlg1, UserName ), .T., (oDlg1:aControls[ 18 ]:Setfocus(), .T.) ), .T. ) ;\n Picture \"@!\" Color RGB(0, 0, 0), RGB(255, 255, 255) Font oFont \n\n a1Buttons = { oBtnFind, oBtnDele, oBtnNext, oBtnPrev, oBtnGo, ;\n oBtnAdd, oBtnEdit, oBtnBrow, oBtnSave }\n \n ACTIVATE DIALOG oDlg1 NOMODAL ;\n Valid CloseFun( oRecStat )\n\n // Disable appropriate buttons\n For n = 1 to Len( a1Buttons ) - 3\n a1Buttons[ n ]:Disable()\n Next\n\n // Following is to set focus\n oDlg1:aControls[ 18 ]:SetFocus(.T.)\n\n RELEASE FONT oFont\nReturn Nil\n\n//----------------------------------------------------------------------------//\n\nStatic Function SaveData( oRecStat, helpIDX, today, oDlg1, Username )\n Local saveAlias := Alias()\n Local saveRecno, saveOrder, chkCashmo, cBar := .F.\n Local cMRA := \" \"\n Local dName := \" \"\n \n // Confirm Message for continuation\n If !MsgYesNo(\"Sure to save current record.\", \"CONFIRM\")\n CheckESC(oDlg1)\n Return .T.\n Endif\n \n // First establish to locks configure control\n Do While !(oDbf2:RecLock())\n Enddo\n \n oDbf2:Load()\n \n dbSelectArea(saveAlias)\n\n //Field gets strt here\n DEFINE FONT oFont NAME \"COURIER\" SIZE 10, 10 BOLD\n\n // All locks successfull, check dependencies first\n If helpIDX == \"ADD\"\n // Save the current database state\n saveOrder := IndexOrd()\n saveRecNo := RecNo()\n\n chkCashmo := oDbf2:LstCshMemo+1\n \n // Set the controlling index\n dbSelectArea(\"Refill\")\n\n If chkCashmo <> 0\n dbSeek(Dtos(oDbf:DlvyDt)+Str(ChkCashmo,8)+oDbf:ExtnCount)\n\n If Found()\n Tone(300,5)\n \n MsgInfo(\"DUPLICATE CASHMEMO FOUND :\" + CRLF + CRLF + ;\n \"Another Cashmemo found as un-delivered in Service.\" + CRLF + ;\n \"Please CANCEL or SERVICE the same.\", \"WARNING\")\n\n // Restore current database state\n dbSelectArea(saveAlias)\n dbSetOrder(saveOrder)\n dbGoTo(saveRecNo)\n oDbf8:UnLock()\n CheckESC(oDlg1)\n Return .T.\n Endif\n Endif\n\n oDbf:OrderDt := oDbf2:LstOrdDt // Order Date\n oDbf:OrderNo := oDbf2:LstOrdNo+1 // Order No\n oDbf:DaySerial := oDbf2:LstDaySrl+1 // Day Serial No\n\n oDbf2:LstOrdNo := oDbf:OrderNo\n oDbf2:LstDaySrl := oDbf:DaySerial\n\n If Empty(oDbf:ExtnCount)\n oDbf:ExtnCount := \"E0\" // Extention No\n Endif\n\n // Restore current database state\n dbSelectArea(saveAlias)\n dbSetOrder(saveOrder)\n dbGoTo(saveRecNo)\n\n oDbf:Cashmemo := 0\n\n // Update parameters\n If oDbf:nOption1 == 1\n oDbf:Cashmemo := oDbf2:LstCshMemo + 1\n RefBlaze->LstCshMemo := oDbf:Cashmemo\n Endif\n\n If oDbf:DlvyMode == \"R\" .And. oDbf:DlvyChrg > 0\n oDbf:DlvyChrg := ((-1) * oDbf:DlvyChrg)\n Endif\n\n If oDbf:DlvyMode == \"C\"\n oDbf:DlvyChrg := oDbf2:DelCharges\n Endif\n\n dbSelectArea(\"RefCust\")\n\n // Update customer array\n oDbf1:TotRefill += oDbf:OrdCyl\n oDbf1:LstOrdNo := oDbf:OrderNo\n oDbf1:LstIndtDt := oDbf:OrderDt\n oDbf1:TotOpenBkg := oDbf1:TotOpenBkg + 1\n\n // Routine check for auto home delivery\n If oDbf:nOption1 <> 1\n If oDbf2:AutoDlvy == .T. .And. ( oDbf:DlvyMode == \"H\" .Or. oDbf:DlvyMode == \"C\" )\n If !(oDbf2:DlvyManCod)\n oDbf:Cashmemo := oDbf2:LstCshMemo + 1\n oDbf2:LstCshMemo := oDbf:Cashmemo\n Endif\n\n // Replace refill database\n oDbf:DlvyDt := today\n\n // Replace customer database\n oDbf1:LstDlvyDt := today\n oDbf1:TotOpenBkg := oDbf1:TotOpenBkg - 1\n Endif\n Else\n If oDbf8:AutoDlvy == .T. .And. ( oDbf:DlvyMode == \"H\" .Or. oDbf:DlvyMode == \"C\" )\n // Replace refill database\n oDbf:DlvyDt := today\n\n // Replace customer database\n oDbf1:LstDlvyDt := today\n oDbf1:TotOpenBkg := oDbf1:TotOpenBkg - 1\n Endif\n Endif\n\n // Update customer database\n oDbf1:RecLock() \n oDbf1:Save()\n oDbf1:Commit()\n oDbf1:UnLock()\n \n If oDbf2:DataConvt == .T. .And. oDbf2:DlvyManCod == .T.\n oDbf:CashmemoDt := today\n Endif\n \n // First establish to locks configure control\n oDbf:Append()\n oDbf:RecLock()\n oDbf:Save()\n oDbf:Commit()\n oDbf:UnLock() \n \n // Create new refill information\n dbSelectArea(saveAlias)\n Endif\n \n // Refresh for new entry\n oDbf:Blank()\n oDbf1:Blank()\n oDbf2:Blank()\n \n oDbf:OrderDt := oDbf2:LstOrdDt\n oDbf:Order := oDbf2:LstOrdNo+1\n oDbf:Cash := oDbf2:LstCshMemo+1\n oDbf:DaySerial := oDbf2:LstDaySrl+1\n \n // Display customer details\n @ 05, 17 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 80, 12 Font oFont\n\n @ 06, 17 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 300, 12 Font oFont\n\n @ 07, 17 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 300, 12 Font oFont\n\n @ 08, 17 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 300, 12 Font oFont\n\n @ 09, 17 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 300, 12 Font oFont\n\n @ 10, 17 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 60, 12 Font oFont\n\n @ 12, 17 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 150, 12 Font oFont\n\n @ 14, 17 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 100, 12 Font oFont\n\n @ 16, 17 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 100, 12 Font oFont\n\n @ 17, 17 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 100, 12 Font oFont\n\n @ 09, 80 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 82, 12 Font oFont\n\n @ 10, 80 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@Z 9999999999\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 82, 12 Font oFont\n\n @ 11, 80 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@Z 9999999999\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 82, 12 Font oFont\n\n @ 15, 80 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 95, 12 Font oFont\n\n @ 16, 80 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 95, 12 Font oFont\n\n @ 17, 80 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@D\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 82, 12 Font oFont\n\n @ 23, 116 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@D\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 100, 12 Font oFont\n\n @ 27, 116 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 100, 12 Font oFont\n \n @ 28, 116 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 120, 12 Font oFont\n\n @ 30, 116 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 120, 12 Font oFont\n \n @ 31, 116 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 120, 12 Font oFont\n \n @ 32, 116 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 120, 12 Font oFont\n \n @ 34, 116 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 100, 12 Font oFont\n \n @ 35, 116 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@D\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 82, 12 Font oFont\n \n @ 36, 116 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 100, 12 Font oFont\n \n @ 37, 116 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@D\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 82, 12 Font oFont\n \n @ 6, 80 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@D\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 100, 12 Font oFont\n\n @ 24, 116 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@D\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 100, 12 Font oFont\n\n @ 25, 116 Say oSay Prompt \"\" of oDlg1 ;\n Picture \"@D\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 100, 12 Font oFont\n\n // Erase booking history\n @ 24, 05 Say oSay Prompt \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont\n\n @ 25, 05 Say oSay Prompt \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont\n\n @ 26, 05 Say oSay Prompt \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont\n\n @ 27, 05 Say oSay Prompt \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont\n\n @ 28, 05 Say oSay Prompt \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont\n\n @ 29, 05 Say oSay Prompt \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont\n\n @ 30, 05 Say oSay Prompt \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont\n\n @ 31, 05 Say oSay Prompt \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont\n\n @ 32, 05 Say oSay Prompt \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont\n\n @ 33, 05 Say oSay Prompt \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont\n\n @ 34, 05 Say oSay Prompt \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont\n\n @ 35, 05 Say oSay Prompt \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont\n\n @ 36, 05 Say oSay Prompt \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont\n\n @ 37, 05 Say oSay Prompt \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont\n\n // Display booking info\n @ 05, 118 Say oSay Prompt oDbf:OrderDt of oDlg1 ;\n Picture \"@D\" Color RGB(0, 0, 0), RGB(170, 200, 210) SIZE 82, 12 Font oFont\n\n @ 06, 118 Say oSay Prompt oDbf:Order of oDlg1 ;\n Picture \"@Z 99999\" Color RGB(237, 27, 27), RGB(170, 200, 210) SIZE 82, 12 Font oFont\n\n @ 07, 118 Say oSay Prompt oDbf:Cash of oDlg1 ;\n Picture \"@Z 999.99\" Color RGB(0, 0, 0), RGB(170, 200, 210) SIZE 82, 12 Font oFont\n\n @ 08, 118 Say oSay Prompt oDbf:DaySerial of oDlg1 ;\n Picture \"@Z 9999\" Color RGB(0, 0, 0), RGB(170, 200, 210) SIZE 82, 12 Font oFont\n \n // Following is to set focus\n oDlg1:aControls[ 18 ]:Refresh(.T.)\n oDlg1:aControls[ 18 ]:Setfocus(.T.)\n \n RELEASE FONT oFont\nReturn .T.\n\n//----------------------------------------------------------------------------//\n\nStatic Function CloseFunc( oMenuItm, oMenu, oDlg1 )\n oDbf:Close()\n oDbf1:Close()\n oDbf2:Close()\nReturn .T.\n\n//-------------------------------------------------------------------//\n\nStatic Function RegValCheck( helpIDX, userlevel, username, today, oDlg1 )\n Local saveAlias := Alias()\n Local aMsg := \"\"\n Local aDlvyList := {}\n Local saveRecno, saveOrder, i, nDisp, lSay\n \n Set Century On\n Set Date Brit\n Set Date format \"dd/mm/yyyy\"\n\n If Empty(oDbf:CustNo)\n Return .F.\n Endif\n \n dbSelectArea(\"RefCust\")\n dbSeek(oDbf:CustNo)\n \n If Found()\n // Reload Customer Info\n oDbf1:Load() \n Else\n Tone(300,5)\n MsgStop(\"INVALID CUSTOMER NO :\" + CRLF + CRLF + ;\n \"Customer with this Customer No not available.\" + CRLF + ;\n \"Please enter correct No.\", \"WARNING\")\n\n dbSelectArea(saveAlias)\n Return .F.\n Endif\n \n // Check customer category\n If !chkkey(\"RefCate\", oDbf1:CustCat, 1, ;\n \"INVALID CUSTOMER CATEGORY :\" + CRLF + CRLF + ;\n \"Undefined customer category in Customer details.\")\n Return .F.\n Else\n dbSelectArea(\"RefCate\")\n dbSeek(oDbf1:CustCat)\n \n // Reload category info\n oDbf2:Load()\n Endif\n\n // Reset to entry point state\n dbSelectArea(saveAlias)\n\n // Collect previous refill information\n DispRef( aDlvyList )\n \n // Check if customer has taken transfer TV/TTV\n If !Empty(oDbf1:TvTtvNo)\n Tone(300,5)\n\n MsgStop(\"Customer has taken transfer from the Agency. \" + ;\n oDbf1:TvTtv + \" No. \" + ;\n Transform(oDbf1:TvTtvNo, \"@!\") + ;\n \" on \" + Transform(oDbf1:TvTtvDt, \"@D\") + \".\" + ;\n \" Transfered to \" + TRIM(Transform(oDbf1:BlkOutDist, \"@!\")) + \".\" ,;\n \"WARNING\")\n\n Return .F.\n Endif\n\n // Display info\n @ 05, 118 Say oSay PROMPT oDbf:OrderDt of oDlg1 ;\n Picture \"@D\" Color RGB(0, 0, 0), RGB(170, 200, 210) SIZE 82, 12 Font oFont1\n\n @ 06, 118 Say oSay PROMPT oDbf:Order of oDlg1 ;\n Picture \"@Z 99999\" Color RGB(237, 27, 27), RGB(170, 200, 210) SIZE 82, 12 Font oFont1\n\n @ 07, 118 Say oSay PROMPT oDbf:Cash of oDlg1 ;\n Picture \"@Z 999.99\" Color RGB(0, 0, 0), RGB(170, 200, 210) SIZE 82, 12 Font oFont1\n\n @ 08, 118 Say oSay PROMPT oDbf:DaySerial of oDlg1 ;\n Picture \"@Z 9999\" Color RGB(0, 0, 0), RGB(170, 200, 210) SIZE 82, 12 Font oFont1\n \n // Display customer details\n @ 05, 17 Say oSay PROMPT oDbf1:Degs of oDlg1 ;\n Picture \"@!\" Color RGB(0, 0, 0), RGB(170, 200, 210) SIZE 80, 12 Font oFont1\n\n @ 06, 17 Say oSay PROMPT oDbf1:Name of oDlg1 ;\n Picture \"@!\" Color RGB(237, 27, 27), RGB(170, 200, 210) SIZE 300, 12 Font oFont1\n\n @ 07, 17 Say oSay PROMPT oDbf1:Add1 of oDlg1 ;\n Picture \"@!\" Color RGB(0, 0, 0), RGB(170, 200, 210) SIZE 300, 12 Font oFont1\n\n @ 08, 17 Say oSay PROMPT oDbf1:Add2 of oDlg1 ;\n Picture \"@!\" Color RGB(0, 0, 0), RGB(170, 200, 210) SIZE 300, 12 Font oFont1\n\n @ 09, 17 Say oSay PROMPT oDbf1:Land of oDlg1 ;\n Picture \"@!\" Color RGB(0, 0, 0), RGB(170, 200, 210) SIZE 300, 12 Font oFont1\n\n @ 10, 17 Say oSay PROMPT oDbf1:Pin of oDlg1 ;\n Picture \"@!\" Color RGB(0, 0, 0), RGB(170, 200, 210) SIZE 60, 12 Font oFont1\n\n @ 12, 17 Say oSay PROMPT oDbf2:Desc of oDlg1 ;\n Picture \"@!\" Color RGB(237, 27, 27), RGB(170, 200, 210) SIZE 150, 12 Font oFont1\n\n @ 14, 17 Say oSay PROMPT oDbf1:DgccNo of oDlg1 ;\n Picture \"@!\" Color RGB(0, 0, 0), RGB(170, 200, 210) SIZE 100, 12 Font oFont1\n\n @ 09, 80 Say oSay PROMPT oDbf1:Contact of oDlg1 ;\n Picture \"@!\" Color RGB(237, 27, 27), RGB(170, 200, 210) SIZE 82, 12 Font oFont1\n\n @ 10, 80 Say oSay PROMPT oDbf1:OTel of oDlg1 ;\n Picture \"@Z 9999999999\" Color RGB(237, 27, 27), RGB(170, 200, 210) SIZE 82, 12 Font oFont1\n\n @ 11, 80 Say oSay PROMPT oDbf1:MTel of oDlg1 ;\n Picture \"@Z 9999999999\" Color RGB(237, 27, 27), RGB(170, 200, 210) SIZE 82, 12 Font oFont1\n\n @ 23, 116 Say oSay PROMPT oDbf1:Member of oDlg1 ;\n Picture \"@!\" Color RGB(237, 27, 27), RGB(170, 200, 210) SIZE 100, 12 Font oFont1\n\n @ 27, 116 Say oSay PROMPT oDbf1:Area of oDlg1 ;\n Picture \"@!\" Color RGB(0, 0, 0), RGB(170, 200, 210) SIZE 100, 12 Font oFont1\n \n If !Empty(oDbf1:AreaType)\n If oDbf1:AreaType == \"U\"\n @ 28, 116 Say oSay PROMPT \"URBAN AREA\" of oDlg1 ;\n Picture \"@!\" Color RGB(0, 0, 0), RGB(170, 200, 210) SIZE 120, 12 Font oFont1\n Elseif oDbf1:AreaType == \"R\"\n @ 28, 116 Say oSay PROMPT \"RURAL AREA\" of oDlg1 ;\n Picture \"@!\" Color RGB(0, 0, 0), RGB(170, 200, 210) SIZE 120, 12 Font oFont1\n Elseif oDbf1:AreaType == \"D\"\n @ 28, 116 Say oSay PROMPT \"DEEPAM AREA.\" of oDlg1 ;\n Picture \"@!\" Color RGB(0, 0, 0), RGB(170, 200, 210) SIZE 120, 12 Font oFont1\n Endif\n Endif\n\n dbSelectArea(saveAlias)\n\n // Save entry point state\n saveRecno := RecNo()\n saveOrder := IndexOrd()\n\n // Display previous refill details\n If Len(aDlvyList) > 0\n // Position cursor\n i := 24\n nDisp := 1\n \n // Display booking history\n For ndisp := 1 To Len(aDlvyList)\n @ i, 05 Say lSay PROMPT aDlvyList[ndisp][1] of oDlg1 ;\n Picture \"@!\" Color RGB(255, 255, 255), RGB(170, 200, 210) SIZE 555, 12 Font oFont1\n \n // Position cursor\n ++i\n Next \n \n i := 24\n nDisp := 1\n Endif \n\n // Reset to entry point state\n dbSelectArea(saveAlias)\n dbSetOrder(saveOrder)\n dbGoto(saveRecno)\n\n If helpIDX == \"ADD\"\n // Display the variable\n If !(Empty(oDbf1:LtManDt))\n @ 24, 116 Say oSay PROMPT Transform((oDbf1:LtManDt), \"@D\") ;\n of oDlg1 Color RGB(0, 0, 0), RGB(170, 200, 210) SIZE 100, 12 Font oFont1\n Else\n @ 24, 116 Say oSay PROMPT Transform((oDbf1:ManDt), \"@D\") ;\n of oDlg1 Color RGB(0, 0, 0), RGB(170, 200, 210) SIZE 100, 12 Font oFont1\n Endif\n\n @ 25, 116 Say oSay PROMPT Transform((oDbf1:ChgDt), \"@D\") ;\n of oDlg1 Color RGB(0, 0, 0), RGB(170, 200, 210) SIZE 100, 12 Font oFont1\n Endif\n \n // Check if customer is temporarily suspended\n If oDbf1:Suspended\n Tone(300,5)\n\n If !MsgYesNo(\"Customer is temporarily suspended. \" + ;\n \"Reason \" + Alltrim(oDbf1:Reason) + \".\" + CRLF + ;\n \"Would you like to continue ?\", \"CONFIRM\")\n \n CheckESC(oDlg1)\n Return .T.\n Endif\n Endif\n\n // Check if prev amount is due\n If !Empty(oDbf1:AmtPending)\n Tone(300,5)\n\n If !MsgYesNo(\"Last Service amount is pending from this \" + ;\n \"Customer Rs.\" + Transform(oDbf1:AmtPending, \"@BZ 99999.99\") + \".\" + CRLF + ;\n \"Would you like to continue ?\", \"CONFIRM\")\n\n CheckESC(oDlg1)\n Return .T.\n Endif\n Endif \n \n If !Empty(oDbf1:LstDDt) .And. ;\n (oDbf:OrderDt - oDbf1:LstDlDt) < oDbf2:BkgInt\n\n aMsg += \"Too early for this Service.\" + CRLF\n Endif\n \n If !Empty(oDbf1:LtManDt) .And. ;\n (oDbf:OrderDt - oDbf1:LtManDt) > oDbf2:MChkIntvl\n\n aMsg += \"Mandatory Inspection date is overdue.\" + CRLF\n\n // Equate field memory variables\n oDbf:ImtMessage := \"Mandatory Check overdue\" \n Endif\n \n If !Empty(aMsg)\n Tone(300,5)\n\n If !MsgYesNo(aMsg + CRLF + CRLF + ;\n \"Would you like to continue.\", \"CONFIRM\")\n \n CheckESC(oDlg1)\n Return .T.\n Endif\n Endif\n\n // Equate field memory variables\n oDbf:Status := \"N\"\n oDbf:DlvyReqst := oDbf1:DlvyReqst\n\n If (oDbf1:TotOpenBkg >= oDbf2:MaxOpenBkg .And. oDbf2:Confirm == .F.)\n Tone(300,5)\n\n MsgStop(\"ATTENTION : \" + CRLF + CRLF + ;\n \"Customer has one pending service. \" + ;\n \"Category not permited for next \" + ;\n \"Order.\", \"WARNING\")\n\n CheckESC(oDlg1)\n Return .T.\n Endif \n\n If !Empty(oDbf1:LstDlvyDt) .And. ;\n (oDbf:OrderDt - oDbf1:LstDlvyDt) < oDbf2:BkgIntervl\n\n If userlevel <> \"P\"\n // Early Booking\n Tone(300,5)\n MsgStop(\"ATTENTION : \" + CRLF + CRLF + ;\n \"Service is not due. For this Service \" + ;\n \"DSR's confirmation required. \" ,;\n \"WARNING\")\n\n CheckESC(oDlg1)\n Return .T. \n Endif\n Endif\n\n oDbf:CustCat := oDbf1:CustCat\n oDbf:CustArea := oDbf1:CustArea\n oDbf:AreaType := oDbf1:AreaType\n oDbf:CylType := oDbf2:CylType\n oDbf:Gap := oDbf2:DlvIntervl\n oDbf:BookTime := Time()\n \n If !Empty(username)\n Set Century Off\n oDbf:GenOnBy := username+\",\"+DTOC(today)\n Set Century On\n Endif\n\n // Reset to entry point state\n dbSelectArea(saveAlias)\n dbSetOrder(saveOrder)\n dbGoto(saveRecno)\nReturn .T.\n\n//----------------------------------------------------------------------------//\n\nStatic Function CheckESC(oDlg1)\n Local saveAlias := Alias()\n Local saveOrder, oFont1\n\n //Field gets strt here\n DEFINE FONT oFont1 NAME \"COURIER\" SIZE 10, 10 BOLD\n \n // Save entry point state\n saveOrder := IndexOrd()\n \n // Clear Dbf information\n oDbf:Blank()\n oDbf1:Blank()\n oDbf2:Blank()\n \n oDbf:OrderDt := oDbf2:LstOrdDt\n oDbf:OrderNo := oDbf2:LstOrdNo\n oDbf:Cashmemo := oDbf2:LstCshMemo\n oDbf:DaySerial := oDbf2:LstDaySrl\n\n DEFINE FONT oFont1 NAME \"COURIER\" SIZE 10, 10 BOLD\n \n // Display customer details\n @ 05, 17 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 80, 12 Font oFont1\n\n @ 06, 17 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 300, 12 Font oFont1\n\n @ 07, 17 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 300, 12 Font oFont1\n\n @ 08, 17 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 300, 12 Font oFont1\n\n @ 09, 17 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 300, 12 Font oFont1\n\n @ 10, 17 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 60, 12 Font oFont1\n\n @ 12, 17 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 150, 12 Font oFont1\n\n @ 14, 17 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 100, 12 Font oFont1\n\n @ 16, 17 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 100, 12 Font oFont1\n\n @ 17, 17 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 100, 12 Font oFont1\n\n @ 09, 80 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 82, 12 Font oFont1\n\n @ 10, 80 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@Z 9999999999\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 82, 12 Font oFont1\n\n @ 11, 80 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@Z 9999999999\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 82, 12 Font oFont1\n\n @ 15, 80 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 95, 12 Font oFont1\n\n @ 16, 80 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 95, 12 Font oFont1\n\n @ 17, 80 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@D\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 82, 12 Font oFont1\n\n @ 23, 116 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@D\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 100, 12 Font oFont1\n\n @ 27, 116 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 100, 12 Font oFont1\n \n @ 28, 116 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 120, 12 Font oFont1\n\n @ 30, 116 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 120, 12 Font oFont1\n \n @ 31, 116 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 120, 12 Font oFont1\n \n @ 32, 116 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 120, 12 Font oFont1\n \n @ 34, 116 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 100, 12 Font oFont1\n \n @ 35, 116 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@D\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 82, 12 Font oFont1\n \n @ 36, 116 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@!\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 100, 12 Font oFont1\n \n @ 37, 116 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@D\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 82, 12 Font oFont1\n \n @ 6, 80 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@D\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 100, 12 Font oFont1\n\n @ 24, 116 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@D\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 100, 12 Font oFont1\n\n @ 25, 116 Say oSay PROMPT \"\" of oDlg1 ;\n Picture \"@D\" Color RGB(170, 200, 210), RGB(170, 200, 210) SIZE 100, 12 Font oFont1\n\n // Display booking history\n @ 24, 05 Say oSay PROMPT \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont1\n\n @ 25, 05 Say oSay PROMPT \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont1\n\n @ 26, 05 Say oSay PROMPT \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont1\n\n @ 27, 05 Say oSay PROMPT \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont1\n\n @ 28, 05 Say oSay PROMPT \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont1\n\n @ 29, 05 Say oSay PROMPT \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont1\n\n @ 30, 05 Say oSay PROMPT \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont1\n\n @ 31, 05 Say oSay PROMPT \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont1\n\n @ 32, 05 Say oSay PROMPT \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont1\n\n @ 33, 05 Say oSay PROMPT \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont1\n\n @ 34, 05 Say oSay PROMPT \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont1\n\n @ 35, 05 Say oSay PROMPT \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont1\n\n @ 36, 05 Say oSay PROMPT \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont1\n\n @ 37, 05 Say oSay PROMPT \"\" of oDlg1 ;\n SIZE 555, 12 Color RGB(170, 200, 210), RGB(170, 200, 210) Font oFont1\n \n // Reload controls\n For n = 1 to Len(oDlg1:aControls) \n oDlg1:aControls[ n ]:Refresh(.T.)\n Next\n \n // Reload controls\n aSize((oDlg1:aControls), 88)\n\n // Display booking info\n @ 05, 118 Say oSay PROMPT oDbf:OrderDt of oDlg1 ;\n Picture \"@D\" Color RGB(0, 0, 0), RGB(170, 200, 210) SIZE 82, 12 Font oFont1\n\n @ 06, 118 Say oSay PROMPT oDbf:Order of oDlg1 ;\n Picture \"@Z 99999\" Color RGB(237, 27, 27), RGB(170, 200, 210) SIZE 82, 12 Font oFont1\n\n @ 07, 118 Say oSay PROMPT oDbf:Cash of oDlg1 ;\n Picture \"@Z 999.99\" Color RGB(0, 0, 0), RGB(170, 200, 210) SIZE 82, 12 Font oFont1\n\n @ 08, 118 Say oSay PROMPT oDbf:DaySerial of oDlg1 ;\n Picture \"@Z 9999\" Color RGB(0, 0, 0), RGB(170, 200, 210) SIZE 82, 12 Font oFont1\n\n // Following is to set focus\n oDlg1:aControls[ 18 ]:Refresh(.T.)\n oDlg1:aControls[ 18 ]:Setfocus(.T.)\n\n // Reset to entry point state\n dbSelectArea(saveAlias)\n dbSetOrder(saveOrder)\n\n RELEASE FONT oFont1\nReturn .T.\n\n//----------------------------------------------------------------------------//\n\nStatic Function DispRef( aDlvyList )\n Local saveAlias := Alias()\n Local saveRecno, saveOrder, SrlNo\n \n // Save entry point state\n saveRecno := RecNo()\n saveOrder := IndexOrd()\n SrlNo := 0\n \n dbSelectArea(\"Refill\")\n dbSetOrder (3)\n\n // Setup database\n dbSeek(oDbf:CustNo)\n\n If Found()\n // Display booking history\n Do While !Eof()\n If Refill->CustNo == oDbf:CustNo\n Aadd(aDlvyList, {Dtoc(Refill->OrderDt) + \" \" + Str(Refill->OrdCyl) + \" \" + Str(Refill->Cashmemo)+ \" \" +;\n (If(Refill->Status <> \"C\", Dtoc(Refill->DlvyDt), Space(10))) + \" \" + Refill->DlvyMan + \" \" +;\n (If(Refill->Status == \"C\", Dtoc(Refill->DlvyDt), Space(10))) + \" \" + Str(Refill->OrderNo) + \" \" +;\n Refill->Remarks})\n Else\n Aadd(aDlvyList, {\" \"})\n Endif\n \n ++SrlNo\n dbSkip()\n \n If SrlNo = 14\n Exit\n Endif\n \n SysRefresh()\n Enddo\n Endif\n\n If Len ( aDlvyList ) < 14\n SrlNo := Len ( aDlvyList )\n \n Do While .T.\n Aadd(aDlvyList, {\" \"})\n ++SrlNo\n \n If SrlNo = 14\n Exit\n Endif\n \n SysRefresh()\n Enddo\n Endif\n\n // Reset to entry point state\n dbSelectArea(saveAlias)\n dbSetOrder(saveOrder)\n dbGoTo(saveRecno)\nReturn (aDlvyList)\n\n//----------------------------------------------------------------------------//\n\nStatic Function BtnPrsVal()\n \n If oBtnEdit:lMouseDown()\n KEYBOARD CHR(K_ENTER)\n Return .T.\n Else\n MsgStop(\"Field can not be blank. Required Valid Number for Process.\",\"WARNING\")\n Endif\n\nReturn .F.\n\n//----------------------------------------------------------------------------//\n\nStatic Function dChk(oDlg1, dName)\n\nReturn .T.\n\n\n\nCan anyone give me solution to stop blinking in my testrun.prg. \n\nWith regards,\nArindam",
"time": "21:48",
"topic": "Blinking during display",
"username": "Arindam"
}
] |
Blinking during display
|
[
{
"date": "2007-04-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi everybody,\n\nI think my last post was too lengthy for support. Ok. I need support for the following part only.\n\nWhile I am entering a client’s Id, first it is display previous clients details in @Say area and then current client details. I have erased and removed all Say information from display area and also from oDbf. Even after that it is displaying previous client details.\n\nHow can I stop this double display ?\n\nThe process time slowly increase. After 10-15 process it is remarkable slow. Is it due to buffering problem? How can I clear the buffer?\n\nHow can I reduced the value of Dlg1:aControls ? ( as because the value is increasing in every process)\n\nWith regards,\nArindam",
"time": "09:29",
"topic": "Blinking during display",
"username": "Arindam"
}
] |
Blinking during display
|
[
{
"date": "2007-04-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I don't know if I understood correctly your problem but try to not create new SAY objects and use oSay:SetText() method instead to change SAY content.\n\nEMG",
"time": "10:05",
"topic": "Blinking during display",
"username": "Enrico Maria Giordano"
}
] |
Blinking during display
|
[
{
"date": "2007-04-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Arimdam,\n\n>I think my last post was too lengthy for support. \n\nYes, it is. We need a small self-contained example.\n\nFrom a quick look at your code, it appears that you are doing lots of things the hard way. For instance, coding all your controls instead of using resources is the hard way. \n\nIf you add the UPDATE clause to all your SAYs. Then you don't need this code:\n\n// Reload controls \nFor n = 1 to Len(oDlg1:aControls) \noDlg1:aControls[ n ]:Refresh(.T.) \nNext \n\n// Reload controls \naSize((oDlg1:aControls), 8 \n\nAll you have to do is oDlg:refresh() and all the controls with the UPDATE clause will be refreshed. This is built-in to oDlg.\n\nThen all you need to do to blank out all the SAYs is:\n\noDBF1:blank()\noDlg:refresh()\n\nIf you do this you can get rid of at least 50 lines of code. \n\nBut, I don't think you really need to blank out the SAYs--just reload the database object and redisplay:\n\noDBF1:skip() // or whatever...\noDlg:refresh()\n\nThis will probably solve your blinking problem.\n\nAnd, may I suggest naming your oDBF objects something more meaningfull, like oCustomer. This makes it much easter to read and understand. With search & replace, this shouldn't take much time to do.\n\nAnd when you post code, please use the CODE feature of the (forum) editor so it doesn't loose all the indentation.\n\nRegards,\nJames",
"time": "16:27",
"topic": "Blinking during display",
"username": "James Bott"
}
] |
Blinking during display
|
[
{
"date": "2007-04-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "James,\n\nThanks for your guideline and also for quick look to my code. I am sure this will help me in future during coding\n\n[b:380kfr59]But, I am stuck in different part now. I am not updating any data ([color=darkred:380kfr59][u:380kfr59]As this is only for information system. In very few occasion I am updating the information in Dbf[/u:380kfr59][/color:380kfr59]) in any Dbf, simply erase the information from screens and entering next client Id. May be buffers are not clear and all problem due to this reasons.[/b:380kfr59]\n\n[u:380kfr59]My steps are:[/u:380kfr59]\n\n1> I am entering a client Id, the client’s detail (i.e. name, address, …..other information) are picking up from two separate Dbf and displaying on screen. Near about 100 nos. information I pick up from Dbf and display on screen.\n\n2> I am using command, @ nRow(), nCol() Say oSay Prompt oDbf:xFld of oDlg1 ……. Using same Say command for every display [ I think you have observed that in [b:380kfr59]RegValCheck(….)[/b:380kfr59]]\n \n3> After completing the job with particular client, I am erasing the Say information from display area [ I think you have observed that in [b:380kfr59]CheckESC (….)[/b:380kfr59]]\n\n4> Erasing and removed the information and entering next client Id.\n\n[u:380kfr59]My observation:[/u:380kfr59]\n\nWhile I am entering a new client’s Id, first it is display previous clients details, in @Say area and then current client details. I am erasing and removing all @Say information from display area and also from oDbf 1, oDbf2,……. Even after that it is displaying previous client details.\n\nAs Enrico suggested to use oSay:SetText(), I can not understand where and how should I use this. Because I am using oSay to display all 100 information of a client. \n\nWith regards,\nArindam",
"time": "21:03",
"topic": "Blinking during display",
"username": "Arindam"
}
] |
Blinking during display
|
[
{
"date": "2007-04-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": ">But, I am stuck in different part now. \n\nI am not sure what you are saying. Are you saying that the example you showed us is not what you are trying to debug?\n\n>I am not updating any data (As this is only for information system. In very few occasion I am updating the information in Dbf) in any Dbf, simply erase the information from screens and entering next client Id. May be buffers are not clear and all problem due to this reasons.\n\nAh, perhaps you are confused. When I said \"updating\" I was referring to updating the SAYs with data from a database object NOT updating the database from the SAYs.\n\nThis code from your example IS displaying data from a database object:\n\n@ 05, 118 Say oSay PROMPT oDbf:OrderDt of oDlg1 ; \nPicture \"@D\" Color RGB(0, 0, 0), RGB(170, 200, 210) SIZE 82, 12 Font oFont1 \n\nIf you add the UPDATE clause to the SAY statement:\n\n@ 05, 118 Say oSay PROMPT oDbf:OrderDt of oDlg1 ; \nPicture \"@D\" Color RGB(0, 0, 0), RGB(170, 200, 210) SIZE 82, 12 Font oFont1 UPDATE\n\nAnd then blank the database object and refresh the dialog:\n\noDBF:blank()\noDlg:refresh()\n\nThe SAY should be empty.\n\nYou could probably test this in your existing code by just adding the UPDATE clause to one of the SAYS, then adding the code to blank the database object and refresh the dialog.\n\nJames",
"time": "22:35",
"topic": "Blinking during display",
"username": "James Bott"
}
] |
Blinking during display
|
[
{
"date": "2007-04-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Whoops. Above I said oDlg:refresh() but it should have been oDlg:update().\n\nBelow is a working example.\n\nJames\n\n\n[code:3440iqlk]#include \"fivewin.ch\"\n\nfunction main()\n local oDlg, oCust, oBtn\n\n use customer\n database oCust\n\n define dialog oDlg\n\n @ 1,2 say oCust:last UPDATE\n\n @ 3,2 button oBtn action ( oCust:blank(), oDlg:update() )\n\n activate dialog oDlg\n\nreturn nil[/code:3440iqlk]",
"time": "07:05",
"topic": "Blinking during display",
"username": "James Bott"
}
] |
Blinking during display
|
[
{
"date": "2007-04-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "James \n\nYes, I want to debug same example which I post earlier. As you have suggested, I have modify my code.\n\nIt is blank out the Says and remain as controls in oDlg1:aControls for next time use. As a result while I am entering next Client’s Id, then to displaying data from database object, I have to write in my code:\n\noSayODt:SetText(oDbf:OrderDt)\noSayONo:SetText(oDbf:OrderNo)\nAnd so on total 100 Says.\n\nTo follow this I have to create total 100 oSay variables also, to identify the Says separately.\n\nIf I do not follow the above and use same Say statement, then the Says will be add as new controls in oDlg1:aControls. So every time 100 new controls add into the existing array. No, it is not expected.\n\nMy intention is to delete the Says control from the aControls, while I am going for next entry. If I am able to do so, I need not to create 100 oSay variables separately and easily can use same Say statement. This will not increase the length of the array also.\n\nIs it possible? Is it practical? Is it right way? \n\nThank you once again for your last reply.\n\nWith regards,\nArindam",
"time": "17:37",
"topic": "Blinking during display",
"username": "Arindam"
}
] |
Blinking during display
|
[
{
"date": "2007-04-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Arindam,\n\n>Is it possible?\n\nProbably.\n\n>Is it practical?\n\nNo. \n\n>Is it right way?\n\nNo.\n\nDid you try my example code? If you use the UPDATE clause with any control it adds the control to the list of controls that get automatically updated when you do oDlg:update(). You don't need to erase the data in the SAYs yourself, nor do you need to put new data in. The data is automaically replaced with new data when oDlg:update() is called. If the database pointer has been moved to a new record then all the SAYs will reload the data from the database object into the SAYs. Try my example code replacing the oCust:blank() witho oCust:skip() and you will see that new data gets displayed each time you press the button.\n\nForget everything you were trying to do. FW handles this all automatically.\n\nJames",
"time": "20:09",
"topic": "Blinking during display",
"username": "James Bott"
}
] |
Blinking during display
|
[
{
"date": "2007-04-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Arindam,\n\nJust try the code below with the FW\\samples\\customer.dbf file and you will see what I am talking about.\n\nJames\n\n[code:2xiqkbej]#include \"fivewin.ch\"\n\nfunction main()\n local oDlg, oCust, oBtn\n\n use customer\n database oCust\n\n define dialog oDlg\n\n @ 1,2 say oCust:last UPDATE\n\n @ 3,2 button oBtn action ( oCust:skip(), oDlg:update() )\n\n activate dialog oDlg centered\n\nreturn nil[/code:2xiqkbej]",
"time": "22:22",
"topic": "Blinking during display",
"username": "James Bott"
}
] |
Blinking during display
|
[
{
"date": "2007-04-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Arindam,\n\nJust wondering if you have made any progress on this?\n\nJames",
"time": "18:43",
"topic": "Blinking during display",
"username": "James Bott"
}
] |
Blinking during display
|
[
{
"date": "2007-04-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "James,\n\nI have tested your sample code. It is working fine. May be there are some steping problem in my code. Once again I go through my code. if necessay I will get back to you for support.\n\nThank you for your kind efforts.\n\nWith regards,\nArindam",
"time": "21:57",
"topic": "Blinking during display",
"username": "Arindam"
}
] |
Blinking during display
|
[
{
"date": "2016-05-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":u3uvr8ks]Enrico,\n\nSoftware tends to grow as it grows in complexity and in offered functionalities.\n\nSee Windows 10, OSX, Linux, they all grow the same way.[/quote:u3uvr8ks]\n\nYes, but if one doesn't use the new features why they should be included in the EXE? I mean, probably there are some unexpected and unwanted links between FWH modules. But which?...\n\nEMG",
"time": "10:38",
"topic": "Bloated EXEs",
"username": "Enrico Maria Giordano"
}
] |
Bloated EXEs
|
[
{
"date": "2016-05-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear friends,\n\nEXEs sizes has grown up very much lately. As an example, the following empty function\n\n[code=fw:395odhpb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:395odhpb]\n\ngenerates an EXE of 3 MB! Is there any way to reduce such a big size?\n\nI'm using latest xHarbour and latest BCC32.\n\nEMG",
"time": "09:59",
"topic": "Bloated EXEs",
"username": "Enrico Maria Giordano"
}
] |
Bloated EXEs
|
[
{
"date": "2016-05-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nSoftware tends to grow as it grows in complexity and in offered functionalities.\n\nSee Windows 10, OSX, Linux, they all grow the same way.",
"time": "10:16",
"topic": "Bloated EXEs",
"username": "Antonio Linares"
}
] |
Bloated EXEs
|
[
{
"date": "2016-05-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nYou may compare the map files from a previous EXE and your current EXE",
"time": "10:47",
"topic": "Bloated EXEs",
"username": "Antonio Linares"
}
] |
Bloated EXEs
|
[
{
"date": "2016-05-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I can't, as I haven't previous FWh releases. Can I get map files directly from the EXE?\n\nAnyway, I have some EXEs of 2013 that are less of 2 MB in size! <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG",
"time": "11:35",
"topic": "Bloated EXEs",
"username": "Enrico Maria Giordano"
}
] |
Bloated EXEs
|
[
{
"date": "2016-05-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I found the culprit! I removed xbrowse module and now I get:\n\n[code=fw:3cktewcx]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Error: <span style=\"color: #000000;\">Unresolved</span> external <span style=\"color: #ff0000;\">'_HB_FUN_XBROWSENEW'</span> referenced <span style=\"color: #0000ff;\">from</span> E:\\FWXHARB\\FIVEHX.LIB|TGET<br />Error: <span style=\"color: #000000;\">Unresolved</span> external <span style=\"color: #ff0000;\">'_HB_FUN_TXBROWS'</span> referenced <span style=\"color: #0000ff;\">from</span> E:\\FWXHARB\\FIVEHX.LIB|XBROWSER<br />Error: <span style=\"color: #000000;\">Unresolved</span> external <span style=\"color: #ff0000;\">'_HB_FUN_XBRWSETDATASOURCE'</span> referenced <span style=\"color: #0000ff;\">from</span> E:\\FWXHARB\\FIVEHX.LIB|XBROWSER</div>[/code:3cktewcx]\n\nEMG",
"time": "13:37",
"topic": "Bloated EXEs",
"username": "Enrico Maria Giordano"
}
] |
Bloated EXEs
|
[
{
"date": "2016-05-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\nI use to compress exe upx without reducing its processing speed\nRegards",
"time": "14:00",
"topic": "Bloated EXEs",
"username": "Willi Quintana"
}
] |
Bloated EXEs
|
[
{
"date": "2016-05-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Me too. But the EXE size is still growing up (slower).\n\nEMG",
"time": "14:34",
"topic": "Bloated EXEs",
"username": "Enrico Maria Giordano"
}
] |
Bloated EXEs
|
[
{
"date": "2016-05-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nYou may try to use dummy functions to replace them",
"time": "16:23",
"topic": "Bloated EXEs",
"username": "Antonio Linares"
}
] |
Bloated EXEs
|
[
{
"date": "2016-05-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":cb7ayjq9]Enrico,\n\nYou may try to use dummy functions to replace them[/quote:cb7ayjq9]\n\nYes, but there are many others to replace... <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nI give up.\n\nEMG",
"time": "16:30",
"topic": "Bloated EXEs",
"username": "Enrico Maria Giordano"
}
] |
Bloated EXEs
|
[
{
"date": "2016-05-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I guess you deleted xbrowse.obj as it has been your preference for long.\nIf so you have to delete xbrowser.obj too.\n\nNew thing is TGet also calls xbrowse. To remove this call, you may comment out function PopupBrowse() in the tget.prg. Next time, I may move this to xbrowse.prg.\n\nTo that extent, you need to modify TGet. Once you do that, xbrowse is totally out of your way. You save 250 KB",
"time": "17:26",
"topic": "Bloated EXEs",
"username": "nageswaragunupudi"
}
] |
Bloated EXEs
|
[
{
"date": "2016-05-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"nageswaragunupudi\":3l4k23l8]I guess you deleted xbrowse.obj as it has been your preference for long.\nIf so you have to delete xbrowser.obj too.\n\nNew thing is TGet also calls xbrowse. To remove this call, you may comment out function PopupBrowse() in the tget.prg. Next time, I may move this to xbrowse.prg.\n\nTo that extent, you need to modify TGet. Once you do that, xbrowse is totally out of your way. You save 250 KB[/quote:3l4k23l8]\n\nNo, I haven't deleted anything. I just try to reduce the EXE size that has increased a lot lately. And I'm already using a rewritten TGet (since years) so the problem is not (only) xbrowse. That was only a sample of what probably is the root of the problem. Another big module could be menudraw.c but it can't be avoided, I suppose.\n\nEMG",
"time": "17:55",
"topic": "Bloated EXEs",
"username": "Enrico Maria Giordano"
}
] |
Bloated EXEs
|
[
{
"date": "2016-05-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Yes, menu system grew a lot too",
"time": "17:57",
"topic": "Bloated EXEs",
"username": "nageswaragunupudi"
}
] |
Bloated EXEs
|
[
{
"date": "2017-07-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Anybody could tell me why the following sample generates an EXE of 3208192 bytes?\n\n[code=fw:29rc41fd]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:29rc41fd]\n\nThe same compiled with xHarbour console (without FWH) is 842240 bytes. The difference is surprisingly high.\n\nEMG",
"time": "15:59",
"topic": "Bloated EXEs (reprise)",
"username": "Enrico Maria Giordano"
}
] |
Bloated EXEs (reprise)
|
[
{
"date": "2017-07-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Which libs do you have included? I think the libraries full of functionality make the .exe bigger <!-- s8) --><img src=\"{SMILIES_PATH}/icon_cool.gif\" alt=\"8)\" title=\"Cool\" /><!-- s8) -->",
"time": "18:52",
"topic": "Bloated EXEs (reprise)",
"username": "gkuhnert"
}
] |
Bloated EXEs (reprise)
|
[
{
"date": "2017-07-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Only the standard libs: fivehx.lib and fivehc.lib. But please note that I make no call to any of the FWH functions or classes (see my sample). 2.4 MB size bigger is too much for doing nothing, isn't it?\n\nEMG",
"time": "19:02",
"topic": "Bloated EXEs (reprise)",
"username": "Enrico Maria Giordano"
}
] |
Bloated EXEs (reprise)
|
[
{
"date": "2017-07-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "It definitely are the fwh-libs. If I comment these file out of the samples buildx.bat, my .exe is 831kb, with these libs it is 3404kb.\n\nThe commented lines are:\necho %fwh%\\lib\\Fivehx.lib %fwh%\\lib\\FiveHC.lib %fwh%\\lib\\libmysql.lib + >> b32.bc\necho %fwh%\\lib\\pgsql.lib %hdir%\\lib\\libpq.lib + >> b32.bc\n\nSo, as long as you don't need functionality provided by these libs, you can keep them out of the compiling.",
"time": "20:02",
"topic": "Bloated EXEs (reprise)",
"username": "gkuhnert"
}
] |
Bloated EXEs (reprise)
|
[
{
"date": "2017-07-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Gilbert,\n\nyou definitely missed the point. As the linker put a module in the EXE only if at least one of the symbols contained in that module is referenced, why we have 2.4 MB of modules linked to the EXE if it's only an empty program?\n\nEMG",
"time": "21:35",
"topic": "Bloated EXEs (reprise)",
"username": "Enrico Maria Giordano"
}
] |
Bloated EXEs (reprise)
|
[
{
"date": "2017-07-23",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nComparing the generated .map files we can see which modules are getting linked into the EXE",
"time": "07:44",
"topic": "Bloated EXEs (reprise)",
"username": "Antonio Linares"
}
] |
Bloated EXEs (reprise)
|
[
{
"date": "2017-07-23",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\nthank you. I just send the map to your private email. Any thoughts?\n\nEMG",
"time": "09:33",
"topic": "Bloated EXEs (reprise)",
"username": "Enrico Maria Giordano"
}
] |
Bloated EXEs (reprise)
|
[
{
"date": "2017-07-23",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nPlease don't link FWH libraries and check the EXE size that you get",
"time": "16:29",
"topic": "Bloated EXEs (reprise)",
"username": "Antonio Linares"
}
] |
Bloated EXEs (reprise)
|
[
{
"date": "2017-07-23",
"forum": "FiveWin for Harbour/xHarbour",
"text": "829440 bytes\n\nEMG",
"time": "16:42",
"topic": "Bloated EXEs (reprise)",
"username": "Enrico Maria Giordano"
}
] |
Bloated EXEs (reprise)
|
[
{
"date": "2017-07-23",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nsorry, I assumed the key fwh libs were a kind of a framework which always would be linked, because this these libs at least for some years now make the exe bigger. (At least from fwh1202 I can confirm with a test I made today: 839kb vs. 1772kb.\nThe file size with actual fivewin/xharbour is simular to yours: 831kb vs. 3404kb, which I wrote some a little further down.",
"time": "18:31",
"topic": "Bloated EXEs (reprise)",
"username": "gkuhnert"
}
] |
Bloated EXEs (reprise)
|
[
{
"date": "2017-07-23",
"forum": "FiveWin for Harbour/xHarbour",
"text": "This is something I don't understand:\n\n- fivehx.lib specified to the linker --> EXE size: 3208192\n- fivehx.lib do not specified to the linker --> EXE size: 829440\n\nIn both cases I get no linker errors! So the sample is not using any of the FWH symbols. Then why the EXE size grows when fivehx.lib is specified but not used?\n\nEMG",
"time": "19:25",
"topic": "Bloated EXEs (reprise)",
"username": "Enrico Maria Giordano"
}
] |
Bloated EXEs (reprise)
|
[
{
"date": "2017-07-23",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Because FWH libs replace Harbour errorsys",
"time": "21:33",
"topic": "Bloated EXEs (reprise)",
"username": "Antonio Linares"
}
] |
Bloated EXEs (reprise)
|
[
{
"date": "2017-07-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "The following sample is still 3195904:\n\n[code=fw:33q3axim]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> ERRORSYS<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:33q3axim]\n\nEMG",
"time": "08:36",
"topic": "Bloated EXEs (reprise)",
"username": "Enrico Maria Giordano"
}
] |
Bloated EXEs (reprise)
|
[
{
"date": "2017-07-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "you should review fwh sources one to one searching not static function which reescribe harbour system, in order to understand that size increase.",
"time": "13:10",
"topic": "Bloated EXEs (reprise)",
"username": "hmpaquito"
}
] |
Bloated EXEs (reprise)
|
[
{
"date": "2017-07-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Please note that I'm not using any Harbour functions in my sample so EXE size should not increase even if FWH redefines any of those.\n\nEMG",
"time": "13:36",
"topic": "Bloated EXEs (reprise)",
"username": "Enrico Maria Giordano"
}
] |
Bloated EXEs (reprise)
|
[
{
"date": "2017-07-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio, \ndid you mean by \"FWH libs replace Harbour errorsys\", that the FWH owned errorsys is linked automatically and the size of the .exe can be explained by this?",
"time": "14:43",
"topic": "Bloated EXEs (reprise)",
"username": "gkuhnert"
}
] |
Bloated EXEs (reprise)
|
[
{
"date": "2017-07-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Enrico Maria Giordano\":3n3euxt3]Please note that I'm not using any Harbour functions in my sample so EXE size should not increase even if FWH redefines any of those.[/quote:3n3euxt3]\n\nAllright, but note what increase problem is no a fwh problem or harbour problem: it's a C linker problem from Embarcadero company if you use Borland C++",
"time": "17:39",
"topic": "Bloated EXEs (reprise)",
"username": "hmpaquito"
}
] |
Bloated EXEs (reprise)
|
[
{
"date": "2017-07-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "No, it isn't. If I remove or add an unused lib from the list, the EXE size doesn't change.\n\nEMG",
"time": "18:27",
"topic": "Bloated EXEs (reprise)",
"username": "Enrico Maria Giordano"
}
] |
Bloated EXEs (reprise)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.