Show / Hide Table of Contents

Class NSFieldInfoLongText

Long Text custom database field.

Syntax

Constructors

NSFieldInfoLongText()

Initializes a new instance of the NSFieldInfoLongText class.

Introduced or updated in version: 8.5R08

Declaration
NSFieldInfoLongText

Methods

GetChoices()

Introduced or updated in version: 8.5R08

Declaration
String[] GetChoices()
Returns
Type Description
String[]

List of items to choose from. Null = not a dropdown list.

GetDefaultValue()

Introduced or updated in version: 8.5R08

Declaration
String GetDefaultValue()
Returns
Type Description
String

Default string value.

Examples
NSFieldInfoLongText thing;
String defaultValue = thing.GetDefaultValue();

GetIsHtml()

Introduced or updated in version: 8.5R08

Declaration
Bool GetIsHtml()
Returns
Type Description
Bool

Do not escape HTML in field when displaying contents.

Examples
NSFieldInfoLongText thing;
Bool isHtml = thing.GetIsHtml();

GetNumRows()

Introduced or updated in version: 8.5R08

Declaration
Integer GetNumRows()
Returns
Type Description
Integer

Number of lines of text to show. Text area height.

Examples
NSFieldInfoLongText thing;
Integer numRows = thing.GetNumRows();

GetUseTextArea()

Introduced or updated in version: 8.5R08

Declaration
Bool GetUseTextArea()
Returns
Type Description
Bool

Use a multi-line text area?

Examples
NSFieldInfoLongText thing;
Bool useTextArea = thing.GetUseTextArea();

SetChoices(String[])

Introduced or updated in version: 8.5R08

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)

Introduced or updated in version: 8.5R08

Declaration
Void SetDefaultValue(String defaultValue)
Parameters
Type Name Description
String defaultValue

Default string value.

Returns
Type Description
Void
Examples
NSFieldInfoLongText thing;
String defaultValue;
thing.SetDefaultValue(defaultValue);

SetIsHtml(Bool)

Introduced or updated in version: 8.5R08

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
NSFieldInfoLongText thing;
Bool isHtml;
thing.SetIsHtml(isHtml);

SetNumRows(Integer)

Introduced or updated in version: 8.5R08

Declaration
Void SetNumRows(Integer numRows)
Parameters
Type Name Description
Integer numRows

Number of lines of text to show. Text area height.

Returns
Type Description
Void
Examples
NSFieldInfoLongText thing;
Integer numRows;
thing.SetNumRows(numRows);

SetUseTextArea(Bool)

Introduced or updated in version: 8.5R08

Declaration
Void SetUseTextArea(Bool useTextArea)
Parameters
Type Name Description
Bool useTextArea

Use a multi-line text area?

Returns
Type Description
Void
Examples
NSFieldInfoLongText thing;
Bool useTextArea;
thing.SetUseTextArea(useTextArea);
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top