SGBTextBox.ClipboardOperation Event

Occurs when a Cut, Copy or Paste action is carried out on the SGBTextBox control

Name Space: SGBControls.Editors
Assembly: SGBControls

Syntax
public event ClipboardOperationEventHandler ClipboardOperation

Remarks
This event occurs in response to a Cut, Copy or Paste action by the user. The ClipbardOperationEventHandler parameter of the event contains information about the operation that is carried out.

Examples
C#
// Show a message box when a clipboard operation is carried out in the SGBTextBox
void TextBoxControl_ClipboardOperation(object sender, EditorEvents.ClipboardOperationHandler e)
{
         MessageBox.show(e.Operation.ToString());
}

VB.net
'Show a message box when a clipboard operation is carried out in the SGBTextBox
Private Sub TextBoxControl_ClipboardOperation(ByVal sender As Object, ByVal e As EditorEvents.ClipboardOperationHandler) 
    MessageBox.show(e.Operation.ToString()) 
End Sub 

Issues
None

Last edited Mar 30, 2010 at 2:08 PM by scottgblood, version 3

Comments

No comments yet.