MonobjcMonobjc Documented Class Library
ControlTextShouldBeginEditingMessage Method (control, fieldEditor)
NamespacesMonobjc.AppKitNSControl..::..NSControlTextEditingDelegateEventDispatcherControlTextShouldBeginEditingMessage(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++
public bool ControlTextShouldBeginEditingMessage(
	NSControl control,
	NSText fieldEditor
)
Public Function ControlTextShouldBeginEditingMessage ( _
	control As NSControl, _
	fieldEditor As NSText _
) As Boolean
public:
bool ControlTextShouldBeginEditingMessage(
	NSControl^ control, 
	NSText^ fieldEditor
)
Parameters
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)