FIX: Screen Prompts for Location of Push Button Picture

ID: Q114964

2.50b MACINTOSH kbprg kbfixlist kbbuglist

The information in this article applies to:

SYMPTOMS

Each time it is run, a screen created by the Screen Builder prompts for the location of a picture, bitmap, or icon file associated with a push button.

CAUSE

The Screen Builder stores the relative path to the picture file. If the default directory is two levels deep (a subfolder in a folder), the relative path doesn't point to the picture file.

STATUS

Microsoft has confirmed this to be a problem in FoxPro 2.5b for Macintosh. This problem was corrected in FoxPro 2.5c for Macintosh.

MORE INFORMATION

A push button can be associated with a picture (.PCT), bitmap (.BMP), or icon (.ICO or .ICN) file.

In the following example, FoxPro 2.5b generates the following relative path:

   ..\foxpro\goodies\misc\pictures\arrows\arw01dn.pct

FoxPro 2.5c, which corrects this problem, generates the following complete relative path:

   ..\..\foxpro\goodies\misc\pictures\arrows\arw01dn.pct

NOTE: FoxPro 2.5c for Macintosh uses the same Screen Builder (GENSCRN.PRG) as FoxPro 2.6 for Windows and MS-DOS.

Steps to Reproduce Problem

These steps assume the following:

10. When prompted to save environment information, choose No.

11. Choose the Generate button.

12. Close the Screen Design window.

13. In the Command window, type "DO test.spr" (without the quotation

    marks) to run the screen.

Note that the Open File dialog box displays, asking the following:

   Where is arw01dn?

Additional reference words: FoxMac 2.50b buglist2.50b fixlist2.50c KBCategory: kbprg kbfixlist kbbuglist KBSubcategory: Solution Type : kbfix

Last Reviewed: October 20, 1997