Class NSFieldInfoShortText
Short text string custom database field.
Syntax
Constructors
NSFieldInfoShortText()
Initializes a new instance of the NSFieldInfoShortText class.
Declaration
NSFieldInfoShortText
Methods
GetChoices()
Short text string custom database field.
Declaration
String[] GetChoices()
Returns
Type | Description |
---|---|
String[] | List of items to choose from. Null = not a dropdown list. |
GetDefaultValue()
Short text string custom database field.
Declaration
String GetDefaultValue()
Returns
Type | Description |
---|---|
String | Default string value. |
Examples
NSFieldInfoShortText thing;
String defaultValue = thing.GetDefaultValue();
GetFormatMask()
Short text string custom database field.
Declaration
String GetFormatMask()
Returns
Type | Description |
---|---|
String | Formatting mask, can be whatever the controls understand (currently nothing). |
Examples
NSFieldInfoShortText thing;
String formatMask = thing.GetFormatMask();
GetIsHtml()
Short text string custom database field.
Declaration
Bool GetIsHtml()
Returns
Type | Description |
---|---|
Bool | Do not escape HTML in field when displaying contents. |
Examples
NSFieldInfoShortText thing;
Bool isHtml = thing.GetIsHtml();
GetTextLength()
Short text string custom database field.
Declaration
Integer GetTextLength()
Returns
Type | Description |
---|---|
Integer | Length (in characters) of a text field, 0 for other types. |
Examples
NSFieldInfoShortText thing;
Integer textLength = thing.GetTextLength();
SetChoices(String[])
Short text string custom database field.
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)
Short text string custom database field.
Declaration
Void SetDefaultValue(String defaultValue)
Parameters
Type | Name | Description |
---|---|---|
String | defaultValue | Default string value. |
Returns
Type | Description |
---|---|
Void |
Examples
NSFieldInfoShortText thing;
String defaultValue;
thing.SetDefaultValue(defaultValue);
SetFormatMask(String)
Short text string custom database field.
Declaration
Void SetFormatMask(String formatMask)
Parameters
Type | Name | Description |
---|---|---|
String | formatMask | Formatting mask, can be whatever the controls understand (currently nothing). |
Returns
Type | Description |
---|---|
Void |
Examples
NSFieldInfoShortText thing;
String formatMask;
thing.SetFormatMask(formatMask);
SetIsHtml(Bool)
Short text string custom database field.
Declaration
Void SetIsHtml(Bool isHtml)
Parameters
Type | Name | Description |
---|---|---|
Bool | isHtml | Do not escape HTML in field when displaying contents. |
Returns
Type | Description |
---|---|
Void |
Examples
NSFieldInfoShortText thing;
Bool isHtml;
thing.SetIsHtml(isHtml);
SetTextLength(Integer)
Short text string custom database field.
Declaration
Void SetTextLength(Integer textLength)
Parameters
Type | Name | Description |
---|---|---|
Integer | textLength | Length (in characters) of a text field, 0 for other types. |
Returns
Type | Description |
---|---|
Void |
Examples
NSFieldInfoShortText thing;
Integer textLength;
thing.SetTextLength(textLength);