FWH0711 ButtonBar 2007 problem?

User avatar
richard-service
Posts: 583
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan
Contact:

FWH0711 ButtonBar 2007 problem?

Post by richard-service »

Hi

I test sample Test2007.prg code.

Code: Select all

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:

Image

Look C5Bar
I think Working fine below:
Image
When Button oBtn object SET Disable() or use WHEN .F. syntax,
bitmap and text change gray color and No Action


Regards,

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

Post by Antonio Linares »

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
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

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

Post by Antonio Linares »

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
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

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

Post by Antonio Linares »

NageswaraRao,

Ok, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
richard-service
Posts: 583
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan
Contact:

Post by richard-service »

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

Post by Antonio Linares »

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
User avatar
richard-service
Posts: 583
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan
Contact:

Post by richard-service »

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.
User avatar
richard-service
Posts: 583
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan
Contact:

Post by richard-service »

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
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Post by Silvio »

Richard,
i compiled test2007
i not have problems
Best Regards, Saludos

Falconi Silvio
User avatar
richard-service
Posts: 583
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan
Contact:

Post by richard-service »

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?

Image

Thank you.

Regards,

Richard
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Post by Silvio »

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
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

I use different bitmaps for enabled and disabled status
Regards

G. N. Rao.
Hyderabad, India
User avatar
richard-service
Posts: 583
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan
Contact:

Post by richard-service »

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.
Post Reply