FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Diferencias con versiones FWH
Posts: 1710
Joined: Tue Oct 28, 2008 06:26 PM
Diferencias con versiones FWH
Posted: Wed Apr 27, 2011 03:44 PM
Antonio / Daniel

Con la version actual no funciona en MouseOver en BUTTON no cambia la imagen
Code (fw): Select all Collapse
   DEFINE BUTTONBAR oBar OF oWnd SIZE 31,31 2007
   
   DEFINE BUTTON OF oBar RESOURCE "B-Salir1","B-Salir2","B-Salir3" TOOLTIP "Finalizar F4"  ACTION (Final(.F.))


Antes no era necesario utilizar OemToAnsi para para mostrar áéíóúñ en el xBrowse
Ahora
Code (fw): Select all Collapse
 oCol:bStrData = { || OemToAnsi(cDow(Date()) } //mostrará Miércoles sin oemtoansi Mi|rcoles


Debo hacer algú cambio?

Gracias

Saludos,

Adhemar
Saludos,



Adhemar C.
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Diferencias con versiones FWH
Posted: Fri Apr 29, 2011 12:42 AM
With the current version does not work in MouseOver on the image does not change BUTTON


When mouse is over the button, 4th bitmap is shown, if defined.
We need to define 4 bitmaps if we want to show different bitmap when mouse is over the button.
Regards



G. N. Rao.

Hyderabad, India
Posts: 1710
Joined: Tue Oct 28, 2008 06:26 PM
Re: Diferencias con versiones FWH
Posted: Fri Apr 29, 2011 12:05 PM
G. N. Rao

Show thie error when i put the 4 bitmap
D:\Sistemas\RRHH\PRG\RRHH.PRG(84) Error E0030 Syntax error: "syntax error at ','"
1 error

Code (fw): Select all Collapse
DEFINE BUTTON OF oBar RESOURCE "B-Salir1","B-Salir2","B-Salir3","B-Salir4" TOOLTIP "Finalizar F4"  ACTION (Final(.F.))


Thanks.

Regards,

Adhemar
Saludos,



Adhemar C.
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Diferencias con versiones FWH
Posted: Fri Apr 29, 2011 01:36 PM
It seems there was a bug in Fivewin.Ch, in the command translate. It is rectified in later versions.

Please open \fwh\include\fivewin.ch and locate these lines:
Code (fw): Select all Collapse
#xcommand DEFINE BUTTON [ <oBtn> ] ;
             [ <bar: OF, BUTTONBAR > <oBar> ] ;
             [ <resource: NAME, RESNAME, RESOURCE> <cResName1> ;
 [,<cResName2>[,<cResName3>][,<cResName4>] ] ] ;

Please modify the last line carefully:
Code (fw): Select all Collapse
                [,<cResName2>[,<cResName3>[,<cResName4>] ] ] ];
Regards



G. N. Rao.

Hyderabad, India
Posts: 1710
Joined: Tue Oct 28, 2008 06:26 PM
Re: Diferencias con versiones FWH
Posted: Fri Apr 29, 2011 02:50 PM
G. N. Rao

Now is OK, Thanks,

And this case, Need OemToAnsi before Not
Code (fw): Select all Collapse
 oCol:bStrData = { || OemToAnsi(cDow(Date()) } //mostrará Miércoles sin oemtoansi Mi|rcoles


Regards,

Adhemar
Saludos,



Adhemar C.
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Diferencias con versiones FWH
Posted: Fri Apr 29, 2011 03:37 PM

I do not remember any changes made to xbrowse in this regard. May I know with what older version are you comparing and the version you have upgraded now? That information can help me to check for any changes between the versions.

Regards



G. N. Rao.

Hyderabad, India
Posts: 1710
Joined: Tue Oct 28, 2008 06:26 PM
Re: Diferencias con versiones FWH
Posted: Fri Apr 29, 2011 04:19 PM

My last version 9.04

Regards,

Adhemar

Saludos,



Adhemar C.

Continue the discussion