New FWH 16.01

User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

New FWH 16.01

Post by Antonio Linares »

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: New FWH 16.01

Post by Silvio.Falconi »

on xp (professional sp3) there is also the error !!!

Image

note : menus are white and then where there are labels of the menu background is of another color and at the end of the window there is a cut


Image


this afternoon I try on Win7/10
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
tiaofw
Posts: 97
Joined: Fri Dec 12, 2008 4:39 pm
Location: Brasil
Contact:

Re: New FWH 16.01

Post by tiaofw »

Good afternoon.

I looked like the following screen:

The first was compiled with FWH1502.

Image

And second with FWH1512.

Image

You see the mask editing 'E 999,999.99' works correctly in version 1502 and does not work in version 1512, I am using REDEFINES SAY command, as below:

Code: Select all

redefines SAY osay_troco VAR vtroco picture '@E 999,999.99 " ID 303 of odlg_pag UPDATE FONT oFont_Troco COLOR _CORPADVEN2, _CORPADRAO
osay_troco: ltransparent: = .t.
This problem has already been resolved in version 16.1, or if not how can I fix?


Thanks,
Last edited by tiaofw on Mon Jan 25, 2016 5:41 pm, edited 1 time in total.
Contagem/Brazil
FWH/xharbour 15.12/PELLES C, MED, DBF
User avatar
TimStone
Posts: 2536
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Re: New FWH 16.01

Post by TimStone »

Except for the leading commas, the 2nd one fits the PICTURE pattern. Where is the error ?
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
tiaofw
Posts: 97
Joined: Fri Dec 12, 2008 4:39 pm
Location: Brasil
Contact:

Re: New FWH 16.01

Post by tiaofw »

In Portuguese / Brazilian system the comma separating the decimal point and the homes of thousands.

It should appear as follows: 999.999,99


Thanks,
Contagem/Brazil
FWH/xharbour 15.12/PELLES C, MED, DBF
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: New FWH 16.01

Post by nageswaragunupudi »

Mr tiaofw

We are looking into it and get back soon.
Regards

G. N. Rao.
Hyderabad, India
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: New FWH 16.01

Post by cnavarro »

Silvio.Falconi wrote:on xp (professional sp3) there is also the error !!!

Image

note : menus are white and then where there are labels of the menu background is of another color and at the end of the window there is a cut


Image


this afternoon I try on Win7/10
Good afternoon
I am installing a XP on a computer for testing
Shortly you will hear
It would be easier if I can send my tests, so you give me the OK for its operation
Regards
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: New FWH 16.01

Post by nageswaragunupudi »

tiaofw wrote:In Portuguese / Brazilian system the comma separating the decimal point and the homes of thousands.

It should appear as follows: 999.999,99


Thanks,
This bug was introduced in FWH 15.09.

Please apply this fix:
For this line 217 in Method Initiate() in say.prg

Code: Select all

      ::SetText( ::cCaption )  // here is the bug
 
substitute this line

Code: Select all

     SetWindowText( ::hWnd, ::cCaption )
 
There is another bug in method VarPut(), though this is never reported.
Better this is also corrected:
Replace this function

Code: Select all

METHOD VarPut( cValue ) CLASS TSay


   if ! Empty( ::cPicture )
      cValue = Transform( cValue, ::cPicture )
   else
      cValue = cValToChar( cValue )
   endif

   ::bGet = { || cValue }

return nil
 
Substitute

Code: Select all

METHOD VarPut( cValue ) CLASS TSay
   ::bGet = { || cValue }
return nil
 
This fix is adopted for next release
Regards

G. N. Rao.
Hyderabad, India
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: New FWH 16.01

Post by Silvio.Falconi »

Rao, here on Italy I not have this error ( say)
I set the pictures on
#define pict_money "999,999.99"
#define pict_money_Euro "€ 999,999.99"
and it seem run ok
perhaps it is an error only for Portuguese / Brazilian system... money ...
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: New FWH 16.01

Post by Silvio.Falconi »

for cNavarro

test.prg to try

Code: Select all

    #include "FiveWin.ch"

    static oWnd,oBar,oExit
    static oMsgItem3,oMsgItem2,cMsgBar

