Program MARK.PRG illustrates the use of the SET MARK OF command. It adds a new menu pad, labeled Background, to the system menu. If you choose the Background menu options, you can change the background color of the main FoxPro window. The option for the current background color is marked.
You can disable the Background menu using
SET SYSMENU TO DEFAULT
SET MARK is described in Chapter 10. Commands for defining menus are described in Chapter 16.