Instance Method
インスタンスメソッド
controlTextDidBeginEditing:
Sent when a control with editable text begins an editing session.
Discussion
解説
This method is invoked when the user begins editing text in a control such as a text field or a form field. The control posts a NSControlTextDidBeginEditingNotification
notification, and if the control’s delegate implements this method, it is automatically registered to receive the notification. Use the key @"NSFieldEditor"
to obtain the field editor from the userInfo
dictionary of the notification object.
See controlTextDidEndEditing:
for an explanation of why you may not always get one invocation of controlTextDidBeginEditing:
for each invocation of controlTextDidEndEditing:
.
See Also
参照
Deprecated Methods
非推奨メソッド
- selectedTag
Returns the tag of the receiver’s selected cell.
Deprecated
非推奨
- setNeedsDisplay
Marks the receiver as needing redisplay (assuming automatic display is enabled).
Deprecated
非推奨
- calcSize
Recomputes any internal sizing information for the receiver, if necessary.
Deprecated
非推奨
- selectCell:
Selects the specified cell and redraws the control as needed.
Deprecated
非推奨
- drawCell:
Draws the specified cell, as long as it belongs to the receiver.
Deprecated
非推奨
- drawCellInside:
Draws the inside of the receiver’s cell (the area within the bezel or border)
Deprecated
非推奨
- updateCell:
Marks the specified cell as in need of redrawing.
Deprecated
非推奨
- updateCellInside:
Marks the inside of the specified cell as in need of redrawing.
Deprecated
非推奨