FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FWH0711 ButtonBar 2007 problem?
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM
FWH0711 ButtonBar 2007 problem?
Posted: Tue Nov 13, 2007 03:41 PM
Hi

I test sample Test2007.prg code.


DEFINE BUTTONBAR ::oMBar OF ::oWnd SIZE 60, 60 2007

   ........

   DEFINE BUTTON OF ::oMBar ACTION MsgInfo( "Calendar" ) ;
      RESOURCE "calendar" PROMPT "calendar" WHEN .F.


Calendar Button Text Gray color no problem.
But Bitmap disappear Gray color not work.

Look attach file below:



Look C5Bar
I think Working fine below:

When Button oBtn object SET Disable() or use WHEN .F. syntax,
bitmap and text change gray color and No Action


Regards,

Richard
Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
FWH0711 ButtonBar 2007 problem?
Posted: Wed Nov 14, 2007 06:52 AM

Richard,

Are you using a modified class of your own ?

Here, samples\Test2007.prg works ok, the bitmap is shown and the text painted in gray color

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
FWH0711 ButtonBar 2007 problem?
Posted: Wed Nov 14, 2007 06:58 AM

What Mr. Richard says is that Bitmap is not grayed. We knew from the beginning that in FWH 2007 style Bar, prompt gets grayed but Bitmap remains the same. ( in case of disabled or when.f. )

Regards



G. N. Rao.

Hyderabad, India
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
FWH0711 ButtonBar 2007 problem?
Posted: Wed Nov 14, 2007 07:07 AM

NageswaraRao,

Actually we can't paint it grayed on top of a gradient.

Have you received my email that I sent you some minutes ago ? We wait for your answer :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
FWH0711 ButtonBar 2007 problem?
Posted: Wed Nov 14, 2007 09:23 AM

Mr Antonio

I am sorry I did not look at my mails till I saw your posting. I sent my reply now.

Regards

Regards



G. N. Rao.

Hyderabad, India
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
FWH0711 ButtonBar 2007 problem?
Posted: Wed Nov 14, 2007 09:42 AM

NageswaraRao,

Ok, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM
FWH0711 ButtonBar 2007 problem?
Posted: Wed Nov 14, 2007 10:47 AM
Antonio Linares wrote:Richard,

Are you using a modified class of your own ?

Here, samples\Test2007.prg works ok, the bitmap is shown and the text painted in gray color


Hi Antonio,

My first attach jpg within FWH0711 not modify any code.
My Second attach jpg that I want (disable() / When .f.) bitmap became gray color.

Regards,

Richard
Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
FWH0711 ButtonBar 2007 problem?
Posted: Wed Nov 14, 2007 11:18 AM

Richard,

I may send you samples\Test2007.exe and you will see it works fine.

You may have changed something in your used classes or in your code

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM
FWH0711 ButtonBar 2007 problem?
Posted: Wed Nov 14, 2007 02:53 PM
Antonio Linares wrote:Richard,

I may send you samples\Test2007.exe and you will see it works fine.

You may have changed something in your used classes or in your code


Please send to me. richard-service@hotmail.com

Thank you.
Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM
FWH0711 ButtonBar 2007 problem?
Posted: Thu Nov 15, 2007 02:25 PM

Hi Antonio,

I try to compile test2007.prg for full FWH0711.

I'm sure fwh0711 Btnbmp within ButtonBar 2007 have bug or problem.
Please check it again.

Regards,

Richard

Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
FWH0711 ButtonBar 2007 problem?
Posted: Thu Nov 15, 2007 03:12 PM

Richard,
i compiled test2007
i not have problems

Best Regards, Saludos



Falconi Silvio
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM
FWH0711 ButtonBar 2007 problem?
Posted: Thu Nov 15, 2007 03:38 PM
Silvio wrote:Richard,
i compiled test2007
i not have problems


Hi Silvio,

Have you rebuild all source to LIB?
If not, same as me to use FWH0711\LIB\Fivehc.lib and Fivehx.lib

Could you show your Test2007 screenshot and post it?



Thank you.

Regards,

Richard
Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
FWH0711 ButtonBar 2007 problem?
Posted: Thu Nov 15, 2007 05:01 PM

Sorry
but I think you must to use a variable to show gray also the bitmap

obtn[n] enable/disable

Best Regards, Saludos



Falconi Silvio
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
FWH0711 ButtonBar 2007 problem?
Posted: Thu Nov 15, 2007 05:06 PM

I use different bitmaps for enabled and disabled status

Regards



G. N. Rao.

Hyderabad, India
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM
FWH0711 ButtonBar 2007 problem?
Posted: Thu Nov 15, 2007 05:16 PM
Silvio wrote:Sorry
but I think you must to use a variable to show gray also the bitmap

obtn[n] enable/disable


Hi Silvio,

If use oBtn:Disable() => not work.
Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit