FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour new bugs in FW 11.11
Posts: 417
Joined: Tue Feb 23, 2010 03:09 PM
new bugs in FW 11.11
Posted: Sun Nov 27, 2011 11:20 AM
Antonio,

1. TBTNBMP are not painting ok. Now the background is blue.

2. Also, I typed to build fivegen:
Code (fw): Select all Collapse
make -ffivegenh.rmk


but fivegen.rsp is missing.

3. Rascan function is missing. Just please try to build testtxte.prg

4. Finally, in Harbour 3.1 build there is not ADS libs and ADS.CH.

Thank you.
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: new bugs in FW 11.11
Posted: Sun Nov 27, 2011 01:46 PM
John,

1. Do you have a small example ? thanks

2. Here is FiveGen.rsp, we forgot to include it in the installer.

fivegen.rsp
Code (fw): Select all Collapse
c:\bcc582\lib\c0w32.obj + 
objh\fivegen.obj + 
objh\brwareas.obj + 
objh\brwdata.obj + 
objh\brwdict.obj + 
objh\brwfrms.obj + 
objh\brwmenu.obj + 
objh\brwrep.obj + 
objh\brwscrpt.obj + 
objh\brwsets.obj + 
objh\brwtbl.obj + 
objh\frmdict.obj + 
objh\web.obj + 
objh\wizards.obj, + 
fivegen.exe, + 
fivegen.map, + 
.\..\..\lib\FiveH.lib .\..\..\lib\FiveHC.lib + 
c:\harbour\lib\hbrtl.lib + 
c:\harbour\lib\hbvm.lib + 
c:\harbour\lib\gtgui.lib + 
c:\harbour\lib\hblang.lib + 
c:\harbour\lib\hbmacro.lib + 
c:\harbour\lib\hbrdd.lib + 
c:\harbour\lib\rddntx.lib + 
c:\harbour\lib\rddcdx.lib + 
c:\harbour\lib\rddfpt.lib + 
c:\harbour\lib\hbsix.lib + 
c:\harbour\lib\hbdebug.lib + 
c:\harbour\lib\hbcommon.lib + 
c:\harbour\lib\hbpp.lib + 
c:\harbour\lib\hbcpage.lib + 
c:\harbour\lib\hbwin.lib + 
c:\harbour\lib\hbcplr.lib + 
c:\harbour\lib\hbct.lib + 
c:\harbour\lib\xhb.lib + 
c:\harbour\lib\hbziparc.lib + 
c:\harbour\lib\hbmzip.lib + 
c:\harbour\lib\hbzlib.lib + 
c:\harbour\lib\minizip.lib + 
c:\harbour\lib\png.lib + 
c:\bcc582\lib\cw32.lib + 
c:\bcc582\lib\uuid.lib + 
c:\bcc582\lib\import32.lib + 
c:\bcc582\lib\psdk\odbc32.lib + 
c:\bcc582\lib\psdk\nddeapi.lib + 
c:\bcc582\lib\psdk\iphlpapi.lib + 
c:\bcc582\lib\psdk\msimg32.lib + 
c:\bcc582\lib\psdk\psapi.lib + 
c:\bcc582\lib\psdk\rasapi32.lib + 
c:\bcc582\lib\psdk\gdiplus.lib + 
c:\bcc582\lib\psdk\shell32.lib, 
fivegen.res
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: new bugs in FW 11.11
Posted: Sun Nov 27, 2011 01:48 PM
  1. You have to link Harbour's xhb.lib
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 417
Joined: Tue Feb 23, 2010 03:09 PM
Re: new bugs in FW 11.11
Posted: Sun Nov 27, 2011 02:11 PM
Antonio,

For 1, just try btnsetup

