@ ... MENU Command

Included for backward compatibility. Use the Menu and Shortcut Designers and CREATE MENU Command instead.

This command is undocumented in the original VFP9 help file,
but the following documentation was found in the FoxPro for Windows 2.6 help, and may still be valid:

Creates a menu popup.

@ row, column MENU array, 
expN1 [, expN2]
	[TITLE expC]
	[SHADOW]

Parameters

row, column
 row, column are numeric expressions that specify where the upper-left corner of the menu popup is placed in the main FoxPro window or a user-defined window.

array
 array is a one-dimensional array containing the options that appear on the menu popup. Menu options must be character type.

expN1
 The numeric expression expN1 is the total number of menu options available on the menu popup. If the array has 10 elements and the value of expN1 is 5, the first five elements of the array are available on the menu popup.

expN2
 The numeric expression expN2 is the number of menu options displayed on the menu popup. If expN1 is greater than expN2, expN2 determines how many options are displayed on the popup. If there are too many options to fit on the menu popup, you can scroll through them using the keyboard or the mouse.

TITLE expC
 The character expression expC is the title displayed in the top border of the menu popup.

SHADOW
 Behind a menu popup defined with SHADOW is a darkened area that resembles a shadow. Text or objects covered by the shadow are still visible. By default, popup menus don't have shadows.

Expand imageRemarks

Expand imageExample

Expand imageSee Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic