Class constructor.
TextEdit (
const Panel & panel,
short item
);
Constructs the text edit control from resource.
TextEdit (
const Panel & panel,
const Rect & rect,
short lengthLimit = 0,
FrameType frame = Frame,
UpdateType update = Update,
ReadOnlyType readOnly = Editable
);
Constructs the text edit control with the given parameters.
Parameters
- panel
-
A reference to the parent panel of the text edit control.
- item
-
The item ID of the text edit control.
- rect
-
A reference to the bounding rectangle of the text edit control.
- lengthLimit
-
The length limit of the text edit control.
- frame
-
The frame type of the text edit control.
- update
-
The update type of the text edit control.
- readOnly
-
The readonly/editable flag of the text edit control.