DOCUMENT:Q137962 22-APR-2000 [foxpro] TITLE :HOWTO: Have a Disabled Picture Command Button Look Enabled PRODUCT :Microsoft FoxPro PROD/VER:WINDOWS:3.0 OPER/SYS: KEYWORDS:kbprogramming kbvfp300 ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual FoxPro for Windows, version 3.0 ------------------------------------------------------------------------------- SUMMARY ======= Setting the DisabledPicture Property of a Picture command button to the same image used in the Picture property doesn't keep the image from showing disabled. This article explains how to make a disabled image appear to be enabled. MORE INFORMATION ================ If you need to have a picture command button that when disabled looks as if it is still enabled, you need to: 1. Make a copy of the image, and give it a new name. 2. Set the copy of the image as the DisabledPicture property. If you do not set an image for the DisabledPicture property, you get a dimmed shadow of your image, which you also get if you set the DisabledPicture property the same image as the Picture Property. Additional query words: gray VFoxWin ====================================================================== Keywords : kbprogramming kbvfp300 Technology : kbVFPsearch kbAudDeveloper kbVFP300 Version : WINDOWS:3.0 Issue type : kbhowto ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2000.