MonobjcMonobjc Documented Class Library
NSControl..::..ControlTextShouldBeginEditingEventHandler Delegate

Invoked when the user tries to enter a character in a cell of a control that allows editing of text (such as a text field or form field).

Original signature is '- (BOOL)control:(NSControl *)control textShouldBeginEditing:(NSText *)fieldEditor'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate bool ControlTextShouldBeginEditingEventHandler(
	NSControl control,
	NSText fieldEditor
Public Delegate Function ControlTextShouldBeginEditingEventHandler ( _
	control As NSControl, _
	fieldEditor As NSText _
) As Boolean
public delegate bool ControlTextShouldBeginEditingEventHandler(
	NSControl^ control, 
	NSText^ fieldEditor
control (NSControl)
The control whose content is about to be edited.
fieldEditor (NSText)
The field editor of the control.
Return Value
YES if the control's field editor should be allowed to start editing the text; otherwise, NO.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)