DOCUMENT:Q121369  10-NOV-1994  [FOXPRO]
TITLE   :PRB: Running a Browse Window from an Icon Causes Menu Problems
PRODUCT :Microsoft FoxPro
PROD/VER:2.5x
OPER/SYS:MACINTOSH
KEYWORDS:kbui kbprb

--------------------------------------------------------------------
The information in this article applies to:

 - Microsoft FoxPro for Macintosh, versions 2.5x
--------------------------------------------------------------------

SYMPTOMS
========

When a program that contains code to open and browse a table is run from an
icon, FoxPro does not display the system menu bar correctly.

NOTE: This problem does NOT occur in FoxPro 2.6 for Macintosh.

RESOLUTION
==========

There are two ways to avoid the problem:

 - Run the program from FoxPro's Command window.

   -or-

 - Add a NOWAIT clause to the BROWSE command.

MORE INFORMATION
================

Steps to Reproduce Problem
--------------------------

1. Create a program with the following code:

      USE "MACINTOSH HARDDRIVE:FOXPRO:TUTORIAL:CUSTOMER" &&Path may vary
      BROWSE

2. Move the .PRG file to the Macintosh Desktop.

3. Drag the .PRG file either onto the FoxPro application program or its
   alias to launch FoxPro; otherwise, double-click the .PRG file.

4. When the Browse window appears, the Run and Browse menu pads will be
   missing from the system menu bar. If you click where the Browse and Run
   menu pads should be, they will appear.

Additional reference words: FoxMac 2.50b 2.50c problems weird abnormal
KBCategory: kbui kbprb
KBSubcategory:

=============================================================================

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 1994.