MultiLineEdit Class (Typed) |
|
Namespace: XSharp.VO.SDK
The MultiLineEdit type exposes the following members.
| Name | Description | |
|---|---|---|
| MultiLineEdit |
Construct a multiline edit control.
|
| Name | Description | |
|---|---|---|
| ControlType | (Overrides ControlType.) | |
| LineCount |
A numeric value representing the number of lines in a multiline edit control.
|
| Name | Description | |
|---|---|---|
| GetLine |
Get a line of text—specified by position—in a multiline edit control.
| |
| GetLineLength |
Get the length of a line of text—specified by position—in a multiline edit control.
| |
| LineDown |
Move the cursor from its current position in a multiline edit control down a single line.
| |
| LineUp |
Move the cursor from its current position in a multiline edit control up a single line.
| |
| PageDown |
Move the cursor from its current position in a multiline edit control down a single page length.
| |
| PageUp |
Move the cursor from its current position in a multiline edit control up a single page length.
| |
| ScrollHorizontal |
Scroll the text in a multiline edit control a specified number of characters to the right or left.
| |
| ScrollVertical |
Scroll the text in a multiline edit control a specified number of characters up or down.
|
1CLASS MyWindow INHERIT TopAppWindow 2HIDDEN oMyMLE AS OBJECT 3METHOD Init() CLASS MyWindow 4SUPER:Init() 5p := Point{10, 10} 6d := Dimension{100, 100} 7oMyMLE := MultiLineEdit{SELF,100,p,d} 8SELF:Show() 9oMyMLE:Show() 10oMyMLE:TextValue := "New York" + _CHR(10) + "Boston"
1RESOURCE IDD_ABOUT DIALOG 20, 20, 160, 80 2STYLE WS_POPUP | WS_DLGFRAME 3BEGIN 4EDITTEXT IDE_TEXT,10,10,90,45, ES_MULTILINE 5DEFPUSHBUTTON "OK" IDB_OK,64,60,32,14, WS_GROUP 6END