GPTextArea
Unit : GPTextAreaUnit
Association : GPTextAreaAsn
Inherits from : None
Description
- A text area that allows the user to manipulate text.
Public Interface
-
CONSTRUCTOR Init (containerLink: GPManagerAsn);
Initializes the GPTextArea.
DESTRUCTOR Destroy; VIRTUAL;
Destroys the GPTextArea.
PROCEDURE TextChanged (newText: string); VIRUTAL;
This method is automatically called after the text in the GPTextArea is
modified by the user and the enter key is pressed. It is virtual and can be
redefined in subclasses.
PROCEDURE Clear;
Clears the GPTextArea of all text.
PROCEDURE SetText (text: string);
Sets the text in the GPTextArea to text.
FUNCTION GetText: string;
Returns the text that is in the GPTextArea.
PROCEDURE AppendText (text: string);
Appends text to the end of the text in the GPTextArea.
PROCEDURE InsertText (text: string; pos: integer);
Inserts text into the text in the GPTextArea at the desired location.
PROCEDURE MakeEditable;
Allows the user to modify the text in the GPTextArea.
PROCEDURE MakeUnEditable;
Prevents the user from modifying the text in the GPTextArea.
PROCEDURE SetWidth (width: integer);
Establishes the width (in pixels) of the text area.
PROCEDURE SetHeight (height: integer);
Establishes the height (in pixels) of the text area.
Subclasses
- None
Please report any problems with GP or the documentation to
GP Support
.
Loring Holden