Product Logo

CNS Menu

Dynamic Menus

Script Steps

CNSMenu Define Quick Menu

NameCNSMenu Define Quick Menu
Description

Define a menu using the Quick Menu format.

FormatCNSMenu Define Quick Menu ( Name ; FGColor ; Items ; Script ; DB ; FailScript ; FailDB ; Persistent ; Ignore Meta Tags ; BGColor )
Required Parameters
Name

The name for this menu.

Items

The return-separated list of items for the menu.

Persistent

This menu will be saved between FileMaker Pro sessions. [Default is false.]

Ignore Meta Tags

Disables processing of the special characters that define modifier keys, style, and marks. [Default is false.]

Optional Parameters
FGColor

The foreground color for the menu items. [Default is defined by the system.]

Script

The script to call when an item is selected.

DB

The database that contains the script to call. [The database that calls this function is used by default.]

FailScript

The script to call if the user clicks off the menu without selecting anything. [Default is to do nothing.]

FailDB

The database that contains the FailScript. [Default is the same as the DB parameter.]

BGColor

The background color for the menu items. [Default is defined by the system.]