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

ID: Q152366


The information in this article applies to:
  • Microsoft Visual FoxPro for Macintosh, version 3.0b
  • Microsoft Visual FoxPro for Windows, versions 3.0, 3.0b


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.


MORE INFORMATION

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 FxenvGeneral
Version : MACINTOSH:3.0b; WINDOWS:3.0,3.0b
Platform : MACINTOSH WINDOWS
Issue type :


Last Reviewed: December 14, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.