Microsoft KB Archive/103834

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 11:24, 21 July 2020 by X010 (talk | contribs) (Text replacement - "&" to "&")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


Style Metacharacter Not for Use with Main Menu Bar

PSS ID Number: 103834

Article Last Modified on 6/29/2004



The information in this article applies to:

  • Microsoft FoxBASE+ for Macintosh 2.01



This article was previously published under Q103834

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: kbinfo KB103834
Technology: kbAudDeveloper kbFoxBASE201Mac kbFoxBASESearch kbFoxproSearch kbHWMAC kbOSMAC