KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q103834: Style Metacharacter Not for Use with Main Menu Bar

Article: Q103834
Product(s): Microsoft Fox Miscellaneous Products
Version(s): 2.01
Operating System(s): 
Keyword(s): 
Last Modified: 26-FEB-2002

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

- Microsoft FoxBASE+ for Macintosh, version 2.01 
-------------------------------------------------------------------------------

SUMMARY
=======

According to the "Commands & Functions" manual for FoxBASE+/Mac, use of the
style metacharacter (<) followed by "B", "I", "U", "O", or "S" causes a menu
to have the style that corresponds to the letter used. This information applies
only to menu options (the choices on a menu popup), not to the main menu bar. If
the style metacharacter is used with the main menu bar, the "<" and the
letter following it will be placed on the menu bar.

NOTE: The letters following the style metacharacter must be in uppercase.

EXAMPLE
-------

   *PROGRAM FILE NAME "TEST.PRG"
          SET PROCEDURE TO TEST.PRG
          MENU BAR "Position<S;Record;Utilites"
          MENU 2,"Open/O<S<B;Close<I;(-;(Continue;Locate/L<O"
          x=.f.
          ON MENU DO MENUPROC WITH MENU(0), MENU(1)

          DO WHILE .NOT. X
               READ
          ENDDO

          PROCEDURE MENUPROC
          PARAMETER Y,Z

          DO CASE
               CASE Y=2 .AND. Z=2
                    X=.T.
          ENDCASE

     *END OF PROGRAM

Additional query words: 2.01 meta character submenu

======================================================================
Keywords          :  
Technology        : kbHWMAC kbOSMAC kbAudDeveloper kbFoxproSearch kbFoxBASE201Mac kbFoxBASESearch
Version           : :2.01
Issue type        : kbinfo

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

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 1986-2002.