MonobjcMonobjc Documented Class Library
ControlTextShouldBeginEditing Method (control, fieldEditor)
NamespacesMonobjc.AppKitINSControlTextEditingDelegateControlTextShouldBeginEditing(NSControl, NSText)

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++
bool ControlTextShouldBeginEditing(
	NSControl control,
	NSText fieldEditor
Function ControlTextShouldBeginEditing ( _
	control As NSControl, _
	fieldEditor As NSText _
) As Boolean
bool ControlTextShouldBeginEditing(
	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)