Overview | Methods | This Package | All Packages
Retrieves a boolean value indicating whether pressing ENTER in a multiline edit control creates a new line of text in the edit control instead of activating the default button for the form.
Syntax
public final boolean getAcceptsReturn()
Return Value
Returns true if pressing ENTER in the multiline edit control creates a new line of text in the edit control; returns false if pressing ENTER in the multiline edit control activates the default button for the form. If this value returns false, the user must press CTRL+ENTER to create a new line in the multiline edit control.
See Also setAcceptsReturn