Specifies a menu item that copies text from the Windows clipboard to the currently active edit control.

Property of

MenuBar

Description

The editPasteMenu property contains a reference to a menu object users select when they want to paste text to the cursor position in the currently active edit control.

You can use the editPasteMenu property of a form's menubar to paste text from the Windows Clipboard into any edit control in the form, instead of using the control's paste( ) method. In effect, editPasteMenu calls paste( ) for the active control. This lets you provide a way to paste text with less programming than would otherwise be needed. The Paste menu item is automatically disabled when the clipboard is empty, and enabled when text is copied or cut to the Clipboard.

For more information, see editCopyMenu.