In FW 11.09 they are ok:
[IMG=http://img21.imageshack.us/img21/2117/83370419.th.png][/IMG]

Uploaded with ImageShack.us

But see blue on FW 11.11:
[IMG=http://img17.imageshack.us/img17/5600/badwr.th.png][/IMG]

Uploaded with ImageShack.us

Thanks.
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: new bugs in FW 11.11
Posted: Sun Nov 27, 2011 03:47 PM
This is a sample of the problem:

Code (fw): Select all Collapse
#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oDlg, oFld

    DEFINE DIALOG oDlg;
           RESOURCE "FOLDER"

    REDEFINE FOLDER oFld;
             ID 101 OF oDlg;
             PROMPTS "Test";
             DIALOGS "TEST"

    REDEFINE BTNBMP;
             ID 101 OF oFld:aDialogs[ 1 ];
             FILE "\fwharbour\bitmaps\open.bmp";
             NOBORDER

    REDEFINE BTNBMP;
             ID 102 OF oDlg;
             FILE "\fwharbour\bitmaps\open.bmp";
             NOBORDER

    REDEFINE BUTTON;
             ID 201 OF oDlg;
             ACTION oDlg:End()

    ACTIVATE DIALOG oDlg;
             CENTER

    RETURN NIL


Code (fw): Select all Collapse
FOLDER DIALOG 49, 52, 365, 295
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Folder test"
FONT 8, "MS Sans Serif"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
{
 CONTROL "", 101, "SysTabControl32", 0 | WS_CHILD | WS_VISIBLE, 5, 5, 265, 195
 CONTROL "&Close", 201, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 5, 275, 40, 15
 CONTROL "", 102, "TBtnBmp", 0 | WS_CHILD | WS_VISIBLE, 280, 5, 30, 25
}


TEST DIALOG 49, 52, 365, 295
STYLE WS_CHILD
FONT 8, "MS Sans Serif"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
{
 CONTROL "", 101, "TBtnBmp", 0 | WS_CHILD | WS_VISIBLE, 10, 10, 30, 25
}


EMG
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: new bugs in FW 11.11
Posted: Sun Nov 27, 2011 08:00 PM
Enrico,

Thanks for the example. Fixed :-)

In Class TBtnBmp Method Redefine():

Code (fw): Select all Collapse
   if ( ! ::lBarBtn ) .and. l2007
      DEFAULT ::bClrGrad := { | lInvert | If( lInvert, ;
         { { 1/3, nRGB( 255, 253, 222 ), nRGB( 255, 231, 151 ) }, ;
           { 2/3, nRGB( 255, 215,  84 ), nRGB( 255, 233, 162 ) }  ;
         }, ;
         { { 1/2, nRGB( 219, 230, 244 ), nRGB( 207-50, 221-25, 255 ) }, ;
           { 1/2, nRGB( 201-50, 217-25, 255 ), nRGB( 231, 242, 255 ) }  ;
         } ) }
   endif
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 417
Joined: Tue Feb 23, 2010 03:09 PM
Re: new bugs in FW 11.11
Posted: Sun Nov 27, 2011 08:57 PM

Antonio,

To what lib should apply this fix?.

How do I replace fixed module in the lib?.

What are compile flags?.

Thank you.

Also, I may suggest that you create a test program that uses all controls of FWH (Ribbon, title, dialog with folders, combos, radios, tabs, report, tdbf, ...) so you can test before launching a new build and avoid those bugs.

In the past, you had an invoice app that was at no charge. Maybe should be enhanced and in fact could help new users to learn and see FWH power and be also a test app.
Thanks.

FWH 11.11, Harbour 3.1 and Borland C++ 5.82
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: new bugs in FW 11.11
Posted: Sun Nov 27, 2011 09:03 PM
Antonio Linares wrote:Enrico,

Thanks for the example. Fixed :-)


Great! Thank you.

EMG
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: new bugs in FW 11.11
Posted: Sun Nov 27, 2011 09:07 PM
ukservice wrote:To what lib should apply this fix?.


btnbmp.prg

ukservice wrote:How do I replace fixed module in the lib?.


Just add btnbmp.prg to your application.

ukservice wrote:What are compile flags?.


Usually I use the following switches:

Code (fw): Select all Collapse
/a /es2 /gc0 /l /m /n /q /w


ukservice wrote:Also, I may suggest that you create a test program that uses all controls of FWH


It looks like a good idea!

EMG
Posts: 417
Joined: Tue Feb 23, 2010 03:09 PM
Re: new bugs in FW 11.11
Posted: Sun Nov 27, 2011 09:15 PM

Enrico,

Thanks but I prefer to patch the libs, otherwise in every update I have to modify sources.

Typing
harbour btnbmp /a /es2 /gc0 /l /m /n /q /w

I get .c.

But how do I get the obj?.

In which lib should I replace module?.

Also, maybe Fivetech could include bat files to rebuild libs.

Thanks.

FWH 11.11, Harbour 3.1 and Borland C++ 5.82
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: new bugs in FW 11.11
Posted: Sun Nov 27, 2011 09:21 PM
ukservice wrote:Enrico,

Thanks but I prefer to patch the libs, otherwise in every update I have to modify sources.

Typing
harbour btnbmp /a /es2 /gc0 /l /m /n /q /w

I get .c.

But how do I get the obj?.


Please look inside build°.bat in samples directory.

ukservice wrote:In which lib should I replace module?.


Fiveh[x].lib

EMG
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: new bugs in FW 11.11
Posted: Sun Nov 27, 2011 10:09 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: new bugs in FW 11.11
Posted: Mon Nov 28, 2011 12:17 AM
John, Enrico,

We use to run several complex FWH apps that use many controls but its almost impossible to test everything.

Here you have the VisualFW, one of the apps that we test, that we will include in the next revised FWH build or in 11.12 :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 417
Joined: Tue Feb 23, 2010 03:09 PM
Re: new bugs in FW 11.11
Posted: Mon Nov 28, 2011 08:07 AM

Antonio,

Thanks but it does not have Ribbon, TTitle, Tbtnbmp, report, etc.

FWH 11.11, Harbour 3.1 and Borland C++ 5.82
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: new bugs in FW 11.11
Posted: Mon Nov 28, 2011 10:26 AM

John,

Its quite difficult to build a test app that includes everything, and we don't modify everything in each build, just the classes where we have been working on

regards, saludos

Antonio Linares
www.fivetechsoft.com