BUG: BMP Turns Black on a Disable Button under NT 4.0
Article ID: 174523
Article Last Modified on 5/12/2003
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
- Microsoft Visual FoxPro 3.0b Standard Edition
- Microsoft Visual FoxPro 5.0 Standard Edition
- Microsoft Visual FoxPro 5.0a
- Microsoft Visual FoxPro 6.0 Professional Edition
This article was previously published under Q174523
SYMPTOMS
In Visual FoxPro version 3.0x and version 5.0x, some of the bitmaps will
turn black instead of dim when the button is disabled.
RESOLUTION
Use Microsoft Paint or any image utility to open up the bitmap file and re-
save the file to monochrome type instead of color.
If you re-save the bitmap to a different file name, you need to re-load the
Picture property with the newly saved bitmap in order for the newly saved
bitmap to take in effect.
However, if you save the bitmap back to the same file name in Visual FoxPro
version 5.0x, perform the following steps:
- Unload the bitmap from the Picture property of the object.
- In the Command window, issue the following command:
CLEAR RESOURCE [bitmap filename include the full path]
* For example, CLEAR RESOURCE C:\VFP5.0\TEST.BMP
- Reload the bitmap to the Picture property of the object again.
In Visual FoxPro version 3.0x, one must re-start Visual FoxPro for the
newly saved bitmap to take in effect in the object.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
Keywords: kbprb KB174523