Context Control Menu
  

Creates a context control menu definition.

SYNTAX

DEFINE CONTEXT MENU CONTROL <cControlName>[ OF<cParentWindowName> ]

MENUITEM <cItemCaption>
ACTION <
ActionProcedureName> | <bBlock>
[ NAME <
MenuItemName>]
[ IMAGE <
cImageName> | ICON <cIcon> ]
[ CHECKED ]
[ DISABLED ]
[ MESSAGE <
cMessage> ]
[ DEFAULT ]
...
...
[ SEPARATOR ]
...
...

END MENU

or

DEFINE CONTEXT MENU CONTROLS <cControlName1> [, cControlNamen ]
[ OF<
cParentWindowName> ]

MENUITEM <cItemCaption>
ACTION <
ActionProcedureName> | <bBlock>
[ NAME <
MenuItemName> ]
[ IMAGE <
cImageName> | ICON <cIcon> ] ]
[ CHECKED ]
[ DISABLED ]
[ MESSAGE <
cMessage> ]
...
...
[ SEPARATOR ]
...
...

END MENU

Enable and disable Context Menu Control

 SET CONTEXT MENU CONTROL <cControlName> OF <cParentName> ON | OFF

MenuItem Properties:

·     Name (R)
·     Checked
·     Enabled

R: Read-Only


EXAMPLE:

See demos in :
\samples\Basic\ControlsContextMenu