Microsoft KB Archive/152366

= How To Add Calculator, Calendar, Puzzle, Filer to System Menu =

Article ID: 152366

Article Last Modified on 10/15/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0b for Macintosh
 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft Visual FoxPro 3.0b Standard Edition

-



This article was previously published under Q152366



SUMMARY
The FoxPro applets, Calculator, Calendar, Filer, and Puzzle, are not included on any menu. The code below demonstrates how to add these items to the menu.



Sample Code
DEFINE BAR 9 OF _mwindow PROMPT "\-" DEFINE BAR 10 OF _mwindow PROMPT "Ca\<lculator" ; MESSAGE "Perform calculations" ON SELECTION BAR 10 OF _mwindow ACTIVATE WINDOW CALCULATOR DEFINE BAR 11 OF _mwindow PROMPT "Calendar/D\<iary" ; MESSAGE "Check dates and keep track of appointments" ON SELECTION BAR 11 OF _mwindow ACTIVATE WINDOW CALENDAR DEFINE BAR 12 OF _mwindow PROMPT "\<Filer" ; MESSAGE "Manage files and directories" ON SELECTION BAR 12 OF _mwindow ACTIVATE WINDOW FILER DEFINE BAR 13 OF _mwindow PROMPT "Pu\<zzle" ; MESSAGE "Solve a puzzle" ON SELECTION BAR 13 OF _mwindow ACTIVATE WINDOW PUZZLE SET SYSMENU SAVE

Additional query words: VFoxWin VFoxMac

Keywords: kbenv KB152366

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.