FWH0711 ButtonBar 2007 problem?

Postby richard-service » Thu Nov 15, 2007 5:18 pm

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

Postby Antonio Linares » Thu Nov 15, 2007 11:06 pm

Richard,

Please make this change in samples\Test2007.prg:
Code: Select all  Expand view
   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
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby richard-service » Thu Nov 15, 2007 11:17 pm

Antonio Linares wrote:Richard,

Please make this change in samples\Test2007.prg:
Code: Select all  Expand view
   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
richard-service
 
Posts: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Postby Antonio Linares » Fri Nov 16, 2007 12:22 am

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

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

Postby richard-service » Fri Nov 16, 2007 1:30 am

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

Postby James Bott » Fri Nov 16, 2007 1:37 am

>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
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Antonio Linares » Fri Nov 16, 2007 8:38 am

Richard,

Do you want it to look grayed ?

James,

Whats the translation into spanish ? :-)
regards, saludos

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

Postby richard-service » Fri Nov 16, 2007 10:02 am

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

Postby James Bott » Fri Nov 16, 2007 11:54 pm

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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 60 guests