FWH0711 ButtonBar 2007 problem?

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

Post by richard-service »

nageswaragunupudi wrote:I use different bitmaps for enabled and disabled status
Hi

I think so.

I don't know this is FWH problem or bug.
Old Bar/Btnbmp version work fine.

So I hope Antonio have solution for it.

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,

Please make this change in samples\Test2007.prg:

Code: Select all

   DEFINE BUTTON OF oBar ACTION oBar:aControls[ 1 ]:Disable() ; // Print() ;
      RESOURCE "attach" PROMPT "Attach"
Here it works fine and disable the first button, though the bitmap is shown the same, but the button can't be selected
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,

Please make this change in samples\Test2007.prg:

Code: Select all

   DEFINE BUTTON OF oBar ACTION oBar:aControls[ 1 ]:Disable() ; // Print() ;
      RESOURCE "attach" PROMPT "Attach"
Here it works fine and disable the first button, though the bitmap is shown the same, but the button can't be selected
Hi Antonio,

Yes, It can run. But bitmap have not become gray color.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Bitmap remains the same color, only the text color changes. Thats the Office 2007 behavior
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:Bitmap remains the same color, only the text color changes. Thats the Office 2007 behavior
Hi Antonio,

I see.
Just think any solution or add this function.

Regards,

Richard
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

>Bitmap remains the same color, only the text color changes. Thats the Office 2007 behavior

As Charlie Brown (a cartoon character here in the US) always says, "Good grief!"

http://en.wikipedia.org/wiki/Charlie_Brown

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

Post by Antonio Linares »

Richard,

Do you want it to look grayed ?

James,

Whats the translation into spanish ? :-)
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,

Do you want it to look grayed ?

James,

Whats the translation into spanish ? :-)
Hi Antonio,

Yes, I want it look grayed.
I look Office2007 Ribbonbar, some bitmaps appear grayed.

Regards,

Richard
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

Antonio,

>>Good Grief!

>Whats the translation into spanish ?

I don't know Spanish very well, but perhaps this is a good definition, "expresión de la consternación" (expression of dismay).

James
Post Reply