New FWH 16.06

New FWH 16.06

Postby Antonio Linares » Sun Aug 07, 2016 7:04 am

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42127
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: New FWH 16.06

Postby Horizon » Sun Aug 07, 2016 7:34 am

Antonio Linares wrote:http://forums.fivetechsupport.com/viewtopic.php?f=16&t=32792&start=0

Hi Antonio,

Is MSVC 2015 libs included?
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: New FWH 16.06

Postby Antonio Linares » Sun Aug 07, 2016 8:53 am

Yes, 2015
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42127
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: New FWH 16.06

Postby Horizon » Sun Aug 07, 2016 9:02 am

Horizon wrote:
Antonio Linares wrote:http://forums.fivetechsupport.com/viewtopic.php?f=16&t=32792&start=0

Hi Antonio,

Is MSVC 2015 libs included?


What about 2013?
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: New FWH 16.06

Postby Antonio Linares » Sun Aug 07, 2016 9:07 am

FWH makefiles only build FWH for a certain Visual Studio version, and we are currently using VS 2015.

When will you migrate to 2015 ? :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42127
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: New FWH 16.06

Postby Horizon » Sun Aug 07, 2016 10:21 am

Hi Antonio,

Actually not yet. I will try it when i find free time.

I wrote "2015" wrongly.? :oops:

I try to write 2013. :(

Sorry.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: New FWH 16.06

Postby cnavarro » Sun Aug 07, 2016 11:07 am

Last edited by cnavarro on Mon Aug 08, 2016 8:48 am, edited 1 time in total.
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: New FWH 16.06

Postby Antonio Linares » Sun Aug 07, 2016 2:37 pm

Hakan,

Tomorrow I will send you the VS 2013 libs
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42127
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: New FWH 16.06

Postby Enrico Maria Giordano » Mon Aug 08, 2016 2:24 pm

In the following code, that was working fine in the previous FWH release:

Code: Select all  Expand view  RUN
   DEFINE RIBBONBAR oRib OF oDlg;
           HEIGHT 120;
           OPTION 2;
           PROMPT "Regole per l'evento", "Gestione evento", "Controlli su eventi", "Utility", "Esportazioni", "Funzioni"


now I get

Code: Select all  Expand view  RUN
Error BASE/1082  Argument error: -


What is the problem?

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8719
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: New FWH 16.06

Postby Enrico Maria Giordano » Mon Aug 08, 2016 2:37 pm

This is a sample showing the error:

Code: Select all  Expand view  RUN
#include "Fivewin.ch"
#include "Ribbon.ch"


FUNCTION MAIN()

    LOCAL oDlg

    DEFINE DIALOG oDlg;
           SIZE 800, 600

    ACTIVATE DIALOG oDlg;
             ON INIT BUILDRIBBONBAR( oDlg );
             CENTER

    RETURN NIL


STATIC FUNCTION BUILDRIBBONBAR( oDlg )

    LOCAL oRib

    DEFINE RIBBONBAR oRib OF oDlg;
           HEIGHT 120;
           OPTION 2;
           PROMPT "Regole per l'evento", "Gestione evento", "Controlli su eventi", "Utility", "Esportazioni", "Funzioni"

    oRib:SetSize( oDlg:nWidth )

    RETURN NIL


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8719
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: New FWH 16.06

Postby Enrico Maria Giordano » Mon Aug 08, 2016 2:41 pm

Reduced sample:

Code: Select all  Expand view  RUN
#include "Fivewin.ch"
#include "Ribbon.ch"


FUNCTION MAIN()

    LOCAL oDlg

    DEFINE DIALOG oDlg;
           SIZE 800, 600

    ACTIVATE DIALOG oDlg;
             ON INIT BUILDRIBBONBAR( oDlg );
             CENTER

    RETURN NIL


STATIC FUNCTION BUILDRIBBONBAR( oDlg )

    DEFINE RIBBONBAR OF oDlg

    RETURN NIL


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8719
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: New FWH 16.06

Postby Enrico Maria Giordano » Mon Aug 08, 2016 2:46 pm

Another smaller sample:

Code: Select all  Expand view  RUN
#include "Fivewin.ch"
#include "Ribbon.ch"


FUNCTION MAIN()

    LOCAL oWnd

    DEFINE WINDOW oWnd

    DEFINE RIBBONBAR OF oWnd

    ACTIVATE WINDOW oWnd;
             CENTER

    RETURN NIL


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8719
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: New FWH 16.06

Postby cnavarro » Mon Aug 08, 2016 2:51 pm

Enrico, change line 239 in class

Code: Select all  Expand view  RUN


METHOD New( oWnd, aPrompts, bAction, nOption,;
            nWidth, nHeight, nTopMargin, nClrPaneRB, nClrBoxOut, nClrBoxIn,;
            nClrBoxSelOut, nClrBoxSelIn, aGrad, aGradFld, aGradHigh, aGradOver, l2010,;
            nStart, l2013, l2015 ) CLASS TRibbonBar

   local oDlg, n, oBrush, hBmp

   DEFAULT l2010 := .F., l2013 := .F., l2015 := .F.
   DEFAULT aPrompts := { "One", "Two", "Three" },;
           oWnd     := GetWndDefault(),;
           nOption  := 1,;
           nWidth   := 200, nHeight := BARHEIGHT,;
           nStart   := 0, nTopMargin    := 25                    // line 239

 
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: New FWH 16.06

Postby Enrico Maria Giordano » Mon Aug 08, 2016 2:53 pm

This is the line with the error (in tribbon.prg):

Code: Select all  Expand view  RUN
::hBmpBrushEx   = GradientBmp( Self, ::nRight - ::nRightMargin - 3, ::nBottom - ::nTopMargin + 1, ::aGrad )


It looks like ::nBottom and/or ::nTopMargin have no value.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8719
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: New FWH 16.06

Postby Enrico Maria Giordano » Mon Aug 08, 2016 2:54 pm

cnavarro wrote:Enrico, change line 239 in class


Can we have a new official FWH build with this fix, please?

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8719
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 35 guests