new bugs in FW 11.11

new bugs in FW 11.11

Postby ukservice » 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: Select all  Expand view
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
User avatar
ukservice
 
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: new bugs in FW 11.11

Postby Antonio Linares » Sun Nov 27, 2011 1: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: Select all  Expand view
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
User avatar
Antonio Linares
Site Admin
 
Posts: 42085
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: new bugs in FW 11.11

Postby Antonio Linares » Sun Nov 27, 2011 1:48 pm

3. You have to link Harbour's xhb.lib
regards, saludos

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

Re: new bugs in FW 11.11

Postby ukservice » Sun Nov 27, 2011 2: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
User avatar
ukservice
 
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: new bugs in FW 11.11

Postby Enrico Maria Giordano » Sun Nov 27, 2011 3:47 pm

This is a sample of the problem:

Code: Select all  Expand view
#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: Select all  Expand view
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
User avatar
Enrico Maria Giordano
 
Posts: 8712
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: new bugs in FW 11.11

Postby Antonio Linares » Sun Nov 27, 2011 8:00 pm

Enrico,

Thanks for the example. Fixed :-)

In Class TBtnBmp Method Redefine():

Code: Select all  Expand view
  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
User avatar
Antonio Linares
Site Admin
 
Posts: 42085
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: new bugs in FW 11.11

Postby ukservice » Sun Nov 27, 2011 8: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
User avatar
ukservice
 
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: new bugs in FW 11.11

Postby Enrico Maria Giordano » Sun Nov 27, 2011 9:03 pm

Antonio Linares wrote:Enrico,

Thanks for the example. Fixed :-)


Great! Thank you.

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

Re: new bugs in FW 11.11

Postby Enrico Maria Giordano » Sun Nov 27, 2011 9: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: Select all  Expand view
/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
User avatar
Enrico Maria Giordano
 
Posts: 8712
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: new bugs in FW 11.11

Postby ukservice » Sun Nov 27, 2011 9: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
User avatar
ukservice
 
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: new bugs in FW 11.11

Postby Enrico Maria Giordano » Sun Nov 27, 2011 9: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
User avatar
Enrico Maria Giordano
 
Posts: 8712
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: new bugs in FW 11.11

Postby Antonio Linares » Sun Nov 27, 2011 10:09 pm

regards, saludos

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

Re: new bugs in FW 11.11

Postby Antonio Linares » 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 :-)

Image
regards, saludos

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

Re: new bugs in FW 11.11

Postby ukservice » Mon Nov 28, 2011 8: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
User avatar
ukservice
 
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: new bugs in FW 11.11

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42085
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 92 guests