FWH0711 ButtonBar 2007 problem?

FWH0711 ButtonBar 2007 problem?

Postby richard-service » Tue Nov 13, 2007 3:41 pm

Hi

I test sample Test2007.prg code.


Code: Select all  Expand view  RUN
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
richard-service
 
Posts: 804
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

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

Postby nageswaragunupudi » Wed Nov 14, 2007 6: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
User avatar
nageswaragunupudi
 
Posts: 10656
Joined: Sun Nov 19, 2006 5:22 am
Location: India

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

Postby nageswaragunupudi » Wed Nov 14, 2007 9: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
User avatar
nageswaragunupudi
 
Posts: 10656
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby Antonio Linares » Wed Nov 14, 2007 9:42 am

NageswaraRao,

Ok, thanks
regards, saludos

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

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

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

Postby richard-service » Wed Nov 14, 2007 2: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.
User avatar
richard-service
 
Posts: 804
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Postby richard-service » Thu Nov 15, 2007 2: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
User avatar
richard-service
 
Posts: 804
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Postby Silvio » Thu Nov 15, 2007 3:12 pm

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

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

Postby richard-service » Thu Nov 15, 2007 3: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?

Image

Thank you.

Regards,

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

Postby Silvio » Thu Nov 15, 2007 5: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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby nageswaragunupudi » Thu Nov 15, 2007 5:06 pm

I use different bitmaps for enabled and disabled status
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10656
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby richard-service » Thu Nov 15, 2007 5: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.
User avatar
richard-service
 
Posts: 804
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 50 guests