topic
stringlengths
1
63
text
stringlengths
1
577k
error fivewin /1
Pablo: Puede ser que el ID 103 no este definido en tu .RC pero si parece que esta definido en tu prg. Saludos. Ruben Fernandez.
error fwh/3 created dialog error
please necesito ayudita no se por que pero ahora no me carga los recursos de tipo dialog, ya sean en dll32 o en fichero rc compilado con el programa lib fwh2.4 y bcc55, gracias
error handler acting odd
My error handler seems to be odd. this just recently began. It's not staying set on my default handler. Is there a way to view the current error handler's target function it is currently set to? Windows 10 MS-Visual C++ version 19 Harbour 3.2.0 FWH1095 the only thing different in my environment is a recent Windows Update.
error handler acting odd
Don, Harbour uses function ErrorBlock( bNewErrorBlock ) --> bPreviousErrorBlock to set/retrieve the errorblock. As it uses a codeBlock as the param there is no way to retrieve the used function from the codeBlock. Anyhow, you can use the function __vmItemId( codeBlock ) to check the codeblock unique ID: [code=fw:vcnyv62h]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">local</span> bErrorBlock := <span style="color: #000000;">&#123;</span> || <span style="color: #00C800;">nil</span> <span style="color: #000000;">&#125;</span><br />   <br />   ? __vmItemId<span style="color: #000000;">&#40;</span> bErrorBlock <span style="color: #000000;">&#41;</span><br />   <br />   ? __vmItemId<span style="color: #000000;">&#40;</span> ErrorBlock<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>  <span style="color: #B900B9;">// this one is different from bErrorBlock</span><br />   <br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span></div>[/code:vcnyv62h]
error handler acting odd
A simpler way is to compare the codeBlocks: [code=fw:344n65bq]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> bErrorBlock := <span style="color: #000000;">&#123;</span> || <span style="color: #00C800;">nil</span> <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp;<br />&nbsp; &nbsp;? bErrorBlock == ErrorBlock<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span></div>[/code:344n65bq]
error handler acting odd
I found my problem thanks to your help, Antonio. I trust all is well with you and wishing you the best. Thank you. Don
error harbour...
hola foro, 1. En mi pdv me estaba ocurriendo algo raro, despues de arreglar el erro de una validacion logica para salir de la ventana, de pronto el sistema los saca de la captura de venta sin decir ni agua va, ya sea en el get de captura del codigo, en el importe cobrado, al cerrar la cuenta, era aleatorio, utilizo una version muy antigua, fwh2.7 de junio 2006 con harbour, bueno despues de probar el pdv en mi casa en la cual nunca me salia el error, em salio esto: Harbour Exception called from LOADBITMAP(0) called from RG_BMP(896) -> esta funcion carga un bitmap en el browse, utilizo la twbrowse 17 de HDC, en 16 bits utilizaba la 15 y nunca tuve un error similar, probe en otro sistema compilando con FWH704 y HArbour probando la misma libreria (fuentes) y nunca me trono. como la hice tronar? presionando muchas veces AVP-PAG+Flecha Izq o Der,,, y este error aparecio en una pc del cliente, como puedo corregir esto? 2. En este mismo pdv en el browse de compras de pronto al grabar la compra el sistema se salia por completo, aqui probe borrando los indices y volviendo a reconstruirlos y se soluciono el problema, lo raro es que nunca me habia ocurrido y en las dbf no hay mas de 2000 registros, el sistema no generó error.log, alguna sugerencia... Las librerias de terceros estan construidas con la misma version que uso para compilar mi pdv unicamente uso, btnget,tgraph,wbrowse,tsbutton Gracias Paco
error harbour...
called from RG_BMP(896) Mustra la llamada de esta linea. El codigo fuente. Saludos.
error harbour...
Karinha, gracias por tu apoyo, tenia un error muy grande al momento del llamado de la imagen, lo hacia en tiempo de ejecucion, Alfredo me echo la mano, y ahora lo cargo una sola vez y lo despliego segun las condiciones y ya no me aparecio el error. Gracias Alfredo... Gracias Karinha Salu2 Paco
error hb_vmDO() y SkinButtons()
Me aparece el siguiente GPF con FWH 9.10 Símbolo item esperado desde hb_vmDO() En concreto me aparece al llamar a "oRaster:AcquireMulti()" del objeto Lead Tools (Este método recoge del escaner la(s) hoja(s) depositadas en él) Al compilar con la versión de FWH 9.08 funciona correctamente. Al compilar con la versión de FWH 9.09 funciona correctamente. Al compilar con FWH 9.10 y xHarbour de la versión 9.09 no funciona Y al compilar con la FWH 9.10 pero quitando la línea de código "SkinButtons()", que tengo al compiezo de la aplicación, funciona correctamente. Es incluir esa línea y deja de funcionar. No sucede en todos los escaner. Al llamar a la lecturas de hojas del escaner, el escaner muestra un cuadro de dialogo propio con el porcentaje que lleva leído. El error coincide con los escaner que muestran esa ventana con un botón para cancelar el escaneo. Los escaner que muestran la ventana pero no contienen el botón para cancelar (se cancela pulsando la "x" del cuadro de diálogo) funciona correctamente.
error hb_vmDO() y SkinButtons()
Fernando, La función SkinButtons() cambia el procedimiento de ventana propio de los botones de Windows por uno definido por nosotros. Puede ser que en esa aplicación que comentas se realice algo que al usar nuestro código genere un conflicto y de ahí el error. Una solución (temporal) sería que implementemos una función que desactive el efecto de SkinButtons(), restaurando el procedimiento original de los botones. Asi al perder foco tu aplicación, ó antes de comenzar a usar el escaner, restaurariamos el procedimiento original de Windows.
error hb_vmDO() y SkinButtons()
Antonio, Gracias por la respuesta. La solución (temporal) que he optado es por desabilitar la llamada a SkinButtons(). Es una pena porque da un toque mas vistoso a los botones, pero algo tenía que hacer. En cuanto a la función para desactivar skinbuttons, me parece que mas que temporal es la solución acertada.
error hb_vmDO() y SkinButtons()
Fernando, Hemos intentando modificar la función SkinButtons() para que al llamarla nuevamente desactive los skins, y asi alternativamente (activar/desactivar) en sucesivas llamadas, pero parece que origina un problema interno en Windows y termina la aplicación. Teniamos previsto enviarte hoy la función para que la probases, pero desafortunadamente no puede ser <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( -->
error hb_vmDO() y SkinButtons()
Antonio, Muchas gracias, por la respuesta. Da gusto trabajar con vosotros
error hb_vmDO() y SkinButtons()
Hola Antonio, ¿Qué tal va la función?
error in DataRow FW 20.02 SOLVED
Hello , With FW 20.02 I have a error in line 206 I think the problem is ::cSrcType if !( ::cSrcType $ "ARR,HSH" ) // line 206 ::NaviBlocks() endif Application =========== Path and name: d:\prg_SQL\MASTRO\mastrosql.exe (32 bits) Size: 7,880,192 bytes Compiler version: Harbour 3.2.0dev (r1904111533) FiveWin version: FWH 20.02 C compiler version: Microsoft Visual C++ 19.20.27508 (32-bit) Windows version: 6.2, Build 9200 Time from start: 0 hours 0 mins 8 secs Error occurred at: 27/04/2020, 16:01:24 Error description: Error BASE/1109 Parametro errato: $ Args: [ 1] = U [ 2] = C ARR,HSH Stack Calls =========== Called from: .\source\classes\DATAROW.PRG => TDATAROW:NEW( 206 ) Maurizio
error in DataRow FW 20.02 SOLVED
May I know how did you create the datarow? I mean what are the parameters you provided to TDataRow():New( ??? )
error in DataRow FW 20.02 SOLVED
RAO , TDataRow():New(oRec,,.f.) with previous versions I have never had problems Maurizio
error in DataRow FW 20.02 SOLVED
What is oRec ? Is it ADO Recordset? Or what? Please make sure oRec (first parameter) is not NIL
error in DataRow FW 20.02 SOLVED
Thank RAO it was my mistake <!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very sad" /><!-- s:cry: --> , I didn't think because with FW 19 it worked Maurizio
error in Richedit [bug in FWH]
Hello, When I press the button Bold, all text gets selected: [url=http&#58;//imageshack&#46;us/photo/my-images/80/errorrichedit&#46;png/:9ima6jj1][img:9ima6jj1]http&#58;//img80&#46;imageshack&#46;us/img80/5856/errorrichedit&#46;th&#46;png[/img:9ima6jj1][/url:9ima6jj1] Uploaded with [url=http&#58;//imageshack&#46;us:9ima6jj1]ImageShack.us[/url:9ima6jj1] I don´t want this, just continue editing in same position as I was before I press Bold. This is my code: [code=fw:9ima6jj1]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#Include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><span style="color: #00C800;">Function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">Local</span> oDlg, oRich, cRtf := <span style="color: #ff0000;">"test"</span><br />   <span style="color: #00C800;">Local</span> hRichDLL := LoadLibrary<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"riched20.dll"</span> <span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">local</span> lBold := .F.<br /><br /><br />   cRtf:=<span style="color: #ff0000;">"{<span style="color: #000000;">\r</span>tf1<span style="color: #000000;">\a</span>nsi<span style="color: #000000;">\d</span>eff0{<span style="color: #000000;">\f</span>onttbl{<span style="color: #000000;">\f</span>0<span style="color: #000000;">\f</span>nil<span style="color: #000000;">\f</span>charset0 Courier New;}}"</span>+CRLF+;<br />            <span style="color: #ff0000;">"{<span style="color: #000000;">\c</span>olortbl ;<span style="color: #000000;">\r</span>ed0<span style="color: #000000;">\g</span>reen77<span style="color: #000000;">\b</span>lue187;<span style="color: #000000;">\r</span>ed192<span style="color: #000000;">\g</span>reen80<span style="color: #000000;">\b</span>lue77;}"</span>+CRLF+;<br />            <span style="color: #ff0000;">"{<span style="color: #000000;">\*</span><span style="color: #000000;">\g</span>enerator Msftedit 5.41.21.2510;}<span style="color: #000000;">\v</span>iewkind4<span style="color: #000000;">\u</span>c1<span style="color: #000000;">\p</span>ard<span style="color: #000000;">\c</span>f1<span style="color: #000000;">\l</span>ang1031<span style="color: #000000;">\f</span>0<span style="color: #000000;">\f</span>s22 This is <span style="color: #000000;">\b</span> colored <span style="color: #000000;">\b</span>0 text<span style="color: #000000;">\c</span>f0 . <span style="color: #000000;">\c</span>f2 The background is color 1 and the foreground is color 2<span style="color: #000000;">\c</span>f0<span style="color: #000000;">\p</span>ar"</span>+CRLF+CRLF+;<br />            <span style="color: #ff0000;">"}"</span><br /><br /><br /><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;">"Test"</span><br /><br />   oRich = TRichEdit<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #0000ff;">Redefine</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">100</span>, <span style="color: #000000;">&#123;</span> || <span style="color: #ff0000;">""</span> <span style="color: #000000;">&#125;</span>, oDlg <span style="color: #000000;">&#41;</span><br />   oRich:<span style="color: #000000;">SetText</span><span style="color: #000000;">&#40;</span> cRtf <span style="color: #000000;">&#41;</span><br /><br />   oDlg:<span style="color: #000000;">bStart</span> = <span style="color: #000000;">&#123;</span> || oRich:<span style="color: #000000;">SetPos</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#125;</span><br /><br /><br />  <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">120</span>  <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> lBold := !lBold, ;<br />                                   oRich:<span style="color: #000000;">SetBold</span><span style="color: #000000;">&#40;</span> lBold <span style="color: #000000;">&#41;</span>, oRich:<span style="color: #000000;">Setfocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br /><br />   <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTERED</span><br /><br />   FreeLibrary<span style="color: #000000;">&#40;</span> hRichDLL <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">nil</span><br /><br /><br /><br /><br /> </div>[/code:9ima6jj1] What is wrong?. Thank you very much.
error in Richedit [bug in FWH]
I forgot .rc file: [code=fw:mltcvxzh]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#define</span> IDC_EDIT1 &nbsp; <span style="color: #000000;">101</span><br /><br />Test <span style="color: #0000ff;">DIALOG</span> <span style="color: #000000;">41</span>, <span style="color: #000000;">64</span>, <span style="color: #000000;">409</span>, <span style="color: #000000;">199</span><br /><span style="color: #0000ff;">STYLE</span> DS_MODALFRAME | 0x4L | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU<br />CAPTION <span style="color: #ff0000;">"Testing the RichEdit control"</span><br /><span style="color: #0000ff;">FONT</span> <span style="color: #000000;">8</span>, <span style="color: #ff0000;">"MS Sans Serif"</span><br /><span style="color: #000000;">&#123;</span><br />&nbsp;CONTROL <span style="color: #ff0000;">""</span>, <span style="color: #000000;">100</span>, <span style="color: #ff0000;">"RichEdit20A"</span>, <span style="color: #000000;">4100</span> | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, <span style="color: #000000;">6</span>, <span style="color: #000000;">12</span>, <span style="color: #000000;">398</span>, <span style="color: #000000;">163</span><br />&nbsp;PUSHBUTTON <span style="color: #ff0000;">"&Load text file"</span>, <span style="color: #000000;">110</span>, <span style="color: #000000;">5</span>, <span style="color: #000000;">179</span>, <span style="color: #000000;">50</span>, <span style="color: #000000;">16</span><br />&nbsp;PUSHBUTTON <span style="color: #ff0000;">"&Bold"</span>, <span style="color: #000000;">120</span>, <span style="color: #000000;">95</span>, <span style="color: #000000;">179</span>, <span style="color: #000000;">50</span>, <span style="color: #000000;">16</span><br /><br /><span style="color: #000000;">&#125;</span></div>[/code:mltcvxzh]
error in Richedit [bug in FWH]
Any idea please?. Thanks.
error in Richedit [bug in FWH]
It was working fine with older versions of fwh, but not with 11.09 <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> Same with :SetItalic (), :SetUnderline(), ... It seems to be a bug
error in Richedit [bug in FWH]
Stefan, Thanks for helping me. Antonio, please include the fix in FW 12.01. Thanks.
error in Richedit [bug in FWH]
Stefan, John, Could you please test FWH\samples\TestRtf.prg ? Here it is working fine with bold, underline, italic, etc...
error in Richedit [bug in FWH]
Antonio samples\testrtf works fine but not my sample. In my sample, when I call setfocus() all text get selected. Can you please try my sample?. Thanks.
error in Richedit [bug in FWH]
Jhon [code=fw:3pio90kk]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> lBold := !lBold, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oRich:<span style="color: #000000;">SetBold</span><span style="color: #000000;">&#40;</span> lBold <span style="color: #000000;">&#41;</span>, oRich:<span style="color: #000000;">Setfocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, sysrefresh<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, oRich:<span style="color: #000000;">SetPos</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span></div>[/code:3pio90kk] but you have select the text first if you want select all text and convert to BOLD [code=fw:3pio90kk]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> lBold := !lBold, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oRich:<span style="color: #000000;">SelectAll</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, oRich:<span style="color: #000000;">SetBold</span><span style="color: #000000;">&#40;</span> lBold <span style="color: #000000;">&#41;</span>, oRich:<span style="color: #000000;">Setfocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, sysrefresh<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, oRich:<span style="color: #000000;">SetPos</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span></div>[/code:3pio90kk] it's a bug?
error in Richedit [bug in FWH]
Daniel, Thanks for helping me. I explain myself better. I type into a new line, for example, hello. Next, I want [b:w6tpmvh0]world [/b:w6tpmvh0]in bold, so I press Bold button so as to write [b:w6tpmvh0]world [/b:w6tpmvh0]in bold. Instead, I get all text selected as showed in picture.
error in Richedit [bug in FWH]
John, You have to select a portion of the text, then change its attributes
error in Richedit [bug in FWH]
Antonio, I want to set bold for next text, as samples\testrtf does.
error in Richedit [bug in FWH]
John, Try it this way: [code=fw:32icxb5z]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#Include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">Function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">Local</span> oDlg, oRich, cRtf<br />&nbsp; &nbsp;<span style="color: #00C800;">Local</span> hRichDLL := LoadLibrary<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"riched20.dll"</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> lBold := .F., nPos := <span style="color: #000000;">0</span><br /><br />&nbsp; &nbsp;cRtf:=<span style="color: #ff0000;">"{<span style="color: #000000;">\r</span>tf1<span style="color: #000000;">\a</span>nsi<span style="color: #000000;">\d</span>eff0{<span style="color: #000000;">\f</span>onttbl{<span style="color: #000000;">\f</span>0<span style="color: #000000;">\f</span>nil<span style="color: #000000;">\f</span>charset0 Courier New;}}"</span>+CRLF+;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"{<span style="color: #000000;">\c</span>olortbl ;<span style="color: #000000;">\r</span>ed0<span style="color: #000000;">\g</span>reen77<span style="color: #000000;">\b</span>lue187;<span style="color: #000000;">\r</span>ed192<span style="color: #000000;">\g</span>reen80<span style="color: #000000;">\b</span>lue77;}"</span>+CRLF+;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"{<span style="color: #000000;">\*</span><span style="color: #000000;">\g</span>enerator Msftedit 5.41.21.2510;}<span style="color: #000000;">\v</span>iewkind4<span style="color: #000000;">\u</span>c1<span style="color: #000000;">\p</span>ard<span style="color: #000000;">\c</span>f1<span style="color: #000000;">\l</span>ang1031<span style="color: #000000;">\f</span>0<span style="color: #000000;">\f</span>s22 This is <span style="color: #000000;">\b</span> colored <span style="color: #000000;">\b</span>0 text<span style="color: #000000;">\c</span>f0 . <span style="color: #000000;">\c</span>f2 The background is color 1 and the foreground is color 2<span style="color: #000000;">\c</span>f0<span style="color: #000000;">\p</span>ar"</span>+CRLF+CRLF+;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"}"</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"Test"</span><br /><br />&nbsp; &nbsp;oRich = TRichEdit<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #0000ff;">Redefine</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">100</span>, <span style="color: #ff0000;">""</span>, oDlg <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oRich:<span style="color: #000000;">SetText</span><span style="color: #000000;">&#40;</span> cRtf <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oRich:<span style="color: #000000;">bGotFocus</span> = <span style="color: #000000;">&#123;</span> || oRich:<span style="color: #000000;">HideSel</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, oRich:<span style="color: #000000;">SetSel</span><span style="color: #000000;">&#40;</span> nPos, nPos <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp;oRich:<span style="color: #000000;">bLostFocus</span> = <span style="color: #000000;">&#123;</span> || nPos := oRich:<span style="color: #000000;">GetPos</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">120</span> &nbsp;<span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> lBold := ! lBold, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oRich:<span style="color: #000000;">SetBold</span><span style="color: #000000;">&#40;</span> lBold <span style="color: #000000;">&#41;</span>, oRich:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTERED</span><br /><br />&nbsp; &nbsp;FreeLibrary<span style="color: #000000;">&#40;</span> hRichDLL <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">nil</span><br /><br />&nbsp;</div>[/code:32icxb5z]
error in Richedit [bug in FWH]
In fact, on a window it behaves different. Why ? I really don't know it... [code=fw:3tutqcwb]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"RichEdit.ch"</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">Function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> oWnd, oRE, cText := <span style="color: #ff0000;">""</span>, lBold := .F.<br />&nbsp; &nbsp;<br />&nbsp; &nbsp;<span style="color: #00C800;">Local</span> hRichDLL := LoadLibrary<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"riched20.dll"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oWnd<br />&nbsp; &nbsp;<br />&nbsp; &nbsp;@ <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span> RICHEDIT oRE <span style="color: #0000ff;">VAR</span> cText <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">400</span>, <span style="color: #000000;">200</span><br />&nbsp; &nbsp;<br />&nbsp; &nbsp;@ <span style="color: #000000;">1</span>, <span style="color: #000000;">70</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"Bold"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">60</span>, <span style="color: #000000;">15</span> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> oRE:<span style="color: #000000;">SetBold</span><span style="color: #000000;">&#40;</span> lBold := ! lBold <span style="color: #000000;">&#41;</span>, oRE:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<br />&nbsp; &nbsp;<span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oWnd<br /><br />&nbsp; &nbsp;FreeLibrary<span style="color: #000000;">&#40;</span> hRichDLL <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">nil</span><br />&nbsp;</div>[/code:3tutqcwb]
error in Richedit [bug in FWH]
I made some test with different styles, but no change. It´s really curious. The last sample of Antonio at least is a workaround to change selected text to bold. John´s intention to click the buton and write the next word bold does not work in dialogs
error in Richedit [bug in FWH]
Antonio, Thanks for helping. Now the sample does not select all text, but if I start typing my name and next I press Bold and I type John, John is not in bold. What is wrong?. Thanks again. [code=fw:37u0tiyh]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#Include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"richedit.ch"</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">Function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">Local</span> oDlg, oRich, cRtf<br />&nbsp; &nbsp;<span style="color: #00C800;">Local</span> hRichDLL := LoadLibrary<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"riched20.dll"</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> lBold := .F., nPos := <span style="color: #000000;">0</span><br /><br />&nbsp; &nbsp;cRtf:=<span style="color: #ff0000;">"{<span style="color: #000000;">\r</span>tf1<span style="color: #000000;">\a</span>nsi<span style="color: #000000;">\d</span>eff0{<span style="color: #000000;">\f</span>onttbl{<span style="color: #000000;">\f</span>0<span style="color: #000000;">\f</span>nil<span style="color: #000000;">\f</span>charset0 Courier New;}}"</span>+CRLF+;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"{<span style="color: #000000;">\c</span>olortbl ;<span style="color: #000000;">\r</span>ed0<span style="color: #000000;">\g</span>reen77<span style="color: #000000;">\b</span>lue187;<span style="color: #000000;">\r</span>ed192<span style="color: #000000;">\g</span>reen80<span style="color: #000000;">\b</span>lue77;}"</span>+CRLF+;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"{<span style="color: #000000;">\*</span><span style="color: #000000;">\g</span>enerator Msftedit 5.41.21.2510;}<span style="color: #000000;">\v</span>iewkind4<span style="color: #000000;">\u</span>c1<span style="color: #000000;">\p</span>ard<span style="color: #000000;">\c</span>f1<span style="color: #000000;">\l</span>ang1031<span style="color: #000000;">\f</span>0<span style="color: #000000;">\f</span>s22 This is <span style="color: #000000;">\b</span> colored <span style="color: #000000;">\b</span>0 text<span style="color: #000000;">\c</span>f0 . <span style="color: #000000;">\c</span>f2 The background is color 1 and the foreground is color 2<span style="color: #000000;">\c</span>f0<span style="color: #000000;">\p</span>ar"</span>+CRLF+CRLF+;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"}"</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"Test"</span><br /><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> RICHEDIT oRich <span style="color: #0000ff;">VAR</span> cRTF <span style="color: #0000ff;">OF</span> oDlg &nbsp;<span style="color: #0000ff;">ID</span> <span style="color: #000000;">100</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">120</span> &nbsp;<span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> lBold := ! lBold, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oRich:<span style="color: #000000;">SetBold</span><span style="color: #000000;">&#40;</span> lBold <span style="color: #000000;">&#41;</span>, oDlg:<span style="color: #0000ff;">Update</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, oRich:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, oDlg:<span style="color: #000000;">cTitle</span> := <span style="color: #ff0000;">"IsBold "</span>+cValtoChar<span style="color: #000000;">&#40;</span>lBold<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br /><br />&nbsp; &nbsp;oRich:<span style="color: #000000;">SetText</span><span style="color: #000000;">&#40;</span> cRtf <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;oRich:<span style="color: #000000;">bGotFocus</span> = <span style="color: #000000;">&#123;</span> || oRich:<span style="color: #000000;">HideSel</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, oRich:<span style="color: #000000;">SetSel</span><span style="color: #000000;">&#40;</span> nPos, nPos <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp;oRich:<span style="color: #000000;">bLostFocus</span> = <span style="color: #000000;">&#123;</span> || nPos := oRich:<span style="color: #000000;">GetPos</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br /><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTERED</span><br /><br />&nbsp; &nbsp;FreeLibrary<span style="color: #000000;">&#40;</span> hRichDLL <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">nil</span><br />&nbsp;</div>[/code:37u0tiyh]
error in Richedit [bug in FWH]
John, In a dialog you have to press CRLF (enter) before the style change. I have tried to dynamically modify the RTF but without success
error in Richedit [bug in FWH]
Antonio, Thanks for reply, but this way is unusable. It should work as Word. Is it possible to fix it?. Thanks so much,
error in Richedit [bug in FWH]
Antonio, It worked fine with FW 11.03. What happened before?. Please, I need a fix urgent. Thank you.
error in Richedit [bug in FWH]
John, We have not modified Class TRichEdit neither its C functions lately: [img:1b8k8uz4]http&#58;//img28&#46;imageshack&#46;us/img28/3945/capturegv&#46;png[/img:1b8k8uz4] [img:1b8k8uz4]http&#58;//img88&#46;imageshack&#46;us/img88/199/capturehee&#46;png[/img:1b8k8uz4]
error in Richedit [bug in FWH]
John, If it was working fine in FWH 11.03 that means 30 x 9 = 270 days aprox. Maybe my changes for: * Adapting internal\richedit.c to 64 bits (232 days ago) made the difference. Are you using Borland ?
error in Richedit [bug in FWH]
Antonio, Yes, I use BORLAND 5.82. Thanks.
error in Richedit [bug in FWH]
Also, in FW 11.03 I used Harbour 2.x provided by Fivetech (with the installer).
error in Richedit [bug in FWH]
John, The changes that I did only affected Microsoft code, not Borland. So if it was working fine in 11.03 and now it is not, then it may be the side effect of another change. That will make it harder to locate it to provide a quick fix. Can't you use a window instead of a dialog ? That would solve it for now...
error in Richedit [bug in FWH]
Antonio, Thanks, but I can´t use a Window. The Richedit must be in the dialog (in fact, it´s a Folder with several Pages). The point is why FW 11.11 select all text when issuing a oRtf:Refresh().
error in Richedit [bug in FWH]
Antonio, John, TRichEdit inherits from TControl and TWindow, maybe there has been made some changes since 11.03 causing that behavior. You could compare the sources to find out what happened. Just an idea ...
error in Richedit [bug in FWH]
Stephan, We are going to check from version 11.03 to see what may have caused the difference
error in Richedit [bug in FWH]
Stephan, John, We have been doing some more tests with the RichEdit control and found that there are different behaviors on it when using it on a window or on a dialog. The tests I have done use pure C language (no Harbour, no FWH). I plan to publish the tests here for your review, thanks <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
error in Richedit [bug in FWH]
[quote="Antonio Linares":3q9toyxq] I plan to publish the tests here for your review, thanks <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->[/quote:3q9toyxq] Ok
error in Richedit [bug in FWH]
Hi everyone; If I follow the discussion correctly, then I confirm that I've observed this Trichedit unwanted behavior. The problem can be reproduced with \samples\testrich.prg. Simply change line #32 to this: [code=fw:h5t6lj44]<div class="fw" id="{CB}" style="font-family: monospace;"><br />   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">998</span> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> oRich:<span style="color: #000000;">SetBold</span><span style="color: #000000;">&#40;</span> .t. <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">/*oRich:GoToLine( 10 )*/</span>, oRich:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /> </div>[/code:h5t6lj44] Highlight some text and then press the last button (#998). The selected text is set to bold, but immediately after that, all text gets selected (select all). I did a diff on TRichEdi and could not find any differences dating way back. I think the culprit is TControl. There is a newer method PaintBack() that loos very conspicuous. Reinaldo.
error in btnbmp
if i make this test : [code:jv0ug2uj] #include "FiveWin&#46;ch" //----------------------------------------------------------------------------// function Main&#40;&#41; local oDlg , omenutry SET _3DLOOK ON MENU omenutry POPUP 2007 MENUITEM "first menu" MENUITEM "second menu" ENDMENU DEFINE DIALOG oDlg RESOURCE "Main" COLOR "N/B" REDEFINE BTNBMP ID 110 OF oDlg ; RESOURCE "Yes" NOBORDER ACTION oDlg&#58;End&#40;&#41; oDlg&#58;aControls&#91; 1 &#93;&#58;lTransparent = &#46;t&#46; REDEFINE BTNBMP ID 120 OF oDlg ; RESOURCE "No" oDlg&#58;aControls&#91; 2 &#93;&#58;oPopup &#58;= omenutry REDEFINE BTNBMP ID 130 OF oDlg ; RESOURCE "Cancel" ACTIVATE DIALOG oDlg CENTERED return nil [/code:jv0ug2uj] THE RESOURCES FILE IS TESTBTNB.RC ( ON SAMPLES FOLDER OF FWH) it make error on the secondo button when I click to open the menu popup NCMOUSEMOVE at TBTNBMP:LBUTTONUP(0) How I can resolve it ?
error in btnbmp
Silvio, Please modify Class TBtnBmp Method LButtonUp() this way: [code:23neoy4d] METHOD LButtonUp&#40; nRow, nCol &#41; CLASS TBtnBmp local oWnd local lClick &#58;= IsOverWnd&#40; &#58;&#58;hWnd, nRow, nCol &#41; if &#58;&#58;lDrag &#46;or&#46; ! Empty&#40; &#58;&#58;oDragCursor &#41; return Super&#58;LButtonUp&#40; nRow, nCol &#41; endif if &#58;&#58;bLButtonUp != nil Eval&#40; &#58;&#58;bLButtonUp, nRow, nCol&#41; endif &#58;&#58;lBtnUp = &#46;t&#46; if ! &#58;&#58;lWorking if &#58;&#58;lCaptured &#58;&#58;lCaptured = &#46;f&#46; ReleaseCapture&#40;&#41; if ! &#58;&#58;lPressed if &#58;&#58;lBtnDown &#58;&#58;lPressed = &#46;t&#46; &#58;&#58;Refresh&#40;&#41; endif else if ! &#58;&#58;lBtnDown &#58;&#58;lPressed = &#46;f&#46; &#58;&#58;Refresh&#40;&#41; endif endif if lClick if &#58;&#58;oPopup != nil if nCol >= &#58;&#58;nWidth&#40;&#41; - 13 if &#58;&#58;oWnd&#58;oWnd != nil &#46;and&#46; Upper&#40; &#58;&#58;oWnd&#58;oWnd&#58;Classname&#40;&#41; &#41; == "TBAR" oWnd &#58;= &#58;&#58;oWnd&#58;oWnd else oWnd &#58;= &#58;&#58;oWnd endif oWnd&#58;NcMouseMove&#40;&#41; // close the tooltip oWnd&#58;oPopup = &#58;&#58;oPopup &#58;&#58;oPopup&#58;Activate&#40; &#58;&#58;nTop + &#58;&#58;nHeight&#40;&#41;, &#58;&#58;nLeft, oWnd, &#46;f&#46; &#41; oWnd&#58;oPopup = nil &#58;&#58;Refresh&#40;&#41; else &#58;&#58;Click&#40;&#41; endif else &#58;&#58;Click&#40;&#41; endif endif endif endif return 0 [/code:23neoy4d] Now your sample works fine <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
error in btnbmp
Silvio, We have also improved PALBTNPAINT() so the bitmap looks in the proper position when the popup menu is used: [url=http&#58;//imageshack&#46;us:1lhvr3le][img:1lhvr3le]http&#58;//img149&#46;imageshack&#46;us/img149/5943/btnvi3&#46;png[/img:1lhvr3le][/url:1lhvr3le]
error in five DBU
Hi All when edit date field [code][/code] Application =========== Path and name: C:\dbu\fivedbu.exe (32 bits) Size: 5,329,920 bytes Compiler version: Harbour 3.2.0dev (Rev. 17516) FiveWin Version: FWH 12.04 Windows version: 6.1, Build 7601 Service Pack 1 Time from start: 0 hours 0 mins 7 secs Error occurred at: 08/06/2012, 17:57:55 Error description: Error BASE/2022 Argument error: ALLTRIM Args: [ 1] = D 20/05/2010 Stack Calls =========== Called from: => ALLTRIM( 0 ) Called from: C:\fwteam\samples\fivedbu.prg => (b)SETEDITTYPE( 552 ) Called from: .\source\classes\XBROWSE.PRG => TXBRWCOLUMN:RUNBTNACTION( 10969 ) Called from: .\source\classes\XBROWSE.PRG => TXBRWCOLUMN:EDIT( 10481 ) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:LDBLCLICK( 3556 ) Called from: => TWINDOW:HANDLEEVENT( 0 ) Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1700 ) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:HANDLEEVENT( 11632 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3153 ) Called from: => WINRUN( 0 ) Called from: .\source\classes\WINDOW.PRG => TMDIFRAME:ACTIVATE( 980 ) Called from: C:\fwteam\samples\fivedbu.prg => MAIN( 58 ) ROW 552 original oBrw:aCols[ 2 ]:nEditType = EDIT_BUTTON oBrw:aCols[ 2 ]:bEditBlock = { || If( ! Empty( oBrw:aRow[ 2 ] ) .and. ; ! AllTrim( oBrw:aRow[ 2 ] ) == "/ /",; DToC( MsgDate( CtoD( oBrw:aRow[ 2 ] ) ) ),; DToC( MsgDate( Date() ) ) ) } ROW 552 modified oBrw:aCols[ 2 ]:nEditType = EDIT_BUTTON oBrw:aCols[ 2 ]:bEditBlock = { || If( ! Empty( oBrw:aRow[ 2 ] ) .and. ; ! AllTrim( dtoc(oBrw:aRow[ 2 ]) ) == "/ /",; DToC( MsgDate( CtoD( oBrw:aRow[ 2 ] ) ) ),; DToC( MsgDate( Date() ) ) ) } Bye
error in five DBU
Mauri, thanks! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
error in five DBU
I go an other error: Application =========== Path and name: C:\Users\FPL2012\AppData\Local\Temp\Rar$EXa0.137\fivedbu.exe (32 bits) Size: 5,329,920 bytes Compiler version: Harbour 3.2.0dev (Rev. 17516) FiveWin Version: FWH 12.04 Windows version: 6.1, Build 7601 Service Pack 1 Time from start: 0 hours 1 mins 12 secs Error occurred at: 08/06/2012, 20:16:32 Error description: Error BASE/1132 Bound error: array access Args: [ 1] = A { ... } [ 2] = N 3 Stack Calls =========== Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:PASTE( 6490 ) Called from: .\source\classes\MDICHILD.PRG => (b)TMDICHILD( 80 ) Called from: .\source\classes\MDICHILD.PRG => TMDICHILD:PASTE( 0 ) Called from: C:\fwteam\samples\fivedbu.prg => PASTE( 1245 ) Called from: C:\fwteam\samples\fivedbu.prg => (b)MAIN( 38 ) Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:CLICK( 465 ) Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:LBUTTONUP( 656 ) Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1690 ) Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:HANDLEEVENT( 1408 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3153 ) Called from: => WINRUN( 0 ) Called from: .\source\classes\WINDOW.PRG => TMDIFRAME:ACTIVATE( 980 ) Called from: C:\fwteam\samples\fivedbu.prg => MAIN( 58 ) System ====== CPU type: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz 3300 Mhz Hardware memory: 3317 megs Free System resources: 90 % GDI resources: 90 % User resources: 90 % Windows total applications running: 30 1 , C:\Program Files\Acronis\TrueImageHome\TimounterMonitor.exe 2 , C:\Program Files\Iomega StorCenter\sohoclient.exe 3 , C:\Program Files\Mozilla Firefox\plugin-container.exe 4 , C:\Program Files\OpenOffice.org 3\program\soffice.bin 5 , C:\Program Files\TeamViewer\Version6\TeamViewer.exe 6 , C:\Program Files\WinRAR\WinRAR.exe 7 , C:\Program Files\Windows Sidebar\sidebar.exe 8 , C:\ProgramData\FLEXnet\Connect\11\ISUSPM.exe 9 , C:\Windows\Explorer.EXE 10 , C:\dell\DBRM\Reminder\DbrmTrayicon.exe 11 .NET-BroadcastEventWindow.2.0.0.0.33c0d9d.0, c:\Program Files\ATI Technologies\ATI.ACE\Core-Static\MOM.exe 12 AcrobatTrayIcon, C:\Program Files\Adobe\Acrobat 10.0\Acrobat\acrotray.exe 13 Acronis Scheduler2 Helper, C:\Program Files\Common Files\Acronis\Schedule2\schedhlp.exe 14 Acronis True Image Home, C:\Program Files\Acronis\TrueImageHome\TrueImageMonitor.exe 15 Backup Service, 16 CL RC Engine3 Dummy Winidow, C:\Program Files\CyberLink\PowerDVD9\PDVD9Serv.exe 17 CiceroUIWndFrame, C:\Windows\system32\taskhost.exe 18 DDE Server Window, C:\Program Files\ATI Technologies\ATI.ACE\Core-Static\CCC.exe 19 DLUPDR, C:\Program Files\Dell Printers\Additional Color Laser Software\Updater\dlupdr.exe 20 DWM Notification Window, C:\Windows\system32\Dwm.exe 21 FiveDBU, C:\Users\FPL2012\AppData\Local\Temp\Rar$EXa0.137\fivedbu.exe 22 Microsoft OneNote 2010 - Windows-Taskleiste, C:\Program Files\Microsoft Office\Office14\ONENOTEM.EXE 23 No new posts, C:\Program Files\Mozilla Firefox\firefox.exe 24 OfficePowerManagerWindow, C:\Program Files\Microsoft Office\Office14\MSOSYNC.EXE 25 Pdf Professional 5.0.Wnd, C:\Program Files\Dell Printers\paperport\PDFViewer\pdfPro5Hook.exe 26 RoxioBurnLauncher_Monitor, C:\Program Files\Roxio\OEM\Roxio Burn\RoxioBurnLauncher.exe 27 ScanSoft PaperPort Print Driver, C:\Program Files\Dell Printers\paperport\PaperPort\pptd40nt.exe 28 TSVNCacheWindow, C:\Program Files\TortoiseSVN\bin\TSVNCache.exe 29 \\FRANK-PETER-PC\DELL2155-A55068-IPv4, C:\Program Files\Dell Printers\Additional Color Laser Software\Status Monitor\dlpsp.exe 30 iCloud, C:\Program Files\Common Files\Apple\Internet Services\iCloudServices.exe Variables in use ================ Procedure Type Value ========================== TXBROWSE:PASTE Param 1: O Class: ERROR (b)TMDICHILD Param 1: C "07.06. eMail Krickl von heute Datensicherung " Protokollausdruck der Datensicherung möglich. 9.06d kostenlos 23,25 " Local 1: O Class: TCLIPBOARD Local 2: A Len: 6 Local 3: N 6 Local 4: N 3 Local 5: N 2 Local 6: N 3 Local 7: N 1 Local 8: S Local 9: O Class: TXBRWCOLUMN Local 10: A Len: 2 Local 11: N 3 Local 12: U Local 13: U TMDICHILD:PASTE Param 1: O Class: TMDICHILD Local 1: U PASTE (b)MAIN TBTNBMP:CLICK Param 1: O Class: TBTNBMP TBTNBMP:LBUTTONUP TCONTROL:HANDLEEVENT Param 1: N 28 Param 2: N 30 Param 3: N 0 Local 1: L .T. Local 2: S TBTNBMP:HANDLEEVENT Param 1: N 514 Param 2: N 0 Param 3: N 1835038 Local 1: U _FWH Param 1: N 514 Param 2: N 0 Param 3: N 1835038 WINRUN Param 1: N 1835038 Param 2: N 514 Param 3: N 0 Param 4: N 1835038 Param 5: N 7 Local 1: O Class: TBTNBMP TMDIFRAME:ACTIVATE Param 1: N 12191762 MAIN Param 1: C "MAXIMIZED" Param 2: U Param 3: U Param 4: U Param 5: U Param 6: B {|| ... } Param 7: U Param 8: U Param 9: U Param 10: U Param 11: U Param 12: U Param 13: U Param 14: U Param 15: U Param 16: U Param 17: B {|| ... } Param 18: U Param 19: U Local 1: O Class: TMDIFRAME Local 2: U Local 3: U Linked RDDs =========== DBF DBFFPT DBFBLOB DBFCDX DBFNTX DataBases in use ================ 1: => AUSORT_001 RddName: DBFCDX ============================== RecNo RecCount BOF EOF 2 1154 .F. .F. Indexes in use TagName Relations in use Classes in use: =============== 1 ERROR 2 HBCLASS 3 HBOBJECT 4 SCALAROBJECT 5 ARRAY 6 BLOCK 7 CHARACTER 8 DATE 9 HASH 10 LOGICAL 11 NIL 12 NUMERIC 13 POINTER 14 TWINDOW 15 TCONTROL 16 TBITMAP 17 TBRUSH 18 TMDIFRAME 19 TMENU 20 TMENUITEM 21 TMRU 22 TINI 23 TMDICLIENT 24 TFONT 25 TBAR 26 TRECT 27 TBTNBMP 28 TMSGBAR 29 TMSGITEM 30 TTIMER 31 TMDICHILD 32 TXBROWSE 33 TXBRWCOLUMN 34 TSCROLLBAR 35 TPRINTER 36 TREPORT 37 TPEN 38 TRLINE 39 TRCOLUMN 40 TDIALOG 41 TBUTTON 42 TSAY 43 TPREVIEW 44 TCURSOR 45 TMETAFILE 46 TCOMBOBOX 47 TCLIPBOARD 48 TREG32 Memory Analysis =============== 290 Static variables Dynamic memory consume: Actual Value: 0 bytes Highest Value: 0 bytes 
error in five DBU
Frank, Were you pasting in the same DBF ? thanks
error in five DBU
Hallo Antonio, yes, the only one opened DBF was AusOrt_001.Dbf
error in five DBU
Frank, Please copy here its structure, thanks
error in five DBU
aFields := { { "ART", "C", 2, 0 },; { "AUSSTNR", "C", 12, 0 },; { "AM", "D", 8, 0 },; { "BIS", "D", 8, 0 },; { "VERANST", "C", 30, 0 },; { "ORT", "C", 30, 0 } }
error in five DBU
Hello Antonio, I would sent to you the Dbf, but I don't no how. There ist no attachment-button in "Post a reply" saludos
error in five DBU
Frank, Please test this updated FiveDBU version, thanks [url:1pbmnd4j]http&#58;//code&#46;google&#46;com/p/fivewin-contributions/downloads/detail?name=fivedbu_20120609&#46;zip&can=2&q=[/url:1pbmnd4j]
error in five DBU
Hallo Antonio, starting the new FiveDbu, I get a messsage from Norton 360 / 6.2 insight sonar "Suppicous.Cloud.5" and FiveDbu.Exe is removed. When reaktivating FiveDbu.Exe and ignoring the Norton-sonar-message, it works well now. Thank you and regards
error in five DBU
Could someone else confirm if there is a virus warning ? I am using Microsoft security essentials...
error in five DBU
Yes, Antonio, I got the virus warning from Norton Sonar too.
error in five DBU
McAfee doesn't give a warning... <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
error in five DBU
Hi, Avast 7.0 120610-0 finds nothing. regards, Euclides
error in five DBU
I checked on line with [url:fv2uydtj]https&#58;//www&#46;virustotal&#46;com/[/url:fv2uydtj] an had only one positive (ClamAV) out of 42 anti-virus brands.
error in five DBU
We can post the PRG only and everone build the EXE <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Security essentials (built in Windows eight) does not complain, but who knows...
error in five DBU
Ah ... the culprit ... Norton Sonar I require my clients to remove it from their computers. If you haven't paid to register a software package with Norton, Sonar removes it from the computer. I had it removing my applications because they were "not popular". That is nonsense. Most packages at least ask if you want to quarantine or remove it, but Sonar just takes it away. A web search will display lots of complaints about this product. I too use Microsoft Security Essentials and have not had a problem in the years since its release. Prior to that, I used Microsofts other free malware protection and also had great results. Tim
error in five DBU
hi all another small error Application =========== Path and name: C:\dbu\fivedbu.exe (32 bits) Size: 5,330,944 bytes Compiler version: Harbour 3.2.0dev (Rev. 17516) FiveWin Version: FWH 12.04 Windows version: 6.1, Build 7601 Service Pack 1 Time from start: 0 hours 0 mins 14 secs Error occurred at: 11/06/2012, 17:03:33 Error description: Error BASE/1119 Argument error: CTOD Args: [ 1] = D 20/05/2010 Stack Calls =========== Called from: => CTOD( 0 ) Called from: C:\fwteam\samples\fivedbu.prg => (b)SETEDITTYPE( 560 ) Called from: .\source\classes\XBROWSE.PRG => TXBRWCOLUMN:RUNBTNACTION( 10969 ) Called from: .\source\classes\XBROWSE.PRG => TXBRWCOLUMN:EDIT( 10481 ) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:LDBLCLICK( 3556 ) Called from: => TWINDOW:HANDLEEVENT( 0 ) Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1700 ) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:HANDLEEVENT( 11632 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3153 ) Called from: => WINRUN( 0 ) Called from: .\source\classes\WINDOW.PRG => TMDIFRAME:ACTIVATE( 980 ) Called from: C:\fwteam\samples\fivedbu.prg => MAIN( 58 ) [code=fw:vw6m7pqu]<div class="fw" id="{CB}" style="font-family: monospace;"><br />      row <span style="color: #000000;">560</span> original<br />      <br />     <span style="color: #00C800;">case</span> cType == <span style="color: #ff0000;">"D"</span><br />           oBrw:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nEditType</span> = EDIT_BUTTON<br />           oBrw:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">bEditBlock</span> = <span style="color: #000000;">&#123;</span> || <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> ! Empty<span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">aRow</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> .and. ;<br />                                                 ! AllTrim<span style="color: #000000;">&#40;</span> DtoC<span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">aRow</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> == <span style="color: #ff0000;">"/  /"</span>,;<br />                                                 MsgDate<span style="color: #000000;">&#40;</span> CtoD<span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">aRow</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>,;<br />                                                 MsgDate<span style="color: #000000;">&#40;</span> Date<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br /><br />      row <span style="color: #000000;">560</span> modifed<br /><br />     <span style="color: #00C800;">case</span> cType == <span style="color: #ff0000;">"D"</span><br />           oBrw:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nEditType</span> = EDIT_BUTTON<br />           oBrw:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">bEditBlock</span> = <span style="color: #000000;">&#123;</span> || <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> ! Empty<span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">aRow</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> .and. ;<br />                                                 ! AllTrim<span style="color: #000000;">&#40;</span> DtoC<span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">aRow</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> == <span style="color: #ff0000;">"/  /"</span>,;<br />                                                 MsgDate<span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">aRow</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span>,;<br />                                                 MsgDate<span style="color: #000000;">&#40;</span> Date<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br /><br /> </div>[/code:vw6m7pqu] bye
error in five DBU
Mauri, Fixed, thanks! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
error in invoices.prg
Hi, When you click on the Menu items (Archivo, Prueba, etc), the app crashes. What is wrong?. Thank you.
error in sample xBrowed.prg
Hi all, I try this sample : xBrowed in samples folder of FWH bat when save the changes made happes the following error : Application =========== Path and name: d:\fwh\samples\xbrowed.exe (32 bits) Size: 3,764,736 bytes Compiler version: Harbour 3.2.0dev (r1704151935) FiveWin version: FWH 17.01 C compiler version: Borland/Embarcadero C++ 7.2 (32-bit) Windows version: 6.2, Build 9200 Time from start: 0 hours 0 mins 34 secs Error occurred at: 04/19/17, 19:10:25 Error description: Error BASE/1004 No exported method: EVAL Args: [ 1] = C Stack Calls =========== Called from: => (b)EVAL( 0 ) Called from: xbrowse.prg => TXBRROW:SAVE( 15177 ) --> Eval( ::oBrw:Unlock()) Called from: xbrowed.prg => (b)ROWEDIT( 87 ) Called from: button.prg => TBUTTON:CLICK( 179 ) Called from: control.prg => TBUTTON:HANDLEEVENT( 1685 ) Called from: window.prg => _FWH( 3325 ) Called from: => SENDMESSAGE( 0 ) Called from: dialog.prg => TDIALOG:COMMAND( 416 ) Called from: => TWINDOW:HANDLEEVENT( 0 ) Called from: dialog.prg => TDIALOG:HANDLEEVENT( 914 ) Called from: window.prg => _FWH( 3325 ) Called from: => DIALOGBOXINDIRECT( 0 ) Called from: dialog.prg => TDIALOG:ACTIVATE( 296 ) Called from: xbrowed.prg => MAIN( 49 ) TIA Maurizio Menabue
error in sample xBrowed.prg
Please replace line 46 of the xbrowed.prg for the line [code=fw:27jjlx0c]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; @ <span style="color: #000000;">210</span>, <span style="color: #000000;">10</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">'Edit'</span> &nbsp;<span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">40</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> RowEdit<span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">CurrentRow</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:27jjlx0c] Replace with this line [code=fw:27jjlx0c]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; @ <span style="color: #000000;">210</span>, <span style="color: #000000;">10</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">'Edit'</span> &nbsp;<span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">40</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> RowEdit<span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">DataRow</span><span style="color: #000000;">&#40;</span>,,.t.<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <br />&nbsp;</div>[/code:27jjlx0c]
error in sample xBrowed.prg
Now it's OK Thank you
error in testzip.prg
Hola, He intentado compilar testzip.prg de samples bajo harbour y me arroja los siguientes errores: Error: Unresolved external '_HB_FUN_ZIPFILE' referenced from C:\DEVELOP\FWH\SAMPLES\TESTZIP.OBJ Error: Unresolved external '_HB_FUN_ZIPTYPE' referenced from C:\DEVELOP\FWH\SAMPLES\TESTZIP.OBJ Error: Unresolved external '_HB_FUN_ZIPBLOCK' referenced from C:\DEVELOP\FWH\SAMPLES\TESTZIP.OBJ Error: Unresolved external '_HB_FUN_ZIPMSG' referenced from C:\DEVELOP\FWH\SAMPLES\TESTZIP.OBJ Sin embargo, bajo clipper funciona OK. ¿Qué hago mal?. Muchas gracias. Un saludo
error in testzip.prg
Alguna idea?. gracias <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
error in testzip.prg
No se si será lo mismo para harbour. Para xharbour tienes que enlazar las librerias pcrepos.lib y hbzip.lib
error in toexcel()
Mr. RAO: This error was repaired in the xbrowse.prg? [code=fw:2mixcyjh]<div class="fw" id="{CB}" style="font-family: monospace;"><br />...<br />#ifndef __XHARBOUR__<br />   <span style="color: #00C800;">else</span><br />      <span style="color: #B900B9;">//</span><br />      SysRefresh<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />      <span style="color: #B900B9;">//</span><br />      <span style="color: #B900B9;">// This requires explanation.</span><br />      <span style="color: #B900B9;">// With xHarbour there is no problem. Problem is with Harbour only</span><br />      <span style="color: #B900B9;">// return value of this function is oSheet which is an Object. xHarbour returns as object</span><br />      <span style="color: #B900B9;">// If SysRefresh() is called here, Harbour returns oSheet as an object</span><br />      <span style="color: #B900B9;">// if not it returns an Array of two numeric elements.</span><br />      <span style="color: #B900B9;">// I am unable to understand this phenomenon.</span><br />      <span style="color: #B900B9;">// Till we understand what is happening, keep SysRefresh() here for</span><br />      <span style="color: #B900B9;">// Harbour build.</span><br />      <span style="color: #B900B9;">// 2015-06-02</span><br />#endif<br />   <span style="color: #00C800;">endif</span><br /><br /><span style="color: #00C800;">return</span> oSheet<br /> </div>[/code:2mixcyjh]
error in toexcel()
This is not an error. ToExcel works perfectly. Keeping SysRefresh() already fixed the issue with Harbour, The comment is only for information why SysRefresh() is used for Harbour only but not for xHarbour. You can confidently use the existing method ToExcel() with both Harbour / xHarbour and both 32/64 bits and both Borland/MSVC.
error in treport
In the lates FWH there is an error in tReport():new() when the device is not defined if Empty( ::oDevice:hDC ) return nil // <-- this is an error else ::lCreated := .t. endif so I changed code to if Empty( ::oDevice:hDC ) ::lCreated := .f. return Self else ::lCreated := .t. endif Is there anything else I need to do?
error in treport
Gale, It looks as a right fix, thanks. Do you get any error with it ?
error in xBrowse under Wine
Hello, Under Ubuntu 11.10 and Wine, I got: Error description: Error BASE/1004 No exported method: EVAL Args: [ 1] = U Stack Calls =========== Called from: => (b)EVAL( 0 ) Called from: source\xbrowse.prg => (b)TXBROWSE( 406 ) Called from: source\xbrowse.prg => TXBROWSE:KEYCOUNT( 0 ) Called from: source\xbrowse.prg => TXBROWSE:REFRESH( 1181 ) Called from: source\xbrowse.prg => (b)TXBROWSE( 436 ) Called from: source\xbrowse.prg => TXBROWSE:RESIZE( 0 ) Called from: => TWINDOW:HANDLEEVENT( 0 ) Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1699 ) Called from: source\xbrowse.prg => TXBROWSE:HANDLEEVENT( 11627 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3160 ) Called from: => SETSCROLLRANGE( 0 ) Called from: .\source\classes\SCRLLBAR.PRG => (b)TSCROLLBAR( 93 ) Called from: .\source\classes\SCRLLBAR.PRG => TSCROLLBAR:SETRANGE( 0 ) Called from: .\source\classes\SCRLLBAR.PRG => TSCROLLBAR:WINNEW( 203 ) Called from: source\xbrowse.prg => TXBROWSE:INITIATE( 831 ) Called from: => __OBJSENDMSG( 0 ) Called from: .\source\function\HARBOUR.PRG => OSEND( 210 ) Called from: .\source\function\HARBOUR.PRG => ASEND( 178 ) Called from: .\source\classes\DIALOG.PRG => TDIALOG:INITIATE( 622 ) Called from: .\source\classes\DIALOG.PRG => TDIALOG:HANDLEEVENT( 862 ) Called from: => DIALOGBOX( 0 ) Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 266 ) Called from: H:\test.PRG => test( 1740 ) What does it mean?. Thanks
error in xBrowse under Wine
This is a working sample: [code=fw:2g1o7rl7]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.Ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"ord.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"xbrowse.ch"</span><br /><br />REQUEST DBFCDX<br /><br /><br /><span style="color: #00C800;">static</span> lAdd<br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> oDlg, oBmp, oBrw, oCol, oBrowse<br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> cAlias, n<br /><br /><br /><br />&nbsp; &nbsp;<span style="color: #B900B9;">// Driver CDX----------------------------------------------------------------</span><br />&nbsp; &nbsp;REQUEST DBFCDX, DBFFPT<br /><br />&nbsp; &nbsp;RDDSETDEFAULT<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"DBFCDX"</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;SET<span style="color: #000000;">&#40;</span> _SET_INSERT, .T. <span style="color: #000000;">&#41;</span><br /><br /><br /><br /><br /><br /><br /><br /><br />&nbsp; &nbsp;USE CUSTOMER <span style="color: #00C800;">NEW</span><br /><br /><br /><br /><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">RESOURCE</span> <span style="color: #ff0000;">"INVOICES"</span> ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Ttest xBrowse in Alias: "</span>+<span style="color: #0000ff;">Alias</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><br /><br /><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oBrowse <span style="color: #0000ff;">ID</span> <span style="color: #000000;">210</span> <span style="color: #0000ff;">OF</span> oDlg ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ALIAS</span> <span style="color: #ff0000;">"CUSTOMER"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FIELDS CUSTOMER->FIRST, CUSTOMER->LAST, CUSTOMER->SALARY ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; HEADERS <span style="color: #ff0000;">"First Name"</span>, <span style="color: #ff0000;">"Last Name"</span>, <span style="color: #ff0000;">"Salary"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SIZES &nbsp;<span style="color: #000000;">250</span>, <span style="color: #000000;">250</span>, <span style="color: #000000;">100</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PICTURES <span style="color: #00C800;">nil</span>, <span style="color: #00C800;">nil</span>, c_pictxBrowse<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><br /><br /><br />&nbsp; &nbsp;oBrowse:<span style="color: #000000;">nColDividerStyle</span> &nbsp; &nbsp;:= LINESTYLE_BLACK<br />&nbsp; &nbsp;oBrowse:<span style="color: #000000;">lColDividerComplete</span> := .T.<br />&nbsp; &nbsp;oBrowse:<span style="color: #000000;">nHeaderLines</span> &nbsp; &nbsp; &nbsp; &nbsp;:= <span style="color: #000000;">1.5</span><br />&nbsp; &nbsp;oBrowse:<span style="color: #000000;">lRecordSelector</span> &nbsp; &nbsp; := .F.<br />&nbsp; &nbsp;oBrowse:<span style="color: #000000;">nStretchCol</span> &nbsp; &nbsp; &nbsp; &nbsp; := STRETCHCOL_LAST<br />&nbsp; &nbsp;oBrowse:<span style="color: #000000;">lAllowColHiding</span> &nbsp; &nbsp; := .F.<br /><br /><br />&nbsp; &nbsp;oBrowse:<span style="color: #000000;">blDblClick</span> := <span style="color: #000000;">&#123;</span> || <span style="color: #000000;">&#40;</span> oBrowse:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br /><br /><br />&nbsp; <span style="color: #B900B9;">// oBrowse:SwapCols(3,2, .T.)</span><br /><br /><br /><br /><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> oBmp <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"B_OK"</span> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">100</span> <span style="color: #0000ff;">OF</span> oDlg &nbsp;<span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span>oDlg:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTERED</span><br /><br />&nbsp; &nbsp;CLOSE <span style="color: #00C800;">DATA</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #B900B9;">//-----------------------------------------------------------------------------</span><br /><br /><br /><br /><span style="color: #B900B9;">// ---------------------------------------------------------------------------</span><br /><span style="color: #00C800;">FUNCTION</span> c_pictxBrowse<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp;<span style="color: #00C800;">LOCAL</span> cRet := <span style="color: #ff0000;">"@E 999,999,999,999,999.9999"</span><br /><br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #000000;">&#40;</span> cRet &nbsp; <span style="color: #000000;">&#41;</span><br /><span style="color: #B900B9;">// -------------------------------------------------------------------------</span><br /><br />&nbsp;</div>[/code:2g1o7rl7] demo3.rc [code=fw:2g1o7rl7]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />INVOICES <span style="color: #0000ff;">DIALOG</span> <span style="color: #000000;">33</span>, <span style="color: #000000;">36</span>, <span style="color: #000000;">530</span>, <span style="color: #000000;">375</span><br /><span style="color: #0000ff;">STYLE</span> DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU<br />CAPTION <span style="color: #ff0000;">"Test Dialog FWH"</span><br /><span style="color: #0000ff;">FONT</span> <span style="color: #000000;">8</span>, <span style="color: #ff0000;">"MS Sans Serif"</span><br /><span style="color: #000000;">&#123;</span><br />&nbsp;CONTROL <span style="color: #ff0000;">""</span>, <span style="color: #000000;">210</span>, <span style="color: #ff0000;">"TxBrowse"</span>, <span style="color: #000000;">0</span> | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, <span style="color: #000000;">22</span>, <span style="color: #000000;">173</span>, <span style="color: #000000;">483</span>, <span style="color: #000000;">95</span><br />&nbsp;CONTROL <span style="color: #ff0000;">""</span>, <span style="color: #000000;">100</span>, <span style="color: #ff0000;">"TBtnBmp"</span>, <span style="color: #000000;">0</span> | WS_CHILD | WS_VISIBLE | WS_BORDER, <span style="color: #000000;">280</span>, <span style="color: #000000;">49</span>, <span style="color: #000000;">47</span>, <span style="color: #000000;">13</span><br /><span style="color: #000000;">&#125;</span><br /><br /><br />B_OK BITMAP <br /><span style="color: #000000;">&#123;</span><br />&nbsp;<span style="color: #ff0000;">'42 4D 6E 02 00 00 00 00 00 00 76 00 00 00 28 00'</span><br />&nbsp;<span style="color: #ff0000;">'00 00 46 00 00 00 0E 00 00 00 01 00 04 00 00 00'</span><br />&nbsp;<span style="color: #ff0000;">'00 00 F8 01 00 00 00 00 00 00 00 00 00 00 00 00'</span><br />&nbsp;<span style="color: #ff0000;">'00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 80'</span><br />&nbsp;<span style="color: #ff0000;">'00 00 00 80 80 00 80 00 00 00 80 00 80 00 80 80'</span><br />&nbsp;<span style="color: #ff0000;">'00 00 80 80 80 00 C0 C0 C0 00 00 00 FF 00 00 FF'</span><br />&nbsp;<span style="color: #ff0000;">'00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'</span><br />&nbsp;<span style="color: #ff0000;">'00 00 FF FF FF 00 88 88 88 88 88 88 88 88 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 88 88 88 88 88 88 88 00 88 88 84 F8 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 88 88 88 88 88 88 88 88 88 88 88 00 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'44 4F 88 88 88 88 88 88 88 88 88 88 88 88 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 00 88 84 44 4F 88 88 88 88 88 88 88 88 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 88 88 88 00 88 44 4F 44 F8 88 88 88 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 88 88 88 88 88 88 88 00 84 44 F8 84 4F 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 88 88 88 88 88 88 88 88 88 88 88 00 44 4F'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 4F 88 88 88 88 88 88 88 88 88 88 88 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 00 84 F8 88 88 84 F8 88 88 88 88 88 88 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 88 88 88 00 88 88 88 88 88 4F 88 88 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 88 88 88 88 88 88 88 00 88 88 88 88 88 84'</span><br />&nbsp;<span style="color: #ff0000;">'F8 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 88 88 88 88 88 88 88 88 88 88 88 00 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 88 88 4F 88 88 88 88 88 88 88 88 88 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 00 88 88 88 88 88 88 84 F8 88 88 88 88 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 88 88 88 00 88 88 88 88 88 88 88 4F 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 88 88 88 88 88 88 88 00 88 88 88 88 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 84 88 88 88 88 88 88 88 88 88 88 88 88 88 88'</span><br />&nbsp;<span style="color: #ff0000;">'88 88 88 88 88 88 88 88 88 88 88 88 88 00'</span><br /><span style="color: #000000;">&#125;</span><br /><br />&nbsp;</div>[/code:2g1o7rl7] full error.log [code=fw:2g1o7rl7]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; Compiler version: <span style="color: #000000;">Harbour</span> <span style="color: #000000;">3.1</span>.0dev <span style="color: #000000;">&#40;</span>Rev. <span style="color: #000000;">17114</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;FiveWin &nbsp;Version: <span style="color: #000000;">FWH</span> <span style="color: #000000;">11.10</span><br />&nbsp; &nbsp;Windows version: <span style="color: #000000;">5.1</span>, Build <span style="color: #000000;">2600</span> Service Pack <span style="color: #000000;">3</span><br /><br />&nbsp; &nbsp;Time <span style="color: #0000ff;">from</span> start: <span style="color: #000000;">0</span> hours <span style="color: #000000;">0</span> mins <span style="color: #000000;">0</span> secs <br />&nbsp; &nbsp;Error occurred <span style="color: #00C800;">at</span>: <span style="color: #000000;">01</span>/<span style="color: #000000;">14</span>/<span style="color: #000000;">12</span>, <span style="color: #000000;">03</span>:<span style="color: #000000;">48</span>:<span style="color: #000000;">46</span><br />&nbsp; &nbsp;Error description: <span style="color: #000000;">Error</span> BASE/<span style="color: #000000;">1004</span> &nbsp;No exported <span style="color: #00C800;">method</span>: <span style="color: #000000;">EVAL</span><br />&nbsp; &nbsp;Args:<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#91;</span> &nbsp; <span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span> = U &nbsp; <br /><br />Stack Calls<br />===========<br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>EVAL<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>TXBROWSE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">407</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => TXBROWSE:<span style="color: #000000;">KEYCOUNT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => TXBROWSE:<span style="color: #0000ff;">REFRESH</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1181</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>TXBROWSE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">437</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => TXBROWSE:<span style="color: #000000;">RESIZE</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> TWINDOW:<span style="color: #000000;">HANDLEEVENT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\CONTROL.PRG => TCONTROL:<span style="color: #000000;">HANDLEEVENT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1699</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => TXBROWSE:<span style="color: #000000;">HANDLEEVENT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">11628</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">WINDOW</span>.PRG => _FWH<span style="color: #000000;">&#40;</span> <span style="color: #000000;">3160</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> SETSCROLLRANGE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\SCRLLBAR.PRG => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>TSCROLLBAR<span style="color: #000000;">&#40;</span> <span style="color: #000000;">93</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\SCRLLBAR.PRG => TSCROLLBAR:<span style="color: #000000;">SETRANGE</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\SCRLLBAR.PRG => TSCROLLBAR:<span style="color: #000000;">WINNEW</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">203</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => TXBROWSE:<span style="color: #000000;">INITIATE</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">831</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> __OBJSENDMSG<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\<span style="color: #00C800;">function</span>\HARBOUR.PRG => OSEND<span style="color: #000000;">&#40;</span> <span style="color: #000000;">210</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\<span style="color: #00C800;">function</span>\HARBOUR.PRG => ASEND<span style="color: #000000;">&#40;</span> <span style="color: #000000;">178</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">DIALOG</span>.PRG => TDIALOG:<span style="color: #000000;">INITIATE</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">622</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">DIALOG</span>.PRG => TDIALOG:<span style="color: #000000;">HANDLEEVENT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">862</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> DIALOGBOX<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">DIALOG</span>.PRG => TDIALOG:<span style="color: #0000ff;">ACTIVATE</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">266</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">demo3</span>.prg => MAIN<span style="color: #000000;">&#40;</span> <span style="color: #000000;">77</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp;</div>[/code:2g1o7rl7] Thanks.
error in xBrowse under Wine
Up.
error in xBrowse under Wine
Can you please insert these lines before ACTIVATE DIALOG and let us know the results? [code=fw:2t25cgj5]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> oBrowse:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">Select</span><span style="color: #000000;">&#40;</span> oBrowse:<span style="color: #000000;">cAlias</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> ValType<span style="color: #000000;">&#40;</span> oBrowse:<span style="color: #000000;">bKeyCount</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:2t25cgj5]
error in xBrowse under Wine
Mr. Rao, Thank you so much. Sure: CUSTOMER 1 U
error in xBrowse under Wine
Thanks. It is intriguing why ValType( oBrw:bKeyCount ) is NIL. I request more patience please. Is the same exe working on windows PC ? Can you please just try this simplest test? [code=fw:336917rv]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"ord.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"xbrowse.ch"</span><br /><br />REQUEST DBFCDX<br /><br /><span style="color: #00C800;">function</span> main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />   RDDSETDEFAULT<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"DBFCDX"</span> <span style="color: #000000;">&#41;</span><br />   XBROWSER <span style="color: #ff0000;">"CUSTOMER.DBF"</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /> </div>[/code:336917rv]
error in xBrowse under Wine
Mr. Rao, Thanks again for your valuable help. There is no rush. The important point is that you are working on it. Thanks again. My sample works perfect in Windows but not under Wine. Your last code works perfect in Windows and Wine.
error in xBrowse under Wine
Mr. Rao, Is there any advance?. I found out that under Linux and Wine if I add oBrowse:SetRdd() it works. Do you know why?. Thanks.
error interno FWH
Hola amigos, Me sucede este error interno en FWH: [code=fw:2yev3jl3]<div class="fw" id="{CB}" style="font-family: monospace;"> Error description: <span style="color: #000000;">Error</span> BASE/<span style="color: #000000;">1005</span> &nbsp;<span style="color: #0000ff;">Message</span> not found: <span style="color: #00C800;">NIL</span>:_OICON<br />&nbsp; &nbsp;Args:<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#91;</span> &nbsp; <span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span> = U &nbsp; <br /><br />Stack Calls<br />===========<br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> __ERRRT_SBASE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => <span style="color: #00C800;">NIL</span>:<span style="color: #000000;">ERROR</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>HBOBJECT<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => <span style="color: #00C800;">NIL</span>:<span style="color: #000000;">MSGNOTFOUND</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => <span style="color: #00C800;">NIL</span>:_OICON<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">source</span>\rpreview.prg => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>TPREVIEW_ACTIVATE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">167</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">WINDOW</span>.PRG => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>TWINDOW<span style="color: #000000;">&#40;</span> <span style="color: #000000;">636</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">WINDOW</span>.PRG => TWINDOW:<span style="color: #000000;">LVALID</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">WINDOW</span>.PRG => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>TWINDOW<span style="color: #000000;">&#40;</span> <span style="color: #000000;">326</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">WINDOW</span>.PRG => TWINDOW:<span style="color: #000000;">END</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">WINDOW</span>.PRG => TWINDOW:<span style="color: #000000;">SYSCOMMAND</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">2373</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> TWINDOW:<span style="color: #000000;">HANDLEEVENT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">WINDOW</span>.PRG => _FWH<span style="color: #000000;">&#40;</span> <span style="color: #000000;">3154</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> SYSREFRESH<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\<span style="color: #00C800;">function</span>\MSGRUN.PRG => STOPUNTIL<span style="color: #000000;">&#40;</span> <span style="color: #000000;">60</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">source</span>\rpreview.prg => TPREVIEW:<span style="color: #0000ff;">ACTIVATE</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">173</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">source</span>\rpreview.prg => RPREVIEW<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1701</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">source</span>\report.prg => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>TREPORT_NEW<span style="color: #000000;">&#40;</span> <span style="color: #000000;">187</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">source</span>\report.prg => TREPORT:<span style="color: #0000ff;">ACTIVATE</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">882</span> <span style="color: #000000;">&#41;</span></div>[/code:2yev3jl3] ¿Qué puede ser?. Gracias.
error interno FWH
Elvira, Puedes mostrarnos el código PRG que estás ejecutando ?
error interno FWH
Antonio, claro, gustosamente: [code=fw:3bmrhdyn]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; &nbsp; <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">FONT</span> oFont1 <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"ARIAL"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">0</span>,<span style="color: #000000;">-10</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">FONT</span> oFont2 <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"ARIAL"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">0</span>,<span style="color: #000000;">-10</span> BOLD<br /><br /><br /><br />&nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">SELECT</span> <span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"ARTICULO"</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp;DbGoTop<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><br />&nbsp; &nbsp; &nbsp;REPORT oReport <span style="color: #0000ff;">TITLE</span> &nbsp;OemToAnsi<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">" Listado del ALMACEN general "</span><span style="color: #000000;">&#41;</span> &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">FONT</span> oFont1, oFont2 ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; HEADER Space<span style="color: #000000;">&#40;</span><span style="color: #000000;">10</span><span style="color: #000000;">&#41;</span>+cComercial, Space<span style="color: #000000;">&#40;</span><span style="color: #000000;">10</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">"Fecha: "</span>+dtoc<span style="color: #000000;">&#40;</span>date<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FOOTER OemtoAnsi<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"P gina: "</span><span style="color: #000000;">&#41;</span>+str<span style="color: #000000;">&#40;</span>oReport:<span style="color: #000000;">nPage</span>,<span style="color: #000000;">3</span><span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">CENTERED</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PREVIEW CAPTION OemToAnsi<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Listado del ALMACEN general"</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp;oReport:<span style="color: #000000;">nTitleUpLine</span> := <span style="color: #000000;">1</span> &nbsp; &nbsp; <span style="color: #B900B9;">// Grosor Cabeceza Columnas</span><br />&nbsp; &nbsp; &nbsp;oReport:<span style="color: #000000;">nTitleDnLine</span> := <span style="color: #000000;">1</span><br /><br /><br /><br />&nbsp; &nbsp; &nbsp;COLUMN <span style="color: #0000ff;">TITLE</span> OemToAnsi<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"C¢digo"</span><span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">DATA</span> ARTICULO->CODIGO<br /><br />&nbsp; &nbsp; &nbsp;COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Artículo"</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">DATA</span> <span style="color: #0000ff;">LEFT</span><span style="color: #000000;">&#40;</span> ARTICULO->NOMBRE, <span style="color: #000000;">30</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp;COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Stock"</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">DATA</span> ARTICULO->EXSISTENCI &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">RIGHT</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">PICTURE</span> PictDecimales<span style="color: #000000;">&#40;</span><span style="color: #000000;">7</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp;COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Precio de Coste"</span> &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">DATA</span> &nbsp;ARTICULO->PRECIOCOST ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">RIGHT</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">PICTURE</span> PictDecimales<span style="color: #000000;">&#40;</span><span style="color: #000000;">8</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp;COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Valor"</span> &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">DATA</span> &nbsp;<span style="color: #000000;">&#40;</span>ARTICULO->PRECIOCOST * ARTICULO->EXSISTENCI<span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TOTAL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">RIGHT</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">PICTURE</span> PictDecimales<span style="color: #000000;">&#40;</span><span style="color: #000000;">11</span><span style="color: #000000;">&#41;</span><br /><br /><br />&nbsp; &nbsp; &nbsp;END REPORT<br /><br /><br /><br />&nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">ACTIVATE</span> REPORT oReport ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">ON</span> STARTPAGE BmpListados<span style="color: #000000;">&#40;</span> oReport, tLogo <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp;oFont1:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp;oFont2:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:3bmrhdyn]
error interno FWH
Hola Elvira, A mi me pareciera como que tLogo no está siendo definido... Podrías verificar eso???
error interno FWH
Hola, Sí está definido antes. No puse las variables locales, pero sí que está. Y el error no se refiere a variable no definida. Alguna vez aparece esporádiamente el error, si bien normalmente el listado funciona OK. Es algo de la clase que se me escapa. Muchas Gracias.
error interno FWH
Elvira, Tu aplicación crea una ventana principal ? Es necesario que exista
error interno FWH
Sí, efectivamente. El código funciona el 98% de las veces. A veces se produce el error señalado. ¿Qué puede suceder por favor Master?. Muchas gracias.
error interno FWH
Yo he estado experimentando pérdida de recursos al usar las versiones más recientes de Harbour o xHarbour... Podría ser este el caso tuyo...??? Yo tuve que estancarme a usar xHarbour 1.2.1 Rev 9388 para evitar perderlos... Acaso usas este Bitmap desde Recursos???? Que version de (x)Harbour usas???
error interno FWH
Es cierto? ha mas gente le ha pasado y lo ha podido solucionar pasando a versiones anteriores de xHarbour? Por cierto, Yo si cargo bitmaps desde recursos y uso la última versión de xharbour distribuida con fwh
error interno FWH
No creo que tenga nada que ver con Harbour ó xHarbour, por favor centremonos en el error indicado y para pruebas de xHarbour iniciemos otra conversación, gracias <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> En la clase TPreview se encuentra este código: [code=fw:2mvy6j16]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">METHOD</span> <span style="color: #0000ff;">Activate</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #00C800;">CLASS</span> TPreview<br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> ::<span style="color: #000000;">oWnd</span> <span style="color: #0000ff;">MAXIMIZED</span> ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ON</span> RESIZE &nbsp; &nbsp;::<span style="color: #000000;">PaintMeta</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">UP</span> &nbsp; &nbsp; &nbsp; &nbsp;::<span style="color: #0000ff;">VScroll</span><span style="color: #000000;">&#40;</span> GO_UP <span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">DOWN</span> &nbsp; &nbsp; &nbsp;::<span style="color: #0000ff;">VScroll</span><span style="color: #000000;">&#40;</span> GO_DOWN <span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ON</span> PAGEUP &nbsp; &nbsp;::<span style="color: #0000ff;">VScroll</span><span style="color: #000000;">&#40;</span> GO_UP, GO_PAGE<span style="color: #000000;">&#41;</span> &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ON</span> PAGEDOWN &nbsp;::<span style="color: #0000ff;">VScroll</span><span style="color: #000000;">&#40;</span> GO_DOWN, GO_PAGE<span style="color: #000000;">&#41;</span> &nbsp; ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">LEFT</span> &nbsp; &nbsp; &nbsp;::<span style="color: #0000ff;">HScroll</span><span style="color: #000000;">&#40;</span> GO_LEFT <span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">RIGHT</span> &nbsp; &nbsp; ::<span style="color: #0000ff;">HScroll</span><span style="color: #000000;">&#40;</span> GO_RIGHT <span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ON</span> PAGELEFT &nbsp;::<span style="color: #0000ff;">HScroll</span><span style="color: #000000;">&#40;</span> GO_LEFT, GO_PAGE <span style="color: #000000;">&#41;</span> &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ON</span> PAGERIGHT ::<span style="color: #0000ff;">HScroll</span><span style="color: #000000;">&#40;</span> GO_RIGHT, GO_PAGE <span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">VALID</span> &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">oWnd</span>:<span style="color: #000000;">oIcon</span> := <span style="color: #00C800;">nil</span> &nbsp; &nbsp; &nbsp; ,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::<span style="color: #000000;">oFont</span>:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::<span style="color: #000000;">oMeta1</span>:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::<span style="color: #000000;">oMeta2</span>:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::<span style="color: #000000;">oDevice</span>:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::<span style="color: #000000;">oHand</span>:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::<span style="color: #000000;">oWnd</span> := <span style="color: #00C800;">nil</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> Empty<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">oImageList</span> <span style="color: #000000;">&#41;</span>,, <span style="color: #000000;">&#40;</span>::<span style="color: #000000;">oImageList</span>:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, ::<span style="color: #000000;">oImageList</span> := <span style="color: #00C800;">nil</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::<span style="color: #000000;">lExit</span> := .t. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;.t. <span style="color: #000000;">&#41;</span></div>[/code:2mvy6j16] En el VALID se intenta acceder al dato oIcon de ::oWnd. Si por alguna causa ::oWnd fuese nil, se genera ese error. Una solución rápida sería cambiar esto en el código anterior: If( ::oWnd != nil, oWnd:oIcon := nil, nil )