Page 2 of 2

Posted: Thu Nov 15, 2007 5:18 pm
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

Posted: Thu Nov 15, 2007 11:06 pm
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

Posted: Thu Nov 15, 2007 11:17 pm
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.

Posted: Fri Nov 16, 2007 12:22 am
by Antonio Linares
Bitmap remains the same color, only the text color changes. Thats the Office 2007 behavior

Posted: Fri Nov 16, 2007 1:30 am
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

Posted: Fri Nov 16, 2007 1:37 am
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

Posted: Fri Nov 16, 2007 8:38 am
by Antonio Linares
Richard,

Do you want it to look grayed ?

James,

Whats the translation into spanish ? :-)

Posted: Fri Nov 16, 2007 10:02 am
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

Posted: Fri Nov 16, 2007 11:54 pm
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