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:
Look C5Bar
I think Working fine below:
When Button oBtn object SET Disable() or use WHEN .F. syntax,
bitmap and text change gray color and No Action
Regards,
Richard