| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
A multi line edit controls type is "Multiline Edit".
Multi line edit controls send the following signals.
signalPasteGenerated when the clipboard has been pasted.
signalCopyGenerated when the marked area has been copied into the clipboard.
signalCutGenerated when the marked area has been cut into the clipboard.
signalEnterGenerated when the event occured the appends/inserts a new line (usually the Enter key).
signalRowChangedGenerated when the cursor enters a new row.
signalColChangedGenerated when the cursor enters a new column.
signalLostFocusGenerated when the component has lost it's input focus.
Textboxes publish the following attributes.
StyleThe following styles manipulate the appearance of the components frame:
These styles define what background is used.
AlphaThe alpha of the applied background textures.
CursorColorThis triplet defines the color of the cursor. If not given the skins `TextForeColor' is used.
FontA font name. This font is used to draw the content of this control. It is tried to load it from the systems fontserver. If it fails the default font of AWS is used.
BitmapIf the style is `fsBitmap' then this attribute is used to define the image used as the controls background image.
Multiline edit controls support the following skin attributes.
TextureTexture used to draw the components background
ButtonTextureAlphaThe default alpha value used when drawing the background texture.
TextForeColorThe default color used to draw the cursor.
Multiline edit controls publish the following properties.
FontA font name for a font to use when drawing text. This property is write-only.
iFontA pointer to an iFont to use when drawing text. This property is write-only.
Multiline edit controls understand the following actions.
InsertRowInserts a new string at a specified row position.
Name | Type | Description |
| | The row number the new string should become. |
| | The actual string that will be displayed in the new row. |
None.
DeleteRowDeletes the row at a specified row position.
Name | Type | Description |
| | The row to delete. |
None.
ReplaceRowReplaces the text of a specified row.
Name | Type | Description |
| | The row that will receive the new text. |
| | The text that will be displayed in the row. |
None.
GetRowRequest the text of a specified row.
Name | Type | Description |
| | The row we will request the text from. |
Name | Type | Description |
`string' | `iString' | The text of the row. |
GetRowCountReturns the number of rows in this edit control.
None.
Name | Type | Description |
`count' | `int' | The number of rows in this control. |
ClearDeletes all lines.
None.
None.
GetTextReturns the whole content of the edit control. Lines are concatenated with a linefeed character `\n'.
None.
Name | Type | Description |
`text' | `iString*' | The content of this edit control. The lines are concatenated with a linefeed character `\n'. |
SetTextSets the content of the control.
Name | Type | Description |
| | Contains the a string that will become the content of control. The string is broken up at linefeeds `\n'. |
None.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] |
This document was generated using texi2html 1.76.