DhEdit Methods

Overview | This Package | All Packages

DhEdit Methods

Constructors Description
DhEdit Creates an edit box.

Methods Description
addOnChange Assigns a delegate to the change event.

addOnGotFocus Assigns a delegate to the gotFocus event.

addOnLostFocus Assigns a delegate to the lostFocus event.

addOnResize Assigns a delegate to the resize event.

addOnScroll Assigns a delegate to the scroll event.

addOnSelect Assigns a delegate to the select event.

clear Clears the text from the edit box.

focus Sets the input focus to this edit box.

getCols Retrieves the width, in characters, of the edit box.

getEnabled Retrieves the enabled state of the edit box.

getMaxLength Retrieves the current maximum input length for the edit.

getMultiline Indicates whether the edit control allows editing on more than one line.

getPassword Indicates whether the edit control is being used for password input and must conceal its value.

getReadOnly Retrieves the current read-only mode.

getRows Retrieves the current number of rows for a multiline edit box.

getSubmitName Retrieves the name of the edit box.

getText Retrieves the current text for the edit.

getWordWrap Retrieves the current wrapping mode.

removeOnChange Removes the delegate that is assigned to the change event.

removeOnGotFocus Removes the delegate that is assigned to the focus event.

removeOnLostFocus Removes the delegate that is assigned to the lostFocus event.

removeOnResize Removes the delegate that is assigned to the resize event.

removeOnScroll Removes the delegate that is assigned to the scroll event.

RemoveOnSelect Removes the delegate that is assigned to the select event.

setCols Sets the number of columns (characters) for the edit box width.

setEnabled Sets the enabled state of the edit box.

setMaxLength Sets the current maximum input length of the edit control in characters.

setMultiline Indicates whether the edit control allows editing on more than one line.

setPassword Specifies whether the edit control is being used for password input and must conceal its value.

setReadOnly Sets the read-only mode for the edit control.

setRows Sets the number of rows in a multiline edit box.

setSubmitName Sets the name of the edit box.

setText Sets the current text display of the edit box.

setWordWrap Sets the wrapping mode for a multiline edit box.

shouldPersistText Indicates whether text has changed from its default value.