How to Combine Text and Bitmaps on Push ButtonsID: Q100446 The information in this article applies to:
In Microsoft FoxPro for Windows, the prompts for push buttons can be either text or a bitmap (.BMP file), but not both. To work around this limitation, include the text within the bitmap that is to be used as the prompt for the push button. To do this, you can use any graphics editor capable of modifying bitmap (.BMP) files. The Paintbrush utility in Windows is an example of such a graphics program. For example, to place the word "Next" in the FOX.BMP file that is located in the FOXPROW directory: 1. Choose the Paintbrush icon in the Accessories group in the Windows 2. From the File menu, choose Open.
3. Select the FOX.BMP file in the FOXPROW directory.
5. From the Text menu, choose Font, and select the desired font and
6. Click the Text tool (it has the lowercase letters "abc" on it).
7. Click in the FOX.BMP work area where you want the text to appear 8. When you are done typing, choose Save As from the File menu, give
This bitmap can now be used as the prompt for a push button. When the
button is displayed on-screen, it will appear as though there is both
text and a bitmap on the push button.
Additional reference words: FoxWin 2.50 2.50a pushbutton bmp name label KBCategory: kbprg KBSubcategory: FxtoolGeneral |
|
Last Reviewed: June 27, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |