Class NSFieldInfoLongText
Long Text custom database field.
Constructors
NSFieldInfoLongText()
Initializes a new instance of the NSFieldInfoLongText class.
Declaration
NSFieldInfoLongText Methods
GetChoices()
Declaration
String[] GetChoices() Returns
| Type | Description |
| String[] | List of items to choose from. Null = not a dropdown list. |
GetDefaultValue()
Declaration
String GetDefaultValue() Examples
NSFieldInfoLongText thing;
String defaultValue = thing.GetDefaultValue();
Returns
| Type | Description |
| String | Default string value. |
GetIsHtml()
Declaration
Bool GetIsHtml() Examples
NSFieldInfoLongText thing;
Bool isHtml = thing.GetIsHtml();
Returns
| Type | Description |
| Bool | Do not escape HTML in field when displaying contents. |
GetNumRows()
Declaration
Integer GetNumRows() Examples
NSFieldInfoLongText thing;
Integer numRows = thing.GetNumRows();
Returns
| Type | Description |
| Integer | Number of lines of text to show. Text area height. |
GetUseTextArea()
Declaration
Bool GetUseTextArea() Examples
NSFieldInfoLongText thing;
Bool useTextArea = thing.GetUseTextArea();
Returns
| Type | Description |
| Bool | Use a multi-line text area? |
SetChoices(String[])
Declaration
Void SetChoices(String[] choices) Parameters
| Type | Name | Description |
| String[] | choices | List of items to choose from. Null = not a dropdown list. |
Returns
| Type | Description |
| Void |
SetDefaultValue(String)
Declaration
Void SetDefaultValue(String defaultValue) Examples
NSFieldInfoLongText thing;
String defaultValue;
thing.SetDefaultValue(defaultValue);
Parameters
| Type | Name | Description |
| String | defaultValue | Default string value. |
Returns
| Type | Description |
| Void |
SetIsHtml(Bool)
Declaration
Void SetIsHtml(Bool isHtml) Examples
NSFieldInfoLongText thing;
Bool isHtml;
thing.SetIsHtml(isHtml);
Parameters
| Type | Name | Description |
| Bool | isHtml | Do not escape HTML in field when displaying contents. |
Returns
| Type | Description |
| Void |