Defines menu objects. A menu is a user interface object representing a group of one or more menu items that are to be used as a unit.
Call up the Development Center with the DC command, select MENUS from the OBJECTS drop-down menu, and use the tools of the Development Center to define the desired menu. The Development Center calls up the Screen Painter for you and automatically CREATEs the menu or "paint" the menu by calling up the Screen Painter:
menu define menuname [in dirname]
The Screen Painter adds appropriate entries to the Windows, Menus, and FormFields entity sets, defining the menu. When you are satisfied with the menu, exit the Screen Painter, and answer OK to the prompts to save the desired objects.
|
Attributes |
Description |
|
MenuName |
Name of the menu |
|
DirName |
Application directory location of the form |
|
MenuNum |
Identification number of the menu |
|
WdgTag |
Alphanumeric identifier for the menu |
|
MenuType |
User-assigned classification for the menu |
|
WdgClass |
Class ("type") of menu |
|
WdgSubClass |
Subclass of menu |
|
WdgStyle |
Style of the menu |
|
Row, Col |
Position of the menu in he window (characters) |
|
WdgRow, WdgCol |
Position of the menu in the window (twips) |
|
DM |
Display mode of the menu |
|
FC |
Pen (foreground) color of the menu (pre-defined) |
|
WdgFCRed, WdgFCGreen, WdgFCBlue |
Pen (foreground) color of the menu (custom blended) |
|
BC |
Fill (background) color of the menu (pre-defined) |
|
WdgBCRed, WdgBCGreen, WdgBCBlue |
Fill (background) color of the menu (custom blended) |
|
WdgBackground |
An image to be displayed in the background of the menu |
|
WdgBorderStyle |
The direction of the menu's shadow |
|
WdgShadowSize |
The size of the menu's shadow |
|
ObjectKey |
A unique identifier assigned by the Development Center |