Skip to main content
Version: 21 R4 BETA

OBJECT Get context menu

OBJECT Get context menu ( * ; object : Text ) : Boolean
OBJECT Get context menu ( object : Variable, Field ) : Boolean

ParameterTypeDescription
*Operator→If specified, object is an object name (string) ; if omitted, object is a variable or a field
objectText, Variable, Field→Object name (if * is specified) or
Variable or field (if * is omitted)
Function resultBoolean←True = context menu enabled, False = context menu disabled
History
ReleaseChanges
14Created

Description​

The OBJECT Get context menu command returns the current state of the "Context Menu" option for the object(s) designated by the object and * parameters.

You can set the "Context Menu" option in Design mode using the Property List, or using the OBJECT SET CONTEXT MENU command.

Passing the optional * parameter indicates that the object parameter is an object name (string). If you do not pass this parameter, this indicates that the object parameter is a field or variable. In this case, you pass a field or variable reference instead of a string (field or variable object only).

The command returns True if the context menu is enabled for the object and False otherwise.

See also​

OBJECT SET CONTEXT MENU

Properties​

Command number1252
Thread safeno