Skip to content

Class: cCJPasteMenuItem

Properties | Events | Methods | Index of Classes

A menu item which will perform a text paste operation on focus objects

Hierarchy

cObject > DfComAutomationObject > cComAutomationObject > cCJCommandBarAction > cCJAction > cCJMenuItem > cCJPasteMenuItem

Show full hierarchy and direct subclasses

Library: Windows Application Class Library

Package: cCJStandardMenuItemClasses.pkg

Description

cCJPasteMenuItem is a menu item class, which will perform a text paste operation on focus objects. When executed, OnExecute sends the Paste message to the focus object.

If a text paste is not possible, 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 oCutToolbarItem is a cCJCutMenuItem
End_Object

Object oCopyToolbarItem is a cCJCopyMenuItem
End_Object

Object oPasteToolbarItem is a cCJPasteMenuItem
End_Object

Object oSelectAllToolbarItem is a cCJSelectAllMenuItem
End_Object

Object oDeleteEditToolbarItem is a cCJDeleteEditMenuItem
    Set pbControlBeginGroup to True
End_Object

See Also

cCJMenuItem | cCJCopyMenuItem | cCJCutMenuItem | cCJDeleteEditMenuItem | cCJSelectAllMenuItem