//----------------------------------------------------------------------------//
    function Main()

       local oWnd

       cMsgBar:= "test"

       DEFINE WINDOW oWnd TITLE "Test" ;
        MENU BuildMenu()               ;
        COLOR CLR_BLACK, GetSysColor( 15 ) - Rgb( 30, 30, 30 )


      SET MESSAGE OF oWnd TO cMsgBar CENTER NOINSET

      DEFINE MSGITEM oMsgItem2;
         OF oWnd:oMsgBar ;
         PROMPT cMsgBar      ;
         SIZE 100              ;
         BITMAPS "MSG_LOTUS", "MSG_LOTUS";
         TOOLTIP " " + i18n("Acerca de...") + " ";
         ACTION MsgInfo( "Test de Full Single Document Interface" )

      DEFINE MSGITEM oMsgItem3 OF oWnd:oMsgBar ;
         SIZE 132 ;
         TOOLTIP i18n( "Visitar la web de alanit en internet" ) ;
         PROMPT "www.alanit.com" ;
         COLOR CLR_HBLUE, GetSysColor(15)    ;
         ACTION NIL

      oWnd:oMsgBar:DateOn()



       BuildBtnBar()



       ACTIVATE WINDOW oWnd
     
       return nil


//----------------------------------------------------------------------------//

  Function BuildBtnBar()

   local oBtnTbl

   DEFINE BUTTONBAR oBar _3D SIZE 44, 46 OF oWnd 2015

      oBar:bRClicked := { || .t. }

   DEFINE BUTTON OF oBar ;
      RESOURCE "BB1"       ;
      TOOLTIP i18n( "Gestión de documentos" ) ;
      MESSAGE i18n( "Gestión de del fichero de documentos." ) ;
      ACTION NIL   ;
      NOBORDER


   RETURN nil


//----------------------------------------------------------------------------//


   Function  BuildMenu()

   local oMenu
   MENU oMenu 2015  //2015    try with 2015 or nothing...
      MENUITEM "&Archivo"
         MENU
         MENUITEM i18n( "Especificar impresora" ) ;
         RESOURCE "PRINTER" ;     // ON WINDOWS SEVEN IF NOT FOUND RESOURCEs IT  INSERT BLACK LINES
               ACTION PrinterSetup() ;
               MESSAGE i18n( " Establecer la Configuración de su impresora. " )
            SEPARATOR
            MENUITEM i18n( "Salir" ) ;
               ACTION oWnd:end() ;
               MESSAGE i18n( " Terminar la ejecución del programa. " )
         ENDMENU
   ENDMENU
RETURN oMenu

//----------------------------------------------------------------------------//


note :
on xp thereis that err at end of window
on Seven if menuitem not found resource the procedure insert black lines ( on Xp it is right)
you must try with all features ( 2007, 2010, 2013, 2015) for buttonbar msgbar and menus
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
tiaofw
Posts: 97
Joined: Fri Dec 12, 2008 4:39 pm
Location: Brasil
Contact:

Re: New FWH 16.01

Post by tiaofw »

This bug was introduced in FWH 15.09.

Please apply this fix:
For this line 217 in Method Initiate() in say.prg
CODE: SELECT ALL EXPAND VIEW
::SetText( ::cCaption ) // here is the bug


substitute this line
CODE: SELECT ALL EXPAND VIEW
SetWindowText( ::hWnd, ::cCaption )



There is another bug in method VarPut(), though this is never reported.
Better this is also corrected:
Replace this function
CODE: SELECT ALL EXPAND VIEW
METHOD VarPut( cValue ) CLASS TSay


if ! Empty( ::cPicture )
cValue = Transform( cValue, ::cPicture )
else
cValue = cValToChar( cValue )
endif

::bGet = { || cValue }

return nil


Substitute
CODE: SELECT ALL EXPAND VIEW
METHOD VarPut( cValue ) CLASS TSay
::bGet = { || cValue }
return nil


This fix is adopted for next release

Thanks Mr. Rao, Tested and aprovated!
Contagem/Brazil
FWH/xharbour 15.12/PELLES C, MED, DBF
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: New FWH 16.01

Post by cnavarro »

Silvio.Falconi wrote:for cNavarro

test.prg to try


note :
on xp thereis that err at end of window
on Seven if menuitem not found resource the procedure insert black lines ( on Xp it is right)
you must try with all features ( 2007, 2010, 2013, 2015) for buttonbar msgbar and menus

In Windows 7 if menuitem not found resource not insert black lines ( you've tested with version 16.01? )

XP: I would like to send you by mail of any changes for you to try

Thanks
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: New FWH 16.01

Post by Silvio.Falconi »

for cNavarro
I tried with 16.01 fwh on Win xp professional and Win10 home edition and Win SevenHomeedition 64bit
on Win7 i see black lines when I forget to link resources
on win10 not see blacklines
on win xp I not see blcklines

my email
silvio[dot]falconi[at]gmail[dot]com

thanks
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: New FWH 16.01

Post by cnavarro »

Harbour or xHarbour?
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: New FWH 16.01

Post by Antonio Linares »

A new FWH 16.01 build 2 is already available:

http://forums.fivetechsupport.com/viewt ... p?p=186246
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply