Skip to content

Class: cCJDeleteMenuItem

Properties | Events | Methods | Index of Classes

A menu item which will delete record data in a DD based view

Hierarchy

cObject > DfComAutomationObject > cComAutomationObject > cCJCommandBarAction > cCJAction > cCJMenuItem > cCJDeoMenuItem > cCJDeleteMenuItem

Show full hierarchy and direct subclasses

Library: Windows Application Class Library

Package: cCJDeoMenuItemClasses.pkg

Description

cCJDeleteMenuItem is a menu item class, which lets you create a menu item object which will delete record data in a data dictionary based view. When executed, OnExecute sends the message Request_Delete to the focus object.

If the focus object does not support deletes or a delete is not possible (no active data dictionary record), this control will be disabled (see IsEnabled).

The pbActiveUpdate property is set true, which means that the object's enabled state will be updated dynamically.

An object based on this class can be added to any popup menu, toolbar or context menu.

Object oSaveMenuItem is a cCJSaveMenuItem
    Set pbControlBeginGroup to True
End_Object

Object oDeleteMenuItem is a cCJDeleteMenuItem
End_Object

See Also

cCJMenuItem