wxMultiText is-a wxText
A multi-line text item is able to show several lines of text, unlike
the single line wxText item. It must be the child of a
panel or dialog box.
wxMultiText create
wxMultiText create
long ( create)
Creates a multi-line text item on the given panel or dialog box. The following slots
may be initialized.
- parent: should be a wxPanel or wxDialogBox.
- x: may be absent or -1 to denote default layout, or zero/positive integer.
- y: may be absent or -1 to denote default layout, or zero/positive integer.
- width: may be absent or -1 to denote default width, or a positive integer.
- height: may be absent or -1 to denote default height, or a positive integer.
- window-name: may be absent or a string name to identify this item.
- label: may be absent or a string name to label this item.
- style: see below.
- value: a string for initializing the value of the multi-text.
The style parameter can be a bit list of the following:
wxHSCROLL
|
A horizontal scrollbar will be displayed.
If wxHSCROLL is omitted, only a vertical
scrollbar is displayed, and lines will be wrapped. This parameter
is ignored under XView.
|
wxREADONLY
|
The text is read-only (not XView).
|