Microsoft KB Archive/103834: Difference between revisions
(importing KB archive) |
m (Text replacement - """ to """) |
||
Line 44: | Line 44: | ||
== SUMMARY == | == SUMMARY == | ||
According to the | 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.<br /> | ||
<br /> | <br /> | ||
NOTE: The letters following the style metacharacter must be in uppercase. | NOTE: The letters following the style metacharacter must be in uppercase. | ||
=== EXAMPLE === | === EXAMPLE === | ||
<pre class="codesample"> *PROGRAM FILE NAME | <pre class="codesample"> *PROGRAM FILE NAME "TEST.PRG" | ||
SET PROCEDURE TO TEST.PRG | SET PROCEDURE TO TEST.PRG | ||
MENU BAR | MENU BAR "Position<S;Record;Utilites" | ||
MENU 2, | MENU 2,"Open/O<S<B;Close<I;(-;(Continue;Locate/L<O" | ||
x=.f. | x=.f. | ||
ON MENU DO MENUPROC WITH MENU(0), MENU(1) | ON MENU DO MENUPROC WITH MENU(0), MENU(1) |
Revision as of 09:57, 20 July 2020
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