Class: cCJCopyMenuItem

Properties  Events  Methods    Index of Classes

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

Hierarchy

cObject
---DfComAutomationObject
------cComAutomationObject
---------cCJCommandBarAction
------------cCJAction
---------------cCJMenuItem
------------------cCJCopyMenuItem

Library: Windows Application Class Library

Package: cCJStandardMenuItemClasses.pkg

Description

cCJCopyMenuItem is a menu item class, which will perform a text copy operation on focus objects. When executed, OnExecute sends the Copy message to the focus object.

If a text copy 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 | cCJCutMenuItem | cCJPasteMenuItem | cCJDeleteEditMenuItem | cCJSelectAllMenuItem