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.
But Bitmap disappear Gray color not work.
Look attach file below:
![Image](http://img209.imageshack.us/img209/5665/20071113230501lc6.th.jpg)
Look C5Bar
I think Working fine below:
![Image](http://img225.imageshack.us/img225/8932/20071114115947mq0.th.jpg)
When Button oBtn object SET Disable() or use WHEN .F. syntax,
bitmap and text change gray color and No Action
Regards,
Richard